civo 1.1.7 → 1.1.9

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 +4 -1
  3. data/lib/civo/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 0b2d168be76c39f9458d4d55bb3e8cd4664adfc6ca6bea6a0a660b9c1faa7697
4
- data.tar.gz: 6a3c0b0ecef47b3f2137cd7b4b1206d53bbb59ee3c6781e47d4e313e11d3efab
3
+ metadata.gz: 5cbe7e16d3fe484e802e51b41141ed79efc5416feb2a4965f06b3b6439d4ee35
4
+ data.tar.gz: f182d3f35d9c6b81448f17c3e95a798c2169f014257c055ad6bd276536922db1
5
5
  SHA512:
6
- metadata.gz: 0ac9d664f042f39959a5c460d62952b6550551a147f9dde0c2f62cd6123ee064a1d3b2c95b4f2f3d97e217d786fa78ef014f91a192b4ccf3972f41501fe77d1b
7
- data.tar.gz: 8428513eea32522db55777500b3ff86c6440d73ee13c71dab4640b3b4eddea7fb9a943c7593af97bc2ffd5541bc7309fe71d7ac997c3fe142d2b8ab448a15b41
6
+ metadata.gz: 471e9d9da3f0bd040ba61d55a899077fcbd2c2524883ce94398a6c40f6b270a9586c4de0c5b155e2ff99e8859995be1986d9403e380e9dcdb9fed4168104a067
7
+ data.tar.gz: 2785e4240975ffb3e4e12d3642ae2b4adfbedfa0f9aecffad5be151f89fffbb2b66ade7501b77ff0e7cc7763f9248eaf8934d47544391a2f618bb811898d5c5b
data/lib/civo.rb CHANGED
@@ -1,8 +1,11 @@
1
1
  if defined?(Rails)
2
2
  require "civo/engine"
3
- require "flexirest"
4
3
  end
5
4
 
5
+ require "flexirest"
6
+ ENV["CIVO_URL"] ||= "https://api.civo.com"
7
+ ENV["CIVO_API_VERSION"] ||= "2"
8
+
6
9
  CIVO_ENGINE_ROOT = File.expand_path("#{File.dirname(__FILE__)}/../")
7
10
 
8
11
  module Civo
data/lib/civo/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Civo
2
- VERSION = "1.1.7"
2
+ VERSION = "1.1.9"
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.1.7
4
+ version: 1.1.9
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-02-20 00:00:00.000000000 Z
11
+ date: 2019-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: flexirest