caterpillar 1.4.1 → 1.4.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/ChangeLog +3 -0
  2. data/bin/caterpillar +8 -5
  3. data/lib/caterpillar.rb +1 -1
  4. metadata +4 -4
data/ChangeLog CHANGED
@@ -1,3 +1,6 @@
1
+ = 1.4.2
2
+ - regression fix for --describe
3
+
1
4
  = 1.4.1
2
5
  - small warning fix
3
6
 
data/bin/caterpillar CHANGED
@@ -31,11 +31,14 @@ application.standard_exception_handling do
31
31
 
32
32
  # Load the main tasks -
33
33
  # if first argument is a Ruby (config) file, take the task name from second arg
34
- config = ARGV[0][/.rb$/] ? File.expand_path(ARGV.shift) : nil
35
- name = ARGV[0] ? ARGV[0].gsub(/:.*/,'') : nil
36
- Caterpillar::Task.new(name, config)
37
-
38
- task :default => :usage
34
+ if ARGV[0]
35
+ config = ARGV[0][/.rb$/] ? File.expand_path(ARGV.shift) : nil
36
+ name = ARGV[0] ? ARGV[0].gsub(/:.*/,'') : nil
37
+ Caterpillar::Task.new(name, config)
38
+ else
39
+ Caterpillar::Task.new(:usage)
40
+ end
39
41
 
42
+ task :default => :usage
40
43
  application.top_level
41
44
  end
data/lib/caterpillar.rb CHANGED
@@ -8,7 +8,7 @@
8
8
  #++
9
9
 
10
10
  module Caterpillar
11
- VERSION = '1.4.1' unless defined? Caterpillar::VERSION
11
+ VERSION = '1.4.2' unless defined? Caterpillar::VERSION
12
12
  end
13
13
 
14
14
  this_file = File.symlink?(__FILE__) ? File.readlink(__FILE__) : __FILE__
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caterpillar
3
3
  version: !ruby/object:Gem::Version
4
- hash: 5
4
+ hash: 3
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 4
9
- - 1
10
- version: 1.4.1
9
+ - 2
10
+ version: 1.4.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Mikael Lammentausta
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-06-14 00:00:00 +03:00
18
+ date: 2010-06-23 00:00:00 +03:00
19
19
  default_executable: caterpillar
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency