caterpillar 1.4.1 → 1.4.2
Sign up to get free protection for your applications and to get access to all the features.
- data/ChangeLog +3 -0
- data/bin/caterpillar +8 -5
- data/lib/caterpillar.rb +1 -1
- metadata +4 -4
data/ChangeLog
CHANGED
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
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
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
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:
|
4
|
+
hash: 3
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 4
|
9
|
-
-
|
10
|
-
version: 1.4.
|
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-
|
18
|
+
date: 2010-06-23 00:00:00 +03:00
|
19
19
|
default_executable: caterpillar
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|