xctasks 0.3.0 → 0.4.0

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: 34ef1b9b2205fbb90a2c13d2b450f3618de89818
4
- data.tar.gz: 0418f18b299f9dbea74b8e92886d06986f8c4e30
3
+ metadata.gz: 144f3150b16d09a1fea78010ba6035e2dcf7fff9
4
+ data.tar.gz: b73a4a156f8aebe126ba2abdcdf1e52c7057b899
5
5
  SHA512:
6
- metadata.gz: 2141f6cc7d2a563a45f36da9723817fdf12d7cd5c6f50b76d314f29d5aa5c9e7b2baa59759806481a42818701907034b02b2e4b9d0ce03ba29c11d5d5de981bc
7
- data.tar.gz: 115ca14974f4cb56957a12bfbb2284cbed60f45ec5645003ec2cf4d1d43d8972bfc73c9c01b8c88a56e78eff068336142926f3dcd61405c11d53ae1510bc6933
6
+ metadata.gz: 521a4c5fe8279c39b85813d33791bc8042c4407a6415f65775788a8425c6a4ff3a494191b50ea4971f1156d39d93cc5ea6e884cdeb28c0c839b8497eac9b157e
7
+ data.tar.gz: 8fc6d66394133b30b593d6357bcb16ce20c4666d6621374888f34e6e28cb7153ef8cdb2a5f3d1b89143bab6e04980748cafd59bc626a3634467b84fea5c54984
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.0.0-p451
1
+ 2.1.2
data/Gemfile.lock CHANGED
@@ -1,9 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- xctasks (0.3.0)
5
- nokogiri (~> 1.6.2.1)
6
- rake (>= 10.0.0)
4
+ xctasks (0.4.0)
5
+ nokogiri (~> 1.6, >= 1.6.3.1)
6
+ rake (~> 10.0, >= 10.0.0)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
@@ -21,7 +21,7 @@ GEM
21
21
  excon (0.26.0)
22
22
  mini_portile (0.6.0)
23
23
  multi_json (1.9.0)
24
- nokogiri (1.6.2.1)
24
+ nokogiri (1.6.3.1)
25
25
  mini_portile (= 0.6.0)
26
26
  rake (10.3.2)
27
27
  rspec (2.14.1)
@@ -51,11 +51,11 @@ PLATFORMS
51
51
  ruby
52
52
 
53
53
  DEPENDENCIES
54
- bundler (~> 1.3)
55
- byebug (~> 3.1.2)
56
- excon (~> 0.26.0)
57
- rspec (~> 2.14.0)
58
- simplecov (~> 0.7.1)
59
- tomdoc (~> 0.2.5)
60
- webmock (~> 1.13.0)
54
+ bundler (~> 1.7)
55
+ byebug (~> 3.1, >= 3.1.2)
56
+ excon (~> 0.26, >= 0.26.0)
57
+ rspec (~> 2.14, >= 2.14.0)
58
+ simplecov (~> 0.7, >= 0.7.1)
59
+ tomdoc (~> 0.2, >= 0.2.5)
60
+ webmock (~> 1.13, >= 1.13.0)
61
61
  xctasks!
@@ -234,10 +234,10 @@ module XCTasks
234
234
  actions_arg << " -freshSimulator" if ios_version
235
235
  Command.run("#{xctool_path} -workspace #{workspace} -scheme '#{scheme}' -sdk #{sdk}#{ios_version}#{destination_arg}#{actions_arg}#{settings_arg}#{output_log_command}".strip)
236
236
  elsif xcodebuild?
237
- Command.run("#{xcodebuild_path} -workspace #{workspace} -scheme '#{scheme}' -sdk #{sdk}#{ios_version}#{destination_arg}#{actions_arg}#{settings_arg}#{output_log_command}".strip)
237
+ Command.run("#{xcodebuild_path} -workspace #{workspace} -scheme '#{scheme}' -sdk #{sdk}#{ios_version}#{destination_arg}#{actions_arg}#{settings_arg}#{output_log_command}2>/dev/null".strip)
238
238
  elsif xcpretty?
