-
-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
language: ruby | ||
|
||
rvm: | ||
- 2.1 | ||
- 2.2 | ||
- 2.3 | ||
- 2.4 | ||
- 2.5 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1f10154
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.
FWIW, this seems like a breaking change. Other gems that depend on this gem may not have the ruby version requirement. Even if they have locked to
~> 3
, this will cause issues.1f10154
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.
@adamvduke since the Ruby version is defined in the specs, my expectation is that Bundler would not resolve the dependency if the Ruby version is not met.
From recent conversations, it may no be the case. I consider this a Bundler bug, but I'll have to investigate.
1f10154
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.
In fact, it seems it should.
https://bundler.io/v1.13/whats_new.html
1f10154
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.
Hey @weppos,
Understood, however:
gem
command.I appreciate you trying to push the ruby ecosystem forward. I think this change should have included a major version bump. I moved past it by manually installing transitive dependencies at versions that don't have the more recent ruby version requirement. Thanks for taking a look.
1f10154
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.
Hi @adamvduke, understood. Unfortunately it's very hard to comply with all the possible variants in the eco-system, even more complicated if I need to start factoring in support for old tools or dependency management system.
Bundler 1.13.0 was released on September 09, 2016, which is almost 3 years. I consider it a sufficiently long period of time, and unless there are significant reasons to support previous versions, I may not have the bandwidth for doing it.
Furthermore, I'm sure that even a major version bump will generate conflicts so some remote system that doesn't handle major versions properly.
Having said that, I'll see how I can better manage Ruby version changes in the future especially when it comes to be as easy as adopting a major version bump.