linodeapi 0.0.2 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (41) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +1 -0
  3. data/.travis.yml +4 -3
  4. data/LICENSE +1 -1
  5. data/README.md +6 -5
  6. data/Rakefile +2 -13
  7. data/lib/linodeapi.rb +0 -1
  8. data/lib/linodeapi/raw.rb +0 -2
  9. data/lib/linodeapi/spec.rb +252 -100
  10. data/linodeapi.gemspec +7 -9
  11. metadata +24 -82
  12. data/Gemfile.lock +0 -76
  13. data/vendor/cache/ast-1.1.0.gem +0 -0
  14. data/vendor/cache/coveralls-0.7.0.gem +0 -0
  15. data/vendor/cache/diff-lcs-1.2.5.gem +0 -0
  16. data/vendor/cache/docile-1.1.2.gem +0 -0
  17. data/vendor/cache/fuubar-1.3.2.gem +0 -0
  18. data/vendor/cache/hashr-0.0.22.gem +0 -0
  19. data/vendor/cache/httparty-0.12.0.gem +0 -0
  20. data/vendor/cache/json-1.8.1.gem +0 -0
  21. data/vendor/cache/mime-types-2.1.gem +0 -0
  22. data/vendor/cache/multi_json-1.8.4.gem +0 -0
  23. data/vendor/cache/multi_xml-0.5.5.gem +0 -0
  24. data/vendor/cache/parser-2.1.4.gem +0 -0
  25. data/vendor/cache/powerpack-0.0.9.gem +0 -0
  26. data/vendor/cache/rainbow-1.99.2.gem +0 -0
  27. data/vendor/cache/rake-10.1.1.gem +0 -0
  28. data/vendor/cache/rest-client-1.6.7.gem +0 -0
  29. data/vendor/cache/rspec-2.14.1.gem +0 -0
  30. data/vendor/cache/rspec-core-2.14.7.gem +0 -0
  31. data/vendor/cache/rspec-expectations-2.14.4.gem +0 -0
  32. data/vendor/cache/rspec-mocks-2.14.4.gem +0 -0
  33. data/vendor/cache/rubocop-0.17.0.gem +0 -0
  34. data/vendor/cache/ruby-progressbar-1.4.1.gem +0 -0
  35. data/vendor/cache/simplecov-0.8.2.gem +0 -0
  36. data/vendor/cache/simplecov-html-0.8.0.gem +0 -0
  37. data/vendor/cache/slop-3.4.7.gem +0 -0
  38. data/vendor/cache/term-ansicolor-1.2.2.gem +0 -0
  39. data/vendor/cache/thor-0.18.1.gem +0 -0
  40. data/vendor/cache/tins-0.13.1.gem +0 -0
  41. data/vendor/cache/travis-lint-1.7.0.gem +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a3e3264c2a948cd818400e6355908a7bca85be6b
4
- data.tar.gz: d20e65ad50141e726a4e17659353973f781a778a
3
+ metadata.gz: e8b25f842f10287a91b8b38ada4a32da1708f404
4
+ data.tar.gz: 33ee921d35f237ac931884139fc146796cc9fad2
5
5
  SHA512:
6
- metadata.gz: 635c4357d73bb226ac76af4881abebbf90e40e39af0fa702ec057c0725bddacc27a297f989bf720b21a935c21b1295450087188e128e29d57f66523516489158
7
- data.tar.gz: 3acaeaf5fa9d018b59c79fafc74f9949b5131feccf07101c857205225b3661abf9d928a2fa81ac343e9e2ee8561e2a761cdd480f47ada9f7bd6d6f2cd8a8e9cc
6
+ metadata.gz: 3f0442ecfcd1876a668f5cd464b5ce7504e5b2b0278fca37e9bcda37c192a3cc33414a4f7a5882505b6cd9b25477d75b9b4f5b8a056022f8185af31040da21fe
7
+ data.tar.gz: d57802da5c0e9216d436fa02338dd1018ebbb0f15750b95eef9d3ac3dee4ba1a85ab4deae0e835dd639411cee3071232737855817a47472e553fad9c4ced96f5
data/.gitignore CHANGED
@@ -2,3 +2,4 @@ pkg/*.gem
2
2
  coverage/
3
3
  .coveralls.yml
4
4
  .bundle
5
+ Gemfile.lock
data/.travis.yml CHANGED
@@ -1,6 +1,8 @@
1
1
  language: ruby
2
2
  cache: bundler
3
3
  rvm:
4
+ - 2.1.2
5
+ - 2.1.1
4
6
  - 2.1.0
5
7
  - 2.0.0
6
8
  - 1.9.3
@@ -8,7 +10,6 @@ notifications:
8
10
  email: false
9
11
  irc:
10
12
  channels:
11
- - ircs://irc.oftc.net:6697#akerl
12
- channel_key: sekrit
13
+ - secure: PjzUG5NnDOWPrSxvWLqGb2Zn0kOG71fNutAKLhfMzsLsVLE7ofrk1hqtBovQNw4pq8cQSQmJPoyQ52PHytI3sr9UA3kOvKm1mpVUR6WuM3FQxxGSFoIdSrG8VxeMtmK1sWCmRZGLe7UPf2B0HhvoYmtWuPad5ko5QQHYpJKTHxo=
13
14
  template:
14
- - '%{repository}/%{branch}/%{build_number}: %{message} -- %{build_url}'
15
+ - "%{repository}/%{branch}/%{build_number}: %{message} -- %{build_url}"
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2013 Les Aker
3
+ Copyright (c) 2014 Les Aker
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,11 +1,12 @@
1
1
  linodeapi
2
2
  =========
3
3
 
4
- [![Gem Version](https://badge.fury.io/rb/linodeapi.png)](http://badge.fury.io/rb/linodeapi)
5
- [![Dependency Status](https://gemnasium.com/akerl/linodeapi.png)](https://gemnasium.com/akerl/linodeapi)
6
- [![Code Climate](https://codeclimate.com/github/akerl/linodeapi.png)](https://codeclimate.com/github/akerl/linodeapi)
7
- [![Coverage Status](https://coveralls.io/repos/akerl/linodeapi/badge.png?branch=master)](https://coveralls.io/r/akerl/linodeapi?branch=master)
8
- [![Build Status](https://travis-ci.org/akerl/linodeapi.png?branch=master)](https://travis-ci.org/akerl/linodeapi)
4
+ [![Gem Version](https://img.shields.io/gem/v/linodeapi.svg)](https://rubygems.org/gems/linodeapi)
5
+ [![Dependency Status](https://img.shields.io/gemnasium/akerl/linodeapi.svg)](https://gemnasium.com/akerl/linodeapi)
6
+ [![Code Climate](https://img.shields.io/codeclimate/github/akerl/linodeapi.svg)](https://codeclimate.com/github/akerl/linodeapi)
7
+ [![Coverage Status](https://img.shields.io/coveralls/akerl/linodeapi.svg)](https://coveralls.io/r/akerl/linodeapi)
8
+ [![Build Status](https://img.shields.io/travis/akerl/linodeapi.svg)](https://travis-ci.org/akerl/linodeapi)
9
+ [![MIT Licensed](https://img.shields.io/badge/license-MIT-green.svg)](https://tldrlegal.com/license/mit-license)
9
10
 
10
11
  Ruby API wrapper for the [Linode API](https://www.linode.com/api)
11
12
 
data/Rakefile CHANGED
@@ -2,24 +2,13 @@ require 'bundler/gem_tasks'
2
2
  require 'rspec/core/rake_task'
3
3
  require 'rubocop/rake_task'
4
4
 
5
- desc 'Update bundle'
6
- task :bundle do
7
- `bundle update`
8
- end
9
-
10
5
  desc 'Run tests'
11
6
  RSpec::Core::RakeTask.new(:spec)
12
7
 
13
8
  desc 'Run Rubocop on the gem'
14
- Rubocop::RakeTask.new(:rubocop) do |task|
9
+ RuboCop::RakeTask.new(:rubocop) do |task|
15
10
  task.patterns = ['lib/**/*.rb', 'spec/**/*.rb']
