fastlane 2.21.0.beta.20170320010043 → 2.21.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 04053d7f67006ec9fb3afb555afe28a8e8c5c547
4
- data.tar.gz: 5ada2775a5e8e3b16ff387431aacf8c626c6e541
3
+ metadata.gz: 2ed7e83bfc8ef6c859b306c589a705d2b7559601
4
+ data.tar.gz: 6f6fea4c4571d4804ab891fd8e2834724cb0e446
5
5
  SHA512:
6
- metadata.gz: 2844c738e2284f05da0046ba082a04b01641b3d86b5f4775970f29be5f1e1948a2e38650dd07eefeefa97f664194eb1d94449d0b45ba4bd9c81af2b56781b8d2
7
- data.tar.gz: 34325342ea70654f509e0fb8997885837504f474bde11d28f55cc2eb8bc2ef0f5deec6b1c0cdd40235182e23604370d854f1d5842dc943a4bcc45ae5b9ed2d6f
6
+ metadata.gz: 4906c88933e7382832930424f08cd73c3612bc25d1376ba182521a64b4034bd8eebe241043c457b384fa2495af61912ce6e06f4b4d86e2231133f2c9c24ee3bd
7
+ data.tar.gz: e1cc9c9b4be279c96ebeaf3fbccb7961733fdf8055e065aa1795b31f5e57469d4f63e8b1083493f8071688bea28c43b45bd2a817a4c041601b777b6ec887e5f8
@@ -220,7 +220,7 @@ module Deliver
220
220
  REVIEW_INFORMATION_VALUES.each do |key, option_name|
221
221
  v.send("#{key}=", info[option_name]) if info[option_name]
222
222
  end
223
- v.review_user_needed = (v.review_demo_user.to_s + v.review_demo_password.to_s).length > 0
223
+ v.review_user_needed = (v.review_demo_user.to_s.chomp + v.review_demo_password.to_s.chomp).length > 0
224
224
  end
225
225
 
226
226
  def set_app_rating(v, options)
@@ -6,21 +6,18 @@ module Fastlane
6
6
  def self.run(params)
7
7
  original = Actions.lane_context[Actions::SharedValues::ORIGINAL_DEFAULT_KEYCHAIN]
8
8
 
9
- search_paths = []
10
- search_paths << File.expand_path(params[:name]) if params[:name]
11
- search_paths << File.expand_path(File.join("~", "Library", "Keychains", params[:name])) if params[:name]
12
- search_paths << File.expand_path(params[:keychain_path]) if params[:keychain_path]
13
-
14
- if search_paths.empty?
9
+ if params[:keychain_path]
10
+ if File.exist?(params[:keychain_path])
11
+ keychain_path = params[:keychain_path]
12
+ else
13
+ UI.user_error!("Unable to find the specified keychain.")
14
+ end
15
+ elsif params[:name]
16
+ keychain_path = FastlaneCore::Helper.keychain_path(params[:name])
17
+ else
15
18
  UI.user_error!("You either have to set :name or :keychain_path")
16
19
  end
17
20
 
18
- keychain_path = search_paths.find { |path| File.exist?(path) }
19
-
20
- if keychain_path.nil?
21
- UI.user_error!("Unable to find the specified keychain. Looked in:\n\t" + search_paths.join("\n\t"))
22
- end
23
-
24
21
  Fastlane::Actions.sh("security default-keychain -s #{original}", log: false) unless original.nil?
25
22
  Fastlane::Actions.sh "security delete-keychain #{keychain_path.shellescape}", log: false
26
23
  end
@@ -4,7 +4,7 @@ module Fastlane
4
4
  module Actions
5
5
  class ImportCertificateAction < Action
6
6
  def self.run(params)
7
- keychain_path = File.expand_path(File.join("~", "Library", "Keychains", params[:keychain_name]))
7
+ keychain_path = FastlaneCore::Helper.keychain_path(params[:keychain_name])
8
8
 
9
9
  FastlaneCore::KeychainImporter.import_file(params[:certificate_path], keychain_path, keychain_password: params[:keychain_password], certificate_password: params[:certificate_password], output: params[:log_output])
10
10
  end
@@ -1,4 +1,4 @@
1
1
  module Fastlane
2
- VERSION = '2.21.0.beta.20170320010043'.freeze
2
+ VERSION = '2.21.0'.freeze
3
3
  DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
4
4
  end
@@ -67,6 +67,18 @@ module FastlaneCore
67
67
 
68
68
  return if value.nil?
69
69
  self.modified_values[method_sym] = value
70
+
71
+ # to support frozen strings (e.g. ENV variables) too
72
+ # we have to dupe the value
73
+ # in < Ruby 2.4.0 `.dup` is not support by boolean values
74
+ # and there is no good way to check if a class actually
75
+ # responds to `dup`, so we have to rescue the exception
76
+ begin
77
+ value = value.dup
78
+ rescue TypeError
79
+ # Nothing specific to do here, if we can't dupe, we just
80
+ # deal with it (boolean values can't be from env variables anyway)
81
+ end
70
82
  self.config[method_sym] = value
71
83
  else
72
84
  # We can't set this value, maybe the tool using this configuration system has its own
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.21.0.beta.20170320010043
4
+ version: 2.21.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
@@ -1296,23 +1296,23 @@ metadata:
1296
1296
  post_install_message:
1297
1297
  rdoc_options: []
1298
1298
  require_paths:
1299
- - pilot/lib
1300
- - pem/lib
1301
- - gym/lib
1302
- - snapshot/lib
1303
- - fastlane/lib
1304
1299
  - cert/lib
1305
1300
  - credentials_manager/lib
1306
1301
  - deliver/lib
1302
+ - fastlane/lib
1303
+ - fastlane_core/lib
1304
+ - frameit/lib
1305
+ - gym/lib
1307
1306
  - match/lib
1307
+ - pem/lib
1308
+ - pilot/lib
1308
1309
  - produce/lib
1309
- - spaceship/lib
1310
1310
  - scan/lib
1311
+ - screengrab/lib
1311
1312
  - sigh/lib
1312
- - frameit/lib
1313
+ - snapshot/lib
1314
+ - spaceship/lib
1313
1315
  - supply/lib
1314
- - screengrab/lib
1315
- - fastlane_core/lib
1316
1316
  required_ruby_version: !ruby/object:Gem::Requirement
1317
1317
  requirements:
1318
1318
  - - ">="
@@ -1320,14 +1320,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
1320
1320
  version: 2.0.0
1321
1321
  required_rubygems_version: !ruby/object:Gem::Requirement
1322
1322
  requirements:
1323
- - - ">"
1323
+ - - ">="
1324
1324
  - !ruby/object:Gem::Version
1325
- version: 1.3.1
1325
+ version: '0'
1326
1326
  requirements: []
1327
1327
  rubyforge_project:
1328
- rubygems_version: 2.4.5.2
1328
+ rubygems_version: 2.6.10
1329
1329
  signing_key:
1330
1330
  specification_version: 4
1331
1331
  summary: The easiest way to automate beta deployments and releases for your iOS and
1332
1332
  Android apps
1333
1333
  test_files: []
1334
+ has_rdoc: