simple_stack 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/simple_stack.rb +1 -0
- data/lib/simple_stack/hypervisor.rb +4 -0
- data/lib/simple_stack/network.rb +8 -0
- data/lib/simple_stack/version.rb +1 -1
- metadata +23 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d2ab06e2f68d7baabbf13ba6b7405be5997e2eb2
|
4
|
+
data.tar.gz: 8839f588d7b964bed0eca6bb49f87835d79b16f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87f4e6cded627c7012390c129bb914d1a345509b5503adebc6e471502444e8ed68052571be022767ce73d3f40eb485d68e87909f7dd7ab7364a72c737a164e2a
|
7
|
+
data.tar.gz: 029587756cb4f56e22d62f2a6bfeb398fc6b8b68f8fdb4be20eec77f6cc3534eaa00c9196f4fda21ebe08fb801390a5f2603604a6d991b4a5fc5eb102f45ade0
|
data/lib/simple_stack.rb
CHANGED
@@ -54,6 +54,10 @@ module SimpleStack
|
|
54
54
|
cached_attributes[:guests] ||= SimpleStack::Collection.new self, self, "#{url}/guests", SimpleStack::Guest
|
55
55
|
end
|
56
56
|
|
57
|
+
def networks
|
58
|
+
cached_attributes[:networks] ||= SimpleStack::Collection.new self, self, "#{url}/networks", SimpleStack::Network
|
59
|
+
end
|
60
|
+
|
57
61
|
def import(opts={})
|
58
62
|
file = File.open(opts[:from], "rb")
|
59
63
|
|
data/lib/simple_stack/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: simple_stack
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thiago Morello
|
@@ -9,34 +9,34 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-06-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rspec
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- -
|
18
|
+
- - ">="
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '0'
|
21
21
|
type: :development
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- -
|
25
|
+
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '0'
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: httparty
|
30
30
|
requirement: !ruby/object:Gem::Requirement
|
31
31
|
requirements:
|
32
|
-
- -
|
32
|
+
- - ">="
|
33
33
|
- !ruby/object:Gem::Version
|
34
34
|
version: '0'
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
|
-
- -
|
39
|
+
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
41
|
version: '0'
|
42
42
|
description: A simple gem to work with simplestack project
|
@@ -47,23 +47,24 @@ executables: []
|
|
47
47
|
extensions: []
|
48
48
|
extra_rdoc_files: []
|
49
49
|
files:
|
50
|
-
-
|
51
|
-
-
|
52
|
-
-
|
53
|
-
- lib/simple_stack
|
54
|
-
- lib/simple_stack/
|
50
|
+
- Gemfile
|
51
|
+
- README.markdown
|
52
|
+
- Rakefile
|
53
|
+
- lib/simple_stack.rb
|
54
|
+
- lib/simple_stack/cacheable.rb
|
55
55
|
- lib/simple_stack/collection.rb
|
56
56
|
- lib/simple_stack/connection.rb
|
57
|
-
- lib/simple_stack/
|
57
|
+
- lib/simple_stack/disk.rb
|
58
58
|
- lib/simple_stack/entity.rb
|
59
|
-
- lib/simple_stack/
|
60
|
-
- lib/simple_stack/host.rb
|
61
|
-
- lib/simple_stack/cacheable.rb
|
59
|
+
- lib/simple_stack/exception.rb
|
62
60
|
- lib/simple_stack/guest.rb
|
63
|
-
- lib/simple_stack.rb
|
64
|
-
-
|
65
|
-
-
|
66
|
-
-
|
61
|
+
- lib/simple_stack/host.rb
|
62
|
+
- lib/simple_stack/hypervisor.rb
|
63
|
+
- lib/simple_stack/network.rb
|
64
|
+
- lib/simple_stack/network_interface.rb
|
65
|
+
- lib/simple_stack/snapshot.rb
|
66
|
+
- lib/simple_stack/storage.rb
|
67
|
+
- lib/simple_stack/version.rb
|
67
68
|
- simple_stack.gemspec
|
68
69
|
homepage: https://github.com/locaweb/ruby-simplestack-client
|
69
70
|
licenses: []
|
@@ -74,17 +75,17 @@ require_paths:
|
|
74
75
|
- lib
|
75
76
|
required_ruby_version: !ruby/object:Gem::Requirement
|
76
77
|
requirements:
|
77
|
-
- -
|
78
|
+
- - ">="
|
78
79
|
- !ruby/object:Gem::Version
|
79
80
|
version: '0'
|
80
81
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
81
82
|
requirements:
|
82
|
-
- -
|
83
|
+
- - ">="
|
83
84
|
- !ruby/object:Gem::Version
|
84
85
|
version: '0'
|
85
86
|
requirements: []
|
86
87
|
rubyforge_project: simple_stack
|
87
|
-
rubygems_version: 2.
|
88
|
+
rubygems_version: 2.2.2
|
88
89
|
signing_key:
|
89
90
|
specification_version: 4
|
90
91
|
summary: A simple gem to work with simplestack project
|