hedgelog 0.1.6 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ODU3YjJkYTc4ODU2ZGQ4YTNiMmY0YjZiODIzYTZiMjk1ZjA4ZmZmNA==
4
+ ZTBjNzlhNzAzZDkwYzkzY2I4NjdlODA3NmYwMTUzYjUxN2M3ZjQ2MA==
5
5
  data.tar.gz: !binary |-
6
- YjkwNTQyZjNjYmE4ZWIxNDMyNTliMGNkZDFhYzQ5MzJlMzM2NmJiNg==
6
+ Y2EyZDYyNTY3ZmUwZGM3NDI5YTc2M2EwYzQxNWE3NjM0NzAwNTg0Yg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NDQxNTQ3OWNjM2Y0YTUyMWE0OTQyMWYyMzNhZDA1NTM1NzkxOTI2NjlmNzFh
10
- MDA3YmI0YTgzZWVjNzk3ZDJjM2QzMDFhOTAyNzI1NTZkMzNiMmZhZjU5YjM3
11
- ZDY1NzhkZWNiNWNiN2IzNTQ1NmZmNmM4YTQ5ODdlODlhZDZhMDc=
9
+ MDhlYjdiYjNlMDE3ZjM0YWVlZDc1MjFkMzQ3NzdkOWI1MzE3OWIwYWQ3MGE2
10
+ OTMwN2Y0ZTUyZmEyNDczOWQ3ZGZhMTdlYWEzMTg0MjA2ZTlmYmUxZTJlMzdk
11
+ NGMwZTJmZDMwODcyYmYzZTEyMzQ3NjBhMDk3MjQ3ZmFkYjA5ZWQ=
12
12
  data.tar.gz: !binary |-
13
- MjgxZjEwM2E0MmQzZDUyMjdjOGJlZGE3YzdjNjI0YWEwODczZjFlYTViYzA2
14
- ZWI3ZWNhODBlNzI5MjQzN2UzZmViYzU1NTdiOWNjNzMzZjAzZGRhZjMyMzAy
15
- ZmRlZGY2NDIwYjcwMjc4OTk0N2E2NzU2OWM5NmNjYTc0OWQyZjU=
13
+ ZTc2YzMwZjcwZTE2MTQ5YzA3NGRhNWQwMzRiZWU4MTgxMDBlYTQ5ZjE5NWYx
14
+ OWJiNzE4OTFiNzhlNGE3YTA5ZWViNDZhMDU2NjZlMDFlNjE1NTA5NmFhYzdk
15
+ ZDdkNWEyNDVkOWMzMjA4ZmVjYmY3ZGUyMWI2ZmQ2ODYxNTg0ZmQ=
data/Gemfile CHANGED
@@ -16,4 +16,5 @@ end
16
16
  group :development do
17
17
  gem 'ruby-prof'
18
18
  gem 'guard-rspec', require: false
19
+ gem 'listen', '~> 3.0.6'
19
20
  end
@@ -24,6 +24,7 @@ class Hedgelog
24
24
 
25
25
  def normalize_thing(thing)
26
26
  return '' if thing.nil?
27
+ thing = thing.as_json if thing.respond_to?(:as_json)
27
28
  return normalize_struct(thing) if thing.is_a?(Struct)
28
29
  return normalize_array(thing) if thing.is_a?(Array)
29
30
  return normalize_hash(thing) if thing.is_a?(Hash)
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  class Hedgelog
3
- VERSION = '0.1.6'.freeze
3
+ VERSION = '0.1.7'.freeze
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hedgelog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.6
4
+ version: 0.1.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Utter
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-03-03 00:00:00.000000000 Z
11
+ date: 2016-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: yajl-ruby