Releases: unepwcmc/ocean-plus-habitats
Releases · unepwcmc/ocean-plus-habitats
1.3.5
1.3.4
1.3.3
1.3.2
1.3.2
- Update the URLs and names of the data sources for the WDPA and WD-0ECM layers that are being pulled from ArcGis. Bug of them not displaying is now fixed.
1.3.1
1.3.0
- feat: add latest habitat coverage protection statistics for August, 2021
- chore: add
/TAGS
to .gitignore - chore: upgrade puma from 3.7 ~> 4.3
- fix: add missing "
WHERE geo_entities.iso3 IS NOT NULL
" to countries scope ingeo_entity.rb
and "WHERE geo_entities.iso3 <> 'GBL'
" to country_stats scope ingeo_entity_stat.rb
- fix: change global protection stats to be static within habitats table, as there was a problem with the automatic generation of global stats not including non-member state data yet.
- refactor: partially automate country last-updated by using the geo_entity's
updated_at
property - refactor: set Red List last updated date (
@red_list_last_updated
) in site & countries controller - feat: add rake invoke task to deploy.rb so that you can run any specified rake task before the deploy is published e.g.
bundle exec cap staging deploy TASK=import:refresh
- feat: add
BRANCH=
optioncap staging deploy
so you can specify the branch to deploy to staging (default to develop) - refactor: raise more informative exception in Esri class if the response is not what was expected
- feat: add utilities/files.rb with
latest_file_by_glob
method to help select the latest filename-timestamped CSV that is used in the habitat coverage protection imports - refactor: add more informative error when a CSV is missing an expected header
- fix: wrap import:refresh within a DB transaction so that it doesn't commit anything on failure
1.2.0
- RSpec + Capybara test suite created, with unit tests for statistics, request specs and
system specs. Also included is a FactoryBot linter for linting factories. A couple of
redundant methods have also been removed from the models. - Merged in a number of PRs fixing vulnerabilities on the frontend and backend that were
opened by Dependabot. These include y18n, http-proxy, axios and rack.
1.1.0
- Revamp importers to delete and recreate Habitat instances, as well as during seeds
to avoid duplication of Habitats - Use correct name for global_statistics zip on the homepage for purposes of GA tracking
- Revert emergency hotfixes