fastlane 2.46.0.beta.20170710010003 → 2.46.0

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: 4025f3e291a29e2d504476e473ae12fb931baddb
4
- data.tar.gz: 0f4d290e9e4790d4454682c2e468311fc1eb411a
3
+ metadata.gz: 35d03b35efaf4fa1c9bff34df54303c5a23c6b92
4
+ data.tar.gz: 57ec24f7f03567aee6aa152b69152fa8a229c5ae
5
5
  SHA512:
6
- metadata.gz: 92cd9e6222c8a593da73f2fcceadca7564d46252b82ac69ac5257ef6010ad3df37a70229824eca1bffef9cc14571d200d88d8da5037344d49c4d7c6b322e0d25
7
- data.tar.gz: c8befaf862195797b61bf41ae9c07903ce33cab9d521caef83f02b2f0c75671c9b45870479df0254f14936c3628fefd3a1a66892c2051f899018df3214e9b4d9
6
+ metadata.gz: 6632caeae12ab1e92e3af7058d6911f3a75f84fe8afecee8e224a98a2d798b1ceb8e32fddbbfdffa2e084963c255b2c1cd66258eed3bf2146355b658dbba3d54
7
+ data.tar.gz: 999fd70de58de667c0bcb001756e7c9cea25f55eb5b10908877c71dfbac6dfd765e201cce48cf10274d44f36f9bca3fec40eb24c03ba7e67144d3eeaba029072
@@ -55,7 +55,7 @@ module Fastlane
55
55
  # If we didn't build, then we return now, as it makes no sense to search for apk's in a non-`assemble` scenario
56
56
  return result unless task =~ /\b(assemble)/
57
57
 
58
- apk_search_path = File.join(project_dir, '**', 'build', 'outputs', 'apk', '*.apk')
58
+ apk_search_path = File.join(project_dir, '**', 'build', 'outputs', 'apk', '**', '*.apk')
59
59
 
60
60
  # Our apk is now built, but there might actually be multiple ones that were built if a flavor was not specified in a multi-flavor project (e.g. `assembleRelease`), however we're not interested in unaligned apk's...
61
61
  new_apks = Dir[apk_search_path].reject { |path| path =~ /^.*-unaligned.apk$/i }
@@ -46,7 +46,14 @@ module Fastlane
46
46
  end
47
47
  end
48
48
  end
49
- absolute_ipa_path = File.expand_path(Gym::Manager.new.work(values))
49
+
50
+ gym_output_path = Gym::Manager.new.work(values)
51
+ if gym_output_path.nil?
52
+ UI.important("No output path received from gym")
53
+ return nil
54
+ end
55
+
56
+ absolute_ipa_path = File.expand_path(gym_output_path)
50
57
  absolute_dsym_path = absolute_ipa_path.gsub(".ipa", ".app.dSYM.zip")
51
58
 
52
59
  # This might be the mac app path, so we don't want to set it here
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
- VERSION = '2.46.0.beta.20170710010003'.freeze
2
+ VERSION = '2.46.0'.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
  end
@@ -10,6 +10,14 @@ unless Object.const_defined?("Faraday")
10
10
  end
11
11
  end
12
12
 
13
+ unless Object.const_defined?("OpenSSL")
14
+ module OpenSSL
15
+ module SSL
16
+ class SSLError < StandardError; end
17
+ end
18
+ end
19
+ end
20
+
13
21
  module Commander
14
22
  # This class override the run method with our custom stack trace handling
15
23
  # In particular we want to distinguish between user_error! and crash! (one with, one without stack trace)
@@ -101,7 +109,7 @@ module Commander
101
109
  rescue_fastlane_error(e)
102
110
  rescue Errno::ENOENT => e
103
111
  rescue_file_error(e)
104
- rescue Faraday::SSLError => e # SSL issues are very common
112
+ rescue Faraday::SSLError, OpenSSL::SSL::SSLError => e # SSL issues are very common
105
113
  handle_ssl_error!(e)
