agnostic_backend 1.0.0 → 1.0.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 55349fef437b758ca314d8d3fd14baf6b86ca52d
|
4
|
+
data.tar.gz: 4aa833e4b249e29615c44c37b3b9d5dffcc4366a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2ea35d88cfc4b243b587fa0563ed319e06e2b0793c3aa48b5cf385ea5163096c25ab4031ff0b095f3fc6efbd61a6ca9e08cbbf5051ca17c7e8ecf68c4d88f046
|
7
|
+
data.tar.gz: d5a8fc429b8cf9905587b00de338b48d7badad0303451fcdd58b2cdde15eb726c5597e772fc7c9a914cdc45b209a0a3ae6af88632732ee88bb3429ac6225fbc0
|
@@ -138,7 +138,7 @@ module AgnosticBackend
|
|
138
138
|
end
|
139
139
|
|
140
140
|
def visit_attribute(subject)
|
141
|
-
if value_for_key(subject.context.index.schema, subject.name).nil? && !subject.any?
|
141
|
+
if value_for_key(subject.context.index.schema, subject.name).nil? && !subject.any? && !subject.score?
|
142
142
|
subject.context.query.errors[subject.class.name] << attribute_error(subject)
|
143
143
|
@valid = false
|
144
144
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: agnostic_backend
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Iasonas Gavriilidis
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-10-
|
13
|
+
date: 2016-10-13 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activesupport
|
@@ -217,8 +217,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
217
217
|
version: '0'
|
218
218
|
requirements: []
|
219
219
|
rubyforge_project:
|
220
|
-
rubygems_version: 2.
|
220
|
+
rubygems_version: 2.2.2
|
221
221
|
signing_key:
|
222
222
|
specification_version: 4
|
223
223
|
summary: A gem to index/query ruby objects to/from remote backends
|
224
224
|
test_files: []
|
225
|
+
has_rdoc:
|