linode 0.7.1 → 0.7.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/CHANGELOG +7 -0
- data/Gemfile +5 -0
- data/Gemfile.lock +26 -0
- data/README +2 -0
- data/Rakefile +1 -0
- data/VERSION +1 -1
- data/lib/linode.rb +1 -0
- data/lib/ostruct_tweak.rb +8 -0
- data/linode.gemspec +17 -20
- data/spec/linode/linode/disk_spec.rb +5 -0
- metadata +72 -24
data/CHANGELOG
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
|
2
|
+
0.7.3 / 2011-08-20
|
3
|
+
==================
|
4
|
+
|
5
|
+
* fixing OStruct issue with #type calls on returned result data (thanks to musfuut <musfuut@goldentog.com>)
|
6
|
+
* set up for travis-CI integration builds
|
7
|
+
|
1
8
|
0.7.1 / 2011-07-16
|
2
9
|
==================
|
3
10
|
* Properly nest stackscript namespace under the Linode namespace (Aditya Sanghi)
|
data/Gemfile
ADDED
data/Gemfile.lock
ADDED
@@ -0,0 +1,26 @@
|
|
1
|
+
GEM
|
2
|
+
remote: http://rubygems.org/
|
3
|
+
specs:
|
4
|
+
crack (0.1.8)
|
5
|
+
diff-lcs (1.1.2)
|
6
|
+
httparty (0.7.8)
|
7
|
+
crack (= 0.1.8)
|
8
|
+
mocha (0.9.12)
|
9
|
+
rake (0.8.7)
|
10
|
+
rspec (2.4.0)
|
11
|
+
rspec-core (~> 2.4.0)
|
12
|
+
rspec-expectations (~> 2.4.0)
|
13
|
+
rspec-mocks (~> 2.4.0)
|
14
|
+
rspec-core (2.4.0)
|
15
|
+
rspec-expectations (2.4.0)
|
16
|
+
diff-lcs (~> 1.1.2)
|
17
|
+
rspec-mocks (2.4.0)
|
18
|
+
|
19
|
+
PLATFORMS
|
20
|
+
ruby
|
21
|
+
|
22
|
+
DEPENDENCIES
|
23
|
+
httparty
|
24
|
+
mocha
|
25
|
+
rake (= 0.8.7)
|
26
|
+
rspec (= 2.4.0)
|
data/README
CHANGED
@@ -143,3 +143,5 @@ CREDITS:
|
|
143
143
|
- Thanks to Aditya Sanghi (github: asanghi) for a patch to properly namespace stackscripts functionality.
|
144
144
|
- Thanks to Dan Hodos (github: danhodos) for diagnosing and fixing an issue with sending GET requests instead of POST request.
|
145
145
|
- Thanks to Aaron Hamid for updates for RSpec 2 and work on user.getapikey + username/password initialization.
|
146
|
+
- Thanks to Musfuut (github: musfuut) for diagnosing and recommending a fix for OpenStruct and 'type' data members in Linode returned results
|
147
|
+
|
data/Rakefile
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.7.
|
1
|
+
0.7.3
|
data/lib/linode.rb
CHANGED
data/linode.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{linode}
|
8
|
-
s.version = "0.7.
|
8
|
+
s.version = "0.7.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Rick Bradley"]
|
12
|
-
s.date = %q{2011-
|
12
|
+
s.date = %q{2011-08-20}
|
13
13
|
s.description = %q{This is a wrapper around Linode's automation facilities.}
|
14
14
|
s.email = %q{rick@rickbradley.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -18,6 +18,8 @@ Gem::Specification.new do |s|
|
|
18
18
|
s.files = [
|
19
19
|
".rspec",
|
20
20
|
"CHANGELOG",
|
21
|
+
"Gemfile",
|
22
|
+
"Gemfile.lock",
|
21
23
|
"MIT-LICENSE",
|
22
24
|
"README",
|
23
25
|
"Rakefile",
|
@@ -38,6 +40,7 @@ Gem::Specification.new do |s|
|
|
38
40
|
"lib/linode/stackscript.rb",
|
39
41
|
"lib/linode/test.rb",
|
40
42
|
"lib/linode/user.rb",
|
43
|
+
"lib/ostruct_tweak.rb",
|
41
44
|
"linode.gemspec",
|
42
45
|
"spec/linode/avail_spec.rb",
|
43
46
|
"spec/linode/domain/resource_spec.rb",
|
@@ -60,35 +63,29 @@ Gem::Specification.new do |s|
|
|
60
63
|
s.require_paths = ["lib"]
|
61
64
|
s.rubygems_version = %q{1.3.7}
|
62
65
|
s.summary = %q{a Ruby wrapper for the Linode API}
|
63
|
-
s.test_files = [
|
64
|
-
"spec/linode/avail_spec.rb",
|
65
|
-
"spec/linode/domain/resource_spec.rb",
|
66
|
-
"spec/linode/domain_spec.rb",
|
67
|
-
"spec/linode/linode/config_spec.rb",
|
68
|
-
"spec/linode/linode/disk_spec.rb",
|
69
|
-
"spec/linode/linode/ip_spec.rb",
|
70
|
-
"spec/linode/linode/job_spec.rb",
|
71
|
-
"spec/linode/linode_spec.rb",
|
72
|
-
"spec/linode/nodebalancer/config_spec.rb",
|
73
|
-
"spec/linode/nodebalancer/node_spec.rb",
|
74
|
-
"spec/linode/nodebalancer_spec.rb",
|
75
|
-
"spec/linode/stackscript_spec.rb",
|
76
|
-
"spec/linode/test_spec.rb",
|
77
|
-
"spec/linode/user_spec.rb",
|
78
|
-
"spec/linode_spec.rb",
|
79
|
-
"spec/spec_helper.rb"
|
80
|
-
]
|
81
66
|
|
82
67
|
if s.respond_to? :specification_version then
|
83
68
|
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
84
69
|
s.specification_version = 3
|
85
70
|
|
86
71
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
72
|
+
s.add_runtime_dependency(%q<rake>, ["= 0.8.7"])
|
73
|
+
s.add_runtime_dependency(%q<rspec>, ["= 2.4.0"])
|
74
|
+
s.add_runtime_dependency(%q<mocha>, [">= 0"])
|
75
|
+
s.add_runtime_dependency(%q<httparty>, [">= 0"])
|
87
76
|
s.add_runtime_dependency(%q<httparty>, [">= 0.4.4"])
|
88
77
|
else
|
78
|
+
s.add_dependency(%q<rake>, ["= 0.8.7"])
|
79
|
+
s.add_dependency(%q<rspec>, ["= 2.4.0"])
|
80
|
+
s.add_dependency(%q<mocha>, [">= 0"])
|
81
|
+
s.add_dependency(%q<httparty>, [">= 0"])
|
89
82
|
s.add_dependency(%q<httparty>, [">= 0.4.4"])
|
90
83
|
end
|
91
84
|
else
|
85
|
+
s.add_dependency(%q<rake>, ["= 0.8.7"])
|
86
|
+
s.add_dependency(%q<rspec>, ["= 2.4.0"])
|
87
|
+
s.add_dependency(%q<mocha>, [">= 0"])
|
88
|
+
s.add_dependency(%q<httparty>, [">= 0"])
|
92
89
|
s.add_dependency(%q<httparty>, [">= 0.4.4"])
|
93
90
|
end
|
94
91
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: linode
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 5
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 7
|
9
|
-
-
|
10
|
-
version: 0.7.
|
9
|
+
- 3
|
10
|
+
version: 0.7.3
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Rick Bradley
|
@@ -15,13 +15,74 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-08-20 00:00:00 -05:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
name: rake
|
25
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - "="
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
hash: 49
|
31
|
+
segments:
|
32
|
+
- 0
|
33
|
+
- 8
|
34
|
+
- 7
|
35
|
+
version: 0.8.7
|
36
|
+
requirement: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
name: rspec
|
41
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - "="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
hash: 31
|
47
|
+
segments:
|
48
|
+
- 2
|
49
|
+
- 4
|
50
|
+
- 0
|
51
|
+
version: 2.4.0
|
52
|
+
requirement: *id002
|
53
|
+
- !ruby/object:Gem::Dependency
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
name: mocha
|
57
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
hash: 3
|
63
|
+
segments:
|
64
|
+
- 0
|
65
|
+
version: "0"
|
66
|
+
requirement: *id003
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
type: :runtime
|
69
|
+
prerelease: false
|
22
70
|
name: httparty
|
71
|
+
version_requirements: &id004 !ruby/object:Gem::Requirement
|
72
|
+
none: false
|
73
|
+
requirements:
|
74
|
+
- - ">="
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
hash: 3
|
77
|
+
segments:
|
78
|
+
- 0
|
79
|
+
version: "0"
|
80
|
+
requirement: *id004
|
81
|
+
- !ruby/object:Gem::Dependency
|
82
|
+
type: :runtime
|
23
83
|
prerelease: false
|
24
|
-
|
84
|
+
name: httparty
|
85
|
+
version_requirements: &id005 !ruby/object:Gem::Requirement
|
25
86
|
none: false
|
26
87
|
requirements:
|
27
88
|
- - ">="
|
@@ -32,8 +93,7 @@ dependencies:
|
|
32
93
|
- 4
|
33
94
|
- 4
|
34
95
|
version: 0.4.4
|
35
|
-
|
36
|
-
version_requirements: *id001
|
96
|
+
requirement: *id005
|
37
97
|
description: This is a wrapper around Linode's automation facilities.
|
38
98
|
email: rick@rickbradley.com
|
39
99
|
executables: []
|
@@ -45,6 +105,8 @@ extra_rdoc_files:
|
|
45
105
|
files:
|
46
106
|
- .rspec
|
47
107
|
- CHANGELOG
|
108
|
+
- Gemfile
|
109
|
+
- Gemfile.lock
|
48
110
|
- MIT-LICENSE
|
49
111
|
- README
|
50
112
|
- Rakefile
|
@@ -65,6 +127,7 @@ files:
|
|
65
127
|
- lib/linode/stackscript.rb
|
66
128
|
- lib/linode/test.rb
|
67
129
|
- lib/linode/user.rb
|
130
|
+
- lib/ostruct_tweak.rb
|
68
131
|
- linode.gemspec
|
69
132
|
- spec/linode/avail_spec.rb
|
70
133
|
- spec/linode/domain/resource_spec.rb
|
@@ -116,20 +179,5 @@ rubygems_version: 1.3.7
|
|
116
179
|
signing_key:
|
117
180
|
specification_version: 3
|
118
181
|
summary: a Ruby wrapper for the Linode API
|
119
|
-
test_files:
|
120
|
-
|
121
|
-
- spec/linode/domain/resource_spec.rb
|
122
|
-
- spec/linode/domain_spec.rb
|
123
|
-
- spec/linode/linode/config_spec.rb
|
124
|
-
- spec/linode/linode/disk_spec.rb
|
125
|
-
- spec/linode/linode/ip_spec.rb
|
126
|
-
- spec/linode/linode/job_spec.rb
|
127
|
-
- spec/linode/linode_spec.rb
|
128
|
-
- spec/linode/nodebalancer/config_spec.rb
|
129
|
-
- spec/linode/nodebalancer/node_spec.rb
|
130
|
-
- spec/linode/nodebalancer_spec.rb
|
131
|
-
- spec/linode/stackscript_spec.rb
|
132
|
-
- spec/linode/test_spec.rb
|
133
|
-
- spec/linode/user_spec.rb
|
134
|
-
- spec/linode_spec.rb
|
135
|
-
- spec/spec_helper.rb
|
182
|
+
test_files: []
|
183
|
+
|