-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,10 +3,11 @@ | |
|
||
Gem::Specification::new do |spec| | ||
spec.name = "macaddr" | ||
spec.version = "1.6.1" | ||
spec.version = "1.6.2" | ||
spec.platform = Gem::Platform::RUBY | ||
spec.summary = "macaddr" | ||
spec.description = "description: macaddr kicks the ass" | ||
spec.description = "cross platform mac address determination for ruby" | ||
spec.license = "same as ruby's" | ||
|
||
spec.files = | ||
["Gemfile", | ||
|
@@ -30,9 +31,8 @@ Gem::Specification::new do |spec| | |
|
||
spec.test_files = nil | ||
|
||
|
||
spec.add_dependency(*["systemu", "~> 2.5.0"]) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
Strech
|
||
|
||
### spec.add_dependency 'lib', '>= version' | ||
#### spec.add_dependency 'map' | ||
|
||
spec.extensions.push(*[]) | ||
|
||
|
3 comments
on commit a0ae1a7
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.
this change in dependency management breaks bundle. "Bundle update" will attempt to use the 2.6 version of systemu which causes a runtime load failure for 2.5 which won't exist. The dependency should be >= 2.5 instead of -> 2.5
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.
@todd-richmond I'm confused as to what you mean here; ~> 2.5
is equivalent to the combination of >= 2.5
&& < 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.
It seems to turn into a require of 2.5 because if my gemset only includes systemu 2.6, then the gem fails to load on the inability to load systemu at all (file not found). Downgrading to macaddr 1.6.1 allows the loading chain to work again. I think ~> means 2.5.x, or at least that is how it is working in macaddr 1.6.2 now
It looks like this is the culprit.