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 +8 -8
- data/Gemfile +1 -0
- data/lib/hedgelog/normalizer.rb +1 -0
- data/lib/hedgelog/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZTBjNzlhNzAzZDkwYzkzY2I4NjdlODA3NmYwMTUzYjUxN2M3ZjQ2MA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
Y2EyZDYyNTY3ZmUwZGM3NDI5YTc2M2EwYzQxNWE3NjM0NzAwNTg0Yg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MDhlYjdiYjNlMDE3ZjM0YWVlZDc1MjFkMzQ3NzdkOWI1MzE3OWIwYWQ3MGE2
|
10
|
+
OTMwN2Y0ZTUyZmEyNDczOWQ3ZGZhMTdlYWEzMTg0MjA2ZTlmYmUxZTJlMzdk
|
11
|
+
NGMwZTJmZDMwODcyYmYzZTEyMzQ3NjBhMDk3MjQ3ZmFkYjA5ZWQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZTc2YzMwZjcwZTE2MTQ5YzA3NGRhNWQwMzRiZWU4MTgxMDBlYTQ5ZjE5NWYx
|
14
|
+
OWJiNzE4OTFiNzhlNGE3YTA5ZWViNDZhMDU2NjZlMDFlNjE1NTA5NmFhYzdk
|
15
|
+
ZDdkNWEyNDVkOWMzMjA4ZmVjYmY3ZGUyMWI2ZmQ2ODYxNTg0ZmQ=
|
data/Gemfile
CHANGED
data/lib/hedgelog/normalizer.rb
CHANGED
@@ -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)
|
data/lib/hedgelog/version.rb
CHANGED
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.
|
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-
|
11
|
+
date: 2016-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: yajl-ruby
|