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 +4 -4
- data/lib/switchman/active_record/log_subscriber.rb +2 -0
- data/lib/switchman/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: efa12f1f8d50e63ab2f92295171ca4601797ab6e
|
4
|
+
data.tar.gz: 197446ec2d6556375877c5d5384df2993e4e5b1e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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|
|
data/lib/switchman/version.rb
CHANGED