fastlane 2.24.0 → 2.25.0.beta.20170330225747

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: fdb2d291fe6437298028749904a2697cbb3b9a86
4
- data.tar.gz: 20716deed5583ae9690efc671fcc8207020aabe0
3
+ metadata.gz: 68d5a90ce4be55d9177cc6c310aa2e7335f1766d
4
+ data.tar.gz: 383b4fb4980383dfdbf624cce62954d4c7fb6ae7
5
5
  SHA512:
6
- metadata.gz: 356058eff3266cfc3c8c766d0bb9565a251519512400f094159ba7894c1388439246cbd7893fa6b2172616c07fad3f2435865cdb26d58c7bff28760d2da432d3
7
- data.tar.gz: b94a23b014206ed674312d672d0e9c95880e5d04ba477162a2d64ee7c6ffbd8b2785d44f53b059b52519eae0db3c79711158b3e295ad80301804954030cfcf8f
6
+ metadata.gz: 133f9842a07cc8f7e9aee39a88e5c9f731074a5eac8f911a72fe867a24152ac41b75bf138a3a5d2dcfd8a1ef81b13f726eeb6f08bd57054eb395110a3023c62a
7
+ data.tar.gz: ea0315647aca7057192a662ccaecaff457e7129fc2f55b066a3c1bc3eed384bbcb00f56f240bb0290866f362c7b80feb3d5c974a2bde4f7dc0692b37270ba554
@@ -1,4 +1,4 @@
1
1
  module Fastlane
2
- VERSION = '2.24.0'.freeze
2
+ VERSION = '2.25.0.beta.20170330225747'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  end
@@ -60,10 +60,12 @@ module FastlaneCore
60
60
  UI.user_error!("env_name must be a String") unless (env_name || '').kind_of? String
61
61
 
62
62
  if short_option
63
- UI.user_error!("short_option must be a String of length 1") unless short_option.kind_of? String and short_option.delete('-').length == 1
63
+ UI.user_error!("short_option for key :#{key} must of type String") unless short_option.kind_of?(String)
64
+ UI.user_error!("short_option for key :#{key} must be a string of length 1") unless short_option.delete('-').length == 1
64
65
  end
66
+
65
67
  if description
66
- UI.user_error!("Do not let descriptions end with a '.', since it's used for user inputs as well") if description[-1] == '.'
68
+ UI.user_error!("Do not let descriptions end with a '.', since it's used for user inputs as well for key :#{key}") if description[-1] == '.'
67
69
  end
68
70
 
69
71
  if conflicting_options
@@ -71,6 +73,7 @@ module FastlaneCore
71
73
  UI.user_error!("Conflicting option key must be a symbol") unless conflicting_option_key.kind_of? Symbol
72
74
  end
73
75
  end
76
+
74
77
  if deprecated
75
78
  # deprecated options are automatically optional
76
79
  optional = true if optional.nil?
@@ -131,19 +131,25 @@ module FastlaneCore
131
131
  elsif Helper.is_ci?
132
132
  UI.error("Multiple schemes found but you haven't specified one.")
133
133
  UI.error("Since this is a CI, please pass one using the `scheme` option")
134
+ show_scheme_shared_information
134
135
  UI.user_error!("Multiple schemes found")
135
136
  else
136
137
  puts "Select Scheme: "
137
138
  options[:scheme] = choose(*schemes)
138
139
  end
139
140
  else
140
- UI.error("Couldn't find any schemes in this project, make sure that the scheme is shared if you are using a workspace")
141
- UI.error("Open Xcode, click on `Manage Schemes` and check the `Shared` box for the schemes you want to use")
141
+ show_scheme_shared_information
142
142
 
143
143
  UI.user_error!("No Schemes found")
144
144
  end
145
145
  end
146
146
 
147
+ def show_scheme_shared_information
148
+ UI.error("Couldn't find any schemes in this project, make sure that the scheme is shared if you are using a workspace")
149
+ UI.error("Open Xcode, click on `Manage Schemes` and check the `Shared` box for the schemes you want to use")
150
+ UI.error("Afterwards make sure to commit the changes into version control")
151
+ end
152
+
147
153
  # Get all available configurations in an array
148
154
  def configurations
149
155
  parsed_info.configurations
@@ -66,6 +66,13 @@ module Commander
66
66
  collector.did_raise_error(@program[:name])
67
67
  show_github_issues(e.message) if e.show_github_issues
68
68
  display_user_error!(e, e.message)
69
+ rescue Errno::ENOENT => e
70
+ # We're also printing the new-lines, as otherwise the message is not very visible in-between the error and the stacktrace
71
+ puts ""
72
+ FastlaneCore::UI.important("Error accessing file, this might be due to fastlane's directory handling")
73
+ FastlaneCore::UI.important("Check out https://docs.fastlane.tools/advanced/#directory-behavior for more details")
74
+ puts ""
75
+ raise e
69
76
  rescue FastlaneCore::Interface::FastlaneTestFailure => e # test_failure!
70
77
  display_user_error!(e, e.to_s)
71
78
  rescue Faraday::SSLError => e # SSL issues are very common
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.24.0
4
+ version: 2.25.0.beta.20170330225747
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -753,8 +753,6 @@ files:
753
753
  - deliver/lib/deliver/upload_price_tier.rb
754
754
  - deliver/lib/deliver/upload_screenshots.rb
755
755
  - fastlane/README.md
756
- - fastlane/lib/.DS_Store
757
- - fastlane/lib/assets/.DS_Store
758
756
  - fastlane/lib/assets/Actions.md.erb
759
757
  - fastlane/lib/assets/AppfileTemplate
760
758
  - fastlane/lib/assets/AppfileTemplateAndroid
@@ -1299,23 +1297,23 @@ metadata:
1299
1297
  post_install_message:
1300
1298
  rdoc_options: []
1301
1299
  require_paths:
1302
- - cert/lib
1300
+ - snapshot/lib
1303
1301
  - credentials_manager/lib
1304
- - deliver/lib
1305
- - fastlane/lib
1306
1302
  - fastlane_core/lib
1303
+ - cert/lib
1304
+ - produce/lib
1305
+ - sigh/lib
1307
1306
  - frameit/lib
1307
+ - fastlane/lib
1308
+ - screengrab/lib
1308
1309
  - gym/lib
1310
+ - deliver/lib
1309
1311
  - match/lib
1310
- - pem/lib
1311
1312
  - pilot/lib
1312
- - produce/lib
1313
+ - pem/lib
1313
1314
  - scan/lib
1314
- - screengrab/lib
1315
- - sigh/lib
1316
- - snapshot/lib
1317
- - spaceship/lib
1318
1315
  - supply/lib
1316
+ - spaceship/lib
1319
1317
  required_ruby_version: !ruby/object:Gem::Requirement
1320
1318
  requirements:
1321
1319
  - - ">="
@@ -1323,15 +1321,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
1323
1321
  version: 2.0.0
1324
1322
  required_rubygems_version: !ruby/object:Gem::Requirement
1325
1323
  requirements:
1326
- - - ">="
1324
+ - - ">"
1327
1325
  - !ruby/object:Gem::Version
1328
- version: '0'
1326
+ version: 1.3.1
1329
1327
  requirements: []
1330
1328
  rubyforge_project:
1331
- rubygems_version: 2.6.10
1329
+ rubygems_version: 2.4.5.2
1332
1330
  signing_key:
1333
1331
  specification_version: 4
1334
1332
  summary: The easiest way to automate beta deployments and releases for your iOS and
1335
1333
  Android apps
1336
1334
  test_files: []
1337
- has_rdoc:
Binary file
Binary file