ratchetcat-commander 0.0.5 → 1.0.2
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/README.txt +0 -3
- data/lib/commander.rb +2 -3
- metadata +1 -1
data/README.txt
CHANGED
@@ -17,9 +17,6 @@ Commander uses the open4 gem and the ruby logger to accomplish these tasks.
|
|
17
17
|
Commander was originally intended for use in rake tasks launching multiple system commands. Program flow was varied based on the exit status or source of the output from these commands and Commander includes some convenience methods for handling such situations.
|
18
18
|
|
19
19
|
Setup:
|
20
|
-
|
21
|
-
require 'rubygems'
|
22
|
-
require 'commander'
|
23
20
|
|
24
21
|
log = Logger.new( STDOUT )
|
25
22
|
log.level = Logger::Warn
|
data/lib/commander.rb
CHANGED
@@ -3,14 +3,13 @@ $:.unshift(File.dirname(__FILE__)) unless
|
|
3
3
|
|
4
4
|
require 'rubygems'
|
5
5
|
require 'open4'
|
6
|
-
require 'logger'
|
7
6
|
|
8
7
|
class Commander
|
9
8
|
|
10
9
|
module VERSION #:nodoc:
|
11
|
-
MAJOR =
|
10
|
+
MAJOR = 1
|
12
11
|
MINOR = 0
|
13
|
-
TINY =
|
12
|
+
TINY = 2
|
14
13
|
|
15
14
|
STRING = [MAJOR, MINOR, TINY].join('.')
|
16
15
|
end
|