calasmash 1.0.3 → 1.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/calasmash.gemspec +1 -1
- data/lib/calasmash/cucumber.rb +0 -4
- data/spec/cucumber_spec.rb +2 -17
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ad87c50a8e5c4fa26512c8cd5d0d744b6a282a81
|
4
|
+
data.tar.gz: 154a71834555d2b9ac959b323dcb37ef78cd57eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd3b43853258fc559c122152806bd0bd6e3e33b1ddddeeaf27ba9de87210b42e615ab3a8872ca6c1503c90b68f3d78bbc7ab4cb1577530bff341c9212cd5c90e
|
7
|
+
data.tar.gz: d8bdfdff37d24f3acad9fc083342169eaf5f0f8fd1a541d05d2ca4038d8d88680b8b1476060bdb9256f5483d8a21a6a906d2dc947bad2e343eb652cba69295db
|
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.4"
|
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
@@ -111,11 +111,7 @@ module Calasmash
|
|
111
111
|
# @return [String] The simulator arguments
|
112
112
|
def simulator_arguments
|
113
113
|
if @ios
|
114
|
-
if @ios.to_i < 7
|
115
|
-
command = " OS=ios#{@ios.to_i} SDK_VERSION=#{@ios}"
|
116
|
-
else
|
117
114
|
command = " DEVICE_TARGET='iPhone Retina (4-inch) - Simulator - iOS #{@ios}'"
|
118
|
-
end
|
119
115
|
end
|
120
116
|
|
121
117
|
command
|
data/spec/cucumber_spec.rb
CHANGED
@@ -34,20 +34,6 @@ describe Calasmash::Cucumber do
|
|
34
34
|
describe "when generating the command" do
|
35
35
|
|
36
36
|
it "should add the ios version" do
|
37
|
-
@cucumber = Calasmash::Cucumber.new("1.0", nil)
|
38
|
-
@cucumber.stub(:tag_arguments)
|
39
|
-
|
40
|
-
@cucumber.instance_eval{command}.should match(/OS=ios1 SDK_VERSION=1.0/)
|
41
|
-
end
|
42
|
-
|
43
|
-
it "should add the ios 6 compatible tags when passing 6.1 as ios version" do
|
44
|
-
@cucumber = Calasmash::Cucumber.new("6.1", nil)
|
45
|
-
@cucumber.stub(:tag_arguments)
|
46
|
-
|
47
|
-
@cucumber.instance_eval{command}.should match(/OS=ios6 SDK_VERSION=6.1/)
|
48
|
-
end
|
49
|
-
|
50
|
-
it "should add the ios 7 compatible tags when passing 7.0 as ios version" do
|
51
37
|
@cucumber = Calasmash::Cucumber.new("7.0", nil)
|
52
38
|
@cucumber.stub(:tag_arguments)
|
53
39
|
|
@@ -58,8 +44,7 @@ describe Calasmash::Cucumber do
|
|
58
44
|
@cucumber = Calasmash::Cucumber.new(nil, nil)
|
59
45
|
@cucumber.stub(:tag_arguments)
|
60
46
|
|
61
|
-
@cucumber.instance_eval{command}.should_not match(/
|
62
|
-
@cucumber.instance_eval{command}.should_not match(/SDK_VERSION/)
|
47
|
+
@cucumber.instance_eval{command}.should_not match(/DEVICE_TARGET/)
|
63
48
|
end
|
64
49
|
|
65
50
|
it "should add the format" do
|
@@ -104,4 +89,4 @@ describe Calasmash::Cucumber do
|
|
104
89
|
end
|
105
90
|
|
106
91
|
end
|
107
|
-
end
|
92
|
+
end
|
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.4
|
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-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|