xcjobs 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -1
- data/lib/xcjobs/version.rb +1 -1
- data/lib/xcjobs/xcodebuild.rb +9 -3
- metadata +2 -3
- data/circle.yml +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7464a0a5d68f99a77502c4d293772012113c5743
|
4
|
+
data.tar.gz: 747b110147e42003891b9e14e95e50422eebf107
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db0f03448c564174b86acbb948a8605872aaca845ccd5ad1891db0e19e50ebf353de9a83825e479e8941cedaec142c18be574150ae5e75e93b2f8c837fc4536d
|
7
|
+
data.tar.gz: 9eaaa2ea808afdbd8d81f00fdd945788dab0f4d7e1af86dc61a01308bb7e518c0e207276ab656354639cb04b71e70c5d06642879d0520627309e83d1b15b5293
|
data/README.md
CHANGED
@@ -1,6 +1,5 @@
|
|
1
1
|
# XCJobs
|
2
2
|
[![Gem Version](https://badge.fury.io/rb/xcjobs.svg)](http://badge.fury.io/rb/xcjobs)
|
3
|
-
[![Circle CI](https://circleci.com/gh/kishikawakatsumi/xcjobs.svg?style=svg)](https://circleci.com/gh/kishikawakatsumi/xcjobs)
|
4
3
|
[![Build Status](https://travis-ci.org/kishikawakatsumi/xcjobs.svg?branch=master)](https://travis-ci.org/kishikawakatsumi/xcjobs)
|
5
4
|
[![Coverage Status](https://img.shields.io/coveralls/kishikawakatsumi/xcjobs.svg)](https://coveralls.io/r/kishikawakatsumi/xcjobs?branch=master)
|
6
5
|
[![Code Climate](https://codeclimate.com/github/kishikawakatsumi/xcjobs/badges/gpa.svg)](https://codeclimate.com/github/kishikawakatsumi/xcjobs)
|
data/lib/xcjobs/version.rb
CHANGED
data/lib/xcjobs/xcodebuild.rb
CHANGED
@@ -170,9 +170,12 @@ module XCJobs
|
|
170
170
|
end
|
171
171
|
|
172
172
|
class Test < Xcodebuild
|
173
|
+
attr_accessor :without_building
|
174
|
+
|
173
175
|
def initialize(name = :test)
|
174
176
|
super
|
175
177
|
@description = 'test application'
|
178
|
+
@without_building = false
|
176
179
|
yield self if block_given?
|
177
180
|
define
|
178
181
|
end
|
@@ -286,8 +289,8 @@ module XCJobs
|
|
286
289
|
task @name do
|
287
290
|
add_build_setting('GCC_SYMBOLS_PRIVATE_EXTERN', 'NO')
|
288
291
|
|
289
|
-
run(['xcodebuild', 'test'] + options)
|
290
|
-
|
292
|
+
run(['xcodebuild', without_building ? 'test-without-building' : 'test'] + options)
|
293
|
+
|
291
294
|
if coverage_enabled
|
292
295
|
coverage_report(options)
|
293
296
|
end
|
@@ -296,9 +299,12 @@ module XCJobs
|
|
296
299
|
end
|
297
300
|
|
298
301
|
class Build < Xcodebuild
|
302
|
+
attr_accessor :for_testing
|
303
|
+
|
299
304
|
def initialize(name = :build)
|
300
305
|
super
|
301
306
|
@description = 'build application'
|
307
|
+
@for_testing = false
|
302
308
|
yield self if block_given?
|
303
309
|
define
|
304
310
|
end
|
@@ -318,7 +324,7 @@ module XCJobs
|
|
318
324
|
add_build_setting('CODE_SIGN_IDENTITY', signing_identity) if signing_identity
|
319
325
|
add_build_setting('PROVISIONING_PROFILE', provisioning_profile_uuid) if provisioning_profile_uuid
|
320
326
|
|
321
|
-
run(['xcodebuild', 'build'] + options)
|
327
|
+
run(['xcodebuild', for_testing ? 'build-for-testing' : 'build'] + options)
|
322
328
|
end
|
323
329
|
end
|
324
330
|
end
|
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.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- kishikawa katsumi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-05-
|
11
|
+
date: 2017-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -80,7 +80,6 @@ files:
|
|
80
80
|
- LICENSE
|
81
81
|
- README.md
|
82
82
|
- Rakefile
|
83
|
-
- circle.yml
|
84
83
|
- lib/xcjobs.rb
|
85
84
|
- lib/xcjobs/certificate.rb
|
86
85
|
- lib/xcjobs/coverage.rb
|
data/circle.yml
DELETED
@@ -1,6 +0,0 @@
|
|
1
|
-
dependencies:
|
2
|
-
pre:
|
3
|
-
- case $CIRCLE_NODE_INDEX in 0) rvm use 1.9.3 --default ;; 1) rvm use 2.0.0 --default ;; 2) rvm use 2.1 --default ;; 3) rvm use 2.2 --default ;; 4) rvm use 2.3 --default ;; esac
|
4
|
-
test:
|
5
|
-
override:
|
6
|
-
- ruby -v ; bundle exec rspec --format documentation --color spec: {parallel: true}
|