buildmeister 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.0.1
@@ -7,10 +7,11 @@ module Buildmeister
7
7
 
8
8
  RETRY_COUNT = 5
9
9
 
10
- attr_accessor :projects, :notification_interval
10
+ attr_accessor :projects, :notification_interval, :args
11
11
 
12
12
  def initialize(*args)
13
- @options = {:mode => :verbose}
13
+ self.args = args
14
+ @options = {:mode => :verbose}
14
15
 
15
16
  OptionParser.new do |opts|
16
17
  opts.banner = "Usage: buildmeister notify"
@@ -25,7 +25,7 @@ module Buildmeister
25
25
  end
26
26
  end
27
27
 
28
- def pull_bin(bin_name = ARGV.shift)
28
+ def pull_bin(bin_name = args.first)
29
29
  raise "Multiple projects are loaded. Please use the -p flag to select one project." if projects.size > 1
30
30
 
31
31
  project = projects.first
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: buildmeister
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leigh Caplan