filter_form 0.4.7 → 0.4.8

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: 7846d2bebe60316a75904652d6ac5eb2c71ea17b
4
- data.tar.gz: 4b0fe390d1905a11a7b7e664c072e2b91e7f08be
3
+ metadata.gz: 80233982749c0ce6649e7cb5ea08df75503ddb04
4
+ data.tar.gz: d8303dc1655a4622bcc2c547743f69eaab62567c
5
5
  SHA512:
6
- metadata.gz: 40f9320073c6f929ba9590edb721fa4362b8ed97548b1f23dfe747874cc285cc4a99f8d2d390361fac649b61067b189b9f2aada46009c498a0a4b3a1095fb35e
7
- data.tar.gz: 7aa22b8d064a6f030b6caf683671c56aa3274bf42ecba1ff7003a35630453bdf49c9bac69a6ebbe1b2101172ab508d0efe8a0f5a84d6519a58a9bd7572dc1cc1
6
+ metadata.gz: e247edebe4d46caa7439902c70068433278daec51195c018e14b676df359d625fb3af27a79c8771aaec50d302671310b2dd3a3c03ce2eec6c3ac44e8326a5ed4
7
+ data.tar.gz: 2b6c7daed3047895e05f7f12d63192ec9d8618975679fcc0b684e89d8698e2503f5e5adc0406cd9c116f8598139fabf8c6e3b56787672e5f841e106100e56c57
@@ -40,8 +40,8 @@ module FilterForm
40
40
  end
41
41
 
42
42
  def current_predicate
43
- if object.base.conditions.any?
44
- object.base.conditions.first.predicate.name
43
+ if object_condition
44
+ object_condition.predicate.name
45
45
  elsif options[:predicate_selector]
46
46
  predicate
47
47
  end
@@ -1,3 +1,3 @@
1
1
  module FilterForm
2
- VERSION = '0.4.7'
2
+ VERSION = '0.4.8'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: filter_form
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.7
4
+ version: 0.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Evgeny Li