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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ad87c50a8e5c4fa26512c8cd5d0d744b6a282a81
4
- data.tar.gz: 154a71834555d2b9ac959b323dcb37ef78cd57eb
3
+ metadata.gz: 44021a88cafc7d9cb4153f71fd245736b56439ea
4
+ data.tar.gz: 7ec212e271c26dceaa28155d3a1528aa5724e8e8
5
5
  SHA512:
6
- metadata.gz: fd3b43853258fc559c122152806bd0bd6e3e33b1ddddeeaf27ba9de87210b42e615ab3a8872ca6c1503c90b68f3d78bbc7ab4cb1577530bff341c9212cd5c90e
7
- data.tar.gz: d8bdfdff37d24f3acad9fc083342169eaf5f0f8fd1a541d05d2ca4038d8d88680b8b1476060bdb9256f5483d8a21a6a906d2dc947bad2e343eb652cba69295db
6
+ metadata.gz: fb50e3e9c8b8999e52ee374a0eeec000785828265150f4d842cad0662e4ce1f87147d9f2926d5b4fb85170661c0539a61f209aa3a891edba00a7ec9567ca5ce5
7
+ data.tar.gz: c480505f79b8c01208d4d43360a2d0f0820aa186bb38916ca0382ff45eb01e76c433715f62ef4e2885bef6f4572c828e7e7107c0acb3af4956484983d64ac05f
@@ -1,13 +1,13 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- calasmash (1.0.3)
4
+ calasmash (1.0.5)
5
5
  CFPropertyList
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- CFPropertyList (2.2.7)
10
+ CFPropertyList (2.2.8)
11
11
  coderay (1.0.9)
12
12
  diff-lcs (1.2.5)
13
13
  ffi (1.9.0)
@@ -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.4"
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"
@@ -81,7 +81,7 @@ module Calasmash
81
81
  # @return [String] The cucumber command string
82
82
  def command
83
83
  command = "cucumber"
84
- command += simulator_arguments if @ios
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
@@ -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(/DEVICE_TARGET='iPhone Retina \(4-inch\) - Simulator - iOS 7.0'/)
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
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-05-02 00:00:00.000000000 Z
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.3
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: