vultr 1.0.0 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3ebb61a34678162bb7e0884bf72d3015f41c0631599406821d51756d7b810779
4
- data.tar.gz: f456cc5ade9358ea27bfa0b14a2192020517d69db788ed7487d1f58d69f2acc2
3
+ metadata.gz: 9f3fe8cbbffe7e477b77e8ac4fa7d2210193c143847b9ec3587e8fb5e3822323
4
+ data.tar.gz: 7d7f8e763854640c54ff1ed065c1e490a08b16aa3b5729689af2f3d9c33f2084
5
5
  SHA512:
6
- metadata.gz: e250cf98c8fd94545aec82859c149c431ffb9007076fbfe05898e0b25d4ddaff5e805c2a39563f58b992e7c273d0f4ff6ff074fbc5dc968b7b3d70e7f3bbaa73
7
- data.tar.gz: '05628e57dad09c2983a933c25ee648b684b26a88ad34c2d9d2b46131e31209d2d3b495c4273aa318fd82091e0cb3c540c7753741e65c47b5741149546e26b57f'
6
+ metadata.gz: 750d7e267c9b4c113a9a265acdebca5049d9a5fa89f2574de0a87d456987ff408deb0ad00e7e7141f1a47e745a56b2104f25fef08e8030823b75a356a2f84556
7
+ data.tar.gz: 73795f5b4902a566f1b2f8875b8bd4d375727c0b5d3e0a35d66dbae73151b07b8ab70331a3349447446c4d8ed6dab78ef8c1d4715e22aafb5e2df36957476801
@@ -12,7 +12,12 @@ jobs:
12
12
  runs-on: ubuntu-latest
13
13
  strategy:
14
14
  matrix:
15
- ruby: ["2.4", "2.5", "2.6", "2.7", "3.0"]
15
+ ruby: ["3.0", "3.1", "3.2", "3.3"]
16
+ gemfile: ["faraday_1", "faraday_2"]
17
+
18
+ env:
19
+ BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/${{ matrix.gemfile }}.gemfile
20
+ BUNDLE_PATH_RELATIVE_TO_CWD: true
16
21
 
17
22
  steps:
18
23
  - uses: actions/checkout@master
@@ -23,6 +28,7 @@ jobs:
23
28
  ruby-version: ${{ matrix.ruby }}
24
29
  bundler: default
25
30
  bundler-cache: true
31
+ rubygems: latest
26
32
 
27
33
  - name: StandardRb check
28
34
  run: bundle exec standardrb
data/.standard.yml ADDED
@@ -0,0 +1 @@
1
+ ruby_version: 2.7
data/Appraisals ADDED
@@ -0,0 +1,8 @@
1
+ appraise "faraday-1" do
2
+ gem "faraday", "~> 1.10"
3
+ gem "base64", "~> 0.2.0"
4
+ end
5
+
6
+ appraise "faraday-2" do
7
+ gem "faraday", "~> 2.0"
8
+ end
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ == 2.0.0 / 2024-5-31
2
+
3
+ * Drop Ruby 2.7 and older support
4
+ * Add Faraday 2.0 support
5
+
1
6
  == 1.0.0
2
7
 
3
8
  * Vultr API v2 support
data/Gemfile CHANGED
@@ -5,3 +5,4 @@ gemspec
5
5
  gem "rake"
6
6
  gem "minitest", ">= 5.0.5"
7
7
  gem "standard"