16
11
  task.fail_on_error = true
17
12
  end
18
13
 
19
- desc 'Run travis-lint on .travis.yml'
20
- task :travislint do
21
- print 'There is an issue with your .travis.yml' unless system('travis-lint')
22
- end
23
-
24
- task default: [:spec, :travislint, :rubocop, :build, :install]
25
- task release: [:bundle]
14
+ task default: [:spec, :rubocop, :build, :install]
data/lib/linodeapi.rb CHANGED
@@ -1,6 +1,5 @@
1
1
  ##
2
2
  # Linode API wrapper
3
-
4
3
  module LinodeAPI
5
4
  ##
6
5
  # Default API endpoint
data/lib/linodeapi/raw.rb CHANGED
@@ -2,11 +2,9 @@ require 'httparty'
2
2
 
3
3
  ##
4
4
  # Raw API wrapper, dynamically loaded from the published spec
5
-
6
5
  module LinodeAPI
7
6
  ##
8
7
  # Raw API object
9
-
10
8
  class Raw
11
9
  include HTTParty
12
10
 
@@ -44,15 +44,73 @@ module LinodeAPI
44
44
  :required=>false},
45
45
  :linodeid=>{:desc=>"", :type=>:numeric, :required=>false},
46
46
  :diskid=>{:desc=>"", :type=>:numeric, :required=>true}}},
47
+ :imagize=>
48
+ {:type=>:call,
49
+ :desc=>"Creates a gold-master image for future deployments",
50
+ :throws=>[],
51
+ :params=>
52
+ {:label=>
53
+ {:desc=>
54
+ "Sets the name of the image shown in the base image list, defaults to the source image label",
55
+ :type=>:string,
56
+ :required=>false},
57
+ :description=>
58
+ {:desc=>"An optional description of the created image",
59
+ :type=>:string,
60
+ :required=>false},
61
+ :linodeid=>
62
+ {:desc=>"Specifies the source Linode to create the image from",
63
+ :type=>:numeric,
64
+ :required=>true},
65
+ :diskid=>
66
+ {:desc=>"Specifies the source Disk to create the image from",
67
+ :type=>:numeric,
68
+ :required=>true}}},
69
+ :createfromimage=>
70
+ {:type=>:call,
71
+ :desc=>"Creates a new disk from a previously imagized disk.",
72
+ :throws=>[],
73
+ :params=>
74
+ {:rootsshkey=>
75
+ {:desc=>
76
+ "Optionally sets this string into /root/.ssh/authorized_keys upon image deployment",
77
+ :type=>:string,
78
+ :required=>false},
79
+ :size=>
80
+ {:desc=>
81
+ "The size of the disk image to creates. Defaults to the minimum size required for the requested image",
82
+ :type=>:numeric,
83
+ :required=>false},
84
+ :linodeid=>
85
+ {:desc=>"Specifies the Linode to deploy on to",
86
+ :type=>:numeric,
87
+ :required=>true},
88
+ :rootpass=>
89
+ {:desc=>
90
+ "Optionally sets the root password at deployment time. If a password is not provided the existing root password of the frozen image will not be modified",
91
+ :type=>:string,
92
+ :required=>false},
93
+ :imageid=>
94
+ {:desc=>"The ID of the frozen image to deploy from",
95
+ :type=>:numeric,
96
+ :required=>true}}},
47
97
  :create=>
