likeno 1.0.1 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.rdoc +4 -0
- data/README.md +4 -0
- data/lib/likeno/helpers/hash_converters.rb +1 -1
- data/lib/likeno/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28ab06bbb10c7a16a896cb81baa75d932642dbe0
|
4
|
+
data.tar.gz: 37827f53e39445b378828e12f89b8f3e0a8da5c2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1971d69723a12f0406d908224984d0ab7a5789dd48dd03342d3285657f7f4aabcc5787754316207f0e1e98355b8c3ae5548289ecd8215e5202b6254a26afee10
|
7
|
+
data.tar.gz: 62261836c2c156f0678dd74847c3f4c6f8a2c6087a0c15ebe95556513b0a2b0990ff8372effd91bcdec83cb98bb4482bf385e2bc488a25ff8a78fc7bf363a15a
|
data/CHANGELOG.rdoc
CHANGED
data/README.md
CHANGED
@@ -25,7 +25,7 @@ module Likeno
|
|
25
25
|
def convert_to_hash(value)
|
26
26
|
return value if value.nil?
|
27
27
|
return value.collect { |element| convert_to_hash(element) } if value.is_a? Array
|
28
|
-
return value.to_hash if value.
|
28
|
+
return value.to_hash if value.respond_to?(:to_hash)
|
29
29
|
return date_time_to_s(value) if value.is_a? DateTime
|
30
30
|
return 'INF' if value.is_a?(Float) && value.infinite? == 1
|
31
31
|
return '-INF' if value.is_a?(Float) && value.infinite? == -1
|
data/lib/likeno/version.rb
CHANGED