8
+ gem "appraisal"
data/README.md CHANGED
@@ -8,7 +8,7 @@ The easiest and most complete rubygem for [Vultr](https://www.vultr.com). Curren
8
8
 
9
9
  Add this line to your application's Gemfile:
10
10
 
11
- gem 'vultr'
11
+ gem 'vultr', github: "excid3/vultr.rb"
12
12
 
13
13
  And then execute:
14
14
 
@@ -0,0 +1,12 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rake"
6
+ gem "minitest", ">= 5.0.5"
7
+ gem "standard"
8
+ gem "appraisal"
9
+ gem "faraday", "~> 1.10"
10
+ gem "base64", "~> 0.2.0"
11
+
12
+ gemspec path: "../"
@@ -0,0 +1,102 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ vultr (2.0.0)
5
+ faraday (>= 1.0, < 3.0)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ appraisal (2.5.0)
11
+ bundler
12
+ rake
13
+ thor (>= 0.14.0)
14
+ ast (2.4.2)
15
+ base64 (0.2.0)
16
+ faraday (1.10.3)
17
+ faraday-em_http (~> 1.0)
18
+ faraday-em_synchrony (~> 1.0)
19
+ faraday-excon (~> 1.1)
20
+ faraday-httpclient (~> 1.0)
21
+ faraday-multipart (~> 1.0)
22
+ faraday-net_http (~> 1.0)
23
+ faraday-net_http_persistent (~> 1.0)
24
+ faraday-patron (~> 1.0)
25
+ faraday-rack (~> 1.0)
26
+ faraday-retry (~> 1.0)
27
+ ruby2_keywords (>= 0.0.4)
28
+ faraday-em_http (1.0.0)
29
+ faraday-em_synchrony (1.0.0)
30
+ faraday-excon (1.1.0)
31
+ faraday-httpclient (1.0.1)
32
+ faraday-multipart (1.0.4)
33
+ multipart-post (~> 2)
34
+ faraday-net_http (1.0.1)
35
+ faraday-net_http_persistent (1.2.0)
36
+ faraday-patron (1.0.0)
37
+ faraday-rack (1.0.0)
38
+ faraday-retry (1.0.3)
39
+ json (2.7.2)
40
+ language_server-protocol (3.17.0.3)
41
+ lint_roller (1.1.0)
42
+ minitest (5.23.1)
43
+ multipart-post (2.4.1)
44
+ parallel (1.24.0)
45
+ parser (3.3.2.0)
46
+ ast (~> 2.4.1)
47
+ racc
48
+ racc (1.8.0)
49
+ rainbow (3.1.1)
50
+ rake (13.2.1)
51
+ regexp_parser (2.9.2)
52
+ rexml (3.2.8)
53
+ strscan (>= 3.0.9)
54
+ rubocop (1.63.5)
55
+ json (~> 2.3)
56
+ language_server-protocol (>= 3.17.0)
57
+ parallel (~> 1.10)
58
+ parser (>= 3.3.0.2)
59
+ rainbow (>= 2.2.2, < 4.0)
60
+ regexp_parser (>= 1.8, < 3.0)
61
+ rexml (>= 3.2.5, < 4.0)
62
+ rubocop-ast (>= 1.31.1, < 2.0)
63
+ ruby-progressbar (~> 1.7)
64
+ unicode-display_width (>= 2.4.0, < 3.0)
65
+ rubocop-ast (1.31.3)
66
+ parser (>= 3.3.1.0)
67
+ rubocop-performance (1.21.0)
68
+ rubocop (>= 1.48.1, < 2.0)
69
+ rubocop-ast (>= 1.31.1, < 2.0)
70
+ ruby-progressbar (1.13.0)
71
+ ruby2_keywords (0.0.5)
72
+ standard (1.36.0)
73
+ language_server-protocol (~> 3.17.0.2)
74
+ lint_roller (~> 1.0)
75
+ rubocop (~> 1.63.0)
76
+ standard-custom (~> 1.0.0)
77
+ standard-performance (~> 1.4)
78
+ standard-custom (1.0.2)
79
+ lint_roller (~> 1.0)
80
+ rubocop (~> 1.50)
81
+ standard-performance (1.4.0)
82
+ lint_roller (~> 1.1)
83
+ rubocop-performance (~> 1.21.0)
84
+ strscan (3.1.0)
85
+ thor (1.3.1)
86
+ unicode-display_width (2.5.0)
87
+
88
+ PLATFORMS
89
+ ruby
90
+ x86_64-darwin-23
91
+
92
+ DEPENDENCIES
93
+ appraisal
94
+ base64 (~> 0.2.0)
95
+ faraday (~> 1.10)
96
+ minitest (>= 5.0.5)
97
+ rake
98
+ standard
99
+ vultr!
100
+
101
+ BUNDLED WITH
102
+ 2.5.10
@@ -0,0 +1,11 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rake"
6
+ gem "minitest", ">= 5.0.5"
7
+ gem "standard"
8
+ gem "appraisal"
9
+ gem "faraday", "~> 2.0"
10
+
11
+ gemspec path: "../"
@@ -0,0 +1,82 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ vultr (2.0.0)
5
+ faraday (>= 1.0, < 3.0)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ appraisal (2.5.0)
11
+ bundler
12
+ rake
13
+ thor (>= 0.14.0)
14
+ ast (2.4.2)
15
+ faraday (2.9.0)
16
+ faraday-net_http (>= 2.0, < 3.2)
17
+ faraday-net_http (3.1.0)
18
+ net-http
19
+ json (2.7.2)
20
+ language_server-protocol (3.17.0.3)
21
+ lint_roller (1.1.0)
22
+ minitest (5.23.1)
23
+ net-http (0.4.1)
24
+ uri
25
+ parallel (1.24.0)
26
+ parser (3.3.2.0)
27
+ ast (~> 2.4.1)
28
+ racc
29
+ racc (1.8.0)
30
+ rainbow (3.1.1)
31
+ rake (13.2.1)
32
+ regexp_parser (2.9.2)
33
+ rexml (3.2.8)
34
+ strscan (>= 3.0.9)
35
+ rubocop (1.63.5)
36
+ json (~> 2.3)
37
+ language_server-protocol (>= 3.17.0)
38
+ parallel (~> 1.10)
39
+ parser (>= 3.3.0.2)
40
+ rainbow (>= 2.2.2, < 4.0)
41
+ regexp_parser (>= 1.8, < 3.0)
42
+ rexml (>= 3.2.5, < 4.0)
43
+ rubocop-ast (>= 1.31.1, < 2.0)
44
+ ruby-progressbar (~> 1.7)
45
+ unicode-display_width (>= 2.4.0, < 3.0)
46
+ rubocop-ast (1.31.3)
47
+ parser (>= 3.3.1.0)
48
+ rubocop-performance (1.21.0)
49
+ rubocop (>= 1.48.1, < 2.0)
50
+ rubocop-ast (>= 1.31.1, < 2.0)
51
+ ruby-progressbar (1.13.0)
52
+ standard (1.36.0)
53
+ language_server-protocol (~> 3.17.0.2)
54
+ lint_roller (~> 1.0)
55
+ rubocop (~> 1.63.0)
56
+ standard-custom (~> 1.0.0)
57
+ standard-performance (~> 1.4)
58
+ standard-custom (1.0.2)
59
+ lint_roller (~> 1.0)
60
+ rubocop (~> 1.50)
61
+ standard-performance (1.4.0)
62
+ lint_roller (~> 1.1)
63
+ rubocop-performance (~> 1.21.0)
64
+ strscan (3.1.0)
65
+ thor (1.3.1)
66
+ unicode-display_width (2.5.0)
67
+ uri (0.13.0)
68
+
69
+ PLATFORMS
70
+ ruby
71
+ x86_64-darwin-23
72
+
73
+ DEPENDENCIES
74
+ appraisal
75
+ faraday (~> 2.0)
76
+ minitest (>= 5.0.5)
77
+ rake
78
+ standard
79
+ vultr!
80
+
81
+ BUNDLED WITH
82
+ 2.5.10
data/lib/vultr/client.rb CHANGED
@@ -101,7 +101,7 @@ module Vultr
101
101
  conn.request :authorization, :Bearer, api_key
102
102
  conn.request :json
103
103
 
104
- conn.response :dates
104
+ conn.response :vultr
105
105
  conn.response :json, content_type: "application/json"
106
106
 
107
107
  conn.adapter adapter, @stubs
@@ -0,0 +1,32 @@
1
+ require "time"
2
+
3
+ module Vultr
4
+ class Middleware < Faraday::Middleware
5
+ ISO_DATE_FORMAT = /\A\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|((\+|-)\d{2}:?\d{2}))\Z/xm
6
+
7
+ # This method will be called when the response is being processed.
8
+ # You can alter it as you like, accessing things like response_body, response_headers, and more.
9
+ # Refer to Faraday::Env for a list of accessible fields:
10
+ # https://github.com/lostisland/faraday/blob/main/lib/faraday/options/env.rb
11
+ #
12
+ # @param env [Faraday::Env] the environment of the response being processed.
13
+ def on_complete(env)
14
+ parse_dates! env[:body]
15
+ end
16
+
17
+ private
18
+
19
+ def parse_dates!(value)
20
+ case value
21
+ when Hash
22
+ value.each { |key, element| value[key] = parse_dates!(element) }
23
+ when Array
24
+ value.each_with_index { |element, index| value[index] = parse_dates!(element) }
25
+ when ISO_DATE_FORMAT
26
+ Time.parse(value)
27
+ else
28
+ value
29
+ end
30
+ end
31
+ end
32
+ end
data/lib/vultr/object.rb CHANGED
@@ -3,7 +3,7 @@ require "ostruct"
3
3
  module Vultr
