faster_gem_script 0.1.6 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.6
1
+ 0.2.0
@@ -4,5 +4,6 @@ if ARGV.length == 0
4
4
  puts 'syntax: script_name_to_optimize'
5
5
  else
6
6
  FasterGemScripts.overwrite ARGV[0]
7
+ FasterGemScripts.clear_caches!
7
8
  end
8
9
 
@@ -11,7 +11,7 @@ Gem.post_install { |gem_installer_instance|
11
11
  end
12
12
  }
13
13
 
14
- Gem.post_uninstall {
14
+ Gem.post_uninstall { |gem_installer_instance|
15
15
  require 'faster_gem_scripts'
16
16
  require 'sane'
17
17
  FasterGemScripts.clear_caches! if (gem_installer_instance.spec.files.select{|file| file =~ /^bin/ }.length > 0)
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: faster_gem_script
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 2
8
+ - 0
9
+ version: 0.2.0
5
10
  platform: ruby
6
11
  authors:
7
12
  - Roger Pack
@@ -9,39 +14,47 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-01-29 00:00:00 -07:00
17
+ date: 2010-02-22 00:00:00 -07:00
13
18
  default_executable: faster_gem_script
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: sane
17
- type: :runtime
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
20
24
  requirements:
21
25
  - - ">="
22
26
  - !ruby/object:Gem::Version
27
+ segments:
28
+ - 0
29
+ - 17
30
+ - 0
23
31
  version: 0.17.0
24
- version:
32
+ type: :runtime
33
+ version_requirements: *id001
25
34
  - !ruby/object:Gem::Dependency
26
35
  name: faster_require
27
- type: :runtime
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
36
+ prerelease: false
37
+ requirement: &id002 !ruby/object:Gem::Requirement
30
38
  requirements:
31
39
  - - ">="
32
40
  - !ruby/object:Gem::Version
41
+ segments:
42
+ - 0
33
43
  version: "0"
34
- version:
44
+ type: :runtime
45
+ version_requirements: *id002
35
46
  - !ruby/object:Gem::Dependency
36
47
  name: rspec
37
- type: :development
38
- version_requirement:
39
- version_requirements: !ruby/object:Gem::Requirement
48
+ prerelease: false
49
+ requirement: &id003 !ruby/object:Gem::Requirement
40
50
  requirements:
41
51
  - - ">="
42
52
  - !ruby/object:Gem::Version
53
+ segments:
54
+ - 0
43
55
  version: "0"
44
- version:
56
+ type: :development
57
+ version_requirements: *id003
45
58
  description:
46
59
  email: rogerdpack@gmail.com
47
60
  executables:
@@ -73,18 +86,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
73
86
  requirements:
74
87
  - - ">="
75
88
  - !ruby/object:Gem::Version
89
+ segments:
90
+ - 0
76
91
  version: "0"
77
- version:
78
92
  required_rubygems_version: !ruby/object:Gem::Requirement
79
93
  requirements:
80
94
  - - ">="
81
95
  - !ruby/object:Gem::Version
96
+ segments:
97
+ - 0
82
98
  version: "0"
83
- version:
84
99
  requirements: []
85
100
 
86
101
  rubyforge_project:
87
- rubygems_version: 1.3.5
102
+ rubygems_version: 1.3.6
88
103
  signing_key:
89
104
  specification_version: 3
90
105
  summary: A utility to make ruby "command line scripts" run much faster by using gem prelude instead of full rubygems