summaryrefslogtreecommitdiff
path: root/lib/bundler/ruby_dsl.rb
diff options
context:
space:
mode:
authorJames Wen <jrw2175@columbia.edu>2016-01-11 22:55:25 -0500
committerJames Wen <jrw2175@columbia.edu>2016-01-11 22:55:25 -0500
commit0774ae07341c3f49381a56494b15397eb2acdcd0 (patch)
tree3a8027e10ebce4a7e08f9fa02476b42281bf93d6 /lib/bundler/ruby_dsl.rb
parent9581a3991c5339aa6b6d9e6367bd72000e1c8db5 (diff)
downloadbundler-0774ae07341c3f49381a56494b15397eb2acdcd0.tar.gz
Remove `Bundler::RubyVersionRequirement`
- `Bundler::RubyVersionRequirement` can easily be replaced by `Bundler::RubyVersion` whereever/however it's used
Diffstat (limited to 'lib/bundler/ruby_dsl.rb')
-rw-r--r--lib/bundler/ruby_dsl.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/ruby_dsl.rb b/lib/bundler/ruby_dsl.rb
index 745fb19185..46587e98cf 100644
--- a/lib/bundler/ruby_dsl.rb
+++ b/lib/bundler/ruby_dsl.rb
@@ -5,7 +5,7 @@ module Bundler
raise GemfileError, "Please define :engine" if options[:engine_version] && options[:engine].nil?
raise GemfileEvalError, "ruby_version must match the :engine_version for MRI" if options[:engine] == "ruby" && options[:engine_version] && ruby_version != options[:engine_version]
- @ruby_version = RubyVersionRequirement.new(ruby_version, options[:patchlevel], options[:engine], options[:engine_version])
+ @ruby_version = RubyVersion.new(ruby_version, options[:patchlevel], options[:engine], options[:engine_version])
end
end
end