civo 1.2.9 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/civo.rb +26 -30
  3. data/lib/civo/version.rb +1 -1
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1673a916997fce6a7ac35a39eb850f8f53ab311323ad1efbfe9d13ef2f6edfcf
4
- data.tar.gz: c8b6a0bc93f36a1567c06edc1ebb5ae706a80a701feca96612bd781b7e7a89da
3
+ metadata.gz: 55cc063028ea2cb76c5f2bb695fe2e01aa2bf622023d331fde43e1cdd03399ca
4
+ data.tar.gz: acd3a69654547a34f664a255748249194a1a73f809e79ed85c7e7e59e823b7bf
5
5
  SHA512:
6
- metadata.gz: 94b38bbbe555fc4518947fd56a9026a67db95ac205e7931aef7c007fa71219cb7f5476bff888e02bcedd68f32799c9e3b91f07ecee1b037eebc11e01b060ccff
7
- data.tar.gz: 8b239dae7e402b622f2f5528574ef5d2e364354c5be2331fd44c024e8ce6158f6d75c8bd1c82b0e74acc4b1218fd3afacbdf80403d42c2049bdee70676956093
6
+ metadata.gz: c893ba5a661e523f624f2edc5acefd362ecb3b02a5d43a2a0caecd744c7f832bf5f5b7d1b31c1e359feadd9de4b37cbe554963076f58cfbc1abbe5f10ac70504
7
+ data.tar.gz: 79e13bb32a81d01463a2f022f0ae4f8fe0c2a657f6f65e263e12f49c0dab25808531e64e843e74f87d1f84b538d6adf639985ac90c58eb2ffe2fa20c7096ccf7
@@ -8,33 +8,29 @@ ENV["CIVO_API_VERSION"] ||= "2"
8
8
 
9
9
  CIVO_ENGINE_ROOT = File.expand_path("#{File.dirname(__FILE__)}/../")
10
10
 
11
- module Civo
12
- unless defined?(Rails)
13
- autoload :Account, "#{CIVO_ENGINE_ROOT}/app/models/civo/account"
14
- autoload :Action, "#{CIVO_ENGINE_ROOT}/app/models/civo/action"
15
- autoload :AuditLog, "#{CIVO_ENGINE_ROOT}/app/models/civo/audit_log"
16
- autoload :Base, "#{CIVO_ENGINE_ROOT}/app/models/civo/base"
17
- autoload :Blueprint, "#{CIVO_ENGINE_ROOT}/app/models/civo/blueprint"
18
- autoload :Charge, "#{CIVO_ENGINE_ROOT}/app/models/civo/charge"
19
- autoload :DnsDomain, "#{CIVO_ENGINE_ROOT}/app/models/civo/dns_domain"
20
- autoload :DnsRecord, "#{CIVO_ENGINE_ROOT}/app/models/civo/dns_record"
21
- autoload :Firewall, "#{CIVO_ENGINE_ROOT}/app/models/civo/firewall"
22
- autoload :FirewallRule, "#{CIVO_ENGINE_ROOT}/app/models/civo/firewall_rule"
23
- autoload :Instance, "#{CIVO_ENGINE_ROOT}/app/models/civo/instance"
24
- autoload :Kubernetes, "#{CIVO_ENGINE_ROOT}/app/models/civo/kubernetes"
25
- autoload :Ip, "#{CIVO_ENGINE_ROOT}/app/models/civo/ip"
26
- autoload :KPI, "#{CIVO_ENGINE_ROOT}/app/models/civo/kpi"
27
- autoload :LoadBalancer, "#{CIVO_ENGINE_ROOT}/app/models/civo/load_balancer"
28
- autoload :Network, "#{CIVO_ENGINE_ROOT}/app/models/civo/network"
29
- autoload :Quota, "#{CIVO_ENGINE_ROOT}/app/models/civo/quota"
30
- autoload :Region, "#{CIVO_ENGINE_ROOT}/app/models/civo/region"
31
- autoload :Size, "#{CIVO_ENGINE_ROOT}/app/models/civo/size"
32
- autoload :Snapshot, "#{CIVO_ENGINE_ROOT}/app/models/civo/snapshot"
33
- autoload :SshKey, "#{CIVO_ENGINE_ROOT}/app/models/civo/ssh_key"
34
- autoload :System, "#{CIVO_ENGINE_ROOT}/app/models/civo/system"
35
- autoload :Team, "#{CIVO_ENGINE_ROOT}/app/models/civo/team"
36
- autoload :Template, "#{CIVO_ENGINE_ROOT}/app/models/civo/template"
37
- autoload :User, "#{CIVO_ENGINE_ROOT}/app/models/civo/user"
38
- autoload :Volume, "#{CIVO_ENGINE_ROOT}/app/models/civo/volume"
39
- end
40
- end
11
+ require_relative "../app/models/civo/base"
12
+ require_relative "../app/models/civo/account"
13
+ require_relative "../app/models/civo/action"
14
+ require_relative "../app/models/civo/audit_log"
15
+ require_relative "../app/models/civo/blueprint"
16
+ require_relative "../app/models/civo/charge"
17
+ require_relative "../app/models/civo/dns_domain"
18
+ require_relative "../app/models/civo/dns_record"
19
+ require_relative "../app/models/civo/firewall"
20
+ require_relative "../app/models/civo/firewall_rule"
21
+ require_relative "../app/models/civo/instance"
22
+ require_relative "../app/models/civo/kubernetes"
23
+ require_relative "../app/models/civo/ip"
24
+ require_relative "../app/models/civo/kpi"
25
+ require_relative "../app/models/civo/load_balancer"
26
+ require_relative "../app/models/civo/network"
27
+ require_relative "../app/models/civo/quota"
28
+ require_relative "../app/models/civo/region"
29
+ require_relative "../app/models/civo/size"
30
+ require_relative "../app/models/civo/snapshot"
31
+ require_relative "../app/models/civo/ssh_key"
32
+ require_relative "../app/models/civo/system"
33
+ require_relative "../app/models/civo/team"
34
+ require_relative "../app/models/civo/template"
35
+ require_relative "../app/models/civo/user"
36
+ require_relative "../app/models/civo/volume"
@@ -1,3 +1,3 @@
1
1
  module Civo
2
- VERSION = "1.2.9"
2
+ VERSION = "1.3.0"
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.2.9
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Jeffries
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-17 00:00:00.000000000 Z
11
+ date: 2020-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flexirest
@@ -129,7 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
129
  - !ruby/object:Gem::Version
130
130
  version: '0'
131
131
  requirements: []
132
- rubygems_version: 3.0.3
132
+ rubygems_version: 3.0.6
133
133
  signing_key:
134
134
  specification_version: 4
135
135
  summary: Civo CLI AND API