skylight 0.4.2 → 0.4.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 01262f190b63ef103a1e1bc671f3a98ff12798f6
4
- data.tar.gz: d0fcae9d16a2fcff34cad93d33f16a4fcb4b8113
3
+ metadata.gz: f853699be749f8141c245b8b45bea6f3b4e2b3f8
4
+ data.tar.gz: 646bf5fb1f3366cc3f72f63207905738bc7b178c
5
5
  SHA512:
6
- metadata.gz: acbb99369ebb3807ac990756d6606d99d86a716cf81b6bf0f6a4cc83d0832916da010d374e926435c3012044c572b4222e480bfba8f3bfcabf9a740538edb1ee
7
- data.tar.gz: 8ed42b17470c205f40ef6c37c45572b1d84449d914ac9047bff2c7707b47e23bd537bf158bcce6f6898340d5342776992686fde8109538b59f795ee3e273b314
6
+ metadata.gz: 485eae8e30668d6da29b19ad4e44b046684bb4fc0a2ad89490d4f3637b99ef5ab803f07c7bc193b580ee948170ce2069ebb8b17cd88b6eb52861f688677bcb53
7
+ data.tar.gz: d43325433073a686d209791c640c3ea1a8ed87dd5848f28b2233582fd1adb66ab8084566a64929a6dbebba82ac9af63cb15c0fd96172c8d5b4dc7f4d47db00c4
@@ -1,3 +1,7 @@
1
+ ## 0.4.3 (November 12, 2014)
2
+
3
+ * [BUGFIX] Fix Moped integration when queries include times
4
+
1
5
  ## 0.4.2 (November 12, 2014)
2
6
 
3
7
  * [BUGFIX] Fix exit status on MRI 1.9.2
@@ -117,18 +117,18 @@ module Skylight
117
117
  end
118
118
 
119
119
  def extract_binds(hash, binds=[])
120
- hash = hash.dup
120
+ ret = {}
121
121
 
122
122
  hash.each do |k,v|
123
123
  if v.is_a?(Hash)
124
- hash[k] = extract_binds(v, binds)[0]
124
+ ret[k] = extract_binds(v, binds)[0]
125
125
  else
126
126
  binds << stringify(hash[k])
127
- hash[k] = '?'
127
+ ret[k] = '?'
128
128
  end
129
129
  end
130
130
 
131
- [hash, binds]
131
+ [ret, binds]
132
132
  end
133
133
 
134
134
  def stringify(value)
@@ -1,4 +1,4 @@
1
1
  module Skylight
2
- VERSION = '0.4.2'
2
+ VERSION = '0.4.3'
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.4.2
4
+ version: 0.4.3
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-11-12 00:00:00.000000000 Z
11
+ date: 2014-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport