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

Fixes and updates to bring up to ruby 3, contenful-migrations 3.0 etc. #3

Open
wants to merge 28 commits into
base: master
Choose a base branch
from

Conversation

patch0
Copy link

@patch0 patch0 commented Nov 10, 2021

What's changed

  • Fixed keyword argument syntax that has been removed in ruby 3.0 -- this was mostly in calls to Contentful::Migrator#new.
  • Bumped contentful-management.rb dependency to v3.0
  • Bump ruby target versions (2.7+)
  • Added CircleCI tasks
  • Bumped gem version to 0.2.0
  • Moved the #constantize and #camelcase methods to a refinement on the String class
  • Ran rubocop -A over the whole codebase
  • Updated .rubocop.yml to be less opinionated, and added .rubocop_todo.yml

patch0 and others added 28 commits November 10, 2021 09:28
Also remove rubocop config
This ensures that migrations bail out when errors are returned,
lessening the chance of failed migrations
We're really operating on environments, so lets call them that.
…ault-locale-when-recording-migrations

Find and use the default locale when recording migrations
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.

1 participant