daedal 0.0.7 → 0.0.8
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
|
+
MzAzZDVjYWNjNDY2OGI5YzRiZTQ2MDU0MTc4NDQ0MDNiNjZhMGRhZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MmNjYzQ5YzNlYzA3ZGI4Nzg4MmY1NzY3NzAyMGMyN2RlYWVhOTk2Yg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Njc3ZjFjMDQyNmM5YTQzZmU5OThhOTQ2ZDFkNjMwMTUwZmQ3YWE3ZTFjNDNl
|
10
|
+
ZWRmYTJkN2I3NTgyYjMxOGExMjQ2MTliY2UxZjRlZjM4Njg1ZDUzY2RmMWM3
|
11
|
+
ZTYzZTY1YmE4YWExYjg0OTExZjZiNjgyYTA2ODIwZmI5NGNhYzA=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ODQ2YTBhMjJlZmY3OTJlNjQwOGU5YTIwZmI4YTg2ODRkMTgxZTA2Yjk5OTVl
|
14
|
+
NDhmZDdiNzUzZTJlMWVmMmQxNmMzZmM5NzFjMDE1NmQ2MDkyMjcwNjA2OTMy
|
15
|
+
NzM4NzQ1ZjllMmQ2NzNiZGUzODYzNzU4MGVmNDFiYTdhN2UxMDc=
|
@@ -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]
|
7
|
+
ALLOWED_QUERY_VALUE_CLASSES = [String, Symbol, Float, Fixnum, Boolean]
|
8
8
|
def coerce(q)
|
9
9
|
if !required? and q.nil?
|
10
10
|
return q
|
data/lib/daedal/version.rb
CHANGED