maestrano 1.0.0.pre.RC2 → 1.0.0.pre.RC3

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: 8bfe2635b8757dbc376f7883405bcca3d7042bfa
4
- data.tar.gz: 8f16f96bdc8383bb5f05f0ff1d3970bef393b8c0
3
+ metadata.gz: daa472e83d3b56592e53e029475324d87b182921
4
+ data.tar.gz: b6937d7673181e0a896c920eda02b9922229df80
5
5
  SHA512:
6
- metadata.gz: 05ca97d40d39375a0adbaf48a1a2911c2a266c0509b7a96e229aebf956ee1a42a6deb9bc3c0f167c18f907c5be3a72d9eaeef103bd49e180d0f90e69a7b7e634
7
- data.tar.gz: 6c2a62b9945896a8a498574e23a9ee430edb7fa5fe29c38a082e147266317e7ac70b0d57deb9de0f1c1e1140aeefc75922aeffa6dfc5bfc2af46b18c746bd89e
6
+ metadata.gz: 57864aed00c23da8fb66ffa860aa53ce711b49b3ffaf56fb110c71a91699d3a5688b7b831f4f7f44c8b2de7960999f302fd218f3640052c211d3208614c4969c
7
+ data.tar.gz: f9ea08f81287199a1ba33bcd65c52ecc3f6e7560bf3d28b9dd3049e61d526e429c27ab202465ee142e251b51dbdf964c6ea5da67d838e35e15a131d233bb6877
@@ -2,6 +2,7 @@ module Maestrano
2
2
  module AutoConfigure
3
3
  def self.get_marketplace_configurations(config_file_path = nil)
4
4
  devpl_config = dev_platform_config(config_file_path)
5
+
5
6
  begin
6
7
  request = RestClient::Request.new(
7
8
  method: :get,
@@ -31,7 +32,11 @@ module Maestrano
31
32
 
32
33
  def self.dev_platform_config(config_file_path = nil)
33
34
  begin
34
- yaml_config = YAML.load_file("#{Dir.pwd}/#{config_file_path}")
35
+ if config_file_path
36
+ yaml_config = YAML.load_file("#{Dir.pwd}/#{config_file_path}")
37
+ else
38
+ yaml_config = {'dev_platform' => {}, 'environment' => {}}
39
+ end
35
40
  rescue
36
41
  yaml_config = {'dev_platform' => {}, 'environment' => {}}
37
42
  end
@@ -1,3 +1,3 @@
1
1
  module Maestrano
2
- VERSION = '1.0.0.pre.RC2'
2
+ VERSION = '1.0.0.pre.RC3'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: maestrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.pre.RC2
4
+ version: 1.0.0.pre.RC3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Arnaud Lachaume
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-31 00:00:00.000000000 Z
11
+ date: 2016-09-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client