credentials_manager 0.12.0 → 0.13.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: 5707a4be4ed2d5dfff87c03f2755ceeee52357f4
4
- data.tar.gz: 3e94abaeb7ef98d718a77da40cb9547bab0f0c5f
3
+ metadata.gz: eb04e90a1cb492a279df8a76e2093a1f1018d705
4
+ data.tar.gz: 6d3c78e61b03826aabd81be335bfcfede200d204
5
5
  SHA512:
6
- metadata.gz: 4d3e0219c56d12d939f4bd0f0a075cbf2cadaf03b2316fbf0cad4f8b166432eb241eff97b2d3a0a87cbebf9ba4e292a885cdbdb2a893856b3a3377b49d71ae0d
7
- data.tar.gz: 919e13218e53a2faf5a11b1e383ecfa2ac6a88ce59e53908de4d50ba61f9eab1dfbf2bd4443c4ef94405a7c8139c5c09cd7b4b108277f0570a73ecf7785c0748
6
+ metadata.gz: 2a5778f917936884dd8046282306ab00b45a66912c183f5a62dbe4d43cd5a878fab1ec5492c11d25f4f5fab9ce1919b7010a7499e75342ad3706f7bdb100e377
7
+ data.tar.gz: f270ca861b2529631f205a20f404b3a99b704c67fa890ca1622099018fe6b2a4ecc17420f7181ed02efe4ad28cd814ee3c9b8a9e0f42c6ca1e63c1108d4c94ca
@@ -16,14 +16,14 @@ module CredentialsManager
16
16
  return @user
17
17
  end
18
18
 
19
- def password
19
+ def password(ask_if_missing: true)
20
20
  @password ||= ENV["FASTLANE_PASSWORD"]
21
21
  @password ||= ENV["DELIVER_PASSWORD"]
22
22
  unless @password
23
23
  item = Security::InternetPassword.find(server: server_name)
24
24
  @password ||= item.password if item
25
25
  end
26
- ask_for_login while @password.to_s.length == 0
26
+ ask_for_login while ask_if_missing && @password.to_s.length == 0
27
27
  return @password
28
28
  end
29
29
 
@@ -47,7 +47,7 @@ module CredentialsManager
47
47
  puts "-------------------------------------------------------------------------------------".green
48
48
  puts "The login information you enter will be stored in your Mac OS Keychain".green
49
49
  puts "You can also pass the password using the `FASTLANE_PASSWORD` env variable".green
50
- puts "More information about it on GitHub: https://github.com/fastlane/CredentialsManager".green
50
+ puts "More information about it on GitHub: https://github.com/fastlane/credentials_manager".green
51
51
  puts "-------------------------------------------------------------------------------------".green
52
52
 
53
53
  if @user.to_s.length == 0
@@ -68,7 +68,7 @@ module CredentialsManager
68
68
  def ask_for_login
69
69
  puts "-------------------------------------------------------------------------------------".green
70
70
  puts "The login information you enter will be stored in your Mac OS Keychain".green
71
- puts "More information about that on GitHub: https://github.com/fastlane/CredentialsManager".green
71
+ puts "More information about that on GitHub: https://github.com/fastlane/credentials_manager".green
72
72
  puts "-------------------------------------------------------------------------------------".green
73
73
 
74
74
  username_was_there = self.username
@@ -1,3 +1,3 @@
1
1
  module CredentialsManager
2
- VERSION = "0.12.0"
2
+ VERSION = "0.13.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: credentials_manager
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.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-12-03 00:00:00.000000000 Z
11
+ date: 2015-12-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: highline