summaryrefslogtreecommitdiff
path: root/lib/bundler/remote_specification.rb
diff options
context:
space:
mode:
authorSamuel E. Giddins <segiddins@segiddins.me>2015-04-12 15:21:51 -0700
committerSamuel Giddins <segiddins@segiddins.me>2016-01-25 10:45:41 -0600
commit29b0a5919077af02483a5d9bdbebf8ffcf58f902 (patch)
tree8dd0243eb8702a74c57d9f808e4f08ff3ab1053c /lib/bundler/remote_specification.rb
parent68a12ab35f784aec082fdc1921b061bd2eaee711 (diff)
downloadbundler-29b0a5919077af02483a5d9bdbebf8ffcf58f902.tar.gz
[RemoteSpecification] Platform should indeed be a string
Diffstat (limited to 'lib/bundler/remote_specification.rb')
-rw-r--r--lib/bundler/remote_specification.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/remote_specification.rb b/lib/bundler/remote_specification.rb
index 9240a6de51..425c42fbc1 100644
--- a/lib/bundler/remote_specification.rb
+++ b/lib/bundler/remote_specification.rb
@@ -16,7 +16,7 @@ module Bundler
def initialize(name, version, platform, spec_fetcher)
@name = name
@version = Gem::Version.create version
- @platform = Gem::Platform.new platform
+ @platform = platform
@spec_fetcher = spec_fetcher
end