buildmeister 1.1.3 → 1.1.4

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.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/buildmeister/base.rb +4 -2
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.1.3
1
+ 1.1.4
@@ -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.first
69
+ self.command = args.shift
68
70
  end
69
71
 
70
72
  def go!
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 1
8
- - 3
9
- version: 1.1.3
8
+ - 4
9
+ version: 1.1.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Leigh Caplan