libhoney 1.12.0 → 1.12.1

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
  SHA256:
3
- metadata.gz: aaff0cc763c16bc795c21403f744d3a5e6773d2503c338d9f161fc1d0ef01341
4
- data.tar.gz: e4f44b656d422207f25441c867519118f1f4557718c0c12e25f198e4871052b5
3
+ metadata.gz: e6c5ff396b0f0a043e1ee4b1ae1d89342fdfbc99861e5cdb22d7c5843acd112b
4
+ data.tar.gz: ee861538fa2020c201dc5be4477372c9778c89b910d0f8e2faa2168371ea6f97
5
5
  SHA512:
6
- metadata.gz: 17701619551ad22950ffe421c9a98a4546e00ea8447ee52b22c19d21af9adc342951eed7ee0046c0ca8459d63ffc90ff64cb3759e003971681bb3b567debd9fe
7
- data.tar.gz: c701b48807d76fcef732eaa47e7059ef71cfeaa40693bc039b094968b12407f26d9f6647d3f204a4c2feeed551ca07840c9a1d0850b8ab755eeeb0fdff3675b7
6
+ metadata.gz: 3e53c57343b02b2de9b028a06ed6800a78593267169ed9ea302cc2a7783bdc2ea4db4053321bd97162b0afdf9d8a97e3abbcd3c63f599d5c2ef02b69ea7fe886
7
+ data.tar.gz: 4d513bbdd0decf922d3a6462a9dd644805cec48d353a2059286b5e408fb3ff94554300fd0ffe1b7028b21de6fbe2970e5a0effa7b1f4647f3fe812db00ab1e2c
@@ -1,9 +1,11 @@
1
+ require 'http'
2
+
1
3
  module Libhoney
2
4
  class Response
3
5
  attr_accessor :duration, :status_code, :metadata, :error
4
6
 
5
7
  def initialize(duration: 0,
6
- status_code: 0,
8
+ status_code: HTTP::Response::Status.new(0),
7
9
  metadata: nil,
8
10
  error: nil)
9
11
  @duration = duration
@@ -1,3 +1,3 @@
1
1
  module Libhoney
2
- VERSION = '1.12.0'.freeze
2
+ VERSION = '1.12.1'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libhoney
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.12.0
4
+ version: 1.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - The Honeycomb.io Team
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-02-27 00:00:00.000000000 Z
11
+ date: 2019-03-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bump
@@ -206,7 +206,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
206
206
  - !ruby/object:Gem::Version
207
207
  version: '0'
208
208
  requirements: []
209
- rubygems_version: 3.0.2
209
+ rubygems_version: 3.0.3
210
210
  signing_key:
211
211
  specification_version: 4
212
212
  summary: send data to Honeycomb