diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-02-22 11:39:36 +0100 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-02-22 15:43:33 +0100 |
commit | b33c7b7a71f7b355c1072a2eca514052bf22f36f (patch) | |
tree | 21070fd0a8eaa53e88b03464c20b1e6f50a22017 | |
parent | 552d0952828ecd3f1e50b3345f5293096139d8ae (diff) | |
download | bundler-b33c7b7a71f7b355c1072a2eca514052bf22f36f.tar.gz |
Remove ruby version major deprecation
Since the current master will never run those rubies.
-rw-r--r-- | lib/bundler/shared_helpers.rb | 3 | ||||
-rw-r--r-- | spec/other/major_deprecation_spec.rb | 7 |
2 files changed, 0 insertions, 10 deletions
diff --git a/lib/bundler/shared_helpers.rb b/lib/bundler/shared_helpers.rb index ed88caf8cf..db3f123bca 100644 --- a/lib/bundler/shared_helpers.rb +++ b/lib/bundler/shared_helpers.rb @@ -164,9 +164,6 @@ module Bundler "gems.rb and gems.locked will be preferred to Gemfile and Gemfile.lock." end - if RUBY_VERSION < "2" - major_deprecation(2, "Bundler will only support ruby >= 2.0, you are running #{RUBY_VERSION}") - end return if Bundler.rubygems.provides?(">= 2") major_deprecation(2, "Bundler will only support rubygems >= 2.0, you are running #{Bundler.rubygems.version}") end diff --git a/spec/other/major_deprecation_spec.rb b/spec/other/major_deprecation_spec.rb index 6e278dc45d..05b4301d4c 100644 --- a/spec/other/major_deprecation_spec.rb +++ b/spec/other/major_deprecation_spec.rb @@ -33,13 +33,6 @@ RSpec.describe "major deprecations", :bundler => "< 2" do end shared_examples_for "environmental deprecations" do |trigger| - describe "ruby version", :ruby => "< 2.0" do - it "requires a newer ruby version" do - instance_eval(&trigger) - expect(warnings).to have_major_deprecation "Bundler will only support ruby >= 2.0, you are running #{RUBY_VERSION}" - end - end - describe "rubygems version", :rubygems => "< 2.0" do it "requires a newer rubygems version" do instance_eval(&trigger) |