civo 0.1.2 → 0.1.3

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/bin/civo +24 -0
  3. data/lib/civo/version.rb +1 -1
  4. metadata +4 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cc85080700b369a3d233dd1b36f7db03404295f4
4
- data.tar.gz: 02258c1c0f6a869e69c7ed463e0b56a30e67495e
3
+ metadata.gz: 07cc2f6f56ccddb31766130b6d300b216883ab5b
4
+ data.tar.gz: 2a55bb5e7dbb91346c130f09ff60ff3efbeb1b08
5
5
  SHA512:
6
- metadata.gz: fe1a30419c2f332c8e90b0a353379a133c9c4bf3ef3a75bd8cbb868e87cb498b3ce5f1e9d27d67b75015b4cdef00d3be0ba6fba7fe1abcc934710d1046e41fef
7
- data.tar.gz: d2f730b39901b7a1fcfe641202a2ed062e7d26f8ed8cbee8751b98cf3947df9f1bcff009708ca756f8a90cb0ef3b980568c07e8121dfd2ab98d28aa3d0204913
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
@@ -1,3 +1,3 @@
1
1
  module Civo
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
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.2
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