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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 338aeb3650b20f2a836ef99ac9008e15b5b3ba4f
4
- data.tar.gz: 5d2cc99e84a2366577a5e17484f773fcda667a0e
3
+ metadata.gz: ad87c50a8e5c4fa26512c8cd5d0d744b6a282a81
4
+ data.tar.gz: 154a71834555d2b9ac959b323dcb37ef78cd57eb
5
5
  SHA512:
6
- metadata.gz: 01bc0f90053e0ddfbbbbf4b59e861d22f097cd5e5a834d992f2a7a31b2b952304c4e75f1270366ffa3d627cb35254ff497af401bf5406c01a37ff8be3c5aa759
7
- data.tar.gz: e3f8341aefce3ce16aaf3f87d46928f3241dea9ed87f795c42ca534e2389679dcfebb727a6f03f521ffa862213c03451a9aa53527d9466be95a4ea0e571dff2c
6
+ metadata.gz: fd3b43853258fc559c122152806bd0bd6e3e33b1ddddeeaf27ba9de87210b42e615ab3a8872ca6c1503c90b68f3d78bbc7ab4cb1577530bff341c9212cd5c90e
7
+ data.tar.gz: d8bdfdff37d24f3acad9fc083342169eaf5f0f8fd1a541d05d2ca4038d8d88680b8b1476060bdb9256f5483d8a21a6a906d2dc947bad2e343eb652cba69295db
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- calasmash (1.0.2)
4
+ calasmash (1.0.3)
5
5
  CFPropertyList
6
6
 
7
7
  GEM
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.3"
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"
@@ -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
@@ -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(/OS/)
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.3
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-04-07 00:00:00.000000000 Z
11
+ date: 2014-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler