Sha256: 916436d0605cf939b1b63a3ebe68e8c10a74bdce6f54738a9f2c03568215e298

Contents?: true

Size: 349 Bytes

Versions: 32

Compression:

Stored size: 349 Bytes

Contents

# frozen_string_literal: true

require_relative "../rubygems"
require_relative "user_interaction"

##
# A post-install hook that displays "Successfully installed
# some_gem-1.0 as a default gem"

Gem.post_install do |installer|
  ui = Gem::DefaultUserInteraction.ui
  ui.say "Successfully installed #{installer.spec.full_name} as a default gem"
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
rubygems-update-3.6.3 lib/rubygems/install_default_message.rb
rubygems-update-3.6.2 lib/rubygems/install_default_message.rb
rubygems-update-3.6.1 lib/rubygems/install_default_message.rb
rubygems-update-3.6.0 lib/rubygems/install_default_message.rb
rubygems-update-3.5.23 lib/rubygems/install_default_message.rb
rubygems-update-3.5.22 lib/rubygems/install_default_message.rb
rubygems-update-3.5.21 lib/rubygems/install_default_message.rb
rubygems-update-3.5.20 lib/rubygems/install_default_message.rb
rubygems-update-3.5.19 lib/rubygems/install_default_message.rb
rubygems-update-3.5.18 lib/rubygems/install_default_message.rb
rubygems-update-3.5.17 lib/rubygems/install_default_message.rb
rubygems-update-3.5.16 lib/rubygems/install_default_message.rb
rubygems-update-3.5.15 lib/rubygems/install_default_message.rb
rubygems-update-3.5.14 lib/rubygems/install_default_message.rb
rubygems-update-3.5.13 lib/rubygems/install_default_message.rb
rubygems-update-3.5.12 lib/rubygems/install_default_message.rb
rubygems-update-3.5.10 lib/rubygems/install_default_message.rb
rubygems-update-3.5.9 lib/rubygems/install_default_message.rb
rubygems-update-3.5.8 lib/rubygems/install_default_message.rb
rubygems-update-3.5.7 lib/rubygems/install_default_message.rb