mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
parent
11492bd88d
commit
e74008bfc9
2 changed files with 2 additions and 2 deletions
|
@ -182,7 +182,7 @@ module Bundler
|
|||
end
|
||||
|
||||
def current_version
|
||||
@current_version ||= Gem::Version.new(Bundler::VERSION)
|
||||
@current_version ||= Bundler.gem_version
|
||||
end
|
||||
|
||||
def lockfile_version
|
||||
|
|
|
@ -19,7 +19,7 @@ RSpec.describe "post bundle message" do
|
|||
let(:bundle_complete_message) { "Bundle complete!" }
|
||||
let(:bundle_updated_message) { "Bundle updated!" }
|
||||
let(:installed_gems_stats) { "4 Gemfile dependencies, 5 gems now installed." }
|
||||
let(:bundle_show_message) { Bundler::VERSION.split(".").first.to_i < 3 ? bundle_show_system_message : bundle_show_path_message }
|
||||
let(:bundle_show_message) { Bundler.bundler_major_version < 3 ? bundle_show_system_message : bundle_show_path_message }
|
||||
|
||||
describe "for fresh bundle install" do
|
||||
it "shows proper messages according to the configured groups" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue