stretchy 0.4.4 → 0.4.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stretchy/filters/terms_filter.rb +1 -1
- data/lib/stretchy/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7075f76a33416244fc3786635bdda19d1e2e5b6a
|
4
|
+
data.tar.gz: 3d8eadb1cef913e2e7cc97e97c7df1ef2c917410
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be3d26637a9a1baf77b661bd5f48082f1b640e66c7e64314787347ce920cb9c98bd00abb2f03271c7c3e8617df70ad5738d4915676de55bfb20bb0129e0c2c73
|
7
|
+
data.tar.gz: ee74c3c737df88b99f1240fe81fc16319a42fef2d61f7134e24026f2a77da2571f4e7dbd9c80e80ac71a9d92824ecac99c5e974609325a43681bb6e5f1a67272
|
@@ -9,7 +9,7 @@ module Stretchy
|
|
9
9
|
|
10
10
|
validations do
|
11
11
|
rule :field, field: { required: true }
|
12
|
-
rule :terms, type: {classes: [Numeric, Time, String, Symbol], array: true}
|
12
|
+
rule :terms, type: {classes: [Numeric, Time, String, Symbol, TrueClass, FalseClass], array: true}
|
13
13
|
rule :terms, :not_empty
|
14
14
|
end
|
15
15
|
|
data/lib/stretchy/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stretchy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- agius
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-06-
|
11
|
+
date: 2015-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: elasticsearch
|