civo 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/civo/base.rb +2 -2
- data/lib/civo.rb +0 -3
- 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: 320cf963557e510b009e103ac900c30d0bcf91c0
|
4
|
+
data.tar.gz: 9e0af2681e4f26cc41b7b8e96a82f36e655c643b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a37446cc657357d2ddf4ed3f3f2c77b4aacccef73dc4dc4a65d278122163c96bf5bf0b34ca75d433c085c4f5e10cd22bdeed99554bba7d8027afcbc7aefea599
|
7
|
+
data.tar.gz: ad07ae3fa404a40fb2001ced95aaa2c62bf1fe4bd729c5d9fe8b8c9e707b750b7f6ebe613c297df9c46c7f5b6f1566796c3e06eb136724ed12d008494b54ab7f
|
data/app/models/civo/base.rb
CHANGED
@@ -1,9 +1,9 @@
|
|
1
1
|
module Civo
|
2
2
|
class Base < ::Flexirest::Base
|
3
3
|
before_request do |name, request|
|
4
|
-
request.headers["Authorization"] = "bearer #{ENV["CIVO_TOKEN"]
|
4
|
+
request.headers["Authorization"] = "bearer #{ENV["CIVO_TOKEN"]}"
|
5
5
|
end
|
6
6
|
end
|
7
7
|
end
|
8
8
|
|
9
|
-
Flexirest::Base.base_url = ENV["CIVO_URL"]
|
9
|
+
Flexirest::Base.base_url = ENV["CIVO_URL"]
|
data/lib/civo.rb
CHANGED
@@ -4,9 +4,6 @@ if defined?(Rails)
|
|
4
4
|
end
|
5
5
|
|
6
6
|
module Civo
|
7
|
-
autoload :Token, "civo/cli/token"
|
8
|
-
autoload :Config, "civo/cli/config"
|
9
|
-
autoload :Client, "civo/cli/client"
|
10
7
|
unless defined?(Rails)
|
11
8
|
autoload :Account, "#{ENGINE_ROOT}/app/models/civo/account"
|
12
9
|
autoload :Base, "#{ENGINE_ROOT}/app/models/civo/base"
|
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.4
|
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-01-
|
11
|
+
date: 2016-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flexirest
|