diff options
author | David RodrÃguez <[email protected]> | 2022-09-07 07:13:04 +0200 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2022-09-08 11:25:03 +0900 |
commit | 24fd2f73d0835eea534225a6381551d591764002 (patch) | |
tree | 3447658af19fa723e6c2c4c3e5cbdacda430e424 /lib/bundler/endpoint_specification.rb | |
parent | 2d57447ae80e0b0895d6d22d606391b48516ba93 (diff) |
Resync Bundler & RubyGems
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/6330
Diffstat (limited to 'lib/bundler/endpoint_specification.rb')
-rw-r--r-- | lib/bundler/endpoint_specification.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/endpoint_specification.rb b/lib/bundler/endpoint_specification.rb index f0e7ba2595..863544b1f9 100644 --- a/lib/bundler/endpoint_specification.rb +++ b/lib/bundler/endpoint_specification.rb @@ -12,7 +12,7 @@ module Bundler super() @name = name @version = Gem::Version.create version - @platform = platform.nil? ? nil : Gem::Platform.new(platform) + @platform = Gem::Platform.new(platform) @spec_fetcher = spec_fetcher @dependencies = dependencies.map {|dep, reqs| build_dependency(dep, reqs) } |