tobox 0.1.1 → 0.1.3

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: 13c585e5f8cec257d1f8de481a90620f7e71ce6cd4cac6b4b769cb04ab62c485
4
- data.tar.gz: fddcccd9b518c8303131693ed66c178ae6ea833cd7941dab4c588a284e715967
3
+ metadata.gz: d2fb435f77f8dcfe9b6103be44c0ac9f2501db667451fb387a5fe46278a7117a
4
+ data.tar.gz: 437bb5992b77a842b21992a62cf06922ead746aaac0797bd1a7cffbdcfa45fae
5
5
  SHA512:
6
- metadata.gz: 1dda1246e5e0651a5f31c4b9ee1a3aae333e0a7098a26e72e839681ccec1466936199abe840d9153d56b5e8fa1532594f7e915ffa5953f0382e5d22b3b07e35d
7
- data.tar.gz: 7958822a76f442696c6323af42031cd28091fdfb764eb8b1a39737ab214048d3c664275c4c91abc47c84c070f9940b325a297547ffce8815203bb97711f2280e
6
+ metadata.gz: cf6b4cb7c1b6385d26c2115c06822e7ba3a2054530710dba068b25ec47cc60952b2363e72766605cbe163f7a7e470a00bab5677e150a6960c84280c69c11def6
7
+ data.tar.gz: b879dd50c5168e78126247f0f9c26c5f5eab563da836c419f5d0ffb2012c0c172517d5729a103c293ff5b4d853d7c8f00969d805692c8a8ba4dc6b11a7ce1fd5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.1.3] - 2002-10-06
4
+
5
+ ### Bugfixes
6
+
7
+ Datadog constants unproperly namespaced.
8
+
9
+ ## [0.1.2] - 2002-09-14
10
+
11
+ ### Bugfixes
12
+
13
+ Actual fix for foregoing json parsing.
14
+
3
15
  ## [0.1.1] - 2002-09-14
4
16
 
5
17
  ### Chore
data/lib/tobox/fetcher.rb CHANGED
@@ -119,7 +119,7 @@ module Tobox
119
119
  def try_json_parse(data)
120
120
  return unless data
121
121
 
122
- data = JSON.parse(data.to_s) unless data.is_a?(Hash)
122
+ data = JSON.parse(data.to_s) unless data.respond_to?(:to_hash)
123
123
 
124
124
  data
125
125
  end
@@ -14,7 +14,7 @@ module Datadog
14
14
  end
15
15
 
16
16
  option :analytics_enabled do |o|
17
- o.default { env_to_bool("DD_TOBOX_SIDEKIQ_ANALYTICS_ENABLED", false) }
17
+ o.default { env_to_bool("DD_TOBOX_ANALYTICS_ENABLED", false) }
18
18
  o.lazy
19
19
  end
20
20
 
@@ -24,7 +24,7 @@ module Datadog
24
24
  end
25
25
 
26
26
  option :service_name
27
- option :error_handler, default: SpanOperation::Events::DEFAULT_ON_ERROR
27
+ option :error_handler, default: Tracing::SpanOperation::Events::DEFAULT_ON_ERROR
28
28
  option :distributed_tracing, default: false
29
29
  end
30
30
  end
data/lib/tobox/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Tobox
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.3"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tobox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - HoneyryderChuck
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-09-14 00:00:00.000000000 Z
11
+ date: 2022-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sequel