faster_gem_script 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/rubygems_plugin.rb +2 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.5
|
data/lib/rubygems_plugin.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
Gem.post_install { |gem_installer_instance|
|
2
|
-
require '
|
2
|
+
require 'sane'
|
3
3
|
require 'faster_gem_scripts'
|
4
4
|
all = gem_installer_instance.spec.files.select{|file| file.start_with? "bin" }
|
5
5
|
bin_dir = OS.ruby_bin.split('/')[0..-3].join('/')
|
@@ -14,5 +14,6 @@ Gem.post_install { |gem_installer_instance|
|
|
14
14
|
|
15
15
|
Gem.post_uninstall {
|
16
16
|
require 'faster_gem_scripts'
|
17
|
+
require 'sane'
|
17
18
|
FasterGemScripts.clear_caches! if (gem_installer_instance.spec.files.select{|file| file.start_with? "bin" }.length > 0)
|
18
19
|
}
|