linode 0.7.5 → 0.7.6
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 +83 -78
- data/Gemfile +1 -0
- data/README +2 -2
- data/Rakefile +1 -0
- data/VERSION +1 -1
- data/lib/linode.rb +1 -0
- data/linode.gemspec +14 -27
- metadata +47 -34
data/CHANGELOG
CHANGED
|
@@ -1,14 +1,19 @@
|
|
|
1
1
|
|
|
2
|
-
0.7.
|
|
2
|
+
0.7.6 / 2011-10-17
|
|
3
|
+
==================
|
|
4
|
+
|
|
5
|
+
* add dependency on crack (presumably httparty dependencies have drifted); thanks to mihaibirsan
|
|
6
|
+
|
|
7
|
+
0.7.5 / 2011-08-23
|
|
3
8
|
==================
|
|
4
9
|
* prune back aggressive gem dependencies
|
|
5
10
|
|
|
6
|
-
0.7.3 / 2011-08-20
|
|
11
|
+
0.7.3 / 2011-08-20
|
|
7
12
|
==================
|
|
8
13
|
|
|
9
14
|
* fixing OStruct issue with #type calls on returned result data (thanks to musfuut <musfuut_rb@goldentog.com>)
|
|
10
15
|
* set up for travis-CI integration builds
|
|
11
|
-
|
|
16
|
+
|
|
12
17
|
0.7.1 / 2011-07-16
|
|
13
18
|
==================
|
|
14
19
|
* Properly nest stackscript namespace under the Linode namespace (Aditya Sanghi)
|
|
@@ -21,82 +26,82 @@
|
|
|
21
26
|
* Updated documentation references in error messages to match API documentation on Linode website
|
|
22
27
|
|
|
23
28
|
|
|
24
|
-
0.6.3 / 2010-11-23
|
|
29
|
+
0.6.3 / 2010-11-23
|
|
25
30
|
==================
|
|
26
31
|
* Can now initialize w/ username/pass; also support for user.getapikey API call
|
|
27
32
|
|
|
28
|
-
2010-11-21
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
2010-11-21
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
2010-08-03
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
2010-03-31
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
2010-03-27
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
2009-12-21
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
2009-12-20
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
2009-08-05
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
2009-08-04
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
33
|
+
2010-11-21 Rick Bradley <rick@rickbradley.com>
|
|
34
|
+
* Adding rspec2 support for autotest
|
|
35
|
+
* Continuing conversion of spec_helper for rspec2
|
|
36
|
+
* moving spec/spec.opts to /.rspec
|
|
37
|
+
|
|
38
|
+
2010-11-21 Aaron Hamid <aaron.hamid@gmail.com>
|
|
39
|
+
* did the minimal amount necessary to get tests to run on latest RSpec release; https://github.com/rick/linode/issues#issue/3
|
|
40
|
+
|
|
41
|
+
2010-08-03 Rick Bradley <rick@rickbradley.com>
|
|
42
|
+
* updating gemspec for 0.6.2
|
|
43
|
+
* Version bump to 0.6.2
|
|
44
|
+
* remove Jeweler warning as noone else needs to ever see it, basically
|
|
45
|
+
* make 'rake test' an alias for 'rake spec'
|
|
46
|
+
|
|
47
|
+
2010-03-31 Rick Bradley <rick@rickbradley.com>
|
|
48
|
+
* updated gemspec
|
|
49
|
+
* Version bump to 0.6.1
|
|
50
|
+
* Missed a couple new Linode API stackscript bits.
|
|
51
|
+
|
|
52
|
+
2010-03-27 Rick Bradley <rick@rickbradley.com>
|
|
53
|
+
* Merge branch 'newgem'
|
|
54
|
+
* updating gemspec
|
|
55
|
+
* Regenerated gemspec for version 0.6.0
|
|
56
|
+
* Version bump to 0.6.0
|
|
57
|
+
* adding support for stackscript API
|
|
58
|
+
|
|
59
|
+
2009-12-21 Rick Bradley <rick@rickbradley.com>
|
|
60
|
+
* updating README (thx dvyjones!)
|
|
61
|
+
|
|
62
|
+
2009-12-20 Rick Bradley <rick@rickbradley.com>
|
|
63
|
+
* updated gemspec
|
|
64
|
+
* Version bump to 0.5.4
|
|
65
|
+
* enabling GemCutter support for our gem
|
|
66
|
+
|
|
67
|
+
2009-08-05 Rick Bradley <rick@rickbradley.com>
|
|
68
|
+
* new gemspec
|
|
69
|
+
* Version bump to 0.5.3
|
|
70
|
+
* make error messages much more helpful, including link to relevant API page.
|
|
71
|
+
* fixing mis-named spec example descriptions for nested namespaces
|
|
72
|
+
* updating gemspec
|
|
73
|
+
* Version bump to 0.5.2
|
|
74
|
+
* tiny tweak to use has_namespace instead of an old literal method declaration
|
|
75
|
+
* updating gemspec
|
|
76
|
+
* Version bump to 0.5.1
|
|
77
|
+
* making sure rake actually runs specs; adding httparty gem dependency
|
|
78
|
+
* Version bump to 0.5.0
|
|
79
|
+
* adding Jeweler recipe, gemspec, etc.
|
|
80
|
+
* README now has examples.
|
|
81
|
+
* Linode.Ip API
|
|
82
|
+
* Linode.Job API
|
|
83
|
+
* Linode.Disk API
|
|
84
|
+
* Linode.Config API
|
|
85
|
+
* the Linode
|
|
86
|
+
* more metaprogramming, now that we know how a namespace behaves
|
|
87
|
+
* Domain.Resource nested API
|
|
88
|
+
* cleaning up missed example description change
|
|
89
|
+
* metprogramming avail, user, test APIs
|
|
90
|
+
* adding domain spec; using domain spec to introduce has_method metaprogramming
|
|
91
|
+
* adding User API
|
|
92
|
+
* making the data -> object(s) conversion more robust
|
|
93
|
+
* Avail API specs and methods
|
|
94
|
+
* metaprogramming the Test API specs, for later use in other specs
|
|
95
|
+
* first working version of a simple request (test.echo)
|
|
96
|
+
* adding httparty dependency to README
|
|
97
|
+
|
|
98
|
+
2009-08-04 Rick Bradley <rick@rickbradley.com>
|
|
99
|
+
* set real API URL, allow overriding
|
|
100
|
+
* Adding basic request method to base class.
|
|
101
|
+
* trivial testing dependencies in README
|
|
102
|
+
* add Avail API hook, reorganize how subclass specs are stored
|
|
103
|
+
* nest namespace classes, automate discovery
|
|
104
|
+
* making a way to access our simplest API (Linode.test)
|
|
105
|
+
* Linode.new.
|
|
106
|
+
* initial commit.
|
|
102
107
|
|
data/Gemfile
CHANGED
data/README
CHANGED
|
@@ -143,5 +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
|
-
|
|
146
|
+
- Thanks to Musfuut (github: musfuut) for diagnosing and recommending a fix for OpenStruct and 'type' data members in Linode returned results.
|
|
147
|
+
- Thanks to mihaibirsan (github: mihaibirsan) for diagnosing a problem with dependencies on the 'crack' library.
|
data/Rakefile
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.7.
|
|
1
|
+
0.7.6
|
data/lib/linode.rb
CHANGED
data/linode.gemspec
CHANGED
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
# -*- encoding: utf-8 -*-
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
|
-
s.name =
|
|
8
|
-
s.version = "0.7.
|
|
7
|
+
s.name = "linode"
|
|
8
|
+
s.version = "0.7.6"
|
|
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 =
|
|
13
|
-
s.description =
|
|
14
|
-
s.email =
|
|
12
|
+
s.date = "2011-10-17"
|
|
13
|
+
s.description = "This is a wrapper around Linode's automation facilities."
|
|
14
|
+
s.email = "rick@rickbradley.com"
|
|
15
15
|
s.extra_rdoc_files = [
|
|
16
16
|
"README"
|
|
17
17
|
]
|
|
@@ -59,43 +59,30 @@ Gem::Specification.new do |s|
|
|
|
59
59
|
"spec/linode_spec.rb",
|
|
60
60
|
"spec/spec_helper.rb"
|
|
61
61
|
]
|
|
62
|
-
s.homepage =
|
|
62
|
+
s.homepage = "http://github.com/rick/linode"
|
|
63
63
|
s.require_paths = ["lib"]
|
|
64
|
-
s.rubygems_version =
|
|
65
|
-
s.summary =
|
|
66
|
-
s.test_files = [
|
|
67
|
-
"spec/linode/avail_spec.rb",
|
|
68
|
-
"spec/linode/domain/resource_spec.rb",
|
|
69
|
-
"spec/linode/domain_spec.rb",
|
|
70
|
-
"spec/linode/linode/config_spec.rb",
|
|
71
|
-
"spec/linode/linode/disk_spec.rb",
|
|
72
|
-
"spec/linode/linode/ip_spec.rb",
|
|
73
|
-
"spec/linode/linode/job_spec.rb",
|
|
74
|
-
"spec/linode/linode_spec.rb",
|
|
75
|
-
"spec/linode/nodebalancer/config_spec.rb",
|
|
76
|
-
"spec/linode/nodebalancer/node_spec.rb",
|
|
77
|
-
"spec/linode/nodebalancer_spec.rb",
|
|
78
|
-
"spec/linode/stackscript_spec.rb",
|
|
79
|
-
"spec/linode/test_spec.rb",
|
|
80
|
-
"spec/linode/user_spec.rb",
|
|
81
|
-
"spec/linode_spec.rb",
|
|
82
|
-
"spec/spec_helper.rb"
|
|
83
|
-
]
|
|
64
|
+
s.rubygems_version = "1.8.10"
|
|
65
|
+
s.summary = "a Ruby wrapper for the Linode API"
|
|
84
66
|
|
|
85
67
|
if s.respond_to? :specification_version then
|
|
86
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
|
87
68
|
s.specification_version = 3
|
|
88
69
|
|
|
89
70
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
|
90
71
|
s.add_runtime_dependency(%q<httparty>, [">= 0"])
|
|
72
|
+
s.add_runtime_dependency(%q<crack>, [">= 0"])
|
|
91
73
|
s.add_runtime_dependency(%q<httparty>, [">= 0.4.4"])
|
|
74
|
+
s.add_runtime_dependency(%q<crack>, [">= 0.3.1"])
|
|
92
75
|
else
|
|
93
76
|
s.add_dependency(%q<httparty>, [">= 0"])
|
|
77
|
+
s.add_dependency(%q<crack>, [">= 0"])
|
|
94
78
|
s.add_dependency(%q<httparty>, [">= 0.4.4"])
|
|
79
|
+
s.add_dependency(%q<crack>, [">= 0.3.1"])
|
|
95
80
|
end
|
|
96
81
|
else
|
|
97
82
|
s.add_dependency(%q<httparty>, [">= 0"])
|
|
83
|
+
s.add_dependency(%q<crack>, [">= 0"])
|
|
98
84
|
s.add_dependency(%q<httparty>, [">= 0.4.4"])
|
|
85
|
+
s.add_dependency(%q<crack>, [">= 0.3.1"])
|
|
99
86
|
end
|
|
100
87
|
end
|
|
101
88
|
|
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:
|
|
5
|
-
prerelease:
|
|
4
|
+
hash: 15
|
|
5
|
+
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 7
|
|
9
|
-
-
|
|
10
|
-
version: 0.7.
|
|
9
|
+
- 6
|
|
10
|
+
version: 0.7.6
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Rick Bradley
|
|
@@ -15,14 +15,10 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-
|
|
19
|
-
default_executable:
|
|
18
|
+
date: 2011-10-17 00:00:00 Z
|
|
20
19
|
dependencies:
|
|
21
20
|
- !ruby/object:Gem::Dependency
|
|
22
|
-
|
|
23
|
-
prerelease: false
|
|
24
|
-
name: httparty
|
|
25
|
-
version_requirements: &id001 !ruby/object:Gem::Requirement
|
|
21
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
|
26
22
|
none: false
|
|
27
23
|
requirements:
|
|
28
24
|
- - ">="
|
|
@@ -31,12 +27,26 @@ dependencies:
|
|
|
31
27
|
segments:
|
|
32
28
|
- 0
|
|
33
29
|
version: "0"
|
|
34
|
-
|
|
35
|
-
|
|
30
|
+
version_requirements: *id001
|
|
31
|
+
name: httparty
|
|
32
|
+
prerelease: false
|
|
36
33
|
type: :runtime
|
|
34
|
+
- !ruby/object:Gem::Dependency
|
|
35
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
|
36
|
+
none: false
|
|
37
|
+
requirements:
|
|
38
|
+
- - ">="
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
hash: 3
|
|
41
|
+
segments:
|
|
42
|
+
- 0
|
|
43
|
+
version: "0"
|
|
44
|
+
version_requirements: *id002
|
|
45
|
+
name: crack
|
|
37
46
|
prerelease: false
|
|
38
|
-
|
|
39
|
-
|
|
47
|
+
type: :runtime
|
|
48
|
+
- !ruby/object:Gem::Dependency
|
|
49
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
|
40
50
|
none: false
|
|
41
51
|
requirements:
|
|
42
52
|
- - ">="
|
|
@@ -47,7 +57,26 @@ dependencies:
|
|
|
47
57
|
- 4
|
|
48
58
|
- 4
|
|
49
59
|
version: 0.4.4
|
|
50
|
-
|
|
60
|
+
version_requirements: *id003
|
|
61
|
+
name: httparty
|
|
62
|
+
prerelease: false
|
|
63
|
+
type: :runtime
|
|
64
|
+
- !ruby/object:Gem::Dependency
|
|
65
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
|
66
|
+
none: false
|
|
67
|
+
requirements:
|
|
68
|
+
- - ">="
|
|
69
|
+
- !ruby/object:Gem::Version
|
|
70
|
+
hash: 17
|
|
71
|
+
segments:
|
|
72
|
+
- 0
|
|
73
|
+
- 3
|
|
74
|
+
- 1
|
|
75
|
+
version: 0.3.1
|
|
76
|
+
version_requirements: *id004
|
|
77
|
+
name: crack
|
|
78
|
+
prerelease: false
|
|
79
|
+
type: :runtime
|
|
51
80
|
description: This is a wrapper around Linode's automation facilities.
|
|
52
81
|
email: rick@rickbradley.com
|
|
53
82
|
executables: []
|
|
@@ -99,7 +128,6 @@ files:
|
|
|
99
128
|
- spec/linode/user_spec.rb
|
|
100
129
|
- spec/linode_spec.rb
|
|
101
130
|
- spec/spec_helper.rb
|
|
102
|
-
has_rdoc: true
|
|
103
131
|
homepage: http://github.com/rick/linode
|
|
104
132
|
licenses: []
|
|
105
133
|
|
|
@@ -129,24 +157,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
129
157
|
requirements: []
|
|
130
158
|
|
|
131
159
|
rubyforge_project:
|
|
132
|
-
rubygems_version: 1.
|
|
160
|
+
rubygems_version: 1.8.10
|
|
133
161
|
signing_key:
|
|
134
162
|
specification_version: 3
|
|
135
163
|
summary: a Ruby wrapper for the Linode API
|
|
136
|
-
test_files:
|
|
137
|
-
|
|
138
|
-
- spec/linode/domain/resource_spec.rb
|
|
139
|
-
- spec/linode/domain_spec.rb
|
|
140
|
-
- spec/linode/linode/config_spec.rb
|
|
141
|
-
- spec/linode/linode/disk_spec.rb
|
|
142
|
-
- spec/linode/linode/ip_spec.rb
|
|
143
|
-
- spec/linode/linode/job_spec.rb
|
|
144
|
-
- spec/linode/linode_spec.rb
|
|
145
|
-
- spec/linode/nodebalancer/config_spec.rb
|
|
146
|
-
- spec/linode/nodebalancer/node_spec.rb
|
|
147
|
-
- spec/linode/nodebalancer_spec.rb
|
|
148
|
-
- spec/linode/stackscript_spec.rb
|
|
149
|
-
- spec/linode/test_spec.rb
|
|
150
|
-
- spec/linode/user_spec.rb
|
|
151
|
-
- spec/linode_spec.rb
|
|
152
|
-
- spec/spec_helper.rb
|
|
164
|
+
test_files: []
|
|
165
|
+
|