credentials_manager 0.15.0 → 0.15.1

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: 1b6e12265747372e77559f3aad7fd658364f15db
4
- data.tar.gz: a49bdf06f375021bd7d7f66b79b618c1335ba67f
3
+ metadata.gz: e7aa6450b02a05cf3cd8ea07c390bf9df24f6152
4
+ data.tar.gz: 269ec6a5a925266cfd86789f679a52a7ef657b27
5
5
  SHA512:
6
- metadata.gz: a932e919e2b46748d34ac3eac89dc9b16f3d0ba05fa653aae8e6170345189ea7c4bf69381c187461216c2ded63a9b282d64cab9421c865408aa89f6825684aa1
7
- data.tar.gz: 26bb23c1313c1db0128e28534e869efd8dd4dfe09b09c2179727196a88368124fe31acecc2037fa3f352bae7c03725a1cbf2665e0394b95b3928125d96301734
6
+ metadata.gz: ce6a0c73ad2e691abab04d1401b83059078cdcaa8cfe91c34874037d9fcf8c8828eb81ff9e6c3701fb6dde1de596f9df5eec500602345e93426908ce8bee5535
7
+ data.tar.gz: 56b068930c538d96859f698592391423aa10963f1f536c6759d81387148672108e52373778f493a4de380553eba1c4984ea4e1b2deec18cf4aaf3297756caa1f
data/README.md CHANGED
@@ -3,10 +3,10 @@ CredentialsManager
3
3
 
4
4
  `CredentialsManager` is used by most components in the [fastlane.tools](https://fastlane.tools) toolchain.
5
5
 
6
- All code related to your username and password can be found here: [account_manager.rb](https://github.com/fastlane/CredentialsManager/blob/master/lib/credentials_manager/account_manager.rb)
6
+ All code related to your username and password can be found here: [account_manager.rb](https://github.com/fastlane/fastlane/blob/master/credentials_manager/lib/credentials_manager/account_manager.rb)
7
7
 
8
8
  ## Usage
9
- Along with the [Ruby libraries](https://github.com/fastlane/credentials_manager#implementing-a-custom-solution) you can use the command line interface to add credentials to the keychain.
9
+ Along with the [Ruby libraries](https://github.com/fastlane/fastlane/tree/master/credentials_manager#implementing-a-custom-solution) you can use the command line interface to add credentials to the keychain.
10
10
 
11
11
  **Adding Credentials**
12
12
  ```
@@ -53,7 +53,7 @@ puts data.password
53
53
  ```
54
54
 
55
55
  # Code of Conduct
56
- Help us keep `fastlane` open and inclusive. Please read and follow our [Code of Conduct](https://github.com/fastlane/code-of-conduct).
56
+ Help us keep `fastlane` open and inclusive. Please read and follow our [Code of Conduct](https://github.com/fastlane/fastlane/blob/master/CODE_OF_CONDUCT.md).
57
57
 
58
58
  # License
59
59
 
@@ -56,7 +56,7 @@ module CredentialsManager
56
56
  puts "-------------------------------------------------------------------------------------".green
57
57
  puts "The login information you enter will be stored in your Mac OS Keychain".green
58
58
  puts "You can also pass the password using the `FASTLANE_PASSWORD` env variable".green
59
- puts "More information about it on GitHub: https://github.com/fastlane/credentials_manager".green
59
+ puts "More information about it on GitHub: https://github.com/fastlane/fastlane/tree/master/credentials_manager".green
60
60
  puts "-------------------------------------------------------------------------------------".green
61
61
 
62
62
  if @user.to_s.length == 0
@@ -33,10 +33,10 @@ module CredentialsManager
33
33
 
34
34
  # From https://github.com/orta/danger/blob/master/lib/danger/Dangerfile.rb
35
35
  if content.tr!('“”‘’‛', %(""'''))
36
- Helper.log.error "Your #{File.basename(path)} has had smart quotes sanitised. " \
37
- 'To avoid issues in the future, you should not use ' \
38
- 'TextEdit for editing it. If you are not using TextEdit, ' \
39
- 'you should turn off smart quotes in your editor of choice.'.red
36
+ puts "Your #{File.basename(path)} has had smart quotes sanitised. " \
37
+ 'To avoid issues in the future, you should not use ' \
38
+ 'TextEdit for editing it. If you are not using TextEdit, ' \
39
+ 'you should turn off smart quotes in your editor of choice.'.red
40
40
  end
41
41
 
42
42
  # rubocop:disable Lint/Eval
@@ -119,7 +119,7 @@ module CredentialsManager
119
119
  #
120
120
  # Discussion If received lane name does not match the lane name available as environment variable, no changes will
121
121
  # be applied.
122
- def for_lane(lane_name, &block)
122
+ def for_lane(lane_name)
123
123
  if lane_name.to_s.split(" ").count > 1
124
124
  # That's the legacy syntax 'platform name'
125
125
  puts "You use deprecated syntax '#{lane_name}' in your Appfile.".yellow
@@ -131,7 +131,7 @@ module CredentialsManager
131
131
  end
132
132
 
133
133
  if ENV["FASTLANE_LANE_NAME"] == lane_name.to_s
134
- block.call
134
+ yield
135
135
  end
136
136
  end
137
137
 
@@ -142,15 +142,15 @@ module CredentialsManager
142
142
  #
143
143
  # Discussion If received paltform name does not match the platform name available as environment variable, no changes will
144
144
  # be applied.
145
- def for_platform(platform_name, &block)
145
+ def for_platform(platform_name)
146
146
  if ENV["FASTLANE_PLATFORM_NAME"] == platform_name.to_s
147
- block.call
147
+ yield
148
148
  end
149
149
  end
150
150
 
151
151
  private
152
152
 
153
- def setter(key, *args, &_block)
153
+ def setter(key, *args)
154
154
  if block_given?
155
155
  value = yield
156
156
  else
@@ -1,3 +1,3 @@
1
1
  module CredentialsManager
2
- VERSION = "0.15.0"
2
+ VERSION = "0.15.1"
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.15.0
4
+ version: 0.15.1
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-02-18 00:00:00.000000000 Z
11
+ date: 2016-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: colored
@@ -122,6 +122,20 @@ dependencies:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: 3.1.0
125
+ - !ruby/object:Gem::Dependency
126
+ name: rspec_junit_formatter
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: 0.2.3
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: 0.2.3
125
139
  - !ruby/object:Gem::Dependency
126
140
  name: webmock
127
141
  requirement: !ruby/object:Gem::Requirement
@@ -170,14 +184,14 @@ dependencies:
170
184
  requirements:
171
185
  - - "~>"
172
186
  - !ruby/object:Gem::Version
173
- version: 0.35.1
187
+ version: 0.38.0
174
188
  type: :development
175
189
  prerelease: false
176
190
  version_requirements: !ruby/object:Gem::Requirement
177
191
  requirements:
178
192
  - - "~>"
179
193
  - !ruby/object:Gem::Version
180
- version: 0.35.1
194
+ version: 0.38.0
181
195
  description: Password manager used in fastlane.tools
182
196
  email:
183
197
  - fastlane@krausefx.com
@@ -214,7 +228,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
214
228
  version: '0'
215
229
  requirements: []
216
230
  rubyforge_project:
217
- rubygems_version: 2.2.2
231
+ rubygems_version: 2.4.5.1
218
232
  signing_key:
219
233
  specification_version: 4
220
234
  summary: Password manager used in fastlane.tools