106
114
  rescue Faraday::ConnectionFailed => e
107
115
  rescue_connection_failed_error(e)
@@ -178,17 +186,14 @@ module Commander
178
186
  ui.error ""
179
187
  ui.error "The best solution is to use the self-contained fastlane version."
180
188
  ui.error "Which ships with a bundled OpenSSL,ruby and all gems - so you don't depend on system libraries"
189
+ ui.error " - Use Homebrew"
190
+ ui.error " - update brew with `brew update`"
191
+ ui.error " - install fastlane using:"
192
+ ui.error " - `brew cask install fastlane`"
181
193
  ui.error " - Use One-Click-Installer:"
182
194
  ui.error " - download fastlane at https://download.fastlane.tools"
183
- ui.error "-----------------------------------------------------------"
184
195
  ui.error " - extract the archive and double click the `install`"
185
196
  ui.error "-----------------------------------------------------------"
186
- ui.error " - Use Homebrew"
187
- ui.error " - update brew with `brew update`"
188
- ui.error " - install fastlane:"
189
- ui.error "-----------------------------------------------------------"
190
- ui.error " - 🚀 `brew cask install fastlane` 🚀"
191
- ui.error "-----------------------------------------------------------"
192
197
  ui.error "for more details on ways to install fastlane please refer the documentation:"
193
198
  ui.error "-----------------------------------------------------------"
194
199
  ui.error " 🚀 https://docs.fastlane.tools 🚀 "
@@ -33,7 +33,7 @@ module Gym
33
33
  end
34
34
  copy_files_from_path(File.join(BuildCommandGenerator.archive_path, "Products/usr/local/bin/*")) if Gym.project.command_line_tool?
35
35
  end
36
- path
36
+ return path
37
37
  end
38
38
 
39
39
  #####################################################
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.46.0.beta.20170710010003
4
+ version: 2.46.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -1397,24 +1397,24 @@ metadata:
1397
1397
  post_install_message:
1398
1398
  rdoc_options: []
1399
1399
  require_paths:
1400
- - spaceship/lib
1401
- - scan/lib
1402
- - sigh/lib
1403
- - snapshot/lib
1404
- - screengrab/lib
1405
- - fastlane/lib
1406
1400
  - cert/lib
1407
- - pem/lib
1408
- - gym/lib
1409
- - produce/lib
1401
+ - credentials_manager/lib
1410
1402
  - deliver/lib
1411
- - supply/lib
1412
- - match/lib
1403
+ - fastlane/lib
1404
+ - fastlane_core/lib
1413
1405
  - frameit/lib
1414
- - credentials_manager/lib
1406
+ - gym/lib
1407
+ - match/lib
1408
+ - pem/lib
1415
1409
  - pilot/lib
1416
1410
  - precheck/lib
1417
- - fastlane_core/lib
1411
+ - produce/lib
1412
+ - scan/lib
1413
+ - screengrab/lib
1414
+ - sigh/lib
1415
+ - snapshot/lib
1416
+ - spaceship/lib
1417
+ - supply/lib
1418
1418
  required_ruby_version: !ruby/object:Gem::Requirement
1419
1419
  requirements:
1420
1420
  - - ">="
@@ -1422,14 +1422,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
1422
1422
  version: 2.0.0
1423
1423
  required_rubygems_version: !ruby/object:Gem::Requirement
1424
1424
  requirements:
1425
- - - ">"
1425
+ - - ">="
1426
1426
  - !ruby/object:Gem::Version
1427
- version: 1.3.1
1427
+ version: '0'
1428
1428
  requirements: []
1429
1429
  rubyforge_project:
1430
- rubygems_version: 2.4.5.1
1430
+ rubygems_version: 2.6.8
1431
1431
  signing_key:
1432
1432
  specification_version: 4
1433
1433
  summary: The easiest way to automate beta deployments and releases for your iOS and
1434
1434
  Android apps
1435
1435
  test_files: []
1436
+ has_rdoc: