openstack-quantum-messager 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -4,8 +4,8 @@ require File.expand_path('../lib/openstack-quantum-messager/version', __FILE__)
|
|
4
4
|
Gem::Specification.new do |gem|
|
5
5
|
gem.name = "openstack-quantum-messager"
|
6
6
|
gem.version = Openstack::QuantumMessager::VERSION
|
7
|
-
gem.authors = ["PotHix"]
|
8
|
-
gem.email = ["pothix@pothix.com"]
|
7
|
+
gem.authors = ["PotHix", "Morellon"]
|
8
|
+
gem.email = ["pothix@pothix.com", "morellon@gmail.com"]
|
9
9
|
gem.description = %q{A simple gem to deal with openstack quantum}
|
10
10
|
gem.summary = %q{The main objective of this gem is to deal easily with openstack quantum}
|
11
11
|
gem.homepage = "http://www.locaweb.com.br"
|
@@ -38,4 +38,10 @@ describe Openstack::QuantumMessager::Network do
|
|
38
38
|
network = @messager.network.find_or_create_by_name("network1")
|
39
39
|
network["id"].should eql(network_id["network"]["id"])
|
40
40
|
end
|
41
|
+
|
42
|
+
it "should create a network if can't find it" do
|
43
|
+
network = "new_network"
|
44
|
+
@messager.network.list(:name => network)["networks"].should be_empty
|
45
|
+
@messager.network.find_or_create_by_name(network).should_not be_nil
|
46
|
+
end
|
41
47
|
end
|
metadata
CHANGED
@@ -1,19 +1,20 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openstack-quantum-messager
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- PotHix
|
9
|
+
- Morellon
|
9
10
|
autorequire:
|
10
11
|
bindir: bin
|
11
12
|
cert_chain: []
|
12
|
-
date: 2012-01-
|
13
|
+
date: 2012-01-31 00:00:00.000000000 Z
|
13
14
|
dependencies:
|
14
15
|
- !ruby/object:Gem::Dependency
|
15
16
|
name: httparty
|
16
|
-
requirement: &
|
17
|
+
requirement: &2152767860 !ruby/object:Gem::Requirement
|
17
18
|
none: false
|
18
19
|
requirements:
|
19
20
|
- - ! '>='
|
@@ -21,10 +22,10 @@ dependencies:
|
|
21
22
|
version: '0'
|
22
23
|
type: :runtime
|
23
24
|
prerelease: false
|
24
|
-
version_requirements: *
|
25
|
+
version_requirements: *2152767860
|
25
26
|
- !ruby/object:Gem::Dependency
|
26
27
|
name: rspec
|
27
|
-
requirement: &
|
28
|
+
requirement: &2152767040 !ruby/object:Gem::Requirement
|
28
29
|
none: false
|
29
30
|
requirements:
|
30
31
|
- - ! '>='
|
@@ -32,10 +33,10 @@ dependencies:
|
|
32
33
|
version: '0'
|
33
34
|
type: :development
|
34
35
|
prerelease: false
|
35
|
-
version_requirements: *
|
36
|
+
version_requirements: *2152767040
|
36
37
|
- !ruby/object:Gem::Dependency
|
37
38
|
name: fakeweb
|
38
|
-
requirement: &
|
39
|
+
requirement: &2152766240 !ruby/object:Gem::Requirement
|
39
40
|
none: false
|
40
41
|
requirements:
|
41
42
|
- - ! '>='
|
@@ -43,39 +44,40 @@ dependencies:
|
|
43
44
|
version: '0'
|
44
45
|
type: :development
|
45
46
|
prerelease: false
|
46
|
-
version_requirements: *
|
47
|
+
version_requirements: *2152766240
|
47
48
|
description: A simple gem to deal with openstack quantum
|
48
49
|
email:
|
49
50
|
- pothix@pothix.com
|
51
|
+
- morellon@gmail.com
|
50
52
|
executables: []
|
51
53
|
extensions: []
|
52
54
|
extra_rdoc_files: []
|
53
55
|
files:
|
54
|
-
- ./openstack-quantum-messager.gemspec
|
55
|
-
- ./spec/spec_helper.rb
|
56
|
-
- ./spec/openstack_quantum_messager_spec.rb
|
57
|
-
- ./spec/openstack-quantum-messager/l2l3_spec.rb
|
58
|
-
- ./spec/openstack-quantum-messager/l2l3/dhcp_entry_spec.rb
|
59
|
-
- ./spec/openstack-quantum-messager/l2l3/filtered_range_spec.rb
|
60
|
-
- ./spec/openstack-quantum-messager/l2l3/network_spec.rb
|
61
|
-
- ./spec/openstack-quantum-messager/l2l3/firewall_spec.rb
|
62
|
-
- ./spec/openstack-quantum-messager/l2l3/filter_rule_spec.rb
|
63
|
-
- ./spec/openstack-quantum-messager/l2l3/dhcp_spec.rb
|
64
|
-
- ./spec/openstack-quantum-messager/l2l3/port_spec.rb
|
65
|
-
- ./spec/openstack-quantum-messager/l2l3/attachment_detail_spec.rb
|
66
56
|
- ./Gemfile
|
67
|
-
- ./Rakefile
|
68
|
-
- ./lib/openstack-quantum-messager.rb
|
69
|
-
- ./lib/openstack-quantum-messager/version.rb
|
70
|
-
- ./lib/openstack-quantum-messager/l2l3.rb
|
71
|
-
- ./lib/openstack-quantum-messager/l2l3/dhcp_entry.rb
|
72
57
|
- ./lib/openstack-quantum-messager/l2l3/attachment_detail.rb
|
73
|
-
- ./lib/openstack-quantum-messager/l2l3/
|
74
|
-
- ./lib/openstack-quantum-messager/l2l3/
|
58
|
+
- ./lib/openstack-quantum-messager/l2l3/dhcp.rb
|
59
|
+
- ./lib/openstack-quantum-messager/l2l3/dhcp_entry.rb
|
75
60
|
- ./lib/openstack-quantum-messager/l2l3/filter_rule.rb
|
76
61
|
- ./lib/openstack-quantum-messager/l2l3/filtered_range.rb
|
62
|
+
- ./lib/openstack-quantum-messager/l2l3/firewall.rb
|
63
|
+
- ./lib/openstack-quantum-messager/l2l3/network.rb
|
77
64
|
- ./lib/openstack-quantum-messager/l2l3/port.rb
|
78
|
-
- ./lib/openstack-quantum-messager/l2l3
|
65
|
+
- ./lib/openstack-quantum-messager/l2l3.rb
|
66
|
+
- ./lib/openstack-quantum-messager/version.rb
|
67
|
+
- ./lib/openstack-quantum-messager.rb
|
68
|
+
- ./openstack-quantum-messager.gemspec
|
69
|
+
- ./Rakefile
|
70
|
+
- ./spec/openstack-quantum-messager/l2l3/attachment_detail_spec.rb
|
71
|
+
- ./spec/openstack-quantum-messager/l2l3/dhcp_entry_spec.rb
|
72
|
+
- ./spec/openstack-quantum-messager/l2l3/dhcp_spec.rb
|
73
|
+
- ./spec/openstack-quantum-messager/l2l3/filter_rule_spec.rb
|
74
|
+
- ./spec/openstack-quantum-messager/l2l3/filtered_range_spec.rb
|
75
|
+
- ./spec/openstack-quantum-messager/l2l3/firewall_spec.rb
|
76
|
+
- ./spec/openstack-quantum-messager/l2l3/network_spec.rb
|
77
|
+
- ./spec/openstack-quantum-messager/l2l3/port_spec.rb
|
78
|
+
- ./spec/openstack-quantum-messager/l2l3_spec.rb
|
79
|
+
- ./spec/openstack_quantum_messager_spec.rb
|
80
|
+
- ./spec/spec_helper.rb
|
79
81
|
homepage: http://www.locaweb.com.br
|
80
82
|
licenses: []
|
81
83
|
post_install_message:
|