Sha256: 07448c6260d04a405ff7d5c253f8fe7a718cbc8b55a2d6373770a71679946120
Contents?: true
Size: 600 Bytes
Versions: 3
Compression:
Stored size: 600 Bytes
Contents
Gem.post_install { |gem_installer_instance| require 'faster_gem_scripts' all = gem_installer_instance.spec.files.select{|file| file =~ /^bin/ } bin_dir = Gem.ruby.split('/')[0..-3].join('/') if all.length > 0 FasterGemScripts.clear_caches! all.each{|script_name| name = bin_dir + '/' + script_name FasterGemScripts.overwrite name } end } Gem.post_uninstall { |gem_installer_instance| require 'faster_gem_scripts' require 'sane' FasterGemScripts.clear_caches! if (gem_installer_instance.spec.files.select{|file| file =~ /^bin/ }.length > 0) }
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
faster_gem_script-0.3.0 | lib/rubygems_plugin.rb.disabled |
faster_gem_script-0.2.1 | lib/rubygems_plugin.rb |
faster_gem_script-0.2.0 | lib/rubygems_plugin.rb |