corl 0.5.10 → 0.5.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/corl.gemspec +3 -3
- data/lib/core/plugin/network.rb +6 -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: aa06730953a8ed3414ef34103d332b911eccf829
|
|
4
|
+
data.tar.gz: f02ae226797584ca6bde2dd4b84c8e193148d373
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1d6425fa3f20d527ed3e7850782ae557eadb1f1756a7e7bea5bfc7235335875f77d98a133ae4fd1e095177c2628173a47d8e7b2b1ecd5269011a1fa26631e0fc
|
|
7
|
+
data.tar.gz: 0e3ad718e7e4cf9700be6251b7d1dd3a65c26ec6778d0562ddaefe9337af52349618d9a94a83ec348cf9aa097b1820f8a9738acb2cba856cf4d7f1322a21ae5c
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.5.
|
|
1
|
+
0.5.11
|
data/corl.gemspec
CHANGED
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
|
-
# stub: corl 0.5.
|
|
5
|
+
# stub: corl 0.5.11 ruby lib
|
|
6
6
|
|
|
7
7
|
Gem::Specification.new do |s|
|
|
8
8
|
s.name = "corl"
|
|
9
|
-
s.version = "0.5.
|
|
9
|
+
s.version = "0.5.11"
|
|
10
10
|
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
12
12
|
s.require_paths = ["lib"]
|
|
13
13
|
s.authors = ["Adrian Webb"]
|
|
14
|
-
s.date = "2015-01-
|
|
14
|
+
s.date = "2015-01-18"
|
|
15
15
|
s.description = "Framework that provides a simple foundation for growing organically in the cloud"
|
|
16
16
|
s.email = "adrian.webb@coralnexus.com"
|
|
17
17
|
s.executables = ["corl"]
|
data/lib/core/plugin/network.rb
CHANGED
|
@@ -196,7 +196,12 @@ class Network < Nucleon.plugin_class(:nucleon, :base)
|
|
|
196
196
|
matches = {}
|
|
197
197
|
|
|
198
198
|
each_node_config do |provider, name, info|
|
|
199
|
-
|
|
199
|
+
# TODO: Abstract this out... (extension hook)
|
|
200
|
+
if provider == :vagrant && fact(:vagrant_exists)
|
|
201
|
+
matches[provider] = name if name.to_s == hostname.to_s
|
|
202
|
+
else
|
|
203
|
+
matches[provider] = name if info[:public_ip] == public_ip && name.to_s == hostname.to_s
|
|
204
|
+
end
|
|
200
205
|
end
|
|
201
206
|
|
|
202
207
|
unless matches.empty?
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: corl
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.11
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Adrian Webb
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-01-
|
|
11
|
+
date: 2015-01-18 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: nucleon
|