diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-08-17 23:07:23 -0500 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-08-17 23:07:23 -0500 |
commit | 7e3bd288294e05eec7a53b6f86bf17fef9364125 (patch) | |
tree | 38830bf9ec38ac17f3698be141cc63142aac01c8 /lib/bundler/shared_helpers.rb | |
parent | 54ff7a4fb827ec36d5cac2fac843993f28b19077 (diff) | |
download | bundler-seg-deprecations-99-versions.tar.gz |
[SharedHelpers] Always print major deprecations on .99 versionsseg-deprecations-99-versions
Diffstat (limited to 'lib/bundler/shared_helpers.rb')
-rw-r--r-- | lib/bundler/shared_helpers.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/bundler/shared_helpers.rb b/lib/bundler/shared_helpers.rb index 69543356a2..ca4eafd623 100644 --- a/lib/bundler/shared_helpers.rb +++ b/lib/bundler/shared_helpers.rb @@ -224,7 +224,8 @@ module Bundler def prints_major_deprecations? require "bundler" - return false unless Bundler.settings[:major_deprecations] + deprecation_release = Bundler::VERSION.split(".").drop(1).include?("99") + return false if !deprecation_release && !Bundler.settings[:major_deprecations] require "bundler/deprecate" return false if Bundler::Deprecate.skip true |