4
4
  class Object < OpenStruct
5
5
  def initialize(attributes)
6
- super to_ostruct(attributes)
6
+ super(to_ostruct(attributes))
7
7
  end
8
8
 
9
9
  def to_ostruct(obj)
data/lib/vultr/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Vultr
2
- VERSION = "1.0.0"
2
+ VERSION = "2.0.0"
3
3
  end
data/lib/vultr.rb CHANGED
@@ -1,11 +1,11 @@
1
- require "faraday"
2
- require "faraday_middleware"
3
1
  require "vultr/version"
2
+ require "faraday"
4
3
 
5
4
  module Vultr
6
5
  autoload :Client, "vultr/client"
7
6
  autoload :Collection, "vultr/collection"
8
7
  autoload :Error, "vultr/error"
8
+ autoload :Middleware, "vultr/middleware"
9
9
  autoload :Resource, "vultr/resource"
10
10
  autoload :Object, "vultr/object"
11
11
 
@@ -54,4 +54,6 @@ module Vultr
54
54
  autoload :SshKey, "vultr/objects/ssh_key"
55
55
  autoload :StartupScript, "vultr/objects/startup_script"
56
56
  autoload :User, "vultr/objects/user"
57
+
58
+ Faraday::Response.register_middleware vultr: Middleware
57
59
  end
