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 +4 -4
- data/lib/maestrano/auto_configure.rb +6 -1
- data/lib/maestrano/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: daa472e83d3b56592e53e029475324d87b182921
|
4
|
+
data.tar.gz: b6937d7673181e0a896c920eda02b9922229df80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
data/lib/maestrano/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2016-09-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|