switchman 1.9.13 → 1.9.14
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: 6b3272200e4d6343d49dec5aab8667e19b556e85
|
4
|
+
data.tar.gz: 60fd7a0ea2885cf4826cda7092f74acf68293f2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 867dfb29be7c90e90e0ddf9b0e7b267c6a19977912d5fb028c2dd8fccdd921a1a999160507d5962f55023584c32e329626d92d0185f8c3ed199c740ed4c1c385
|
7
|
+
data.tar.gz: 34e2b33034ce3a7090c27deb3c2dd709c77dad8796406eeaf47e5cf927b863894278ec010d6422d0d95956d4bc9502405cddf3d50b90caae88b28b7b7db3914d
|
@@ -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