civo 1.3.1 → 1.4.1

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: 6d54855bb825d0e30ed460901c386983618a7ef2ddc26af100c53e303d83081f
4
- data.tar.gz: b0417508d8d3dc9691dd2c9012c12c3e6e111929654c7371b3ee5327edff99ce
3
+ metadata.gz: e084b280bd55cd396639170239ac7b600b9df43acdcc762d531d19d72e2b7628
4
+ data.tar.gz: 51dcc52c60c1f8dfa860f41ce759ae85b5e8f00378b43859444629833d9c6f1e
5
5
  SHA512:
6
- metadata.gz: 981222545b2b4df48f4e90f2a6a008421fe29770963644b69917e36c3ed419ab9f67dccab47f8b4f4f58ac98721fe6872320b7bece290a92cd62376396e78cb3
7
- data.tar.gz: a5255ccb1465f659e180bf111174ecac366d9321b00b6f292461f1957057ad1d1b8414f2e246c1c5a5e6c66dc1070719780d6c50c5cc038c3c72b81514a1713f
6
+ metadata.gz: 739149398fac0d3dfe47b683d0655c1be64f7357da63be818a1ccd2cff5007623e25745c65c6dfb0a95b3d60dcfc5b3ed05f8b1fd909b86dedbe9e6c7ca4e1c6
7
+ data.tar.gz: df110e28778fd1ab79398036ed6f5fdc8ae9e98f8ebd491668dadcf25e70c4dfa721c7ffe1687aed357fd3e688fa38c3a959ac56066623ae88761ed6635d9666
@@ -0,0 +1,12 @@
1
+ module Civo
2
+ class DiskImage < Base
3
+ get :all, "/v#{ENV["CIVO_API_VERSION"] || "2"}/disk_images"
4
+ get :find, "/v#{ENV["CIVO_API_VERSION"] || "2"}/disk_images/:id"
5
+
6
+ def to_partial_path
7
+ "civo/disk_image"
8
+ end
9
+ end
10
+
11
+ class DiskImage < DiskImage ; end
12
+ end
@@ -9,4 +9,6 @@ module Civo
9
9
  "civo/dns_domain"
10
10
  end
11
11
  end
12
+
13
+ class DNSDomain < DnsDomain ; end
12
14
  end
@@ -9,4 +9,6 @@ module Civo
9
9
  "civo/dns_domain"
10
10
  end
11
11
  end
12
+
13
+ class DNSRecord < DnsRecord ; end
12
14
  end
@@ -9,4 +9,6 @@ module Civo
9
9
  "civo/ssh_key"
10
10
  end
11
11
  end
12
+
13
+ class SSHKey < SshKey ; end
12
14
  end
data/lib/civo.rb CHANGED
@@ -14,6 +14,7 @@ require_relative "../app/models/civo/action"
14
14
  require_relative "../app/models/civo/audit_log"
15
15
  require_relative "../app/models/civo/blueprint"
16
16
  require_relative "../app/models/civo/charge"
17
+ require_relative "../app/models/civo/disk_image"
17
18
  require_relative "../app/models/civo/dns_domain"
18
19
  require_relative "../app/models/civo/dns_record"
19
20
  require_relative "../app/models/civo/firewall"
data/lib/civo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Civo
2
- VERSION = "1.3.1"
2
+ VERSION = "1.4.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: civo
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Jeffries
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-02 00:00:00.000000000 Z
11
+ date: 2021-02-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flexirest
@@ -81,6 +81,7 @@ files:
81
81
  - app/models/civo/base.rb
82
82
  - app/models/civo/blueprint.rb
83
83
  - app/models/civo/charge.rb
84
+ - app/models/civo/disk_image.rb
84
85
  - app/models/civo/dns_domain.rb
85
86
  - app/models/civo/dns_record.rb
86
87
  - app/models/civo/firewall.rb
@@ -129,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
130
  - !ruby/object:Gem::Version
130
131
  version: '0'
131
132
  requirements: []
132
- rubygems_version: 3.0.6
133
+ rubygems_version: 3.1.2
133
134
  signing_key:
134
135
  specification_version: 4
135
136
  summary: Civo CLI AND API