active_scaffold 3.4.21 → 3.4.21.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: 305b70bbadf4986fe5db1d87e33cabd4612d8ee7
4
- data.tar.gz: 2a9a2f6b260bd3b73d1dfac99f1937c20034a615
3
+ metadata.gz: 2641f0115e9a352a90a64c42516c93cb70ad96ae
4
+ data.tar.gz: b4e82f29dba536593087b6571ec625bd54ce3fe5
5
5
  SHA512:
6
- metadata.gz: f2d50d8c971e3765c6ddcbd341ac74b191833f8c45445ce22e5de6f798551c7b0be4484d36cbd08b18ee24d56cd783d28fa168025e8d068021607fd046a4b987
7
- data.tar.gz: 5bfdbbf6b81a65da5629b59535805332e0e23dc6d178cc1461c7101048a30c53ea64d897f79f21d4ef8126efee67b907c47e8760baedfd9a85bf6bd8e5ae79d7
6
+ metadata.gz: c225344ba6e0af85bd7241d6acaa6f159f7948b5827339f019393d0b8c6306f0b929101db99344446b1ee7001b3df223465bfc54e48031cac12f82b69ed94591
7
+ data.tar.gz: 3afa6ed037ae641dea1539a983a9c1dad535df70e783b1582376841508154156fab0a736a35ab836eaebf0b75f85be79d6cae97a2c9e2f36d790adc649744559
data/CHANGELOG CHANGED
@@ -1,3 +1,6 @@
1
+ = 3.4.21.1
2
+ - Fix field_search when contains is used on rails 4.2
3
+
1
4
  = 3.4.21
2
5
  - Fix excluding a bridge
3
6
  - Allow to call helpers from dynamic_parameters proc
@@ -37,6 +37,7 @@ module ActiveScaffold
37
37
  # TODO: this should reside on the column, not the controller
38
38
  def condition_for_column(column, value, text_search = :full)
39
39
  like_pattern = like_pattern(text_search)
40
+ value = value.with_indifferent_access if value.is_a? Hash
40
41
  if self.respond_to?("condition_for_#{column.name}_column")
41
42
  return send("condition_for_#{column.name}_column", column, value, like_pattern)
42
43
  end
@@ -2,7 +2,7 @@ module ActiveScaffold
2
2
  module Version
3
3
  MAJOR = 3
4
4
  MINOR = 4
5
- PATCH = 21
5
+ PATCH = "21.1"
6
6
 
7
7
  STRING = [MAJOR, MINOR, PATCH].compact.join('.')
8
8
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_scaffold
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.21
4
+ version: 3.4.21.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Many, see README