openstack_activeresource 0.1.2 → 0.1.3
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.
- data/Gemfile.lock +26 -20
- data/README.rdoc +4 -4
- data/VERSION +1 -1
- data/lib/open_stack.rb +4 -1
- data/openstack_activeresource.gemspec +2 -2
- metadata +3 -3
data/Gemfile.lock
CHANGED
|
@@ -1,39 +1,45 @@
|
|
|
1
1
|
GEM
|
|
2
2
|
remote: http://rubygems.org/
|
|
3
3
|
specs:
|
|
4
|
-
activemodel (3.2.
|
|
5
|
-
activesupport (= 3.2.
|
|
4
|
+
activemodel (3.2.9)
|
|
5
|
+
activesupport (= 3.2.9)
|
|
6
6
|
builder (~> 3.0.0)
|
|
7
|
-
activeresource (3.2.
|
|
8
|
-
activemodel (= 3.2.
|
|
9
|
-
activesupport (= 3.2.
|
|
10
|
-
activesupport (3.2.
|
|
7
|
+
activeresource (3.2.9)
|
|
8
|
+
activemodel (= 3.2.9)
|
|
9
|
+
activesupport (= 3.2.9)
|
|
10
|
+
activesupport (3.2.9)
|
|
11
11
|
i18n (~> 0.6)
|
|
12
12
|
multi_json (~> 1.0)
|
|
13
|
-
|
|
13
|
+
bourne (1.1.2)
|
|
14
|
+
mocha (= 0.10.5)
|
|
15
|
+
builder (3.0.4)
|
|
14
16
|
git (1.2.5)
|
|
15
|
-
i18n (0.6.
|
|
17
|
+
i18n (0.6.1)
|
|
16
18
|
jeweler (1.8.4)
|
|
17
19
|
bundler (~> 1.0)
|
|
18
20
|
git (>= 1.2.5)
|
|
19
21
|
rake
|
|
20
22
|
rdoc
|
|
21
|
-
json (1.7.
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
23
|
+
json (1.7.6)
|
|
24
|
+
metaclass (0.0.1)
|
|
25
|
+
mocha (0.10.5)
|
|
26
|
+
metaclass (~> 0.0.1)
|
|
27
|
+
multi_json (1.5.0)
|
|
28
|
+
oj (1.2.13)
|
|
29
|
+
rake (10.0.3)
|
|
25
30
|
rdoc (3.12)
|
|
26
31
|
json (~> 1.4)
|
|
27
|
-
shoulda (3.
|
|
28
|
-
shoulda-context (~> 1.0)
|
|
29
|
-
shoulda-matchers (~> 1.
|
|
30
|
-
shoulda-context (1.0.
|
|
31
|
-
shoulda-matchers (1.2
|
|
32
|
+
shoulda (3.3.2)
|
|
33
|
+
shoulda-context (~> 1.0.1)
|
|
34
|
+
shoulda-matchers (~> 1.4.1)
|
|
35
|
+
shoulda-context (1.0.2)
|
|
36
|
+
shoulda-matchers (1.4.2)
|
|
32
37
|
activesupport (>= 3.0.0)
|
|
33
|
-
|
|
38
|
+
bourne (~> 1.1.2)
|
|
39
|
+
simplecov (0.7.1)
|
|
34
40
|
multi_json (~> 1.0)
|
|
35
|
-
simplecov-html (~> 0.
|
|
36
|
-
simplecov-html (0.
|
|
41
|
+
simplecov-html (~> 0.7.1)
|
|
42
|
+
simplecov-html (0.7.1)
|
|
37
43
|
|
|
38
44
|
PLATFORMS
|
|
39
45
|
ruby
|
data/README.rdoc
CHANGED
|
@@ -21,7 +21,7 @@ Or in bundler Gemfile:
|
|
|
21
21
|
|
|
22
22
|
== Sample usages
|
|
23
23
|
|
|
24
|
-
=== List available tenants (
|
|
24
|
+
=== List available tenants (requires the 'admin' role)
|
|
25
25
|
|
|
26
26
|
require 'openstack_activeresource'
|
|
27
27
|
|
|
@@ -39,7 +39,7 @@ Or in bundler Gemfile:
|
|
|
39
39
|
tenant.name.center(15), tenant.id.center(20), tenant.enabled.to_s.center(6), tenant.description
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
=== Creating a new tenant and a new user (
|
|
42
|
+
=== Creating a new tenant and a new user (requires the 'admin' role)
|
|
43
43
|
|
|
44
44
|
require 'openstack_activeresource'
|
|
45
45
|
|
|
@@ -143,7 +143,7 @@ Or in bundler Gemfile:
|
|
|
143
143
|
printf "Name: %s, Id: %s, Ram: %5i, Disk: %3i (Ephemeral: %3i), vCPU: %2i\n", f.name.center(15), f.id.center(20), f.ram, f.disk, f.ephemeral_disk, f.vcpus
|
|
144
144
|
}
|
|
145
145
|
|
|
146
|
-
=== Create a flavor (
|
|
146
|
+
=== Create a flavor (requires 'admin' role)
|
|
147
147
|
|
|
148
148
|
require 'openstack_activeresource'
|
|
149
149
|
|
|
@@ -320,7 +320,7 @@ Or in bundler Gemfile:
|
|
|
320
320
|
printf "Name: %s, Status: %s\n", volume.display_name.center(20), volume.status.center(50)
|
|
321
321
|
}
|
|
322
322
|
|
|
323
|
-
=== Simple tenant usage (
|
|
323
|
+
=== Simple tenant usage (requires 'admin' role)
|
|
324
324
|
|
|
325
325
|
require 'openstack_activeresource'
|
|
326
326
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.3
|
data/lib/open_stack.rb
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "openstack_activeresource"
|
|
8
|
-
s.version = "0.1.
|
|
8
|
+
s.version = "0.1.3"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Davide Guerri"]
|
|
12
|
-
s.date = "2012-
|
|
12
|
+
s.date = "2012-12-31"
|
|
13
13
|
s.description = "OpenStack Ruby and RoR bindings implemented with ActiveResource - See also http://www.unicloud.it"
|
|
14
14
|
s.email = "d.guerri@unidata.it"
|
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: openstack_activeresource
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.1.
|
|
5
|
+
version: 0.1.3
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Davide Guerri
|
|
@@ -10,7 +10,7 @@ autorequire:
|
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
12
|
|
|
13
|
-
date: 2012-
|
|
13
|
+
date: 2012-12-31 00:00:00 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: activemodel
|
|
@@ -170,7 +170,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
170
170
|
requirements:
|
|
171
171
|
- - ">="
|
|
172
172
|
- !ruby/object:Gem::Version
|
|
173
|
-
hash:
|
|
173
|
+
hash: 4369143611409946252
|
|
174
174
|
segments:
|
|
175
175
|
- 0
|
|
176
176
|
version: "0"
|