fastlane_core 0.40.0 → 0.41.0
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/update_checker/update_checker.rb +23 -1
- data/lib/fastlane_core/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f0e03d2e729260672a1852127c864f711c9e7a58
|
4
|
+
data.tar.gz: 911a1c50cf3dbbcff3ece7c5ee269f84d15edacd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8526b80e97ba23ed0fa53069c13c2e4441c91f744d91fdf5d3feb1558519e2a26823ce79d0d85f42f9cf14e551f42051ba6076f41f392b67b80130cbe092c57
|
7
|
+
data.tar.gz: 40907d5e49a11682a880b5e9fb8880ad114b8d1049f190d4aa76adedf76f6c575c6304fd07ae4b140a719276cccc70fd800242ffe1852f65ea38392623d4ff57
|
@@ -89,6 +89,25 @@ module FastlaneCore
|
|
89
89
|
Excon.post(url)
|
90
90
|
end
|
91
91
|
|
92
|
+
# (optional) Returns the app identifier for the current tool
|
93
|
+
def self.ios_app_identifier
|
94
|
+
# ARGV example:
|
95
|
+
# ["-a", "com.krausefx.app", "--team_id", "5AA97AAHK2"]
|
96
|
+
ARGV.each_with_index do |current, index|
|
97
|
+
if current == "-a" || current == "--app_identifier"
|
98
|
+
return ARGV[index + 1] if ARGV.count > index
|
99
|
+
end
|
100
|
+
end
|
101
|
+
|
102
|
+
["FASTLANE", "DELIVER", "PILOT", "PRODUCE", "PEM", "SIGH", "SNAPSHOT", "MATCH"].each do |current|
|
103
|
+
return ENV["#{current}_APP_IDENTIFIER"] if ENV["#{current}_APP_IDENTIFIER"]
|
104
|
+
end
|
105
|
+
|
106
|
+
return nil
|
107
|
+
rescue
|
108
|
+
nil # we don't want this method to cause a crash
|
109
|
+
end
|
110
|
+
|
92
111
|
# To not count the same projects multiple time for the number of launches
|
93
112
|
# More information: https://github.com/fastlane/refresher
|
94
113
|
# Use the `FASTLANE_OPT_OUT_USAGE` variable to opt out
|
@@ -96,7 +115,10 @@ module FastlaneCore
|
|
96
115
|
def self.p_hash
|
97
116
|
return nil if ENV["FASTLANE_OPT_OUT_USAGE"]
|
98
117
|
require 'credentials_manager'
|
99
|
-
|
118
|
+
|
119
|
+
value = nil
|
120
|
+
value ||= self.ios_app_identifier
|
121
|
+
value ||= CredentialsManager::AppfileConfig.try_fetch_value(:app_identifier)
|
100
122
|
unless value
|
101
123
|
value = CredentialsManager::AppfileConfig.try_fetch_value(:package_name)
|
102
124
|
value = "android_project_#{value}" if value # if the iOS and Android app share the same app identifier
|
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.
|
4
|
+
version: 0.41.0
|
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-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -399,7 +399,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
399
399
|
version: '0'
|
400
400
|
requirements: []
|
401
401
|
rubyforge_project:
|
402
|
-
rubygems_version: 2.
|
402
|
+
rubygems_version: 2.4.8
|
403
403
|
signing_key:
|
404
404
|
specification_version: 4
|
405
405
|
summary: Contains all shared code/dependencies of the fastlane.tools
|