switchman 1.10.0 → 1.10.1

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: d9bf082be6cc36e99b6be46bdf90c47102c45962
4
- data.tar.gz: 105fd5544f11577cd939de766a0d2950f727759e
3
+ metadata.gz: efa12f1f8d50e63ab2f92295171ca4601797ab6e
4
+ data.tar.gz: 197446ec2d6556375877c5d5384df2993e4e5b1e
5
5
  SHA512:
6
- metadata.gz: 3a69a13d8922e15c57a972c4521833f0d1658d7c13198f766e1cc2374a3cc8781765984194bb1b57950b32bc2c52221b3aeb8d1e6474e30bde3a4aa30a6d8cd3
7
- data.tar.gz: a22298dbbc075b8a69af90bd87c97a74ad598729551f268a7bd3bb9eae08aa28eec6ca1654bf35b2b7863527acd2aab63458a8ad439453d4d86fb5514c0d7447
6
+ metadata.gz: 4d61b287b7858d8746b78f785c8dd3b5ec60cbd4a5b9e6ed182eb624b716c37216e8e5ea42aa493287c72d038f78b35d61f77b478999067cb38ce2d7437501d9
7
+ data.tar.gz: bcf78eaca8b3b69e7d12fafd8f4f11de18860d1edb317e9be8b7e0d3bf3ab071f72c4b6f6d7e9d6d32d85eeb70dc304dc24e64c6854e2dba8d4697fb911cc1b8
@@ -21,6 +21,8 @@ module Switchman
21
21
  binds = " " + payload[:binds].map { |col,v|
22
22
  render_bind(col, v)
23
23
  }.inspect
24
+ elsif ::Rails.version < '5.0.3'
25
+ binds = " " + payload[:binds].map { |attr| render_bind(attr) }.inspect
24
26
  else
25
27
  casted_params = type_casted_binds(payload[:binds], payload[:type_casted_binds])
26
28
  binds = " " + payload[:binds].zip(casted_params).map { |attr, value|
@@ -1,3 +1,3 @@
1
1
  module Switchman
2
- VERSION = "1.10.0"
2
+ VERSION = "1.10.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: switchman
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.0
4
+ version: 1.10.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cody Cutrer