48
98
  {:type=>:call,
49
99
  :desc=>"",
50
100
  :throws=>["NOTFOUND", "VALIDATION"],
51
101
  :params=>
52
- {:label=>
102
+ {:isreadonly=>
103
+ {:desc=>"Enable forced read-only for this Disk",
104
+ :type=>:boolean,
105
+ :required=>false},
106
+ :rootpass=>{:desc=>"", :type=>:string, :required=>false},
107
+ :label=>
53
108
  {:desc=>"The display label for this Disk",
54
109
  :type=>:string,
55
110
  :required=>true},
111
+ :rootsshkey=>{:desc=>"", :type=>:string, :required=>false},
112
+ :fromdistributionid=>
113
+ {:desc=>"", :type=>:numeric, :required=>false},
56
114
  :size=>
57
115
  {:desc=>"The size in MB of this Disk.",
58
116
  :type=>:numeric,
@@ -60,7 +118,7 @@ module LinodeAPI
60
118
  :linodeid=>{:desc=>"", :type=>:numeric, :required=>true},
61
119
  :type=>
62
120
  {:desc=>
63
- "The formatted type of this disk. Valid types are: ext3, swap, raw",
121
+ "The formatted type of this disk. Valid types are: ext3, ext4, swap, raw",
64
122
  :type=>:string,
65
123
  :required=>true}}},
66
124
  :createfromstackscript=>
@@ -72,7 +130,7 @@ module LinodeAPI
72
130
  {:desc=>
73
131
  "JSON encoded name/value pairs, answering this StackScript's User Defined Fields",
74
132
  :type=>:string,
75
- :required=>"yes"},
133
+ :required=>true},
76
134
  :distributionid=>
77
135
  {:desc=>
78
136
  "Which Distribution to apply this StackScript to. Must be one from the script's DistributionIDList",
@@ -82,6 +140,11 @@ module LinodeAPI
82
140
  {:desc=>"The root user's password",
83
141
  :type=>:string,
84
142
  :required=>true},
143
+ :rootsshkey=>
144
+ {:desc=>
145
+ "Optionally sets this string into /root/.ssh/authorized_keys upon distribution configuration.",
146
+ :type=>:string,
147
+ :required=>false},
85
148
  :label=>
86
149
  {:desc=>"The label of this new disk image",
87
150
  :type=>:string,
@@ -94,7 +157,7 @@ module LinodeAPI
94
157
  :stackscriptid=>
95
158
  {:desc=>"The StackScript to create this image from",
96
159
  :type=>:numeric,
97
- :required=>"yes"}}},
160
+ :required=>true}}},
98
161
  :list=>
99
162
  {:type=>:call,
100
163
  :desc=>"",
@@ -107,15 +170,15 @@ module LinodeAPI
107
170
  :desc=>"",
108
171
  :throws=>["NOTFOUND", "VALIDATION"],
109
172
  :params=>
110
- {:rootsshkey=>
173
+ {:label=>
174
+ {:desc=>"The label of this new disk image",
175
+ :type=>:string,
176
+ :required=>true},
177
+ :rootsshkey=>
111
178
  {:desc=>
112
179
  "Optionally sets this string into /root/.ssh/authorized_keys upon distribution configuration.",
113
180
  :type=>:string,
114
181
  :required=>false},
115
- :label=>
116
- {:desc=>"The label of this new disk image",
117
- :type=>:string,
118
- :required=>true},
119
182
  :size=>
120
183
  {:desc=>"Size of this disk image in MB",
121
184
  :type=>:numeric,
@@ -154,6 +217,70 @@ module LinodeAPI
154
217
  "Generates a console token starting a web console LISH session for the requesting IP",
155
218
  :throws=>["NOTFOUND", "VALIDATION"],
156
219
  :params=>{:linodeid=>{:desc=>"", :type=>:numeric, :required=>true}}},
220
+ :ip=>
221
+ {:type=>:group,
222
+ :subs=>
223
+ {:addpublic=>
224
+ {:type=>:call,
225
+ :desc=>
226
+ "Assigns a Public IP to a Linode. Returns the IPAddressID and IPAddress that was added.",
227
+ :throws=>["NOTFOUND", "VALIDATION"],
228
+ :params=>
229
+ {:linodeid=>
230
+ {:desc=>
231
+ "The LinodeID of the Linode that will be assigned an additional public IP address",
232
+ :type=>:numeric,
233
+ :required=>true}}},
234
+ :setrdns=>
235
+ {:type=>:call,
236
+ :desc=>
237
+ "Sets the rDNS name of a Public IP. Returns the IPAddressID and IPAddress that were updated.",
238
+ :throws=>["NOTFOUND", "VALIDATION"],
239
+ :params=>
240
+ {:hostname=>
241
+ {:desc=>"The hostname to set the reverse DNS to",
242
+ :type=>:string,
243
+ :required=>true},
244
+ :ipaddressid=>
245
+ {:desc=>"The IPAddressID of the address to update",
246
+ :type=>:numeric,
247
+ :required=>true}}},
248
+ :list=>
249
+ {:type=>:call,
250
+ :desc=>"Lists a Linode's IP addresses.",
251
+ :throws=>["NOTFOUND"],
252
+ :params=>
253
+ {:ipaddressid=>
254
+ {:desc=>"If specified, limits the result to this IPAddressID",
255
+ :type=>:numeric,
256
+ :required=>false},
257
+ :linodeid=>{:desc=>"", :type=>:numeric, :required=>true}}},
258
+ :swap=>
259
+ {:type=>:call,
260
+ :desc=>
261
+ "Exchanges Public IP addresses between two Linodes within a Datacenter. The destination of the IP Address can be designated by either the toLinodeID or withIPAddressID parameter. Returns the resulting relationship of the Linode and IP Address parameters. When performing a one directional swap, the source is represented by the first of the two resultant array members.",
262
+ :throws=>["NOTFOUND", "VALIDATION"],
263
+ :params=>
264
+ {:tolinodeid=>
265
+ {:desc=>
266
+ "The LinodeID of the Linode where IPAddressID will be transfered",
267
+ :type=>:numeric,
268
+ :required=>false},
269
+ :ipaddressid=>
270
+ {:desc=>"The IPAddressID of an IP Address to transfer or swap",
271
+ :type=>:numeric,
272
+ :required=>true},
273
+ :withipaddressid=>
274
+ {:desc=>"The IP Address ID to swap",
275
+ :type=>:numeric,
276
+ :required=>false}}},
277
+ :addprivate=>
278
+ {:type=>:call,
279
+ :desc=>
280
+ "Assigns a Private IP to a Linode. Returns the IPAddressID that was added.",
281
+ :throws=>["NOTFOUND"],
282
+ :params=>
283
+ {:linodeid=>{:desc=>"", :type=>:numeric, :required=>true}}}}},
157
284
  :create=>
158
285
  {:type=>:call,
159
286
  :desc=>
@@ -169,26 +296,26 @@ module LinodeAPI
169
296
  {:desc=>"The desired PlanID available from avail.LinodePlans()",
170
297
  :type=>:numeric,
171
298
  :required=>true},
172
- :paymentterm=>
173
- {:desc=>
174
- "Subscription term in months for non-metered customers. One of: 1, 12, or 24",
175
- :type=>:numeric,
176
- :required=>false},
177
299
  :datacenterid=>
178
300
  {:desc=>
179
301
  "The DatacenterID from avail.datacenters() where you wish to place this new Linode",
180
302
  :type=>:numeric,
181
- :required=>true}}},
303
+ :required=>true},
304
+ :paymentterm=>
305
+ {:desc=>
306
+ "Subscription term in months for prepaid customers. One of: 1, 12, or 24",
307
+ :type=>:numeric,
308
+ :required=>false}}},
182
309
  :update=>
183
310
  {:type=>:call,
184
311
  :desc=>"Updates a Linode's properties.",
185
312
  :throws=>["NOTFOUND", "VALIDATION"],
186
313
  :params=>
187
- {:ms_ssh_user=>{:desc=>"", :type=>:string, :required=>false},
188
- :alert_cpu_enabled=>
314
+ {:alert_cpu_enabled=>
189
315
  {:desc=>"Enable the cpu usage email alert",
190
316
  :type=>:boolean,
191
317
  :required=>false},
318
+ :ms_ssh_user=>{:desc=>"", :type=>:string, :required=>false},
192
319
  :alert_bwin_enabled=>
193
320
  {:desc=>"Enable the incoming bandwidth email alert",
194
321
  :type=>:boolean,
@@ -201,12 +328,12 @@ module LinodeAPI
201
328
  {:desc=>"Enable the bw quote email alert",
202
329
  :type=>:boolean,
203
330
  :required=>false},
204
- :backupwindow=>{:desc=>"", :type=>:numeric, :required=>false},
205
331
  :alert_diskio_threshold=>
206
332
  {:desc=>"IO ops/sec", :type=>:numeric, :required=>false},
207
- :backupweeklyday=>{:desc=>"", :type=>:numeric, :required=>false},
208
333
  :label=>
209
334
  {:desc=>"This Linode's label", :type=>:string, :required=>false},
335
+ :backupwindow=>{:desc=>"", :type=>:numeric, :required=>false},
336
+ :backupweeklyday=>{:desc=>"", :type=>:numeric, :required=>false},
210
337
  :watchdog=>
211
338
  {:desc=>"Enable the Lassie shutdown watchdog",
212
339
  :type=>:boolean,
@@ -215,47 +342,27 @@ module LinodeAPI
215
342
  {:desc=>"Enable the disk IO email alert",
216
343
  :type=>:boolean,
217
344
  :required=>false},
218
- :ms_ssh_port=>{:desc=>"", :type=>:numeric, :required=>false},
219
345
  :lpm_displaygroup=>
220
346
  {:desc=>
221
347
  "Display group in the Linode list inside the Linode Manager",
222
348
  :type=>:string,
223
349
  :required=>false},
350
+ :ms_ssh_port=>{:desc=>"", :type=>:numeric, :required=>false},
224
351
  :ms_ssh_disabled=>{:desc=>"", :type=>:boolean, :required=>false},
225
352
  :alert_bwquota_threshold=>
226
353
  {:desc=>"Percentage of monthly bw quota",
227
354
  :type=>:numeric,
228
355
  :required=>false},
229
356
  :ms_ssh_ip=>{:desc=>"", :type=>:string, :required=>false},
230
- :linodeid=>{:desc=>"", :type=>:numeric, :required=>true},
231
357
  :alert_bwin_threshold=>
232
358
  {:desc=>"Mb/sec", :type=>:numeric, :required=>false},
359
+ :linodeid=>{:desc=>"", :type=>:numeric, :required=>true},
233
360
  :alert_bwout_threshold=>
234
361
  {:desc=>"Mb/sec", :type=>:numeric, :required=>false},
235
362
  :alert_bwout_enabled=>
236
363
  {:desc=>"Enable the outgoing bandwidth email alert",
237
364
  :type=>:boolean,
238
365
  :required=>false}}},
239
- :ip=>
240
- {:type=>:group,
241
- :subs=>
242
- {:list=>
243
- {:type=>:call,
244
- :desc=>"Lists a Linode's IP addresses.",
245
- :throws=>["NOTFOUND"],
246
- :params=>
247
- {:ipaddressid=>
248
- {:desc=>"If specified, limits the result to this IPAddressID",
249
- :type=>:numeric,
250
- :required=>false},
251
- :linodeid=>{:desc=>"", :type=>:numeric, :required=>true}}},
252
- :addprivate=>
253
- {:type=>:call,
254
- :desc=>
255
- "Assigns a Private IP to a Linode. Returns the IPAddressID that was added.",
256
- :throws=>["NOTFOUND"],
257
- :params=>
258
- {:linodeid=>{:desc=>"", :type=>:numeric, :required=>true}}}}},
259
366
  :clone=>
260
367
  {:type=>:call,
261
368
  :desc=>
@@ -268,16 +375,16 @@ module LinodeAPI
268
375
  "LINODELIMITER",
269
376
  "ACCOUNTLIMIT"],
270
377
  :params=>
271
- {:datacenterid=>
378
+ {:paymentterm=>
272
379
  {:desc=>
273
- "The DatacenterID from avail.datacenters() where you wish to place this new Linode",
380
+ "Subscription term in months for prepaid customers. One of: 1, 12, or 24",
274
381
  :type=>:numeric,
275
- :required=>true},
276
- :paymentterm=>
382
+ :required=>false},
383
+ :datacenterid=>
277
384
  {:desc=>
278
- "Subscription term in months for non-metered customers. One of: 1, 12, or 24",
385
+ "The DatacenterID from avail.datacenters() where you wish to place this new Linode",
279
386
  :type=>:numeric,
280
- :required=>false},
387
+ :required=>true},
281
388
  :planid=>
282
389
  {:desc=>"The desired PlanID available from avail.LinodePlans()",
283
390
  :type=>:numeric,
@@ -343,14 +450,14 @@ module LinodeAPI
343
450
  "Controls if pv_ops kernels should automount devtmpfs at boot. ",
344
451
  :type=>:boolean,
345
452
  :required=>false},
346
- :helper_disableupdatedb=>
347
- {:desc=>"Enable the disableUpdateDB filesystem helper",
348
- :type=>:boolean,
349
- :required=>false},
350
453
  :label=>
351
454
  {:desc=>"The Label for this profile",
352
455
  :type=>:string,
353
456
  :required=>false},
457
+ :helper_disableupdatedb=>
458
+ {:desc=>"Enable the disableUpdateDB filesystem helper",
459
+ :type=>:boolean,
460
+ :required=>false},
354
461
  :configid=>{:desc=>"", :type=>:numeric, :required=>true},
355
462
  :disklist=>
356
463
  {:desc=>
@@ -409,14 +516,14 @@ module LinodeAPI
409
516
  "Controls if pv_ops kernels should automount devtmpfs at boot. ",
410
517
  :type=>:boolean,
411
518
  :required=>false},
412
- :helper_disableupdatedb=>
413
- {:desc=>"Enable the disableUpdateDB filesystem helper",
414
- :type=>:boolean,
415
- :required=>false},
416
519
  :label=>
417
520
  {:desc=>"The Label for this profile",
418
521
  :type=>:string,
419
522
  :required=>true},
523
+ :helper_disableupdatedb=>
524
+ {:desc=>"Enable the disableUpdateDB filesystem helper",
525
+ :type=>:boolean,
526
+ :required=>false},
420
527
  :disklist=>
421
528
  {:desc=>
422
529
  "A comma delimited list of DiskIDs; position reflects device node. The 9th element for specifying the initrd.",
@@ -556,15 +663,15 @@ module LinodeAPI
556
663
  {:desc=>"This backend Node's label",
557
664
  :type=>:string,
558
665
  :required=>true},
666
+ :configid=>
667
+ {:desc=>"The parent ConfigID to attach this Node to",
668
+ :type=>:numeric,
669
+ :required=>true},
559
670
  :mode=>
560
671
  {:desc=>
561
672
  "The connections mode for this node. One of 'accept', 'reject', or 'drain'",
562
673
  :type=>:string,
563
674
  :required=>false},
564
- :configid=>
565
- {:desc=>"The parent ConfigID to attach this Node to",
566
- :type=>:numeric,
567
- :required=>true},
568
675
  :weight=>
569
676
  {:desc=>
570
677
  "Load balancing weight, 1-255. Higher means more connections.",
@@ -598,14 +705,15 @@ module LinodeAPI
598
705
  "To help mitigate abuse, throttle connections per second, per client IP. 0 to disable. Max of 20.",
599
706
  :type=>:numeric,
600
707
  :required=>false},
708
+ :paymentterm=>
709
+ {:desc=>
710
+ "Subscription term in months for prepaid customers. One of: 1, 12, or 24",
711
+ :type=>:numeric,
712
+ :required=>false},
601
713
  :datacenterid=>
602
714
  {:desc=>
603
715
  "The DatacenterID from avail.datacenters() where you wish to place this new NodeBalancer",
604
716
  :type=>:numeric,
605
- :required=>true},
606
- :paymentterm=>
607
- {:desc=>"Subscription term in months. One of: 0, 1, 12, or 24",
608
- :type=>:numeric,
609
717
  :required=>true}}},
610
718
  :delete=>
611
719
  {:type=>:call,
@@ -708,12 +816,12 @@ module LinodeAPI
708
816
  {:desc=>"Seconds between health check probes. 2-3600",
709
817
  :type=>:numeric,
710
818
  :required=>false},
819
+ :configid=>{:desc=>"", :type=>:numeric, :required=>true},
711
820
  :algorithm=>
712
821
  {:desc=>
713
822
  "Balancing algorithm. One of 'roundrobin', 'leastconn', 'source'",
714
823
  :type=>:string,
715
824
  :required=>false},
716
- :configid=>{:desc=>"", :type=>:numeric, :required=>true},
717
825
  :check_attempts=>
718
826
  {:desc=>
719
827
  "Number of failed probes before taking a node out of rotation. 1-30",
@@ -752,8 +860,9 @@ module LinodeAPI
752
860
  :desc=>"Deletes a NodeBalancer's Config",
753
861
  :throws=>["NOTFOUND"],
754
862
  :params=>
755
- {:configid=>
756
- {:desc=>"The NodeBalancerID to delete",
863
+ {:nodebalancerid=>{:desc=>"", :type=>:numeric, :required=>true},
864
+ :configid=>
865
+ {:desc=>"The ConfigID to delete",
757
866
  :type=>:numeric,
758
867
  :required=>true}}},
759
868
  :list=>
@@ -811,17 +920,17 @@ module LinodeAPI
811
920
  {:desc=>"0, 1, or 2 (disabled, active, edit mode)",
812
921
  :type=>:numeric,
813
922
  :required=>false},
814
- :master_ips=>
815
- {:desc=>
816
- "When type=slave, the zone's master DNS servers list, semicolon separated ",
817
- :type=>:string,
818
- :required=>false},
819
923
  :refresh_sec=>{:desc=>"", :type=>:numeric, :required=>false},
820
924
  :lpm_displaygroup=>
821
925
  {:desc=>
822
926
  "Display group in the Domain list inside the Linode DNS Manager",
823
927
  :type=>:string,
824
928
  :required=>false},
929
+ :master_ips=>
930
+ {:desc=>
931
+ "When type=slave, the zone's master DNS servers list, semicolon separated ",
932
+ :type=>:string,
933
+ :required=>false},
825
934
  :soa_email=>
826
935
  {:desc=>"Required when type=master",
827
936
  :type=>:string,
@@ -851,24 +960,24 @@ module LinodeAPI
851
960
  :ttl_sec=>{:desc=>"", :type=>:numeric, :required=>false},
852
961
  :retry_sec=>{:desc=>"", :type=>:numeric, :required=>false},
853
962
  :expire_sec=>{:desc=>"", :type=>:numeric, :required=>false},
963
+ :domain=>
964
+ {:desc=>"The zone's name", :type=>:string, :required=>true},
854
965
  :status=>
855
966
  {:desc=>"0, 1, or 2 (disabled, active, edit mode)",
856
967
  :type=>:numeric,
857
968
  :required=>false},
858
- :domain=>
859
- {:desc=>"The zone's name", :type=>:string, :required=>true},
860
- :master_ips=>
861
- {:desc=>
862
- "When type=slave, the zone's master DNS servers list, semicolon separated ",
863
- :type=>:string,
864
- :required=>false},
969
+ :type=>{:desc=>"master or slave", :type=>:string, :required=>true},
865
970
  :refresh_sec=>{:desc=>"", :type=>:numeric, :required=>false},
866
971
  :lpm_displaygroup=>
867
972
  {:desc=>
868
973
  "Display group in the Domain list inside the Linode DNS Manager",
869
974
  :type=>:string,
870
975
  :required=>false},
871
- :type=>{:desc=>"master or slave", :type=>:string, :required=>true},
976
+ :master_ips=>
977
+ {:desc=>
978
+ "When type=slave, the zone's master DNS servers list, semicolon separated ",
979
+ :type=>:string,
980
+ :required=>false},
872
981
  :axfr_ips=>
873
982
  {:desc=>
874
983
  "IP addresses allowed to AXFR the entire zone, semicolon separated",
@@ -904,18 +1013,18 @@ module LinodeAPI
904
1013
  :type=>:string,
905
1014
  :required=>false},
906
1015
  :weight=>{:desc=>"", :type=>:numeric, :required=>false},
907
- :ttl_sec=>
908
- {:desc=>"TTL. Leave as 0 to accept our default.",
909
- :type=>:numeric,
1016
+ :target=>
1017
+ {:desc=>
1018
+ "When Type=MX the hostname. When Type=CNAME the target of the alias. When Type=TXT the value of the record. \n\t\tWhen Type=A or AAAA the token of '[remote_addr]' will be substituted with the IP address of the request.",
1019
+ :type=>:string,
910
1020
  :required=>false},
911
1021
  :priority=>
912
1022
  {:desc=>"Priority for MX and SRV records, 0-255",
913
1023
  :type=>:numeric,
914
1024
  :required=>false},
915
- :target=>
916
- {:desc=>
917
- "When Type=MX the hostname. When Type=CNAME the target of the alias. When Type=TXT the value of the record. \n\t\tWhen Type=A or AAAA the token of '[remote_addr]' will be substituted with the IP address of the request.",
918
- :type=>:string,
1025
+ :ttl_sec=>
1026
+ {:desc=>"TTL. Leave as 0 to accept our default.",
1027
+ :type=>:numeric,
919
1028
  :required=>false},
920
1029
  :protocol=>
921
1030
  {:desc=>
@@ -940,18 +1049,18 @@ module LinodeAPI
940
1049
  :type=>:string,
941
1050
  :required=>false},
942
1051
  :weight=>{:desc=>"", :type=>:numeric, :required=>false},
943
- :ttl_sec=>
944
- {:desc=>"TTL. Leave as 0 to accept our default.",
945
- :type=>:numeric,
1052
+ :target=>
1053
+ {:desc=>
1054
+ "When Type=MX the hostname. When Type=CNAME the target of the alias. When Type=TXT the value of the record. \n\t\tWhen Type=A or AAAA the token of '[remote_addr]' will be substituted with the IP address of the request.",
1055
+ :type=>:string,
946
1056
  :required=>false},
947
1057
  :priority=>
948
1058
  {:desc=>"Priority for MX and SRV records, 0-255",
949
1059
  :type=>:numeric,
950
1060
  :required=>false},
951
- :target=>
952
- {:desc=>
953
- "When Type=MX the hostname. When Type=CNAME the target of the alias. When Type=TXT the value of the record. \n\t\tWhen Type=A or AAAA the token of '[remote_addr]' will be substituted with the IP address of the request.",
954
- :type=>:string,
1061
+ :ttl_sec=>
1062
+ {:desc=>"TTL. Leave as 0 to accept our default.",
1063
+ :type=>:numeric,
955
1064
  :required=>false},
956
1065
  :protocol=>
957
1066
  {:desc=>
@@ -1007,6 +1116,11 @@ module LinodeAPI
1007
1116
  {:desc=>"Debian, Ubuntu, Fedora, etc.",
1008
1117
  :type=>:string,
1009
1118
  :required=>false}}},
1119
+ :nodebalancers=>
1120
+ {:type=>:call,
1121
+ :desc=>"Returns NodeBalancer pricing information.",
1122
+ :throws=>[],
1123
+ :params=>{}},
1010
1124
  :distributions=>
1011
1125
  {:type=>:call,
1012
1126
  :desc=>"Returns a list of available Linux Distributions.",
@@ -1099,12 +1213,12 @@ module LinodeAPI
1099
1213
  "Whether this StackScript is published in the Library, for everyone to use",
1100
1214
  :type=>:boolean,
1101
1215
  :required=>false},
1216
+ :description=>{:desc=>"", :type=>:string, :required=>false},
1102
1217
  :distributionidlist=>
1103
1218
  {:desc=>
1104
1219
  "Comma delimited list of DistributionIDs that this script works on ",
1105
1220
  :type=>:string,
1106
- :required=>true},
1107
- :description=>{:desc=>"", :type=>:string, :required=>false}}},
1221
+ :required=>true}}},
1108
1222
  :delete=>
1109
1223
  {:type=>:call,
1110
1224
  :desc=>"",
@@ -1119,12 +1233,12 @@ module LinodeAPI
1119
1233
  {:rev_note=>{:desc=>"", :type=>:string, :required=>false},
1120
1234
  :script=>
1121
1235
  {:desc=>"The actual script", :type=>:string, :required=>false},
1122
- :description=>{:desc=>"", :type=>:string, :required=>false},
1123
1236
  :distributionidlist=>
1124
1237
  {:desc=>
1125
1238
  "Comma delimited list of DistributionIDs that this script works on ",
1126
1239
  :type=>:string,
1127
1240
  :required=>false},
1241
+ :description=>{:desc=>"", :type=>:string, :required=>false},
1128
1242
  :label=>
1129
1243
  {:desc=>"The Label for this StackScript",
1130
1244
  :type=>:string,
@@ -1153,17 +1267,55 @@ module LinodeAPI
1153
1267
  "Returns a data structure of the entire Linode API specification. This method does not require authorization.<br><br>For example: <a target=\"_blank\" href=\"https://api.linode.com/?api_action=api.spec\">https://api.linode.com/?api_action=api.spec</a>",
1154
1268
  :throws=>[],
1155
1269
  :params=>{}}}},
1270
+ :image=>
1271
+ {:type=>:group,
1272
+ :subs=>
1273
+ {:delete=>
1274
+ {:type=>:call,
1275
+ :desc=>"Deletes a gold-master image",
1276
+ :throws=>["NOTFOUND"],
1277
+ :params=>
1278
+ {:imageid=>
1279
+ {:desc=>"The ID of the gold-master image to delete",
1280
+ :type=>:numeric,
1281
+ :required=>true}}},
1282
+ :list=>
1283
+ {:type=>:call,
1284
+ :desc=>"Lists available gold-master images",
1285
+ :throws=>["NOTFOUND"],
1286
+ :params=>
1287
+ {:pending=>
1288
+ {:desc=>"Show images currently being created.",
1289
+ :type=>:numeric,
1290
+ :required=>false},
1291
+ :imageid=>
1292
+ {:desc=>"Request information for a specific gold-master image",
1293
+ :type=>:numeric,
1294
+ :required=>false}}}}},
1156
1295
  :user=>
1157
1296
  {:type=>:group,
1158
1297
  :subs=>
1159
1298
  {:getapikey=>
1160
1299
  {:type=>:call,
1161
1300
  :desc=>
1162
- "Returns a user's API key. If no API key exists, one is generated. This method does not require an api_key to be passed in.",
1163
- :throws=>[],
1301
+ "Authenticates a Linode Manager user against their username, password, and two-factor token (when enabled), and then returns a new API key, which can be used until it expires. The number of active keys is limited to 20.",
1302
+ :throws=>["AUTHFAIL", " NEEDTOKEN", " PASSWORDEXPIRED", " KEYLIMIT"],
1164
1303
  :params=>
1165
- {:password=>{:desc=>"", :type=>:string, :required=>true},
1166
- :username=>{:desc=>"", :type=>:string, :required=>true}}}}},
1304
+ {:label=>
1305
+ {:desc=>"An optional label for this key.",
1306
+ :type=>:string,
1307
+ :required=>false},
1308
+ :expires=>
1309
+ {:desc=>
1310
+ "Number of hours the key will remain valid, between 0 and 8760. 0 means no expiration. Defaults to 168.",
1311
+ :type=>:numeric,
1312
+ :required=>false},
1313
+ :username=>{:desc=>"", :type=>:string, :required=>true},
1314
+ :password=>{:desc=>"", :type=>:string, :required=>true},
1315
+ :token=>
1316
+ {:desc=>"Required when two-factor authentication is enabled.",
1317
+ :type=>:string,
1318
+ :required=>false}}}}},
1167
1319
  :test=>
1168
1320
  {:type=>:group,
1169
1321
  :subs=>
data/linodeapi.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'linodeapi'
3
- s.version = '0.0.2'
3
+ s.version = '0.0.4'
4
4
  s.date = Time.now.strftime("%Y-%m-%d")
5
5
 
6
6
  s.summary = 'Linode API wrapper'
@@ -13,13 +13,11 @@ Gem::Specification.new do |s|
13
13
  s.files = `git ls-files`.split
14
14
  s.test_files = `git ls-files spec/*`.split
15
15
 
16
- s.add_dependency 'httparty'
16
+ s.add_dependency 'httparty', '~> 0.13.0'
17
17
 
18
- s.add_development_dependency 'rubocop'
19
- s.add_development_dependency 'travis-lint'
20
- s.add_development_dependency 'rake'
21
- s.add_development_dependency 'coveralls'
22
- s.add_development_dependency 'rspec'
23
- s.add_development_dependency 'fuubar'
24
- s.add_development_dependency 'parser', '~> 2.1.0.pre1'
18
+ s.add_development_dependency 'rubocop', '~> 0.24.0'
19
+ s.add_development_dependency 'rake', '~> 10.3.2'
20
+ s.add_development_dependency 'coveralls', '~> 0.7.0'
21
+ s.add_development_dependency 'rspec', '~> 3.0.0'
22
+ s.add_development_dependency 'fuubar', '~> 2.0.0.rc1'
25
23
  end
metadata CHANGED
@@ -1,127 +1,99 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: linodeapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Les Aker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-27 00:00:00.000000000 Z
11
+ date: 2014-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0'
19
+ version: 0.13.0
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '0'
26
+ version: 0.13.0
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rubocop
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - ">="
32
- - !ruby/object:Gem::Version
33
- version: '0'
34
- type: :development
35
- prerelease: false
36
- version_requirements: !ruby/object:Gem::Requirement
37
- requirements:
38
- - - ">="
39
- - !ruby/object:Gem::Version
40
- version: '0'
41
- - !ruby/object:Gem::Dependency
42
- name: travis-lint
43
- requirement: !ruby/object:Gem::Requirement
44
- requirements:
45
- - - ">="
31
+ - - "~>"
46
32
  - !ruby/object:Gem::Version
47
- version: '0'
33
+ version: 0.24.0
48
34
  type: :development
49
35
  prerelease: false
50
36
  version_requirements: !ruby/object:Gem::Requirement
51
37
  requirements:
52
- - - ">="
38
+ - - "~>"
53
39
  - !ruby/object:Gem::Version
54
- version: '0'
40
+ version: 0.24.0
55
41
  - !ruby/object:Gem::Dependency
56
42
  name: rake
57
43
  requirement: !ruby/object:Gem::Requirement
58
44
  requirements:
59
- - - ">="
45
+ - - "~>"
60
46
  - !ruby/object:Gem::Version
61
- version: '0'
47
+ version: 10.3.2
62
48
  type: :development
63
49
  prerelease: false
64
50
  version_requirements: !ruby/object:Gem::Requirement
65
51
  requirements:
66
- - - ">="
52
+ - - "~>"
67
53
  - !ruby/object:Gem::Version
68
- version: '0'
54
+ version: 10.3.2
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: coveralls
71
57
  requirement: !ruby/object:Gem::Requirement
72
58
  requirements:
73
- - - ">="
59
+ - - "~>"
74
60
  - !ruby/object:Gem::Version
75
- version: '0'
61
+ version: 0.7.0
76
62
  type: :development
77
63
  prerelease: false
78
64
  version_requirements: !ruby/object:Gem::Requirement
79
65
  requirements:
80
- - - ">="
66
+ - - "~>"
81
67
  - !ruby/object:Gem::Version
82
- version: '0'
68
+ version: 0.7.0
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: rspec
85
71
  requirement: !ruby/object:Gem::Requirement
86
72
  requirements:
87
- - - ">="
73
+ - - "~>"
88
74
  - !ruby/object:Gem::Version
89
- version: '0'
75
+ version: 3.0.0
90
76
  type: :development
91
77
  prerelease: false
92
78
  version_requirements: !ruby/object:Gem::Requirement
93
79
  requirements:
94
- - - ">="
80
+ - - "~>"
95
81
  - !ruby/object:Gem::Version
96
- version: '0'
82
+ version: 3.0.0
97
83
  - !ruby/object:Gem::Dependency
98
84
  name: fuubar
99
- requirement: !ruby/object:Gem::Requirement
100
- requirements:
101
- - - ">="
102
- - !ruby/object:Gem::Version
103
- version: '0'
104
- type: :development
105
- prerelease: false
106
- version_requirements: !ruby/object:Gem::Requirement
107
- requirements:
108
- - - ">="
109
- - !ruby/object:Gem::Version
110
- version: '0'
111
- - !ruby/object:Gem::Dependency
112
- name: parser
113
85
  requirement: !ruby/object:Gem::Requirement
114
86
  requirements:
115
87
  - - "~>"
116
88
  - !ruby/object:Gem::Version
117
- version: 2.1.0.pre1
89
+ version: 2.0.0.rc1
118
90
  type: :development
119
91
  prerelease: false
120
92
  version_requirements: !ruby/object:Gem::Requirement
121
93
  requirements:
122
94
  - - "~>"
123
95
  - !ruby/object:Gem::Version
124
- version: 2.1.0.pre1
96
+ version: 2.0.0.rc1
125
97
  description: Wraps the Linode API with multiple levels of interaction
126
98
  email: me@lesaker.org
127
99
  executables: []
@@ -133,7 +105,6 @@ files:
133
105
  - ".rubocop.yml"
134
106
  - ".travis.yml"
135
107
  - Gemfile
136
- - Gemfile.lock
137
108
  - LICENSE
138
109
  - README.md
139
110
  - Rakefile
@@ -145,35 +116,6 @@ files:
145
116
  - linodeapi.gemspec
146
117
  - spec/linodeapi_spec.rb
147
118
  - spec/spec_helper.rb
148
- - vendor/cache/ast-1.1.0.gem
149
- - vendor/cache/coveralls-0.7.0.gem
150
- - vendor/cache/diff-lcs-1.2.5.gem
151
- - vendor/cache/docile-1.1.2.gem
152
- - vendor/cache/fuubar-1.3.2.gem
153
- - vendor/cache/hashr-0.0.22.gem
154
- - vendor/cache/httparty-0.12.0.gem
155
- - vendor/cache/json-1.8.1.gem
156
- - vendor/cache/mime-types-2.1.gem
157
- - vendor/cache/multi_json-1.8.4.gem
158
- - vendor/cache/multi_xml-0.5.5.gem
159
- - vendor/cache/parser-2.1.4.gem
160
- - vendor/cache/powerpack-0.0.9.gem
161
- - vendor/cache/rainbow-1.99.2.gem
162
- - vendor/cache/rake-10.1.1.gem
163
- - vendor/cache/rest-client-1.6.7.gem
164
- - vendor/cache/rspec-2.14.1.gem
165
- - vendor/cache/rspec-core-2.14.7.gem
166
- - vendor/cache/rspec-expectations-2.14.4.gem
167
- - vendor/cache/rspec-mocks-2.14.4.gem
168
- - vendor/cache/rubocop-0.17.0.gem
169
- - vendor/cache/ruby-progressbar-1.4.1.gem
170
- - vendor/cache/simplecov-0.8.2.gem
171
- - vendor/cache/simplecov-html-0.8.0.gem
172
- - vendor/cache/slop-3.4.7.gem
173
- - vendor/cache/term-ansicolor-1.2.2.gem
174
- - vendor/cache/thor-0.18.1.gem
175
- - vendor/cache/tins-0.13.1.gem
176
- - vendor/cache/travis-lint-1.7.0.gem
177
119
  homepage: https://github.com/akerl/linodeapi
178
120
  licenses:
179
121
  - MIT
data/Gemfile.lock DELETED
@@ -1,76 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- linodeapi (0.0.2)
5
- httparty
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- ast (1.1.0)
11
- coveralls (0.7.0)
12
- multi_json (~> 1.3)
13
- rest-client
14
- simplecov (>= 0.7)
15
- term-ansicolor
16
- thor
17
- diff-lcs (1.2.5)
18
- docile (1.1.2)
19
- fuubar (1.3.2)
20
- rspec (>= 2.14.0, < 3.1.0)
21
- ruby-progressbar (~> 1.3)
22
- hashr (0.0.22)
23
- httparty (0.12.0)
24
- json (~> 1.8)
25
- multi_xml (>= 0.5.2)
26
- json (1.8.1)
27
- mime-types (2.1)
28
- multi_json (1.8.4)
29
- multi_xml (0.5.5)
30
- parser (2.1.4)
31
- ast (~> 1.1)
32
- slop (~> 3.4, >= 3.4.5)
33
- powerpack (0.0.9)
34
- rainbow (1.99.2)
35
- rake (10.1.1)
36
- rest-client (1.6.7)
37
- mime-types (>= 1.16)
38
- rspec (2.14.1)
39
- rspec-core (~> 2.14.0)
40
- rspec-expectations (~> 2.14.0)
41
- rspec-mocks (~> 2.14.0)
42
- rspec-core (2.14.7)
43
- rspec-expectations (2.14.4)
44
- diff-lcs (>= 1.1.3, < 2.0)
45
- rspec-mocks (2.14.4)
46
- rubocop (0.17.0)
47
- json (~> 1.8)
48
- parser (~> 2.1.3)
49
- powerpack (~> 0.0.6)
50
- rainbow (~> 1.99.1)
51
- ruby-progressbar (1.4.1)
52
- simplecov (0.8.2)
53
- docile (~> 1.1.0)
54
- multi_json
55
- simplecov-html (~> 0.8.0)
56
- simplecov-html (0.8.0)
57
- slop (3.4.7)
58
- term-ansicolor (1.2.2)
59
- tins (~> 0.8)
60
- thor (0.18.1)
61
- tins (0.13.1)
62
- travis-lint (1.7.0)
63
- hashr (~> 0.0.22)
64
-
65
- PLATFORMS
66
- ruby
67
-
68
- DEPENDENCIES
69
- coveralls
70
- fuubar
71
- linodeapi!
72
- parser (~> 2.1.0.pre1)
73
- rake
74
- rspec
75
- rubocop
76
- travis-lint
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file