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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1e3c865ee54b275329d94f5b3c171c6aed874781
4
- data.tar.gz: b4c06a40883b9441b0024d0710d394d72835484a
3
+ metadata.gz: 6b3272200e4d6343d49dec5aab8667e19b556e85
4
+ data.tar.gz: 60fd7a0ea2885cf4826cda7092f74acf68293f2b
5
5
  SHA512:
6
- metadata.gz: 1d1eba8c16955fe10b2c88e81ddde4ac7eccade72ee63e70967f98774654b71667d2eb28b06ac9ff1d7dd87f59598861a5e51b736979d607cfa77d4f8af4ef44
7
- data.tar.gz: 45839d127fb8b41a296c614d801654b8d8a4be8ae95e302155e5ffa635e93af3d77b91dd8eccb3cfb4173f4398c4ea3f363b623aac23ca357fda81d9f126c7d7
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|
@@ -1,3 +1,3 @@
1
1
  module Switchman
2
- VERSION = "1.9.13"
2
+ VERSION = "1.9.14"
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.9.13
4
+ version: 1.9.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cody Cutrer