239
239
  xcpretty_bin = runner.is_a?(String) ? runner : "xcpretty -c"
240
- Command.run("#{xcodebuild_path} -workspace #{workspace} -scheme '#{scheme}' -sdk #{sdk}#{ios_version}#{destination_arg}#{actions_arg}#{settings_arg}#{output_log_command}| #{xcpretty_bin} ; exit ${PIPESTATUS[0]}".strip)
240
+ Command.run("#{xcodebuild_path} -workspace #{workspace} -scheme '#{scheme}' -sdk #{sdk}#{ios_version}#{destination_arg}#{actions_arg}#{settings_arg}#{output_log_command}2>/dev/null | #{xcpretty_bin} ; exit ${PIPESTATUS[0]}".strip)
241
241
  end
242
242
 
243
243
  XCTasks::TestReport.instance.add_result(self, options, success)
@@ -1,3 +1,3 @@
1
1
  module XCTasks
2
- VERSION = "0.3.0"
2
+ VERSION = "0.4.0"
3
3
  end
@@ -115,7 +115,7 @@ describe XCTasks::TestTask do
115
115
  @commands.should == ["mkdir -p LayerKit.xcworkspace/xcshareddata/xcschemes",
116
116
  "cp [] LayerKit.xcworkspace/xcshareddata/xcschemes",
117
117
  "killall \"iPhone Simulator\"",
118
- "/usr/bin/xcodebuild -workspace LayerKit.xcworkspace -scheme 'Unit Tests' -sdk iphonesimulator clean build test | xcpretty -c ; exit ${PIPESTATUS[0]}"]
118
+ "/usr/bin/xcodebuild -workspace LayerKit.xcworkspace -scheme 'Unit Tests' -sdk iphonesimulator clean build test 2>/dev/null | xcpretty -c ; exit ${PIPESTATUS[0]}"]
119
119
  end
120
120
  end
121
121
 
@@ -127,7 +127,7 @@ describe XCTasks::TestTask do
127
127
  @commands.should == ["mkdir -p LayerKit.xcworkspace/xcshareddata/xcschemes",
128
128
  "cp [] LayerKit.xcworkspace/xcshareddata/xcschemes",
129
129
  "killall \"iPhone Simulator\"",
130
- "/usr/bin/xcodebuild -workspace LayerKit.xcworkspace -scheme 'Functional Tests' -sdk iphonesimulator clean build test | xcpretty -c ; exit ${PIPESTATUS[0]}"]
130
+ "/usr/bin/xcodebuild -workspace LayerKit.xcworkspace -scheme 'Functional Tests' -sdk iphonesimulator clean build test 2>/dev/null | xcpretty -c ; exit ${PIPESTATUS[0]}"]
131
131
  end
132
132
  end
133
133
  end
@@ -153,7 +153,7 @@ describe XCTasks::TestTask do
153
153
  @commands.should == ["mkdir -p LayerKit.xcworkspace/xcshareddata/xcschemes",
154
154
  "cp [] LayerKit.xcworkspace/xcshareddata/xcschemes",
155
155
  "killall \"iPhone Simulator\"",
156
- "/usr/bin/xcodebuild -workspace LayerKit.xcworkspace -scheme 'Unit Tests' -sdk iphonesimulator clean build test | tee -a output.log | xcpretty -s ; exit ${PIPESTATUS[0]}"]
156
+ "/usr/bin/xcodebuild -workspace LayerKit.xcworkspace -scheme 'Unit Tests' -sdk iphonesimulator clean build test | tee -a output.log 2>/dev/null | xcpretty -s ; exit ${PIPESTATUS[0]}"]
157
157
  end
158
158
  end
159
159
 
@@ -165,7 +165,7 @@ describe XCTasks::TestTask do
165
165
  @commands.should == ["mkdir -p LayerKit.xcworkspace/xcshareddata/xcschemes",
166
166
  "cp [] LayerKit.xcworkspace/xcshareddata/xcschemes",
167
167
  "killall \"iPhone Simulator\"",
168
- "/usr/bin/xcodebuild -workspace LayerKit.xcworkspace -scheme 'Functional Tests' -sdk iphonesimulator clean build test | tee -a output.log | xcpretty -s ; exit ${PIPESTATUS[0]}"]
168
+ "/usr/bin/xcodebuild -workspace LayerKit.xcworkspace -scheme 'Functional Tests' -sdk iphonesimulator clean build test | tee -a output.log 2>/dev/null | xcpretty -s ; exit ${PIPESTATUS[0]}"]
169
169
  end
170
170
  end
171
171
  end
@@ -247,7 +247,7 @@ describe XCTasks::TestTask do
247
247
  subject.invoke
248
248
  @commands.should == [
249
249
  "killall \"iPhone Simulator\"",
250
- "/usr/bin/xcodebuild -workspace LayerKit.xcworkspace -scheme 'Functional Tests' -sdk iphonesimulator clean build test"
250
+ "/usr/bin/xcodebuild -workspace LayerKit.xcworkspace -scheme 'Functional Tests' -sdk iphonesimulator clean build test 2>/dev/null"
251
251
  ]
252
252
  end
253
253
  end
@@ -299,7 +299,7 @@ describe XCTasks::TestTask do
299
299
  subject.invoke
300
300
  @commands.should == [
301
301
  "killall \"iPhone Simulator\"",
302
- "/usr/bin/xcodebuild -workspace LayerKit.xcworkspace -scheme 'Functional Tests' -sdk iphonesimulator -destination platform='iOS Simulator',name='iPad Retina',OS='latest' -destination platform\\=iOS\\ Simulator,OS\\=7.1,name\\=iPhone\\ Retina\\ \\(4-inch\\) -destination platform='iOS',id='437750527b43cff55a46f42ae86dbf870c7591b1' clean build test"]
302
+ "/usr/bin/xcodebuild -workspace LayerKit.xcworkspace -scheme 'Functional Tests' -sdk iphonesimulator -destination platform='iOS Simulator',name='iPad Retina',OS='latest' -destination platform\\=iOS\\ Simulator,OS\\=7.1,name\\=iPhone\\ Retina\\ \\(4-inch\\) -destination platform='iOS',id='437750527b43cff55a46f42ae86dbf870c7591b1' clean build test 2>/dev/null"]
303
303
  end
304
304
  end
305
305
  end
data/xctasks.gemspec CHANGED
@@ -18,14 +18,14 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency "rake", ">= 10.0.0"
22
- spec.add_dependency "nokogiri", "~> 1.6.2.1"
21
+ spec.add_runtime_dependency 'rake', '~> 10.0', '>= 10.0.0'
22
+ spec.add_runtime_dependency 'nokogiri', '~> 1.6', '>= 1.6.3.1'
23
23
 
24
- spec.add_development_dependency "bundler", "~> 1.3"
25
- spec.add_development_dependency "rspec", "~> 2.14.0"
26
- spec.add_development_dependency "simplecov", "~> 0.7.1"
27
- spec.add_development_dependency "byebug", "~> 3.1.2"
28
- spec.add_development_dependency "webmock", "~> 1.13.0"
29
- spec.add_development_dependency "excon", "~> 0.26.0"
30
- spec.add_development_dependency "tomdoc", "~> 0.2.5"
24
+ spec.add_development_dependency "bundler", "~> 1.7"
25
+ spec.add_development_dependency 'rspec', '~> 2.14', '>= 2.14.0'
26
+ spec.add_development_dependency 'simplecov', '~> 0.7', '>= 0.7.1'
27
+ spec.add_development_dependency 'byebug', '~> 3.1', '>= 3.1.2'
28
+ spec.add_development_dependency 'webmock', '~> 1.13', '>= 1.13.0'
29
+ spec.add_development_dependency 'excon', '~> 0.26', '>= 0.26.0'
30
+ spec.add_development_dependency 'tomdoc', '~> 0.2', '>= 0.2.5'
31
31
  end