data/vultr.gemspec CHANGED
@@ -7,8 +7,8 @@ require "vultr/version"
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "vultr"
9
9
  s.version = Vultr::VERSION
10
- s.authors = ["Gao Jiangmiao"]
11
- s.email = ["tolbkni@gmail.com"]
10
+ s.authors = ["Gao Jiangmiao", "Chris Oliver"]
11
+ s.email = ["tolbkni@gmail.com", "excid3@gmail.com"]
12
12
  s.summary = "Ruby bindings for VULTR API."
13
13
  s.description = "Ruby bindings for VULTR API. VULTR APIs can be found here: https://www.vultr.com/api/"
14
14
  s.homepage = "https://github.com/tolbkni/vultr.rb"
@@ -16,11 +16,9 @@ Gem::Specification.new do |s|
16
16
 
17
17
  s.files = `git ls-files -z`.split("\x0")
18
18
  s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
- s.test_files = s.files.grep(%r{^(test|spec|features)/})
20
19
  s.require_paths = ["lib"]
21
20
 
22
- s.required_ruby_version = ">= 2.4"
21
+ s.required_ruby_version = ">= 3.0"
23
22
 
24
- s.add_dependency "faraday", "~> 1.7"
25
- s.add_dependency "faraday_middleware", "~> 1.1"
23
+ s.add_dependency "faraday", ">= 1.0", "< 3.0"
26
24
  end
metadata CHANGED
@@ -1,46 +1,40 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vultr
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gao Jiangmiao
8
+ - Chris Oliver
8
9
  autorequire:
9
10
  bindir: bin
10
11
  cert_chain: []
11
- date: 2021-09-06 00:00:00.000000000 Z
12
+ date: 2024-05-31 00:00:00.000000000 Z
12
13
  dependencies:
13
14
  - !ruby/object:Gem::Dependency
14
15
  name: faraday
15
16
  requirement: !ruby/object:Gem::Requirement
16
17
  requirements:
17
- - - "~>"
18
+ - - ">="
18
19
  - !ruby/object:Gem::Version
19
- version: '1.7'
20
- type: :runtime
21
- prerelease: false
22
- version_requirements: !ruby/object:Gem::Requirement
23
- requirements:
24
- - - "~>"
20
+ version: '1.0'
21
+ - - "<"
25
22
  - !ruby/object:Gem::Version
