tobox 0.1.1 → 0.1.2

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: 32db59415c539b35643e125b75ea7794e4a50b9aec3bfe746d37ad36e97fadec
4
+ data.tar.gz: cbf3672ee2854cc6d6f1d835509e29480dc4e52a5370f6e6b2432ef6cde03a18
5
5
  SHA512:
6
- metadata.gz: 1dda1246e5e0651a5f31c4b9ee1a3aae333e0a7098a26e72e839681ccec1466936199abe840d9153d56b5e8fa1532594f7e915ffa5953f0382e5d22b3b07e35d
7
- data.tar.gz: 7958822a76f442696c6323af42031cd28091fdfb764eb8b1a39737ab214048d3c664275c4c91abc47c84c070f9940b325a297547ffce8815203bb97711f2280e
6
+ metadata.gz: 0c1ccce590926c2ef0e9a540f949a3e4f98bfc21a157fa28d8232ecfc9b162c7a6f4d53185f851a1cc9f4c65a9b6ff0bdd8c6b038167a5eaeaa93021deca54cc
7
+ data.tar.gz: 6b5ab4017d5b04c2bd4effea9d71db04e92434efbeed8f7b5e379963439f780b0386885b8917df81169025ca5f7912f53db84c4f62d94f28fe27df5089472858
data/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## [0.1.1] - 2002-09-14
4
4
 
5
+ ### Bugfixes
6
+
7
+ Actual fix for foregoing json parsing.
8
+
9
+ ## [0.1.1] - 2002-09-14
10
+
5
11
  ### Chore
6
12
 
7
13
  Improved default logger, by logging the thread name, as well as providing the worker id in the lifecycle event logs.
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
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.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
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.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - HoneyryderChuck