buildmeister 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/buildmeister/base.rb +4 -2
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.4
|
data/lib/buildmeister/base.rb
CHANGED
@@ -7,9 +7,11 @@ module Buildmeister
|
|
7
7
|
|
8
8
|
RETRY_COUNT = 5
|
9
9
|
|
10
|
-
attr_accessor :projects, :notification_interval, :command
|
10
|
+
attr_accessor :projects, :notification_interval, :command, :args
|
11
11
|
|
12
12
|
def initialize(*args)
|
13
|
+
self.args = args
|
14
|
+
|
13
15
|
@options = {:mode => :verbose}
|
14
16
|
|
15
17
|
OptionParser.new do |opts|
|
@@ -64,7 +66,7 @@ module Buildmeister
|
|
64
66
|
self.notification_interval = @config['notification_interval']
|
65
67
|
|
66
68
|
# Did we pass in a command?
|
67
|
-
self.command = args.
|
69
|
+
self.command = args.shift
|
68
70
|
end
|
69
71
|
|
70
72
|
def go!
|