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

Add support for Rails 7.1 #118

Closed
wants to merge 5 commits into from
Closed

Add support for Rails 7.1 #118

wants to merge 5 commits into from

Conversation

itskingori
Copy link

@itskingori itskingori commented Oct 28, 2023

So that we can use this amazing gem with Rails 7.1 as well. There was an earlier attempt at it in #117 but it was blocked on minitest-rails 7.1.0 being released.

Motivations

Related

@itskingori itskingori marked this pull request as ready for review October 28, 2023 17:58
Copy link
Author

@itskingori itskingori left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some commentary ... 💬

@@ -1 +1 @@
2.7.8
3.2.2
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not strictly necessary but I was unable to bundle with the Ruby version set ...

This is the error I was getting ...

Bundler could not find compatible versions for gem "minitest":
  In snapshot (rails7.1.gemfile.lock):
    minitest (= 5.20.0)

  In rails7.1.gemfile:
    maxitest was resolved to 0.0.1, which depends on
      minitest (~> 5.4.2)

    minitest-rails was resolved to 7.1.0, which depends on
      minitest (~> 5.20)

Running `bundle update` will rebuild your snapshot from scratch, using only
the gems in your Gemfile, which may resolve the conflict.

Problem goes away when I used a 3.2.2. Figured since we're testing for it then it's ok? 🤷🏽‍♂️

ruby: ['3.0', '3.1', '3.2']

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might run into trouble with bundle_all task ... but let's see

@@ -1,4 +1,4 @@
# frozen_string_literal: true
module StrongerParameters
VERSION = '2.21.1'
VERSION = '2.22.0'
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't sure if I should be the one doing the bump or I should focus on the feature and let the maintainers bump.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

usually no, but does not matter much

@grosser
Copy link
Contributor

grosser commented Oct 30, 2023

needs a bundle_all

@grosser
Copy link
Contributor

grosser commented Oct 30, 2023

trying here #119

@grosser grosser closed this Oct 30, 2023
@grosser
Copy link
Contributor

grosser commented Oct 30, 2023

v2.22.0

@itskingori itskingori deleted the support_rails_7_1 branch October 30, 2023 07:23
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.

incompatible with rails 7.1
2 participants