maestrano 1.0.0.pre.RC3 → 1.0.0.pre.RC4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/maestrano/auto_configure.rb +2 -2
- data/lib/maestrano/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7bbd3569f7e1c43bb9aba22ab88c4e6dab4c0313
|
4
|
+
data.tar.gz: 0d04bfbf3ad9d3c059a1d8be39c8da9434975a66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bc91f23cac0658609f646aca6d92bb1f356afb0dae8c8310e573e2a665ac820ec91255287ffe3df53a5d4dcc224728e032c989efe451e280a0c2b757d88e20cf
|
7
|
+
data.tar.gz: 2e2dbbc2f898e695e96f3aacac967f38c1137fe171659e8df046d5ad0382d9bc1deafcace9dd75fe28c832905986403b1072cafa5050f23463ea9abb8231821b
|
@@ -43,13 +43,13 @@ module Maestrano
|
|
43
43
|
|
44
44
|
devpl_config = {}
|
45
45
|
devpl_config[:host] = ENV['MNO_DEVPL_HOST'] || yaml_config['dev_platform']['host']
|
46
|
-
devpl_config[:api_path] = ENV['
|
46
|
+
devpl_config[:api_path] = ENV['MNO_DEVPL_API_PATH'] || yaml_config['dev_platform']['api_path']
|
47
47
|
|
48
48
|
devpl_config[:env_name] = ENV['MNO_DEVPL_ENV_NAME'] || yaml_config['environment']['name']
|
49
49
|
devpl_config[:env_api_key] = ENV['MNO_DEVPL_ENV_KEY'] || yaml_config['environment']['api_key']
|
50
50
|
devpl_config[:env_api_secret] = ENV['MNO_DEVPL_ENV_SECRET'] || yaml_config['environment']['api_secret']
|
51
51
|
|
52
|
-
raise
|
52
|
+
raise "Missing configuration: #{devpl_config.select{|k,v| v.nil? || v.empty?}.map{|k,_| k}}" if devpl_config.values.any? { |v| v.nil? || v.empty? }
|
53
53
|
|
54
54
|
devpl_config
|
55
55
|
end
|
data/lib/maestrano/version.rb
CHANGED