civo-logger 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 48508da233b1beed124a2ad9dcca76ab5db65d46
4
- data.tar.gz: 062fc23ba832c4b8295b2ea4d105bc200f73a042
3
+ metadata.gz: 532250a46bcb5ef9626496c1f3c15d64793aec3f
4
+ data.tar.gz: c54194a9ca526310cb4d088cb71b1e497962579a
5
5
  SHA512:
6
- metadata.gz: 8dc553c67216a55a8dfc13806646285fe9f7bf670db44d620dc5cc49604614a4925a5906fed64cd45db0d4be51b102f236c2eb6ca01c7397fe6a46bb62af15da
7
- data.tar.gz: 97c2212dbec581545e4b7754418b74bf9f81953829ab9ea6b2a68bbe3f2e0d35edc9ce4d75e2431a0a0537807c183685c2bbef29946d720eb9756ffd7a1df67c
6
+ metadata.gz: f5a5c8333bd237a7ababd1fdb7263f2cbc131c017949b83c559e0e0d6a33273af6f3c5748871493d7a438f1375fb39dbc41c1545507ab3d832b6fcd6f9e241dd
7
+ data.tar.gz: 9ac9a447cc768a1a31b4db13f8e498d2d5315facf60cf20327ae28411f1d9bab3dc1b46c2926a6941c8da88f2e3893beb3f1668ecba8caafd8ce263ac1d355b5
@@ -174,7 +174,7 @@ module Civo
174
174
  @log = @lines.join("\n")
175
175
 
176
176
  if send_request?(request)
177
- unless request.is_a?(String)
177
+ unless body.is_a?(String)
178
178
  body = body.to_a rescue [body.body]
179
179
  end
180
180
 
@@ -1,5 +1,5 @@
1
1
  module Civo
2
2
  module Logger
3
- VERSION = "0.2.3"
3
+ VERSION = "0.2.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: civo-logger
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Jeffries
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-11-13 00:00:00.000000000 Z
11
+ date: 2017-11-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler