standardapi 5.0.0.13 → 5.0.0.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: c59b61721bd50c3342ae8ad4746ec650646bff63
4
- data.tar.gz: 3dc496b6b9c633722bfeb6bfe5fcef47b19edd49
3
+ metadata.gz: d4095b09787b11d959aa9b8fa93b622c00a4ea17
4
+ data.tar.gz: 52d6e190c82940c32497ddf56faadea89d726bd4
5
5
  SHA512:
6
- metadata.gz: d9b9995365441d4d9dd77e0daa9f6df6994cc4097bcc61a3ae89830fe7b0853b60317eccc86395356c67a26ab551f5541253de8f40ae764ef93bdc48dab8ef39
7
- data.tar.gz: 002220236b0cabea9fca6313f2eacdf6cc1b05fa794652942313e642a6e0a45f804291429695da1053a73a8ad4ff84489f2c643457d92630b0c9170bb94883d4
6
+ metadata.gz: e0bf2507e1cde35d75cf02ba964dbe46b67e7d203dec4e2ec057d1361f378112dd5bbf2b3c4e68b76f565680ecdf80c62bf96e014ae6839b30a4d00c253a2cea
7
+ data.tar.gz: c0b9fcad3f525a0495df22d05f1d81e8112497cc67da4bc8ac7f0f8c40d228811d80940678a86753c2ffbefa77a3d82cbc19f6a60058c2c42f8bcfe3891666fd
@@ -155,6 +155,7 @@ module StandardAPI::TestCase
155
155
  model.instance_variable_get('@filters').each do |filter|
156
156
  next if filter[1].is_a?(Proc) # Custom filter
157
157
  next if model.reflect_on_association(filter[0]) # TODO: Relation Filter Tests
158
+ next if !model.respond_to?(filter[0])
158
159
 
159
160
  define_method("test_model_filter_#{filter[0]}") do
160
161
  m = create_model
@@ -1,3 +1,3 @@
1
1
  module StandardAPI
2
- VERSION = '5.0.0.13'
2
+ VERSION = '5.0.0.14'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standardapi
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.0.0.13
4
+ version: 5.0.0.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Bracy