credentials_manager 0.7.0 → 0.7.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: 35cab4c0d4a7b653dfe02e69c0d6851a9fdc89e9
4
- data.tar.gz: 7609870a0935e7a3bdb2133b7eceb1bbfe7356aa
3
+ metadata.gz: f8a6b7b61c8af517960784c741e9940f232f3b70
4
+ data.tar.gz: 3d834271db70ab2e3c7f64edbe346601037222e9
5
5
  SHA512:
6
- metadata.gz: 1c2042073e731b37c1a0ee3345acc7423475f0d40ecbdd43b69de169f245a30e922580f3af9d5cea44b6944420a42d66cfdda74e7ba2041008b02839ec03ccbf
7
- data.tar.gz: 1b51f0b0357bcfccd3b57e0e32586ab3b9dc31ff70efd468e2c1ba7c055e8cf743ce730570b9004eccfbed23415522eb340c41eeed6aec27bee5d64c5b99399c
6
+ metadata.gz: 0eaa27a46e2564a914f2bf297129eba2ca94754264eaa603f9f2c1ee2c0f7c41acff94268a6cb7a56804d00ed996119adfa44fb26d66d397e1a4648a7b1ab8eb
7
+ data.tar.gz: f888e92f262b5c56bfbb69fbac95552b390e67e7289386acceda3854cf9f2c6c8fbcbb1d9ceaf5daa8a3a1f870549789957cd62ccac7051aeb8ce24194ad7a64
@@ -39,8 +39,8 @@ module CredentialsManager
39
39
  #
40
40
  # It is forbidden to specify multiple configuration for the same platform. It will raise an exception.
41
41
 
42
- # Plaform specified.
43
42
  if for_platform_configuration?(blocks)
43
+ # Plaform specified.
44
44
  blocks[ENV["FASTLANE_PLATFORM_NAME"]].call
45
45
  inner_block = blocks[ENV["FASTLANE_PLATFORM_NAME"]]
46
46
  if for_lane_configuration?(inner_block)
@@ -116,8 +116,14 @@ module CredentialsManager
116
116
  blocks[lane_name.to_s] = block
117
117
  else
118
118
  if ENV["FASTLANE_LANE_NAME"]
119
- # Platform and lane name specified, assigned lane configuration per different platforms
120
- blocks[ENV["FASTLANE_PLATFORM_NAME"]] = {lane_name.to_s => block } if lane_name.to_s == ENV["FASTLANE_LANE_NAME"]
119
+ # The for_lane could be formatted as:
120
+ # - only {lane_name} (i.e. 'for_lane beta ...')
121
+ # - {platform_name} {lane_name} (i.e. 'for_lane "ios beta" ...')
122
+ #
123
+ # Either case it is a valid configuration to run the overwriting of the settings.
124
+ if lane_name.to_s == "#{ENV["FASTLANE_PLATFORM_NAME"]} #{ENV["FASTLANE_LANE_NAME"]}" || lane_name.to_s == ENV["FASTLANE_LANE_NAME"]
125
+ blocks[ENV["FASTLANE_LANE_NAME"]] = block
126
+ end
121
127
  end
122
128
  end
123
129
  end
@@ -1,3 +1,3 @@
1
1
  module CredentialsManager
2
- VERSION = "0.7.0"
2
+ VERSION = "0.7.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.7.0
4
+ version: 0.7.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: 2015-07-22 00:00:00.000000000 Z
11
+ date: 2015-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: highline
@@ -127,8 +127,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
127
127
  version: '0'
128
128
  requirements: []
129
129
  rubyforge_project:
130
- rubygems_version: 2.4.6
130
+ rubygems_version: 2.4.8
131
131
  signing_key:
132
132
  specification_version: 4
133
133
  summary: Password manager used in fastlane.tools
134
134
  test_files: []
135
+ has_rdoc: