fastlane_core 0.41.1 → 0.41.2

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: 44801fe477ef2ece37a3950c2183bf38132bdb7a
4
- data.tar.gz: 87c3ceb4bd30e0cb8e4f78bd1d457ca26f99fb1c
3
+ metadata.gz: fc7a618468b31d828fe31bccc19aba85306c5c17
4
+ data.tar.gz: 9e3a24d90de9e34ed39cbfc822f5562a7f974357
5
5
  SHA512:
6
- metadata.gz: 00620ff82620ab06c7e3f0e640538fed09b0678d3e1daa88096cad316330f833cbea8d7884de6c4c6e7c27c08c3c47ed7f272ea48ba1cbefe97b753ee4f4ff68
7
- data.tar.gz: 38576f178ff6eb0494774420e14b1ca94bf0bf3ee750e6c9132b1a6981236d1c6773827aa42415c0d4956ef8f24342fe33af2772392b0da979efb5c21c9f0f3c
6
+ metadata.gz: 6ad82711a64a3bddd7737e0c04724e4a22cdcbce13d192804efe52dce48016f068ff3a188bb4a0f2a649f4db60d9dfc64ce9dba818c3567ecee5c9541ac218f3
7
+ data.tar.gz: 75f974ac1727bb8c7c778f6f350f4f5e79ffe2e80fa13931991267072284549f7659a5f9929fd19b9f67400057f45f5f73d4c1725e9f9073aef0bd17d10f5441
@@ -227,13 +227,16 @@ module FastlaneCore
227
227
  # Returns a new instance of the iTunesTransporter.
228
228
  # If no username or password given, it will be taken from
229
229
  # the #{CredentialsManager::AccountManager}
230
- def initialize(user = nil, password = nil, avoid_shell_script = false)
231
- avoid_shell_script ||= !ENV['FASTLANE_EXPERIMENTAL_TRANSPORTER_AVOID_SHELL_SCRIPT'].nil?
230
+ # @param use_shell_script if true, forces use of the iTMSTransporter shell script.
231
+ # if false, allows a direct call to the iTMSTransporter Java app (preferred).
232
+ # see: https://github.com/fastlane/fastlane/pull/4003
233
+ def initialize(user = nil, password = nil, use_shell_script = false)
234
+ use_shell_script ||= !ENV['FASTLANE_ITUNES_TRANSPORTER_USE_SHELL_SCRIPT'].nil?
232
235
  data = CredentialsManager::AccountManager.new(user: user, password: password)
233
236
 
234
237
  @user = data.user
235
238
  @password = data.password
236
- @transporter_executor = avoid_shell_script ? JavaTransporterExecutor.new : ShellScriptTransporterExecutor.new
239
+ @transporter_executor = use_shell_script ? ShellScriptTransporterExecutor.new : JavaTransporterExecutor.new
237
240
  end
238
241
 
239
242
  # Downloads the latest version of the app metadata package from iTC.
@@ -7,7 +7,14 @@ module FastlaneCore
7
7
  def print_values(config: nil, title: nil, hide_keys: [], mask_keys: [])
8
8
  require 'terminal-table'
9
9
 
10
- options = config.nil? ? {} : config.values(ask: false)
10
+ options = {}
11
+ unless config.nil?
12
+ if config.kind_of?(FastlaneCore::Configuration)
13
+ options = config.values(ask: false)
14
+ else
15
+ options = config
16
+ end
17
+ end
11
18
  rows = self.collect_rows(options: options, hide_keys: hide_keys.map(&:to_s), mask_keys: mask_keys.map(&:to_s), prefix: '')
12
19
 
13
20
  params = {}
@@ -1,3 +1,3 @@
1
1
  module FastlaneCore
2
- VERSION = "0.41.1".freeze
2
+ VERSION = "0.41.2".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.41.1
4
+ version: 0.41.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-04-02 00:00:00.000000000 Z
11
+ date: 2016-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json