metadata CHANGED
@@ -1,139 +1,187 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xctasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Blake Watters
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-25 00:00:00.000000000 Z
11
+ date: 2014-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '10.0'
20
+ - - ">="
18
21
  - !ruby/object:Gem::Version
19
22
  version: 10.0.0
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - '>='
27
+ - - "~>"
28
+ - !ruby/object:Gem::Version
29
+ version: '10.0'
30
+ - - ">="
25
31
  - !ruby/object:Gem::Version
26
32
  version: 10.0.0
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: nokogiri
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
- - - ~>
37
+ - - "~>"
32
38
  - !ruby/object:Gem::Version
33
- version: 1.6.2.1
39
+ version: '1.6'
40
+ - - ">="
41
+ - !ruby/object:Gem::Version
42
+ version: 1.6.3.1
34
43
  type: :runtime
35
44
  prerelease: false
36
45
  version_requirements: !ruby/object:Gem::Requirement
37
46
  requirements:
38
- - - ~>
47
+ - - "~>"
48
+ - !ruby/object:Gem::Version
49
+ version: '1.6'
50
+ - - ">="
39
51
  - !ruby/object:Gem::Version
40
- version: 1.6.2.1
52
+ version: 1.6.3.1
41
53
  - !ruby/object:Gem::Dependency
42
54
  name: bundler
43
55
  requirement: !ruby/object:Gem::Requirement
44
56
  requirements:
45
- - - ~>
57
+ - - "~>"
46
58
  - !ruby/object:Gem::Version
47
- version: '1.3'
59
+ version: '1.7'
48
60
  type: :development
49
61
  prerelease: false
50
62
  version_requirements: !ruby/object:Gem::Requirement
51
63
  requirements:
52
- - - ~>
64
+ - - "~>"
53
65
  - !ruby/object:Gem::Version
54
- version: '1.3'
66
+ version: '1.7'
55
67
  - !ruby/object:Gem::Dependency
56
68
  name: rspec
57
69
  requirement: !ruby/object:Gem::Requirement
58
70
  requirements:
59
- - - ~>
71
+ - - "~>"
72
+ - !ruby/object:Gem::Version
73
+ version: '2.14'
74
+ - - ">="
60
75
  - !ruby/object:Gem::Version
61
76
  version: 2.14.0
62
77
  type: :development
63
78
  prerelease: false
64
79
  version_requirements: !ruby/object:Gem::Requirement
65
80
  requirements:
66
- - - ~>
81
+ - - "~>"
82
+ - !ruby/object:Gem::Version
83
+ version: '2.14'
84
+ - - ">="
67
85
  - !ruby/object:Gem::Version
68
86
  version: 2.14.0
69
87
  - !ruby/object:Gem::Dependency
70
88
  name: simplecov
71
89
  requirement: !ruby/object:Gem::Requirement
72
90
  requirements:
73
- - - ~>
91
+ - - "~>"
92
+ - !ruby/object:Gem::Version
93
+ version: '0.7'
94
+ - - ">="
74
95
  - !ruby/object:Gem::Version
75
96
  version: 0.7.1
76
97
  type: :development
77
98
  prerelease: false
78
99
  version_requirements: !ruby/object:Gem::Requirement
79
100
  requirements:
80
- - - ~>
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '0.7'
104
+ - - ">="
81
105
  - !ruby/object:Gem::Version
82
106
  version: 0.7.1
83
107
  - !ruby/object:Gem::Dependency
84
108
  name: byebug
85
109
  requirement: !ruby/object:Gem::Requirement
86
110
  requirements:
