calasmash 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Calasmash
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
data/lib/calasmash.rb CHANGED
@@ -27,14 +27,15 @@ module Calasmash
27
27
  end
28
28
 
29
29
  def parse(args)
30
- options = {}
30
+ options = {}
31
+ options[:tags] = []
31
32
  @opt_parser = OptionParser.new do |opt|
32
33
  opt.banner = "Usage: calasmash [OPTIONS]"
33
34
  opt.separator ""
34
35
  opt.separator "Options"
35
36
 
36
- opt.on("-t","--tags TAGS","the tags to test against") do |tags|
37
- options[:tags] = tags
37
+ opt.on("-t","--tags TAGS","the tags to pass to Cucumber") do |tag_set|
38
+ options[:tags] << tag_set
38
39
  end
39
40
 
40
41
  opt.on("-w","--workspace WORKSPACE","the workspace to build") do |tags|
@@ -130,7 +131,9 @@ module Calasmash
130
131
  end
131
132
 
132
133
  if(@options[:tags])
133
- optional_params += " --tags #{@options[:tags]}"
134
+ @options[:tags].each do |tag_set|
135
+ optional_params += " --tags #{tag_set}"
136
+ end
134
137
  end
135
138
 
136
139
  cucumber_command = "cucumber OS=ios7 SDK_VERSION=7.0 DEVICE_TARGET=simulator"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: calasmash
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-10-29 00:00:00.000000000 Z
12
+ date: 2013-11-06 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler