You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
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 in geo_entity.rb and "WHERE geo_entities.iso3 <> 'GBL'" to country_stats scope in geo_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= option cap 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