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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: daa472e83d3b56592e53e029475324d87b182921
4
- data.tar.gz: b6937d7673181e0a896c920eda02b9922229df80
3
+ metadata.gz: 7bbd3569f7e1c43bb9aba22ab88c4e6dab4c0313
4
+ data.tar.gz: 0d04bfbf3ad9d3c059a1d8be39c8da9434975a66
5
5
  SHA512:
6
- metadata.gz: 57864aed00c23da8fb66ffa860aa53ce711b49b3ffaf56fb110c71a91699d3a5688b7b831f4f7f44c8b2de7960999f302fd218f3640052c211d3208614c4969c
7
- data.tar.gz: f9ea08f81287199a1ba33bcd65c52ecc3f6e7560bf3d28b9dd3049e61d526e429c27ab202465ee142e251b51dbdf964c6ea5da67d838e35e15a131d233bb6877
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['⁠⁠⁠⁠MNO_DEVPL_API_PATH'] || yaml_config['dev_platform']['api_path']
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 'Missing configuration' if devpl_config.values.any? { |v| v.nil? || v.empty? }
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
@@ -1,3 +1,3 @@
1
1
  module Maestrano
2
- VERSION = '1.0.0.pre.RC3'
2
+ VERSION = '1.0.0.pre.RC4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maestrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre.RC3
4
+ version: 1.0.0.pre.RC4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arnaud Lachaume