gem_tools 0.0.2 → 0.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.
- data/History.txt +4 -1
- data/bin/gemtools +6 -4
- data/lib/gem_tools/version.rb +1 -1
- metadata +2 -2
data/History.txt
CHANGED
data/bin/gemtools
CHANGED
|
@@ -7,8 +7,10 @@ require File.dirname(__FILE__) + '/../lib/gem_tools'
|
|
|
7
7
|
|
|
8
8
|
begin
|
|
9
9
|
require 'rubygems'
|
|
10
|
-
rescue LoadError
|
|
11
|
-
|
|
10
|
+
rescue LoadError => e
|
|
11
|
+
puts e.to_s
|
|
12
|
+
puts "We can\"t install gems without rubygems"
|
|
13
|
+
exit 1
|
|
12
14
|
end
|
|
13
15
|
|
|
14
16
|
require 'optparse'
|
|
@@ -38,10 +40,10 @@ BANNER
|
|
|
38
40
|
opts.separator ""
|
|
39
41
|
opts.on("-d", "--docs", String,
|
|
40
42
|
"Install the rdocs and ri during install",
|
|
41
|
-
"Default: off") { |OPTIONS[:docs]
|
|
43
|
+
"Default: off") { |opts| OPTIONS[:docs] }
|
|
42
44
|
opts.on("-f", "--force", String,
|
|
43
45
|
"Force the install of the gems",
|
|
44
|
-
"Default: off") { |OPTIONS[:force]
|
|
46
|
+
"Default: off") { |opts| OPTIONS[:force] }
|
|
45
47
|
opts.on("-h", "--help",
|
|
46
48
|
"Show this help message") { puts opts; exit }
|
|
47
49
|
opts.parse!(ARGV)
|
data/lib/gem_tools/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gem_tools
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael Moen
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2008-
|
|
12
|
+
date: 2008-09-02 00:00:00 -05:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|