rbenv-rehash 0.2 → 0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (6) hide show
  1. data/COPYING +20 -0
  2. data/README.md +11 -0
  3. data/rbenv-rehash.gemspec +13 -0
  4. metadata +10 -8
  5. data/.gemspec +0 -12
  6. data/Rakefile +0 -32
data/COPYING ADDED
@@ -0,0 +1,20 @@
1
+ Copyright (C) 2011 by Ryan Souza
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
9
+
10
+ The above copyright notice and this permission notice shall be included in
11
+ all copies or substantial portions of the Software.
12
+
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
+ THE SOFTWARE.
20
+
@@ -0,0 +1,11 @@
1
+ rbenv-rehash
2
+ ========
3
+
4
+ Rubygems plugin, automatically runs `rbenv rehash` after un/installing gems.
5
+
6
+ Install with `gem install rbenv-rehash` on each installed ruby version for optimal results
7
+
8
+ * **Author**: [Ryan Souza](http://github.com/scoz)
9
+ * **Copyright**: Copyright © 2011 Ryan Souza: See COPYING for details
10
+ * **License**: MIT License
11
+ * **Git Repo**: [github](http://github.com/scoz/rbenv-rehash)
@@ -0,0 +1,13 @@
1
+ require 'rubygems' unless Object.const_defined?(:Gem)
2
+
3
+ Gem::Specification.new do |s|
4
+ s.name = "rbenv-rehash"
5
+ s.version = '0.3'
6
+ s.authors = ["Ryan Souza"]
7
+ s.license = 'MIT'
8
+ s.email = "ryan@ryansouza.net"
9
+ s.summary = "Rubygems plugin to automatically rehash rbenv"
10
+ s.description = "Rubygems plugin to automatically run 'rbenv rehash' after (un)installing gems with executables. For optimal results, install within each installed ruby version."
11
+ s.homepage = "http://github.com/ryansouza/rbenv-rehash"
12
+ s.files = Dir.glob(%w[ {lib,test}/**/*.rb ]) + %w{rbenv-rehash.gemspec README.md COPYING}
13
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbenv-rehash
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.2'
4
+ version: '0.3'
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,20 +9,22 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-09-22 00:00:00.000000000Z
12
+ date: 2012-11-27 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: Rubygems plugin to automatically run 'rbenv rehash' after (un)installing
15
- gems with executables
15
+ gems with executables. For optimal results, install within each installed ruby version.
16
16
  email: ryan@ryansouza.net
17
17
  executables: []
18
18
  extensions: []
19
19
  extra_rdoc_files: []
20
20
  files:
21
21
  - lib/rubygems_plugin.rb
22
- - Rakefile
23
- - .gemspec
24
- homepage: http://github.com/scoz/rbenv-rehash
25
- licenses: []
22
+ - rbenv-rehash.gemspec
23
+ - README.md
24
+ - COPYING
25
+ homepage: http://github.com/ryansouza/rbenv-rehash
26
+ licenses:
27
+ - MIT
26
28
  post_install_message:
27
29
  rdoc_options: []
28
30
  require_paths:
@@ -41,7 +43,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
41
43
  version: '0'
42
44
  requirements: []
43
45
  rubyforge_project:
44
- rubygems_version: 1.8.10
46
+ rubygems_version: 1.8.23
45
47
  signing_key:
46
48
  specification_version: 3
47
49
  summary: Rubygems plugin to automatically rehash rbenv
data/.gemspec DELETED
@@ -1,12 +0,0 @@
1
- require 'rubygems' unless Object.const_defined?(:Gem)
2
-
3
- Gem::Specification.new do |s|
4
- s.name = "rbenv-rehash"
5
- s.version = '0.2'
6
- s.authors = ["Ryan Souza"]
7
- s.email = "ryan@ryansouza.net"
8
- s.summary = "Rubygems plugin to automatically rehash rbenv"
9
- s.description = "Rubygems plugin to automatically run 'rbenv rehash' after (un)installing gems with executables"
10
- s.homepage = "http://github.com/scoz/rbenv-rehash"
11
- s.files = Dir.glob(%w[ {lib,test}/**/*.rb ]) + %w{Rakefile .gemspec}
12
- end
data/Rakefile DELETED
@@ -1,32 +0,0 @@
1
- # Borrowed from http://github.com/cldwalker/gem_grep
2
-
3
- require 'rake'
4
- require 'fileutils'
5
-
6
- def gemspec
7
- @gemspec ||= eval(File.read('.gemspec'), binding, '.gemspec')
8
- end
9
-
10
- desc "Build the gem"
11
- task :gem=>:gemspec do
12
- sh "gem build .gemspec"
13
- FileUtils.mkdir_p 'pkg'
14
- FileUtils.mv "#{gemspec.name}-#{gemspec.version}.gem", 'pkg'
15
- end
16
-
17
- desc "Install the gem locally"
18
- task :install => :gem do
19
- sh %{gem install pkg/#{gemspec.name}-#{gemspec.version}}
20
- end
21
-
22
- desc "Generate the gemspec"
23
- task :generate do
24
- puts gemspec.to_ruby
25
- end
26
-
27
- desc "Validate the gemspec"
28
- task :gemspec do
29
- gemspec.validate
30
- end
31
-
32
- task :default => :gemspec