xcjobs 0.0.9 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/lib/xcjobs/coverage.rb +1 -0
- data/lib/xcjobs/distribute.rb +1 -0
- data/lib/xcjobs/version.rb +1 -1
- data/spec/distribute_spec.rb +13 -7
- 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: 353d3bf4293cc24b47d003cc6ea3c79f9c06d6c6
|
|
4
|
+
data.tar.gz: e1abdc7b203ee96e3fc5bf43fc680be0ae32c454
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f2ac6a4664757dd7b727bee66f96c94de9a385002a0968093a1cfbf6a448e30999cbaf8e678fe75d7560f928d55b5ea5aaa485db4e2004e287852cb1a8983090
|
|
7
|
+
data.tar.gz: c1b3fa9ef9780382a0c5d2777d7b2fdc4694e63c6c0c40d870d3a7bcb6b2bc5e5a235aab6528c9ab410e90c67b6b9417f4c56198004ab1423c8a7a7147f3de35
|
data/.travis.yml
CHANGED
data/lib/xcjobs/coverage.rb
CHANGED
data/lib/xcjobs/distribute.rb
CHANGED
data/lib/xcjobs/version.rb
CHANGED
data/spec/distribute_spec.rb
CHANGED
|
@@ -200,6 +200,7 @@ describe XCJobs::Distribute do
|
|
|
200
200
|
t.api_key = credentials[:api_key]
|
|
201
201
|
t.build_secret = credentials[:build_secret]
|
|
202
202
|
t.notifications = true # optional
|
|
203
|
+
t.notes = notes
|
|
203
204
|
end
|
|
204
205
|
end
|
|
205
206
|
|
|
@@ -229,7 +230,12 @@ describe XCJobs::Distribute do
|
|
|
229
230
|
|
|
230
231
|
it 'executes the appropriate commands' do
|
|
231
232
|
subject.invoke
|
|
232
|
-
expect(@commands).to
|
|
233
|
+
expect(@commands).to match ["#{File.join(framework_path, 'submit')}", credentials[:api_key], credentials[:build_secret], '-ipaPath', "#{file}", '-notesPath', an_instance_of(String)]
|
|
234
|
+
end
|
|
235
|
+
|
|
236
|
+
it 'attach specified release notes' do
|
|
237
|
+
subject.invoke
|
|
238
|
+
expect(IO.read(@commands.last).chomp).to eq notes
|
|
233
239
|
end
|
|
234
240
|
end
|
|
235
241
|
end
|
|
@@ -313,27 +319,27 @@ describe XCJobs::Distribute do
|
|
|
313
319
|
it 'configures the teams' do
|
|
314
320
|
expect(task.teams).to eq ['12', '23', '42']
|
|
315
321
|
end
|
|
316
|
-
|
|
322
|
+
|
|
317
323
|
it 'configures the users' do
|
|
318
324
|
expect(task.users).to eq ['1224', '5678']
|
|
319
325
|
end
|
|
320
|
-
|
|
326
|
+
|
|
321
327
|
it 'configures the mandatory' do
|
|
322
328
|
expect(task.mandatory).to eq 1
|
|
323
329
|
end
|
|
324
|
-
|
|
330
|
+
|
|
325
331
|
it 'configures the commit_sha' do
|
|
326
332
|
expect(task.commit_sha).to eq '0eb0a329c523bb110b13523d48f19dd612ad77f6'
|
|
327
333
|
end
|
|
328
|
-
|
|
334
|
+
|
|
329
335
|
it 'configures the build_server_url' do
|
|
330
336
|
expect(task.build_server_url).to eq 'http://build-server-url.example.com'
|
|
331
337
|
end
|
|
332
|
-
|
|
338
|
+
|
|
333
339
|
it 'configures the repository_url' do
|
|
334
340
|
expect(task.repository_url).to eq 'https://github.com/kishikawakatsumi/xcjobs'
|
|
335
341
|
end
|
|
336
|
-
|
|
342
|
+
|
|
337
343
|
describe 'tasks' do
|
|
338
344
|
describe 'distribute:hockeyapp' do
|
|
339
345
|
subject { Rake.application['distribute:hockeyapp'] }
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: xcjobs
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0
|
|
4
|
+
version: 0.1.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- kishikawa katsumi
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-03-
|
|
11
|
+
date: 2015-03-17 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|