skylight 0.2.5 → 0.2.6

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
  SHA1:
3
- metadata.gz: 5ba19fdc679a43bb87c5cf95b843b05ce58878cb
4
- data.tar.gz: 7cdf7d06b0eba50a07cbea357929bcd8b8231f73
3
+ metadata.gz: aeab120eedbac08fcc96da45ff2d3011b38e3167
4
+ data.tar.gz: 458036ec6fee23c0d43a96e278e941d7d7fda74b
5
5
  SHA512:
6
- metadata.gz: c59d80d86beb6ff52709bb48a3182373ae2557f901419e4603dcaac64072f6144b3c6735fc2aef5fae3fd487647f230dd6c582f67b54052961e080aba307f120
7
- data.tar.gz: 260f99fcf7b8a7b7074538e2083df7b334bbd4e1afd4b1e6874dbbaafc2616567127507e00c6bd7724c8a55c32b9cf479759d6eac0961fda6a8bbe10b02d5914
6
+ metadata.gz: 549584ea4aaa394da8734b153d314a40162f30e3d925a707c2035dd4824c7e48bb2d1b5c74add4bc64a0124bdbea1e278da89634c624b39eacfefe1762cb1cc9
7
+ data.tar.gz: 63e18b1a1dfb2b43414dff94dadbbf82dac6cd00c6a0b11419521846ab42d2de7e6ab6974f3a4ed724a04244af7dfac2c01ffbdcc1af9ef36223dc9bf55137c7
@@ -21,7 +21,9 @@ module Skylight
21
21
  normalized = {}
22
22
 
23
23
  PAYLOAD_KEYS.each do |key|
24
- normalized[key] = payload[key]
24
+ val = payload[key]
25
+ val = val.inspect unless val.is_a?(String) || val.is_a?(Numeric)
26
+ normalized[key] = val
25
27
  end
26
28
 
27
29
  normalized
@@ -1,4 +1,4 @@
1
1
  module Skylight
2
- VERSION = '0.2.5'
2
+ VERSION = '0.2.6'
3
3
  end
4
4
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: skylight
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tilde, Inc.
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-22 00:00:00.000000000 Z
11
+ date: 2014-02-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport