civo 0.3.21 → 0.3.22
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +2 -2
- data/lib/civo.rb +13 -13
- data/lib/civo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 684096600ea1e66cb72e15ccced94143227e6469
|
4
|
+
data.tar.gz: 686c6ae374915920774a10b121a954ac8b94b421
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 54634b063c321748a3eee55df7101d3db4500c97e08a35e6d4305fd66b1c96dfc8171f0fbdf36f3fc8ab543d716963efa42304ab557f0ca8a942ad17f2ea8eed
|
7
|
+
data.tar.gz: d2695346add9bad063915075f06cc1c1fe7d85f66622423f855acce131fdd9caa3564c26f51ec5f462a85731d1b3b9240a9c5badaf570b0d9f1c8fbd6085bf78
|
data/Rakefile
CHANGED
@@ -21,7 +21,7 @@ task :console do
|
|
21
21
|
|
22
22
|
require 'irb'
|
23
23
|
require 'irb/completion'
|
24
|
-
|
24
|
+
CIVO_ENGINE_ROOT = File.expand_path('..', __FILE__)
|
25
25
|
ENGINE_PATH = File.expand_path('../lib/civo/engine', __FILE__)
|
26
26
|
|
27
27
|
# Set up gems listed in the Gemfile.
|
@@ -30,7 +30,7 @@ task :console do
|
|
30
30
|
require 'commander/import'
|
31
31
|
require 'toml'
|
32
32
|
require 'flexirest'
|
33
|
-
require_relative "#{
|
33
|
+
require_relative "#{CIVO_ENGINE_ROOT}/lib/civo.rb"
|
34
34
|
|
35
35
|
ARGV.clear
|
36
36
|
IRB.start
|
data/lib/civo.rb
CHANGED
@@ -3,21 +3,21 @@ if defined?(Rails)
|
|
3
3
|
require "flexirest"
|
4
4
|
end
|
5
5
|
|
6
|
-
|
6
|
+
CIVO_ENGINE_ROOT = File.expand_path("#{File.dirname(__FILE__)}/../")
|
7
7
|
|
8
8
|
module Civo
|
9
9
|
unless defined?(Rails)
|
10
|
-
autoload :Account, "#{
|
11
|
-
autoload :Base, "#{
|
12
|
-
autoload :SshKey, "#{
|
13
|
-
autoload :Quota, "#{
|
14
|
-
autoload :Size, "#{
|
15
|
-
autoload :Region, "#{
|
16
|
-
autoload :Template, "#{
|
17
|
-
autoload :Snapshot, "#{
|
18
|
-
autoload :Firewall, "#{
|
19
|
-
autoload :FirewallRule, "#{
|
20
|
-
autoload :Instance, "#{
|
21
|
-
autoload :Ip, "#{
|
10
|
+
autoload :Account, "#{CIVO_ENGINE_ROOT}/app/models/civo/account"
|
11
|
+
autoload :Base, "#{CIVO_ENGINE_ROOT}/app/models/civo/base"
|
12
|
+
autoload :SshKey, "#{CIVO_ENGINE_ROOT}/app/models/civo/ssh_key"
|
13
|
+
autoload :Quota, "#{CIVO_ENGINE_ROOT}/app/models/civo/quota"
|
14
|
+
autoload :Size, "#{CIVO_ENGINE_ROOT}/app/models/civo/size.rb"
|
15
|
+
autoload :Region, "#{CIVO_ENGINE_ROOT}/app/models/civo/region"
|
16
|
+
autoload :Template, "#{CIVO_ENGINE_ROOT}/app/models/civo/template"
|
17
|
+
autoload :Snapshot, "#{CIVO_ENGINE_ROOT}/app/models/civo/snapshot"
|
18
|
+
autoload :Firewall, "#{CIVO_ENGINE_ROOT}/app/models/civo/firewall"
|
19
|
+
autoload :FirewallRule, "#{CIVO_ENGINE_ROOT}/app/models/civo/firewall_rule"
|
20
|
+
autoload :Instance, "#{CIVO_ENGINE_ROOT}/app/models/civo/instance"
|
21
|
+
autoload :Ip, "#{CIVO_ENGINE_ROOT}/app/models/civo/ip"
|
22
22
|
end
|
23
23
|
end
|
data/lib/civo/version.rb
CHANGED
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: 0.3.
|
4
|
+
version: 0.3.22
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Jeffries
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-04-
|
11
|
+
date: 2016-04-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flexirest
|