Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2024 Q1 Rails Upgrade #974

Merged
merged 341 commits into from
Apr 10, 2024
Merged

2024 Q1 Rails Upgrade #974

merged 341 commits into from
Apr 10, 2024

Conversation

pdl
Copy link
Contributor

@pdl pdl commented Mar 14, 2024

Upgrades:

leonardow-unep-wcmc and others added 30 commits January 18, 2024 15:59
… so safe to remove the dependancy gem in our Gemfile.
…ient js libraries

Fixes issues caused by updating versions of the ember-rails and ember-data-source gems
by running the following:

    rails generate ember:install --tag=v1.6.1 --ember
    rails generate ember:install --tag=v0.14 --ember-data

...and committing the files the commands place in `vendor/`
…-5-fix-frontend

fix: ember was broken, and some assets failed to load
pdl added 27 commits March 11, 2024 15:02
…mview fails

https://unep-wcmc.codebasehq.com/projects/species-rails-upgrade/tickets/139

If a user edits names in change_type so that either ADDITION or DELETION is
missing, then this function will concatenate NULL while building SQL, leading
to a confusing error message.
https://unep-wcmc.codebasehq.com/projects/species-rails-upgrade/tickets/90

NB: https://github.com/aws/aws-sdk-ruby/blob/version-3/UPGRADING.md

> Aws.eager_autoload! is deprecated as all autoload statements have been
> replaced with require statements. Calling this method will now generate
> a warning and have no other effect.
This commit changes the format of matching_criteria so that the values of the
hash are always strings, in order that we don't get errors on account of
type mismatches, e.g. `{ "some_id": 123 } @> {"some_id": "123"}` is false.

https://unep-wcmc.codebasehq.com/projects/species-rails-upgrade/tickets/102
…errors

Fix for errors on some nomenclature changes
@pdl
Copy link
Contributor Author

pdl commented Apr 10, 2024

RSpec results for reference

Finished in 10 minutes 24 seconds (files took 9.28 seconds to load)
2166 examples, 0 failures, 27 pending

[Coveralls] Outside the CI environment, not sending data.
Coverage report generated for RSpec to /SAPI/coverage. 8668 / 13814 LOC (62.75%) covered.

@pdl pdl merged commit 3bc9fdd into develop Apr 10, 2024
@pdl pdl deleted the rails-upgrades branch August 21, 2024 12:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants