pec 0.4.0 → 0.4.1
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/lib/pec.rb +1 -1
- data/lib/pec/director/helper.rb +1 -1
- data/lib/pec/{compute → network}/security_group.rb +1 -1
- data/lib/pec/resource/openstack.rb +1 -1
- data/lib/pec/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3bd1c0b9d06d7f5f397115c225984629dacf6a5e
|
|
4
|
+
data.tar.gz: 6a3d33816da1c1ac92204181d0124844b39c02ad
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cc3289fb90e09a4374b938ce64c22a3d96a8529d4860ea46084af5e2eb38eab3a70612c8c29b962b7a13ad82b82d3f66e36fe54746dbdc178929d211b914f7fa
|
|
7
|
+
data.tar.gz: 403f0e7d502d23c2fca33faa579aff374feadeed627870e6c869768235bcdedd4f8a21bdd89a0837e67b3cd0e8893d9e809ee581d9c91cbeb7bc8d11104c65f7
|
data/lib/pec.rb
CHANGED
|
@@ -22,7 +22,7 @@ require "pec/compute/server"
|
|
|
22
22
|
require "pec/compute/flavor"
|
|
23
23
|
require "pec/compute/image"
|
|
24
24
|
require "pec/compute/tenant"
|
|
25
|
-
require "pec/
|
|
25
|
+
require "pec/network/security_group"
|
|
26
26
|
require "pec/network/port"
|
|
27
27
|
require "pec/network/port_state"
|
|
28
28
|
require "pec/network/subnet"
|
data/lib/pec/director/helper.rb
CHANGED
|
@@ -28,7 +28,7 @@ module Pec
|
|
|
28
28
|
|
|
29
29
|
def get_security_group_id(security_groups)
|
|
30
30
|
security_groups.map do |sg_name|
|
|
31
|
-
sg = Pec::
|
|
31
|
+
sg = Pec::Network::Security_Group.fetch(sg_name)
|
|
32
32
|
raise(Pec::Errors::SecurityGroup, "security_group:#{sg_name} is not found!") unless sg
|
|
33
33
|
sg["id"]
|
|
34
34
|
end if security_groups
|
data/lib/pec/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: pec
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- kazuhiko yamashita
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-07-
|
|
11
|
+
date: 2015-07-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: thor
|
|
@@ -146,7 +146,6 @@ files:
|
|
|
146
146
|
- lib/pec/cli.rb
|
|
147
147
|
- lib/pec/compute/flavor.rb
|
|
148
148
|
- lib/pec/compute/image.rb
|
|
149
|
-
- lib/pec/compute/security_group.rb
|
|
150
149
|
- lib/pec/compute/server.rb
|
|
151
150
|
- lib/pec/compute/tenant.rb
|
|
152
151
|
- lib/pec/configure.rb
|
|
@@ -163,6 +162,7 @@ files:
|
|
|
163
162
|
- lib/pec/init.rb
|
|
164
163
|
- lib/pec/network/port.rb
|
|
165
164
|
- lib/pec/network/port_state.rb
|
|
165
|
+
- lib/pec/network/security_group.rb
|
|
166
166
|
- lib/pec/network/subnet.rb
|
|
167
167
|
- lib/pec/query.rb
|
|
168
168
|
- lib/pec/resource.rb
|