-
Notifications
You must be signed in to change notification settings - Fork 3
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
Support Rails 7.2 #142
base: main
Are you sure you want to change the base?
Support Rails 7.2 #142
Conversation
mohammed-io
commented
Sep 26, 2024
•
edited
Loading
edited
- Supporting Rails 7.2
- Dropping Ruby 2 support in Rubocop and Gemspec (3.0.0 is minimum now)
@@ -29,7 +29,7 @@ Gem::Specification.new do |spec| | |||
spec.executables = %w[diffcrypt] | |||
spec.require_paths = ['lib'] | |||
|
|||
spec.add_runtime_dependency 'activesupport', '>= 6.0', '< 7.2' | |||
spec.add_runtime_dependency 'activesupport', '>= 6.0', '< 7.3' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The next version will be 8.0 tho.
@marcqualie looks like one issue left for the test
|
I though some of errors due to Ruby version mismatch. It looks like it didn't fix the issue. Should I revert the version change? |
@@ -1,6 +1,6 @@ | |||
AllCops: | |||
NewCops: enable | |||
TargetRubyVersion: 2.6 | |||
TargetRubyVersion: 3.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TargetRubyVersion: 3.0 | |
TargetRubyVersion: 2.6 |
Rakefile
Outdated
@@ -11,4 +11,4 @@ end | |||
task default: :test | |||
|
|||
path = File.expand_path(__dir__) | |||
Dir.glob("#{path}/lib/diffcrypt/tasks/**/*.rake").sort.each { |f| load f } | |||
Dir.glob("#{path}/lib/diffcrypt/tasks/**/*.rake").each { |f| load f } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Dir.glob("#{path}/lib/diffcrypt/tasks/**/*.rake").each { |f| load f } | |
Dir.glob("#{path}/lib/diffcrypt/tasks/**/*.rake").sort.each { |f| load f } |
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec| | |||
spec.description = 'Diffable encrypted configuration files that can be safely committed into a git repository' | |||
spec.homepage = 'https://github.com/diffcrypt/diffcrypt-ruby' | |||
spec.license = 'MIT' | |||
spec.required_ruby_version = Gem::Requirement.new('>= 2.6.0') | |||
spec.required_ruby_version = Gem::Requirement.new('>= 3.0.0') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
spec.required_ruby_version = Gem::Requirement.new('>= 3.0.0') | |
spec.required_ruby_version = Gem::Requirement.new('>= 2.6.0') |