linode 0.7.5 → 0.7.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (8) hide show
  1. data/CHANGELOG +83 -78
  2. data/Gemfile +1 -0
  3. data/README +2 -2
  4. data/Rakefile +1 -0
  5. data/VERSION +1 -1
  6. data/lib/linode.rb +1 -0
  7. data/linode.gemspec +14 -27
  8. metadata +47 -34
data/CHANGELOG CHANGED
@@ -1,14 +1,19 @@
1
1
 
2
- 0.7.5 / 2011-08-23
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 Rick Bradley <rick@rickbradley.com>
29
- * Adding rspec2 support for autotest
30
- * Continuing conversion of spec_helper for rspec2
31
- * moving spec/spec.opts to /.rspec
32
-
33
- 2010-11-21 Aaron Hamid <aaron.hamid@gmail.com>
34
- * did the minimal amount necessary to get tests to run on latest RSpec release; https://github.com/rick/linode/issues#issue/3
35
-
36
- 2010-08-03 Rick Bradley <rick@rickbradley.com>
37
- * updating gemspec for 0.6.2
38
- * Version bump to 0.6.2
39
- * remove Jeweler warning as noone else needs to ever see it, basically
40
- * make 'rake test' an alias for 'rake spec'
41
-
42
- 2010-03-31 Rick Bradley <rick@rickbradley.com>
43
- * updated gemspec
44
- * Version bump to 0.6.1
45
- * Missed a couple new Linode API stackscript bits.
46
-
47
- 2010-03-27 Rick Bradley <rick@rickbradley.com>
48
- * Merge branch 'newgem'
49
- * updating gemspec
50
- * Regenerated gemspec for version 0.6.0
51
- * Version bump to 0.6.0
52
- * adding support for stackscript API
53
-
54
- 2009-12-21 Rick Bradley <rick@rickbradley.com>
55
- * updating README (thx dvyjones!)
56
-
57
- 2009-12-20 Rick Bradley <rick@rickbradley.com>
58
- * updated gemspec
59
- * Version bump to 0.5.4
60
- * enabling GemCutter support for our gem
61
-
62
- 2009-08-05 Rick Bradley <rick@rickbradley.com>
63
- * new gemspec
64
- * Version bump to 0.5.3
65
- * make error messages much more helpful, including link to relevant API page.
66
- * fixing mis-named spec example descriptions for nested namespaces
67
- * updating gemspec
68
- * Version bump to 0.5.2
69
- * tiny tweak to use has_namespace instead of an old literal method declaration
70
- * updating gemspec
71
- * Version bump to 0.5.1
72
- * making sure rake actually runs specs; adding httparty gem dependency
73
- * Version bump to 0.5.0
74
- * adding Jeweler recipe, gemspec, etc.
75
- * README now has examples.
76
- * Linode.Ip API
77
- * Linode.Job API
78
- * Linode.Disk API
79
- * Linode.Config API
80
- * the Linode
81
- * more metaprogramming, now that we know how a namespace behaves
82
- * Domain.Resource nested API
83
- * cleaning up missed example description change
84
- * metprogramming avail, user, test APIs
85
- * adding domain spec; using domain spec to introduce has_method metaprogramming
86
- * adding User API
87
- * making the data -> object(s) conversion more robust
88
- * Avail API specs and methods
89
- * metaprogramming the Test API specs, for later use in other specs
90
- * first working version of a simple request (test.echo)
91
- * adding httparty dependency to README
92
-
93
- 2009-08-04 Rick Bradley <rick@rickbradley.com>
94
- * set real API URL, allow overriding
95
- * Adding basic request method to base class.
96
- * trivial testing dependencies in README
97
- * add Avail API hook, reorganize how subclass specs are stored
98
- * nest namespace classes, automate discovery
99
- * making a way to access our simplest API (Linode.test)
100
- * Linode.new.
101
- * initial commit.
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
@@ -7,3 +7,4 @@ group :test do
7
7
  end
8
8
 
9
9
  gem "httparty"
10
+ gem "crack"
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
@@ -25,6 +25,7 @@ begin
25
25
  gemspec.homepage = "http://github.com/rick/linode"
26
26
  gemspec.authors = ["Rick Bradley"]
27
27
  gemspec.add_dependency('httparty', '>= 0.4.4')
28
+ gemspec.add_dependency('crack', '>= 0.3.1')
28
29
  end
29
30
  Jeweler::GemcutterTasks.new
30
31
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.7.5
1
+ 0.7.6
@@ -2,6 +2,7 @@ require 'rubygems'
2
2
  require 'ostruct'
3
3
  require 'ostruct_tweak'
4
4
  require 'httparty'
5
+ require 'crack'
5
6
 
6
7
  class Linode
7
8
  attr_reader :username, :password
@@ -4,14 +4,14 @@
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
- s.name = %q{linode}
8
- s.version = "0.7.5"
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 = %q{2011-08-23}
13
- s.description = %q{This is a wrapper around Linode's automation facilities.}
14
- s.email = %q{rick@rickbradley.com}
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 = %q{http://github.com/rick/linode}
62
+ s.homepage = "http://github.com/rick/linode"
63
63
  s.require_paths = ["lib"]
64
- s.rubygems_version = %q{1.3.7}
65
- s.summary = %q{a Ruby wrapper for the Linode API}
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: 9
5
- prerelease: false
4
+ hash: 15
5
+ prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
- - 5
10
- version: 0.7.5
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-08-23 00:00:00 -05:00
19
- default_executable:
18
+ date: 2011-10-17 00:00:00 Z
20
19
  dependencies:
21
20
  - !ruby/object:Gem::Dependency
22
- type: :runtime
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
- requirement: *id001
35
- - !ruby/object:Gem::Dependency
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
- name: httparty
39
- version_requirements: &id002 !ruby/object:Gem::Requirement
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
- requirement: *id002
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.3.7
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
- - spec/linode/avail_spec.rb
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
+