fastlane_core 0.39.0 → 0.39.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fastlane_core/cert_checker.rb +13 -3
- data/lib/fastlane_core/helper.rb +1 -1
- data/lib/fastlane_core/version.rb +1 -1
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4efa9b788c7766701cb4923a5f85bce5b2a5e74b
|
4
|
+
data.tar.gz: ac4f3ab0e5216c56762f6afe2f7abce7c608ea88
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4478acc3c847e5922272dbc46df3089d3d06213e43532171776ec077bdd1bd59fd6704f1274fc326c737353025bddcf0678647512a10ca6d3771443929d9a32e
|
7
|
+
data.tar.gz: d2dd60b8585082fb7280b6a1cb0fd36d3d929d4554bd6264dabf689fcb24e9873cee872f0f95fb7cb2abe6c89e16103959a5d9b05092ea01a8e60810e7b07842
|
@@ -18,9 +18,15 @@ module FastlaneCore
|
|
18
18
|
def self.installed_identies
|
19
19
|
install_wwdr_certificate unless wwdr_certificate_installed?
|
20
20
|
|
21
|
-
available =
|
22
|
-
|
23
|
-
|
21
|
+
available = list_available_identities
|
22
|
+
# Match for this text against word boundaries to avoid edge cases around multiples of 10 identities!
|
23
|
+
if /\b0 valid identities found\b/ =~ available
|
24
|
+
UI.error([
|
25
|
+
"There are no local code signing identities found.",
|
26
|
+
"You can run `security find-identity -v -p codesigning` to get this output.",
|
27
|
+
"This Stack Overflow thread has more information: http://stackoverflow.com/q/35390072/774.",
|
28
|
+
"(Check in Keychain Access for an expired WWDR certificate: http://stackoverflow.com/a/35409835/774 has more info.)"
|
29
|
+
].join(' '))
|
24
30
|
end
|
25
31
|
|
26
32
|
ids = []
|
@@ -36,6 +42,10 @@ module FastlaneCore
|
|
36
42
|
return ids
|
37
43
|
end
|
38
44
|
|
45
|
+
def self.list_available_identities
|
46
|
+
`security find-identity -v -p codesigning`
|
47
|
+
end
|
48
|
+
|
39
49
|
def self.wwdr_certificate_installed?
|
40
50
|
certificate_name = "Apple Worldwide Developer Relations Certification Authority"
|
41
51
|
response = Helper.backticks("security find-certificate -c '#{certificate_name}'", print: $verbose)
|
data/lib/fastlane_core/helper.rb
CHANGED
@@ -61,7 +61,7 @@ module FastlaneCore
|
|
61
61
|
# @return [boolean] true if building in a known CI environment
|
62
62
|
def self.ci?
|
63
63
|
# Check for Jenkins, Travis CI, ... environment variables
|
64
|
-
['JENKINS_URL', 'TRAVIS', 'CIRCLECI', 'CI', 'TEAMCITY_VERSION', 'GO_PIPELINE_NAME', 'bamboo_buildKey', 'GITLAB_CI'].each do |current|
|
64
|
+
['JENKINS_URL', 'TRAVIS', 'CIRCLECI', 'CI', 'TEAMCITY_VERSION', 'GO_PIPELINE_NAME', 'bamboo_buildKey', 'GITLAB_CI', 'XCS'].each do |current|
|
65
65
|
return true if ENV.key?(current)
|
66
66
|
end
|
67
67
|
return false
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane_core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.39.
|
4
|
+
version: 0.39.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-03-
|
11
|
+
date: 2016-03-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -226,6 +226,20 @@ dependencies:
|
|
226
226
|
- - "~>"
|
227
227
|
- !ruby/object:Gem::Version
|
228
228
|
version: 3.1.0
|
229
|
+
- !ruby/object:Gem::Dependency
|
230
|
+
name: rspec_junit_formatter
|
231
|
+
requirement: !ruby/object:Gem::Requirement
|
232
|
+
requirements:
|
233
|
+
- - "~>"
|
234
|
+
- !ruby/object:Gem::Version
|
235
|
+
version: 0.2.3
|
236
|
+
type: :development
|
237
|
+
prerelease: false
|
238
|
+
version_requirements: !ruby/object:Gem::Requirement
|
239
|
+
requirements:
|
240
|
+
- - "~>"
|
241
|
+
- !ruby/object:Gem::Version
|
242
|
+
version: 0.2.3
|
229
243
|
- !ruby/object:Gem::Dependency
|
230
244
|
name: pry
|
231
245
|
requirement: !ruby/object:Gem::Requirement
|
@@ -385,7 +399,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
385
399
|
version: '0'
|
386
400
|
requirements: []
|
387
401
|
rubyforge_project:
|
388
|
-
rubygems_version: 2.
|
402
|
+
rubygems_version: 2.2.2
|
389
403
|
signing_key:
|
390
404
|
specification_version: 4
|
391
405
|
summary: Contains all shared code/dependencies of the fastlane.tools
|