ribbon-intercom 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/ribbon/intercom/utils.rb +3 -1
- data/lib/ribbon/intercom/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ea5c9789d2c6ef75924f2180b6a892fecf109cc5
|
|
4
|
+
data.tar.gz: 14b7ab7d57147bd7f4e1ab4147248bb224f43167
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0810a6673aec4e5dfa2a277d167bab12259cd0e1bf52ed4966e4447c6cb629222e6439f849dad6d854aab8343ed4fe757b63b9bad2334e2a0d3ec536384f7042
|
|
7
|
+
data.tar.gz: 55ca06f5483caacf23ec9aa6626bbc4341af42144afe0801fab18c7e17acf94fc79696e6024c6cbf2e11f8457033341d2844b16b085760eb8a67dc0aab1bb7a4
|
|
@@ -1,9 +1,11 @@
|
|
|
1
|
+
require 'date'
|
|
2
|
+
|
|
1
3
|
module Ribbon::Intercom
|
|
2
4
|
class Utils
|
|
3
5
|
class << self
|
|
4
6
|
def sanitize(object)
|
|
5
7
|
case object
|
|
6
|
-
when String, Symbol, TrueClass, FalseClass, Integer, Float, NilClass
|
|
8
|
+
when String, Symbol, TrueClass, FalseClass, Integer, Float, NilClass, Date, Time, DateTime
|
|
7
9
|
object
|
|
8
10
|
when Hash
|
|
9
11
|
sanitize_hash(object)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ribbon-intercom
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.2.
|
|
4
|
+
version: 0.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Robert Honer
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2015-04-
|
|
12
|
+
date: 2015-04-14 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rack
|