fastlane 2.29.0.beta.20170507010054 → 2.29.0.beta.20170508010014
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/fastlane/lib/fastlane/version.rb +1 -1
- data/supply/lib/supply/client.rb +5 -0
- data/supply/lib/supply/options.rb +9 -0
- metadata +14 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 18181fe28fb2c568f61c2fee8568427c1f3fd03d
|
4
|
+
data.tar.gz: e668aa7619b60fc5437a0e97ce65ceb1d5025c59
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec0a24486ef35aed6406a506da9565753cc2fd00c9e57340066554f4d8843cea6fddce7a8f43217349e03721de1719bc4b804e45256ee38df055cc3d1a1c0f98
|
7
|
+
data.tar.gz: 3b901a932a161b1ee3c0bfed4092023e39adf3b55e742d64f273468abac170468318f9325c9a013f81c191d15704038c3af0df2faba0d0bfa207f348fd2c0447
|
data/supply/lib/supply/client.rb
CHANGED
@@ -74,6 +74,11 @@ module Supply
|
|
74
74
|
|
75
75
|
self.android_publisher = Androidpublisher::AndroidPublisherService.new
|
76
76
|
self.android_publisher.authorization = auth_client
|
77
|
+
if Supply.config[:root_url]
|
78
|
+
# Google's client expects the root_url string to end with "/".
|
79
|
+
Supply.config[:root_url] << '/' unless Supply.config[:root_url].end_with?('/')
|
80
|
+
self.android_publisher.root_url = Supply.config[:root_url]
|
81
|
+
end
|
77
82
|
end
|
78
83
|
|
79
84
|
#####################################################
|
@@ -3,6 +3,7 @@ require 'credentials_manager'
|
|
3
3
|
|
4
4
|
module Supply
|
5
5
|
class Options
|
6
|
+
# rubocop:disable Metrics/PerceivedComplexity
|
6
7
|
def self.available_options
|
7
8
|
valid_tracks = %w(production beta alpha rollout)
|
8
9
|
@options ||= [
|
@@ -164,9 +165,17 @@ module Supply
|
|
164
165
|
value.each do |path|
|
165
166
|
UI.user_error! "Could not find mapping file at path '#{path}'" unless File.exist?(path)
|
166
167
|
end
|
168
|
+
end),
|
169
|
+
FastlaneCore::ConfigItem.new(key: :root_url,
|
170
|
+
env_name: "SUPPLY_ROOT_URL",
|
171
|
+
description: "Root URL for the Google Play API. The provided URL will be used for API calls in place of https://www.googleapis.com/",
|
172
|
+
optional: true,
|
173
|
+
verify_block: proc do |value|
|
174
|
+
UI.user_error! "Could not parse URL '#{value}'" unless value =~ URI.regexp
|
167
175
|
end)
|
168
176
|
|
169
177
|
]
|
170
178
|
end
|
179
|
+
# rubocop:enable Metrics/PerceivedComplexity
|
171
180
|
end
|
172
181
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.29.0.beta.
|
4
|
+
version: 2.29.0.beta.20170508010014
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Krause
|
@@ -15,7 +15,7 @@ authors:
|
|
15
15
|
autorequire:
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
|
-
date: 2017-05-
|
18
|
+
date: 2017-05-08 00:00:00.000000000 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
name: slack-notifier
|
@@ -1357,23 +1357,23 @@ metadata:
|
|
1357
1357
|
post_install_message:
|
1358
1358
|
rdoc_options: []
|
1359
1359
|
require_paths:
|
1360
|
-
-
|
1361
|
-
- pem/lib
|
1362
|
-
- spaceship/lib
|
1360
|
+
- credentials_manager/lib
|
1363
1361
|
- pilot/lib
|
1364
|
-
- snapshot/lib
|
1365
1362
|
- deliver/lib
|
1366
|
-
-
|
1367
|
-
-
|
1363
|
+
- match/lib
|
1364
|
+
- snapshot/lib
|
1368
1365
|
- produce/lib
|
1369
|
-
-
|
1366
|
+
- spaceship/lib
|
1370
1367
|
- frameit/lib
|
1371
|
-
- supply/lib
|
1372
|
-
- credentials_manager/lib
|
1373
|
-
- fastlane/lib
|
1374
|
-
- match/lib
|
1375
|
-
- fastlane_core/lib
|
1376
1368
|
- screengrab/lib
|
1369
|
+
- pem/lib
|
1370
|
+
- gym/lib
|
1371
|
+
- fastlane_core/lib
|
1372
|
+
- fastlane/lib
|
1373
|
+
- supply/lib
|
1374
|
+
- scan/lib
|
1375
|
+
- cert/lib
|
1376
|
+
- sigh/lib
|
1377
1377
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1378
1378
|
requirements:
|
1379
1379
|
- - ">="
|