gem_tools 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,4 +1,7 @@
1
- == 0.0.1 2008-08-06
1
+ == 0.0.3 2008-09-02
2
+ * Fix the borked binary, not sure why this didn't show up previously
3
+
4
+ == 0.0.2 2008-08-06
2
5
 
3
6
  * Add the bin files to the gem...:
4
7
 
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
- # no rubygems to load, so we fail silently
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)
@@ -2,7 +2,7 @@ module GemTools
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 0
5
- TINY = 2
5
+ TINY = 3
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
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.2
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-08-06 00:00:00 -05:00
12
+ date: 2008-09-02 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency