sunstone 1.4.4 → 1.4.5

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: 8c75ef60510578fe67066f13b9b058e53d65f68d
4
- data.tar.gz: 988273638a2b965e9f0b1ad9ad71cd75304c4346
3
+ metadata.gz: 78af68acd850a745d32933ddbcf9cdf01b97e984
4
+ data.tar.gz: c80eb4622007ac9b90f2ad626ef31d9ba82435f0
5
5
  SHA512:
6
- metadata.gz: 072d3bce9c16beeebb849cb3df93d42d2926f8f74fa4bf8cae95024199d7c47d77a9c1f3644b85384cb607dafaf5c19a07e7e52f94e4d522360b3de68c82269f
7
- data.tar.gz: 4b047f31f71789407c93a64b1d7ede1b24855ab04cda430739a0e0ae486f360b862c4278a858175c1aa22a1f7e76cd04a8e7d8eb274cc58ce4d1252c525865e6
6
+ metadata.gz: 17d1513fe6f1b3908c85dc127d3cfaffcde1e713017c36501924f4d8f6680f32d27c5dd9b8233b5c5cfd506e2975ebaf40f84c84d55ddcf6c67d90d3ae23bf38
7
+ data.tar.gz: 60d40d7dfdf31f97725df11e17fd3d038c67a35b53a090ee5feba28f419e7f1d589e3b1911e85953d2b14e6e1c6221a30bade38266cd15ab934215b96d336511
@@ -11,7 +11,7 @@ module Arel
11
11
  newhash = {}
12
12
  hash.each do |k, v|
13
13
  if Arel::Nodes::BindParam === v
14
- newhash[k] = bvs.shift.last
14
+ newhash[k] = (bvs.last.is_a?(Array) ? bvs.shift.last : bvs.shift)
15
15
  elsif v.is_a?(Hash)
16
16
  newhash[k] = substitute_binds(v, bvs)
17
17
  else
data/sunstone.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "sunstone"
3
- s.version = '1.4.4'
3
+ s.version = '1.4.5'
4
4
  s.authors = ["Jon Bracy"]
5
5
  s.email = ["jonbracy@gmail.com"]
6
6
  s.homepage = "http://sunstonerb.com"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sunstone
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.4
4
+ version: 1.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jon Bracy