fastlane_core 0.15.3 → 0.16.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: 941e96585eda33893d4ca2040dc4c8d758177c5e
4
- data.tar.gz: 3ac7a15ed2532578080371435768c658405fcd31
3
+ metadata.gz: 0657427cd398a080704136e9c795e32abbeae72b
4
+ data.tar.gz: 4064583596d3dcd4a97305d0420af5902d1c2236
5
5
  SHA512:
6
- metadata.gz: c8736e8b46f8f41bf8f244bdfd9db253307d285e14c094113301f5365e5ee2ea99e08603883a7f56fcc65fd895ff5643f03d8540d7950c6030b6fc6f7952a8d3
7
- data.tar.gz: b81b47cbd851be07930ee1f3df79dcdc54122134d6a89055e77c920ebdd856c8d1ae37179b8281d45510c80920df1f4555f6308c08f9a882439275918df566a3
6
+ metadata.gz: 01820f5c8544f6648fc6769013e0ae2aef26bbd3384c576035aec81674d1125fa2e6554749ea627e8000760578c3333bc4ba19066ff8029595fe4069e101cb15
7
+ data.tar.gz: 3e38521ea377aafc75544abf2704ecab897cc2cd154717e8633a45d5c55b8482a69caea54b011ec0bacf7756b3b2fb55e9358cafe3f924a7b82dc9c684207893
@@ -6,6 +6,9 @@ module FastlaneCore
6
6
 
7
7
  # Calls the appropriate methods for commander to show the available parameters
8
8
  def generate(options)
9
+ # First, enable `always_trace`, to show the stack trace
10
+ always_trace!
11
+
9
12
  short_codes = []
10
13
  options.each do |option|
11
14
  appendix = (option.is_string ? "STRING" : "")
@@ -1,6 +1,6 @@
1
1
  require 'pty'
2
2
  require 'shellwords'
3
- require 'credentials_manager/password_manager'
3
+ require 'credentials_manager/account_manager'
4
4
 
5
5
  module FastlaneCore
6
6
  # The TransporterInputError occurs when you passed wrong inputs to the {Deliver::ItunesTransporter}
@@ -30,10 +30,11 @@ module FastlaneCore
30
30
 
31
31
  # Returns a new instance of the iTunesTransporter.
32
32
  # If no username or password given, it will be taken from
33
- # the #{CredentialsManager::PasswordManager}
33
+ # the #{CredentialsManager::AccountManager}
34
34
  def initialize(user = nil, password = nil)
35
- @user = (user || CredentialsManager::PasswordManager.shared_manager.username)
36
- @password = (password || CredentialsManager::PasswordManager.shared_manager.password)
35
+ data = CredentialsManager::AccountManager.new(user: user, password: password)
36
+ @user = data.user
37
+ @password = data.password
37
38
  end
38
39
 
39
40
  # Downloads the latest version of the app metadata package from iTC.
@@ -146,7 +147,10 @@ module FastlaneCore
146
147
  if $1.include? "Your Apple ID or password was entered incorrectly" or
147
148
  $1.include? "This Apple ID has been locked for security reasons"
148
149
 
149
- CredentialsManager::PasswordManager.shared_manager.password_seems_wrong unless Helper.is_test?
150
+ unless Helper.is_test?
151
+ CredentialsManager::AccountManager.new(user: @user).invalid_credentials
152
+ Helper.log.fatal "Please run this tool again to apply the new password"
153
+ end
150
154
  elsif $1.include? "Redundant Binary Upload. There already exists a binary upload with build"
151
155
  Helper.log.fatal $1
152
156
  Helper.log.fatal "You have to change the build number of your app to upload your ipa file"
@@ -1,3 +1,3 @@
1
1
  module FastlaneCore
2
- VERSION = "0.15.3"
2
+ VERSION = "0.16.0"
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.15.3
4
+ version: 0.16.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-09-02 00:00:00.000000000 Z
11
+ date: 2015-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -142,14 +142,20 @@ dependencies:
142
142
  requirements:
143
143
  - - ">="
144
144
  - !ruby/object:Gem::Version
145
- version: 0.7.2
145
+ version: 0.8.0
146
+ - - "<"
147
+ - !ruby/object:Gem::Version
148
+ version: 1.0.0
146
149
  type: :runtime
147
150
  prerelease: false
148
151
  version_requirements: !ruby/object:Gem::Requirement
149
152
  requirements:
150
153
  - - ">="
151
154
  - !ruby/object:Gem::Version
152
- version: 0.7.2
155
+ version: 0.8.0
156
+ - - "<"
157
+ - !ruby/object:Gem::Version
158
+ version: 1.0.0
153
159
  - !ruby/object:Gem::Dependency
154
160
  name: phantomjs
155
161
  requirement: !ruby/object:Gem::Requirement
@@ -338,7 +344,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
338
344
  version: '0'
339
345
  requirements: []
340
346
  rubyforge_project:
341
- rubygems_version: 2.4.5
347
+ rubygems_version: 2.4.6
342
348
  signing_key:
343
349
  specification_version: 4
344
350
  summary: Contains all shared code/dependencies of the fastlane.tools