lib/bundler/endpoint_specification.rb in bundler-2.3.21 vs lib/bundler/endpoint_specification.rb in bundler-2.3.22
- old
+ new
@@ -10,10 +10,10 @@
def initialize(name, version, platform, spec_fetcher, dependencies, metadata = nil)
super()
@name = name
@version = Gem::Version.create version
- @platform = platform
+ @platform = Gem::Platform.new(platform)
@spec_fetcher = spec_fetcher
@dependencies = dependencies.map {|dep, reqs| build_dependency(dep, reqs) }
@loaded_from = nil
@remote_specification = nil