daedal 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/daedal/attributes/query_value.rb +1 -1
- data/lib/daedal/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZWY3ZDMyOWU5OTNhZWEzNDViNGYwZjkxZDQ1Y2E3MTczODM4MzlmYQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDY2ZTFjYmRmNDAzMjRiYjgyYjI4NGNkZTc2Mzg2NTYzZGI3NzNmZQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MzQ4YjZiMjFjNGFjOWZlZDQ0YjlmMjZmZWFiMWZkYjBkNTFkOGNkOWNkMmI4
|
10
|
+
ZGQ2YjE4NzkyN2E2NjA4ZjFkOTAzN2JkNGU1NzVmOTMyMjE4YTA3Nzc2YmVm
|
11
|
+
YWYyYTlmMjRhNTc1OTlmOTI0YzJkZjNkNzgwNmU2YzEwNzFjMGU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NGZmY2I4NjYyZGU4NjFhOTY2MmM2NDRkZGZjNjU5MzcyMjU4NGQ4ZGNjYmJk
|
14
|
+
ODNiYTg1YzNhMDI4N2Y5NDE0ZDZlMjBiZWIzNThhNTRmNDU4YzVmMWNjYzU1
|
15
|
+
MTFjYmI0NTgwNzE2MGY5ZDdjODM0ODNiMmIwZmJmOWYwYzZlYjc=
|
@@ -4,7 +4,7 @@ module Daedal
|
|
4
4
|
a string, a symbol, a float, or an integer. If it's none
|
5
5
|
of those, raises a coercion error."""
|
6
6
|
class QueryValue < Virtus::Attribute
|
7
|
-
ALLOWED_QUERY_VALUE_CLASSES = [String, Symbol, Float, Fixnum, Boolean]
|
7
|
+
ALLOWED_QUERY_VALUE_CLASSES = [String, Symbol, Float, Fixnum, Boolean, TrueClass, FalseClass]
|
8
8
|
def coerce(q)
|
9
9
|
if !required? and q.nil?
|
10
10
|
return q
|
data/lib/daedal/version.rb
CHANGED