Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Remove now meaningless deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
deivid-rodriguez committed Jan 26, 2019
1 parent a2046a9 commit 2d76cea
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions lib/bundler/shared_helpers.rb
Expand Up @@ -158,16 +158,10 @@ def print_major_deprecations!
next if gemfiles.empty?
break false if gemfiles.size == 1
end
if multiple_gemfiles
Bundler::SharedHelpers.major_deprecation 3, \
"gems.rb and gems.locked will be preferred to Gemfile and Gemfile.lock."
end
return unless multiple_gemfiles

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}")
Bundler::SharedHelpers.major_deprecation 3, \
"gems.rb and gems.locked will be preferred to Gemfile and Gemfile.lock."
end

def trap(signal, override = false, &block)
Expand Down

0 comments on commit 2d76cea

Please sign in to comment.