Sha256: 67f2b5f8659949527e55be56ebb5546c43fb4555a5902514111a8438d009a74a

Contents?: true

Size: 336 Bytes

Versions: 49

Compression:

Stored size: 336 Bytes

Contents

# frozen_string_literal: true
require 'rubygems'
require 'rubygems/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

49 entries across 49 versions & 1 rubygems

Version Path
rubygems-update-3.2.26 lib/rubygems/install_default_message.rb
rubygems-update-3.2.25 lib/rubygems/install_default_message.rb
rubygems-update-3.2.24 lib/rubygems/install_default_message.rb
rubygems-update-3.2.23 lib/rubygems/install_default_message.rb
rubygems-update-3.2.22 lib/rubygems/install_default_message.rb
rubygems-update-3.2.21 lib/rubygems/install_default_message.rb
rubygems-update-3.2.20 lib/rubygems/install_default_message.rb
rubygems-update-3.2.19 lib/rubygems/install_default_message.rb
rubygems-update-3.2.18 lib/rubygems/install_default_message.rb
rubygems-update-3.2.17 lib/rubygems/install_default_message.rb
rubygems-update-3.2.16 lib/rubygems/install_default_message.rb
rubygems-update-3.2.15 lib/rubygems/install_default_message.rb
rubygems-update-3.2.14 lib/rubygems/install_default_message.rb
rubygems-update-3.2.13 lib/rubygems/install_default_message.rb
rubygems-update-3.2.12 lib/rubygems/install_default_message.rb
rubygems-update-3.2.11 lib/rubygems/install_default_message.rb
rubygems-update-3.2.10 lib/rubygems/install_default_message.rb
rubygems-update-3.2.9 lib/rubygems/install_default_message.rb
rubygems-update-3.2.8 lib/rubygems/install_default_message.rb
rubygems-update-3.2.7 lib/rubygems/install_default_message.rb