credentials_manager 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/credentials_manager/appfile_config.rb +9 -3
- data/lib/credentials_manager/version.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f8a6b7b61c8af517960784c741e9940f232f3b70
|
|
4
|
+
data.tar.gz: 3d834271db70ab2e3c7f64edbe346601037222e9
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
-
#
|
|
120
|
-
|
|
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
|
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.
|
|
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-
|
|
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.
|
|
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:
|