26
- version: '1.7'
27
- - !ruby/object:Gem::Dependency
28
- name: faraday_middleware
29
- requirement: !ruby/object:Gem::Requirement
30
- requirements:
31
- - - "~>"
32
- - !ruby/object:Gem::Version
33
- version: '1.1'
23
+ version: '3.0'
34
24
  type: :runtime
35
25
  prerelease: false
36
26
  version_requirements: !ruby/object:Gem::Requirement
37
27
  requirements:
38
- - - "~>"
28
+ - - ">="
29
+ - !ruby/object:Gem::Version
30
+ version: '1.0'
31
+ - - "<"
39
32
  - !ruby/object:Gem::Version
40
- version: '1.1'
33
+ version: '3.0'
41
34
  description: 'Ruby bindings for VULTR API. VULTR APIs can be found here: https://www.vultr.com/api/'
42
35
  email:
43
36
  - tolbkni@gmail.com
37
+ - excid3@gmail.com
44
38
  executables:
45
39
  - console
46
40
  - setup
@@ -50,7 +44,8 @@ extra_rdoc_files: []
50
44
  files:
51
45
  - ".github/workflows/ci.yml"
52
46
  - ".gitignore"
53
- - ".travis.yml"
47
+ - ".standard.yml"
48
+ - Appraisals
54
49
  - CHANGELOG.md
55
50
  - Gemfile
56
51
  - LICENSE.txt
@@ -59,10 +54,15 @@ files:
59
54
  - bin/console
60
55
  - bin/setup
61
56
  - bin/test
57
+ - gemfiles/faraday_1.gemfile
58
+ - gemfiles/faraday_1.gemfile.lock
59
+ - gemfiles/faraday_2.gemfile
60
+ - gemfiles/faraday_2.gemfile.lock
62
61
  - lib/vultr.rb
63
62
  - lib/vultr/client.rb
64
63
  - lib/vultr/collection.rb
65
64
  - lib/vultr/error.rb
65
+ - lib/vultr/middleware.rb
66
66
  - lib/vultr/object.rb
67
67
  - lib/vultr/objects/account.rb
68
68
  - lib/vultr/objects/application.rb
@@ -284,178 +284,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
284
284
  requirements:
285
285
  - - ">="
286
286
  - !ruby/object:Gem::Version
287
- version: '2.4'
287
+ version: '3.0'
288
288
  required_rubygems_version: !ruby/object:Gem::Requirement
289
289
  requirements:
290
290
  - - ">="
291
291
  - !ruby/object:Gem::Version
292
292
  version: '0'
293
293
  requirements: []
294
- rubygems_version: 3.2.22
294
+ rubygems_version: 3.5.10
295
295
  signing_key:
296
296
  specification_version: 4
297
297
  summary: Ruby bindings for VULTR API.
