rbenv-autohash 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/rubygems_plugin.rb +8 -0
  2. metadata +70 -0
@@ -0,0 +1,8 @@
1
+ hook = lambda do |installer|
2
+ if installer.spec.executables.any?
3
+ system "rbenv", "rehash"
4
+ end
5
+ end
6
+
7
+ Gem.post_install(&hook)
8
+ Gem.post_uninstall(&hook)
metadata ADDED
@@ -0,0 +1,70 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rbenv-autohash
3
+ version: !ruby/object:Gem::Version
4
+ hash: 27
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 0
10
+ version: 0.1.0
11
+ platform: ruby
12
+ authors:
13
+ - Josh
14
+ - Peek
15
+ autorequire:
16
+ bindir: bin
17
+ cert_chain: []
18
+
19
+ date: 2012-05-03 00:00:00 -07:00
20
+ default_executable:
21
+ dependencies: []
22
+
23
+ description: Rubygems plugin to automatically run `rbenv rehash`.
24
+ email:
25
+ executables: []
26
+
27
+ extensions: []
28
+
29
+ extra_rdoc_files: []
30
+
31
+ files:
32
+ - ./lib/rubygems_plugin.rb
33
+ has_rdoc: true
34
+ homepage:
35
+ licenses: []
36
+
37
+ post_install_message:
38
+ rdoc_options: []
39
+
40
+ require_paths:
41
+ - lib
42
+ required_ruby_version: !ruby/object:Gem::Requirement
43
+ none: false
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ hash: 3
48
+ segments:
49
+ - 0
50
+ version: "0"
51
+ required_rubygems_version: !ruby/object:Gem::Requirement
52
+ none: false
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ hash: 31
57
+ segments:
58
+ - 1
59
+ - 3
60
+ - 2
61
+ version: 1.3.2
62
+ requirements: []
63
+
64
+ rubyforge_project:
65
+ rubygems_version: 1.6.2
66
+ signing_key:
67
+ specification_version: 3
68
+ summary: Rubygems plugin to automatically run `rbenv rehash`.
69
+ test_files: []
70
+