87
- - - ~>
111
+ - - "~>"
112
+ - !ruby/object:Gem::Version
113
+ version: '3.1'
114
+ - - ">="
88
115
  - !ruby/object:Gem::Version
89
116
  version: 3.1.2
90
117
  type: :development
91
118
  prerelease: false
92
119
  version_requirements: !ruby/object:Gem::Requirement
93
120
  requirements:
94
- - - ~>
121
+ - - "~>"
122
+ - !ruby/object:Gem::Version
123
+ version: '3.1'
124
+ - - ">="
95
125
  - !ruby/object:Gem::Version
96
126
  version: 3.1.2
97
127
  - !ruby/object:Gem::Dependency
98
128
  name: webmock
99
129
  requirement: !ruby/object:Gem::Requirement
100
130
  requirements:
101
- - - ~>
131
+ - - "~>"
132
+ - !ruby/object:Gem::Version
133
+ version: '1.13'
134
+ - - ">="
102
135
  - !ruby/object:Gem::Version
103
136
  version: 1.13.0
104
137
  type: :development
105
138
  prerelease: false
106
139
  version_requirements: !ruby/object:Gem::Requirement
107
140
  requirements:
108
- - - ~>
141
+ - - "~>"
142
+ - !ruby/object:Gem::Version
143
+ version: '1.13'
144
+ - - ">="
109
145
  - !ruby/object:Gem::Version
110
146
  version: 1.13.0
111
147
  - !ruby/object:Gem::Dependency
112
148
  name: excon
113
149
  requirement: !ruby/object:Gem::Requirement
114
150
  requirements:
115
- - - ~>
151
+ - - "~>"
152
+ - !ruby/object:Gem::Version
153
+ version: '0.26'
154
+ - - ">="
116
155
  - !ruby/object:Gem::Version
117
156
  version: 0.26.0
118
157
  type: :development
119
158
  prerelease: false
120
159
  version_requirements: !ruby/object:Gem::Requirement
121
160
  requirements:
122
- - - ~>
161
+ - - "~>"
162
+ - !ruby/object:Gem::Version
163
+ version: '0.26'
164
+ - - ">="
123
165
  - !ruby/object:Gem::Version
124
166
  version: 0.26.0
125
167
  - !ruby/object:Gem::Dependency
126
168
  name: tomdoc
127
169
  requirement: !ruby/object:Gem::Requirement
128
170
  requirements:
129
- - - ~>
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: '0.2'
174
+ - - ">="
130
175
  - !ruby/object:Gem::Version
131
176
  version: 0.2.5
132
177
  type: :development
133
178
  prerelease: false
134
179
  version_requirements: !ruby/object:Gem::Requirement
135
180
  requirements:
136
- - - ~>
181
+ - - "~>"
182
+ - !ruby/object:Gem::Version
183
+ version: '0.2'
184
+ - - ">="
137
185
  - !ruby/object:Gem::Version
138
186
  version: 0.2.5
139
187
  description: Simple project automation for the sophisticated Xcode hacker
@@ -143,8 +191,8 @@ executables: []
143
191
  extensions: []
144
192
  extra_rdoc_files: []
145
193
  files:
146
- - .gitignore
147
- - .ruby-version
194
+ - ".gitignore"
195
+ - ".ruby-version"
148
196
  - CHANGELOG.md
149
197
  - Gemfile
150
198
  - Gemfile.lock
@@ -168,12 +216,12 @@ require_paths:
168
216
  - lib
169
217
  required_ruby_version: !ruby/object:Gem::Requirement
170
218
  requirements:
171
- - - '>='
219
+ - - ">="
172
220
  - !ruby/object:Gem::Version
173
221
  version: '0'
174
222
  required_rubygems_version: !ruby/object:Gem::Requirement
175
223
  requirements:
176
- - - '>='
224
+ - - ">="
177
225
  - !ruby/object:Gem::Version
178
226
  version: '0'
179
227
  requirements: []