calasmash 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/calasmash.gemspec +1 -1
- data/lib/calasmash/cucumber.rb +1 -14
- data/spec/cucumber_spec.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 44021a88cafc7d9cb4153f71fd245736b56439ea
|
4
|
+
data.tar.gz: 7ec212e271c26dceaa28155d3a1528aa5724e8e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb50e3e9c8b8999e52ee374a0eeec000785828265150f4d842cad0662e4ce1f87147d9f2926d5b4fb85170661c0539a61f209aa3a891edba00a7ec9567ca5ce5
|
7
|
+
data.tar.gz: c480505f79b8c01208d4d43360a2d0f0820aa186bb38916ca0382ff45eb01e76c433715f62ef4e2885bef6f4572c828e7e7107c0acb3af4956484983d64ac05f
|
data/Gemfile.lock
CHANGED
data/calasmash.gemspec
CHANGED
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "calasmash"
|
7
|
-
spec.version = "1.0.
|
7
|
+
spec.version = "1.0.5"
|
8
8
|
spec.authors = ["Alex Fish"]
|
9
9
|
spec.email = ["fish@ustwo.co.uk"]
|
10
10
|
spec.description = "A gift for Juan"
|
data/lib/calasmash/cucumber.rb
CHANGED
@@ -81,7 +81,7 @@ module Calasmash
|
|
81
81
|
# @return [String] The cucumber command string
|
82
82
|
def command
|
83
83
|
command = "cucumber"
|
84
|
-
command +=
|
84
|
+
command += " OS=ios#{@ios.to_i} SDK_VERSION=#{@ios}" if @ios
|
85
85
|
command += " --format #{self.format}" if self.format
|
86
86
|
command += " --out #{self.output}" if self.output
|
87
87
|
command += @tags.to_a.empty? ? "" : tag_arguments
|
@@ -104,18 +104,5 @@ module Calasmash
|
|
104
104
|
command
|
105
105
|
end
|
106
106
|
|
107
|
-
#
|
108
|
-
# Generate the simulator version arguments that
|
109
|
-
# are best for certain versions of simulators
|
110
|
-
#
|
111
|
-
# @return [String] The simulator arguments
|
112
|
-
def simulator_arguments
|
113
|
-
if @ios
|
114
|
-
command = " DEVICE_TARGET='iPhone Retina (4-inch) - Simulator - iOS #{@ios}'"
|
115
|
-
end
|
116
|
-
|
117
|
-
command
|
118
|
-
end
|
119
|
-
|
120
107
|
end
|
121
108
|
end
|
data/spec/cucumber_spec.rb
CHANGED
@@ -37,7 +37,7 @@ describe Calasmash::Cucumber do
|
|
37
37
|
@cucumber = Calasmash::Cucumber.new("7.0", nil)
|
38
38
|
@cucumber.stub(:tag_arguments)
|
39
39
|
|
40
|
-
@cucumber.instance_eval{command}.should match(/
|
40
|
+
@cucumber.instance_eval{command}.should match(/OS=ios7 SDK_VERSION=7.0/)
|
41
41
|
end
|
42
42
|
|
43
43
|
it "should not add the ios version if missing" do
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: calasmash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Fish
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-09-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
129
129
|
version: '0'
|
130
130
|
requirements: []
|
131
131
|
rubyforge_project:
|
132
|
-
rubygems_version: 2.0.
|
132
|
+
rubygems_version: 2.0.14
|
133
133
|
signing_key:
|
134
134
|
specification_version: 4
|
135
135
|
summary: Compile an app, point the app at sinatra, run cucumber
|
@@ -139,4 +139,3 @@ test_files:
|
|
139
139
|
- spec/cucumber_spec.rb
|
140
140
|
- spec/plist_spec.rb
|
141
141
|
- spec/spec_helper.rb
|
142
|
-
has_rdoc:
|