298
- test_files:
299
- - test/fixtures/account/info.json
300
- - test/fixtures/applications/list.json
301
- - test/fixtures/backups/list.json
302
- - test/fixtures/backups/retrieve.json
303
- - test/fixtures/bare_metals/bandwidth.json
304
- - test/fixtures/bare_metals/create.json
305
- - test/fixtures/bare_metals/list.json
306
- - test/fixtures/bare_metals/list_ipv4.json
307
- - test/fixtures/bare_metals/list_ipv6.json
308
- - test/fixtures/bare_metals/reinstall.json
309
- - test/fixtures/bare_metals/retrieve.json
310
- - test/fixtures/bare_metals/update.json
311
- - test/fixtures/bare_metals/upgrades.json
312
- - test/fixtures/bare_metals/user_data.json
313
- - test/fixtures/bare_metals/vnc.json
314
- - test/fixtures/block_storage/attach.json
315
- - test/fixtures/block_storage/create.json
316
- - test/fixtures/block_storage/detach.json
317
- - test/fixtures/block_storage/list.json
318
- - test/fixtures/block_storage/retrieve.json
319
- - test/fixtures/domains/create.json
320
- - test/fixtures/domains/dnssec.json
321
- - test/fixtures/domains/list.json
322
- - test/fixtures/domains/record.json
323
- - test/fixtures/domains/records.json
324
- - test/fixtures/domains/retrieve.json
325
- - test/fixtures/domains/soa.json
326
- - test/fixtures/firewall/create.json
327
- - test/fixtures/firewall/create_rule.json
328
- - test/fixtures/firewall/delete.json
329
- - test/fixtures/firewall/delete_rule.json
330
- - test/fixtures/firewall/list.json
331
- - test/fixtures/firewall/list_rules.json
332
- - test/fixtures/firewall/retrieve.json
333
- - test/fixtures/firewall/retrieve_rule.json
334
- - test/fixtures/firewall/update.json
335
- - test/fixtures/instances/attach_iso.json
336
- - test/fixtures/instances/attach_private_network.json
337
- - test/fixtures/instances/backup_schedule.json
338
- - test/fixtures/instances/bandwidth.json
339
- - test/fixtures/instances/create.json
340
- - test/fixtures/instances/create_ipv4_reverse.json
341
- - test/fixtures/instances/create_ipv6_reverse.json
342
- - test/fixtures/instances/delete.json
343
- - test/fixtures/instances/delete_ipv4.json
344
- - test/fixtures/instances/delete_ipv6.json
345
- - test/fixtures/instances/detach_iso.json
346
- - test/fixtures/instances/detach_private_network.json
347
- - test/fixtures/instances/halt.json
348
- - test/fixtures/instances/halt_instances.json
349
- - test/fixtures/instances/ipv4.json
350
- - test/fixtures/instances/ipv6_reverse.json
351
- - test/fixtures/instances/iso.json
352
- - test/fixtures/instances/list.json
353
- - test/fixtures/instances/list_ipv4.json
354
- - test/fixtures/instances/list_ipv6.json
355
- - test/fixtures/instances/list_private_networks.json
356
- - test/fixtures/instances/neighbors.json
357
- - test/fixtures/instances/reboot.json
358
- - test/fixtures/instances/reboot_instances.json
359
- - test/fixtures/instances/reinstall.json
360
- - test/fixtures/instances/restore.json
361
- - test/fixtures/instances/retrieve.json
362
- - test/fixtures/instances/set_backup_schedule.json
363
- - test/fixtures/instances/set_default_reverse_dns_entry.json
364
- - test/fixtures/instances/start.json
365
- - test/fixtures/instances/start_instances.json
366
- - test/fixtures/instances/update.json
367
- - test/fixtures/instances/upgrades.json
368
- - test/fixtures/instances/user_data.json
369
- - test/fixtures/isos/create.json
370
- - test/fixtures/isos/list.json
371
- - test/fixtures/isos/list_public.json
372
- - test/fixtures/isos/retrieve.json
373
- - test/fixtures/kubernetes/config.json
374
- - test/fixtures/kubernetes/create.json
375
- - test/fixtures/kubernetes/create_node_pool.json
376
- - test/fixtures/kubernetes/list.json
377
- - test/fixtures/kubernetes/list_node_pools.json
378
- - test/fixtures/kubernetes/list_resources.json
379
- - test/fixtures/kubernetes/retrieve.json
380
- - test/fixtures/kubernetes/retrieve_node_pool.json
381
- - test/fixtures/kubernetes/update_node_pool.json
382
- - test/fixtures/load_balancers/create.json
383
- - test/fixtures/load_balancers/create_forwarding_rule.json
384
- - test/fixtures/load_balancers/delete.json
385
- - test/fixtures/load_balancers/delete_forwarding_rule.json
386
- - test/fixtures/load_balancers/list.json
387
- - test/fixtures/load_balancers/list_firewall_rules.json
388
- - test/fixtures/load_balancers/list_forwarding_rules.json
389
- - test/fixtures/load_balancers/retrieve.json
390
- - test/fixtures/load_balancers/retrieve_firewall_rule.json
391
- - test/fixtures/load_balancers/retrieve_forwarding_rule.json
392
- - test/fixtures/load_balancers/update.json
393
- - test/fixtures/object_storage/create.json
394
- - test/fixtures/object_storage/delete.json
395
- - test/fixtures/object_storage/list.json
396
- - test/fixtures/object_storage/list_clusters.json
397
- - test/fixtures/object_storage/regenerate_keys.json
398
- - test/fixtures/object_storage/retrieve.json
399
- - test/fixtures/object_storage/update.json
400
- - test/fixtures/operating_systems/list.json
401
- - test/fixtures/plans/list.json
402
- - test/fixtures/plans/list_metal.json
403
- - test/fixtures/private_networks/create.json
404
- - test/fixtures/private_networks/delete.json
405
- - test/fixtures/private_networks/list.json
406
- - test/fixtures/private_networks/retrieve.json
407
- - test/fixtures/private_networks/update.json
408
- - test/fixtures/regions/list.json
409
- - test/fixtures/regions/list_availability.json
410
- - test/fixtures/reserved_ips/attach.json
411
- - test/fixtures/reserved_ips/convert.json
412
- - test/fixtures/reserved_ips/create.json
413
- - test/fixtures/reserved_ips/delete.json
414
- - test/fixtures/reserved_ips/detach.json
415
- - test/fixtures/reserved_ips/list.json
416
- - test/fixtures/reserved_ips/retrieve.json
417
- - test/fixtures/snapshots/create.json
418
- - test/fixtures/snapshots/create_from_url.json
419
- - test/fixtures/snapshots/delete.json
420
- - test/fixtures/snapshots/list.json
421
- - test/fixtures/snapshots/retrieve.json
422
- - test/fixtures/snapshots/update.json
423
- - test/fixtures/ssh_keys/create.json
424
- - test/fixtures/ssh_keys/delete.json
425
- - test/fixtures/ssh_keys/list.json
426
- - test/fixtures/ssh_keys/retrieve.json
427
- - test/fixtures/ssh_keys/update.json
428
- - test/fixtures/startup_scripts/create.json
429
- - test/fixtures/startup_scripts/delete.json
430
- - test/fixtures/startup_scripts/list.json
431
- - test/fixtures/startup_scripts/retrieve.json
432
- - test/fixtures/startup_scripts/update.json
433
- - test/fixtures/users/create.json
434
- - test/fixtures/users/delete.json
435
- - test/fixtures/users/list.json
436
- - test/fixtures/users/retrieve.json
437
- - test/fixtures/users/update.json
438
- - test/test_helper.rb
439
- - test/vultr/client_test.rb
440
- - test/vultr/object_test.rb
441
- - test/vultr/resources/account_test.rb
442
- - test/vultr/resources/applications_test.rb
443
- - test/vultr/resources/backups_test.rb
444
- - test/vultr/resources/bare_metal_test.rb
445
- - test/vultr/resources/block_storage_test.rb
446
- - test/vultr/resources/dns_test.rb
447
- - test/vultr/resources/firewall_test.rb
448
- - test/vultr/resources/instances_test.rb
449
- - test/vultr/resources/iso_test.rb
450
- - test/vultr/resources/kubernetes_test.rb
451
- - test/vultr/resources/load_balancers_test.rb
452
- - test/vultr/resources/object_storage_test.rb
453
- - test/vultr/resources/operating_systems_test.rb
454
- - test/vultr/resources/plans_test.rb
455
- - test/vultr/resources/private_networks_test.rb
456
- - test/vultr/resources/regions_test.rb
457
- - test/vultr/resources/reserved_ips_test.rb
458
- - test/vultr/resources/snapshots_test.rb
459
- - test/vultr/resources/ssh_keys_test.rb
460
- - test/vultr/resources/startup_scripts_test.rb
461
- - test/vultr/resources/users_test.rb
298
+ test_files: []
data/.travis.yml DELETED
@@ -1,26 +0,0 @@
1
- language: ruby
2
- cache: bundler
3
-
4
- rvm:
5
- - 1.9.3
6
- - 2.0.0
7
- - 2.1
8
- - 2.2
9
- - 2.3
10
- - 2.4
11
- - 2.5
12
-
13
- env:
14
- matrix:
15
- - SSL=no
16
- - SSL=yes
17
- deploy:
18
- provider: rubygems
19
- api_key:
20
- secure: dtLOQS0Obgd1CyJAnX2xU0P/VWRJHUFTXY0PmnnH2y0UBkY4uMTYwGVcy1vSkT7YAK6hUUlR1cMpM4lwiw+6Da2GMX8m4uZzQCAqH7h+0q4RB0H5rVedyr6X0pNMiPyT2S2F+ZwIVevAt8oBzgR2JUBMED+b2ThzJajHdfVOxbI=
21
- gem: vultr
22
- on:
23
- tags: true
24
- repo: tolbkni/vultr.rb
25
- rvm: 2.4
26
- condition: '"$SSL" = "yes"'