fastlane_core 0.7.5 → 0.7.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/fastlane_core/configuration.rb +15 -0
- data/lib/fastlane_core/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a65455f1d1c68aa1b29a99e4b3eb5badc76db638
|
4
|
+
data.tar.gz: 23fe51fee77ffe23438c32955829ec7d882ce406
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3cc90788b7df9635c035219429f03e6047fc08e939d713f8e299820d05beaebe77fdc3478e7aa5127603b9dc4f242de25ddd6c8fe7430a825b02ed8c43f0359
|
7
|
+
data.tar.gz: e3ca607b012d9c9694cdcb096634872d08195764fa80dc6edfdf2e3ee17f74951eb4c63a514a99a10d9fa0e07afe27860a1cf850cd356b197611069d7780b14a
|
@@ -24,6 +24,7 @@ module FastlaneCore
|
|
24
24
|
verify_input_types
|
25
25
|
verify_value_exists
|
26
26
|
verify_no_duplicates
|
27
|
+
verify_default_value_matches_verify_block
|
27
28
|
end
|
28
29
|
|
29
30
|
def verify_input_types
|
@@ -59,6 +60,20 @@ module FastlaneCore
|
|
59
60
|
end
|
60
61
|
end
|
61
62
|
|
63
|
+
# Verifies the default value is also valid
|
64
|
+
def verify_default_value_matches_verify_block
|
65
|
+
@available_options.each do |item|
|
66
|
+
if item.verify_block and item.default_value
|
67
|
+
begin
|
68
|
+
item.verify_block.call(item.default_value)
|
69
|
+
rescue => ex
|
70
|
+
Helper.log.fatal ex
|
71
|
+
raise "Invalid default value for #{item.key}, doesn't match verify_block".red
|
72
|
+
end
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
62
77
|
# Using the class
|
63
78
|
|
64
79
|
# Returns the value for a certain key. fastlane_core tries to fetch the value from different sources
|
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.7.
|
4
|
+
version: 0.7.6
|
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-05-
|
11
|
+
date: 2015-05-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|
@@ -307,7 +307,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
307
307
|
version: '0'
|
308
308
|
requirements: []
|
309
309
|
rubyforge_project:
|
310
|
-
rubygems_version: 2.
|
310
|
+
rubygems_version: 2.4.7
|
311
311
|
signing_key:
|
312
312
|
specification_version: 4
|
313
313
|
summary: Contains all shared code/dependencies of the fastlane.tools
|