fastlane 2.129.0.beta.20190725200033 → 2.129.0.beta.20190726200041

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ba08796042818be974b6712c97c1f0754c308d05
4
- data.tar.gz: b34e87d925cfa4e3392fa93981d1054c69ed5e63
3
+ metadata.gz: 767624fe382b192c3339035d64d53b93b13426ab
4
+ data.tar.gz: b71d71a9e65eedb3c25db96206902496a01e8378
5
5
  SHA512:
6
- metadata.gz: 1cbfa120e12dfd7a964a7b3a4ab17601e99d7f56f935a9f51ba28847ed4810b726b8827ab0e64237fdb5e21aac7a42c0af02206da698bddf8ac1b82ca17774dd
7
- data.tar.gz: e716dc742636a4b773f59245403011ddeb774bfcb68be7493e741ed9486689efa93eb0836fbc8eb919e72c4513c494512320e2ccf93e75450a87200721a3f5b4
6
+ metadata.gz: c563a558719d372427e12d295fc3d290583f9db93b20a923a1a6c09f9a56a15b3e790907e3beb1c67905aeedb3859cf77f01190f715e79039f2466988aecb562
7
+ data.tar.gz: 6dc4cf6cfa9268e3003d2395f71e7554557cee62afe79902e98f3e7c3ab52252d7d8b16f54d6e6f32030bf809d3b69efe7760ac8e6eb8fb2b40e4b302e9a9896
@@ -86,7 +86,6 @@ module Fastlane
86
86
  containing = File.join(File.expand_path("~/Library"), "CrashlyticsAndroid")
87
87
  zip_path = File.join(containing, "crashlytics-devtools.zip")
88
88
  jar_path = File.join(containing, "crashlytics-devtools.jar")
89
- return jar_path if File.exist?(jar_path)
90
89
 
91
90
  url = "https://ssl-download-crashlytics-com.s3.amazonaws.com/android/ant/crashlytics.zip"
92
91
  require 'net/http'
@@ -94,19 +93,26 @@ module Fastlane
94
93
  FileUtils.mkdir_p(containing)
95
94
 
96
95
  begin
97
- UI.important("Downloading Crashlytics Support Library - this might take a minute...")
98
-
99
96
  # Work around ruby defect, where HTTP#get_response and HTTP#post_form don't use ENV proxy settings
100
97
  # https://bugs.ruby-lang.org/issues/12724
101
98
  uri = URI(url)
102
99
  http_conn = Net::HTTP.new(uri.host, uri.port)
103
100
  http_conn.use_ssl = true
101
+ result = http_conn.request_head(uri.path)
102
+
103
+ # ETag is returned with quotes, which net/http does not handle. Clean that up
104
+ etag = result['ETag'] && result['ETag'].tr('"', '')
105
+
106
+ # This is a no-op if the current version on disk matches the file on S3
107
+ return jar_path if File.exist?(zip_path) && etag == Digest::MD5.file(zip_path).hexdigest
108
+
109
+ UI.important("Downloading Crashlytics Support Library - this might take a minute...")
104
110
  result = http_conn.request_get(uri.path)
105
111
  UI.error!("#{result.message} (#{result.code})") unless result.kind_of?(Net::HTTPSuccess)
106
112
  File.write(zip_path, result.body)
107
113
 
108
114
  # Now unzip the file
109
- Action.sh("unzip '#{zip_path}' -d '#{containing}'")
115
+ Action.sh("unzip -o '#{zip_path}' -d '#{containing}'")
110
116
 
111
117
  UI.user_error!("Couldn't find 'crashlytics-devtools.jar'") unless File.exist?(jar_path)
112
118
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.129.0.beta.20190725200033'.freeze
2
+ VERSION = '2.129.0.beta.20190726200041'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  MINIMUM_XCODE_RELEASE = "7.0".freeze
5
5
  RUBOCOP_REQUIREMENT = '0.49.1'.freeze
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.129.0.beta.20190725200033
4
+ version: 2.129.0.beta.20190726200041
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luka Mirosevic
@@ -27,7 +27,7 @@ authors:
27
27
  autorequire:
28
28
  bindir: bin
29
29
  cert_chain: []
30
- date: 2019-07-25 00:00:00.000000000 Z
30
+ date: 2019-07-26 00:00:00.000000000 Z
31
31
  dependencies:
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: slack-notifier
@@ -1742,24 +1742,24 @@ metadata:
1742
1742
  post_install_message:
1743
1743
  rdoc_options: []
1744
1744
  require_paths:
1745
+ - screengrab/lib
1745
1746
  - produce/lib
1746
- - pem/lib
1747
- - snapshot/lib
1748
- - sigh/lib
1747
+ - supply/lib
1749
1748
  - fastlane_core/lib
1749
+ - scan/lib
1750
+ - sigh/lib
1751
+ - gym/lib
1750
1752
  - fastlane/lib
1751
1753
  - credentials_manager/lib
1754
+ - spaceship/lib
1755
+ - snapshot/lib
1756
+ - pilot/lib
1752
1757
  - deliver/lib
1753
1758
  - precheck/lib
1754
- - supply/lib
1755
- - scan/lib
1756
- - screengrab/lib
1757
- - match/lib
1758
- - spaceship/lib
1759
1759
  - cert/lib
1760
- - pilot/lib
1760
+ - pem/lib
1761
1761
  - frameit/lib
1762
- - gym/lib
1762
+ - match/lib
1763
1763
  required_ruby_version: !ruby/object:Gem::Requirement
1764
1764
  requirements:
1765
1765
  - - ">="