-
Notifications
You must be signed in to change notification settings - Fork 91
Update activesupport to 6.0 #45
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,13 +1,10 @@ | ||
| language: ruby | ||
| rvm: | ||
| - 2.2 | ||
| - 2.3 | ||
| - 2.4 | ||
| - jruby-19mode # JRuby in 1.9 mode | ||
| - 2.5 | ||
| - 2.6 | ||
| - jruby-9.2.6.0 | ||
| # uncomment this line if your project needs to run something other than `rake`: | ||
| script: bundle exec rspec spec | ||
| gemfile: | ||
| - Gemfile.activesupport51 | ||
|
|
||
| before_install: | ||
| - gem install bundler | ||
| - gem install bundler | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This change is not relevant and should be done in separated PR. |
||
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,10 +11,10 @@ Gem::Specification.new do |gem| | |
| gem.test_files = gem.files.grep(%r{^(test|spec|features)/}) | ||
| gem.name = "time_difference" | ||
| gem.require_paths = ["lib"] | ||
| gem.version = "0.7.0" | ||
| gem.version = "1.0.0" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This change is not relevant and should be done in separated PR/commit.
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Isn't it a breaking change though? I guess I should either keep the gem version or the activesupport version the same. If I bump up active_support to be 6.0, that's a breaking change for people who still want to remain on rails 5.2. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, but for alpha versions (
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. "MINOR version when you add functionality in a backwards compatible manner" This wouldn't be backwards compatible for people who wanted to stay on rails 5.2 and not upgrade to rails 6. Upgrading from rails 5 to 6 is a pretty huge move. Regardless, we could specify the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I meant this: https://semver.org/#spec-item-4
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The latest commit to hit master was almost 2 years ago! I think the api is pretty stable now. I guess this gem could be kept to 0.x ad infinitum. Anyway, would specifying the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Okay, but anyway, I believe that version should be changed in separated commit (with tag) by maintainers.
This is good idea while the gem works with lower versions of dependencies. |
||
| gem.license = 'MIT' | ||
|
|
||
| gem.add_runtime_dependency('activesupport', '~> 5.1') | ||
| gem.add_runtime_dependency('activesupport', '~> 6.0') | ||
| gem.add_development_dependency('rspec', '~> 3.7.0') | ||
| gem.add_development_dependency('rake') | ||
|
|
||
|
|
||
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.
Do you need to delete these versions? We still can support them, I guess. Ruby 2.2 in unsupported anymore, but 2.3 and 2.4 are supported by MRI.
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.
I thought activesupport ~> 6.0 requires ruby 2.5 or above.
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.
Okay, I didn't know that.