civo 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/civo +24 -0
- data/lib/civo/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07cc2f6f56ccddb31766130b6d300b216883ab5b
|
4
|
+
data.tar.gz: 2a55bb5e7dbb91346c130f09ff60ff3efbeb1b08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 46b110958c0e7705f69f7df67351ab118cac94a03a6794da09641eac6854d8b875ad5f926fc4bf8a5af3adf2fbe21482ef591a4d42446175acc163ac7853cbd9
|
7
|
+
data.tar.gz: 92c20421b13997126dace405d35fbf0d3e7aebe89bf275f79c67db685464dc431d71d0ceb7c369b7912d3793398030d981f262ddb6ed99985e9cdb16523d89f5
|
data/bin/civo
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
ENGINE_ROOT = File.expand_path('../..', __FILE__)
|
4
|
+
ENGINE_PATH = File.expand_path('../../lib/civo/engine', __FILE__)
|
5
|
+
|
6
|
+
# Set up gems listed in the Gemfile.
|
7
|
+
ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
|
8
|
+
require 'bundler/setup' if File.exist?(ENV['BUNDLE_GEMFILE'])
|
9
|
+
require 'commander/import'
|
10
|
+
require 'toml'
|
11
|
+
require 'flexirest'
|
12
|
+
require_relative "#{ENGINE_ROOT}/lib/civo.rb"
|
13
|
+
|
14
|
+
program :version, '0.0.1'
|
15
|
+
program :description, 'Civo CLI and API client library'
|
16
|
+
|
17
|
+
require_relative "#{ENGINE_ROOT}/lib/civo/cli/commands/tokens.rb"
|
18
|
+
require_relative "#{ENGINE_ROOT}/lib/civo/cli/commands/accounts.rb"
|
19
|
+
require_relative "#{ENGINE_ROOT}/lib/civo/cli/commands/sshkeys.rb"
|
20
|
+
require_relative "#{ENGINE_ROOT}/lib/civo/cli/commands/quota.rb"
|
21
|
+
require_relative "#{ENGINE_ROOT}/lib/civo/cli/commands/sizes.rb"
|
22
|
+
require_relative "#{ENGINE_ROOT}/lib/civo/cli/commands/regions.rb"
|
23
|
+
require_relative "#{ENGINE_ROOT}/lib/civo/cli/commands/templates.rb"
|
24
|
+
require_relative "#{ENGINE_ROOT}/lib/civo/cli/commands/instances.rb"
|
data/lib/civo/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: civo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Jeffries
|
@@ -55,7 +55,8 @@ dependencies:
|
|
55
55
|
description: A command-line client and API access classes for civo.com
|
56
56
|
email:
|
57
57
|
- andy@absolutedevops.io
|
58
|
-
executables:
|
58
|
+
executables:
|
59
|
+
- civo
|
59
60
|
extensions: []
|
60
61
|
extra_rdoc_files: []
|
61
62
|
files:
|
@@ -69,6 +70,7 @@ files:
|
|
69
70
|
- app/models/civo/size.rb
|
70
71
|
- app/models/civo/ssh_key.rb
|
71
72
|
- app/models/civo/template.rb
|
73
|
+
- bin/civo
|
72
74
|
- config/routes.rb
|
73
75
|
- lib/civo.rb
|
74
76
|
- lib/civo/cli/client.rb
|