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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0bc5fc45426e803f3fe65879afb93ed01e654e32
4
- data.tar.gz: a5edc4764c1e5760b7fcd5458de681085ee2397d
3
+ metadata.gz: 7075f76a33416244fc3786635bdda19d1e2e5b6a
4
+ data.tar.gz: 3d8eadb1cef913e2e7cc97e97c7df1ef2c917410
5
5
  SHA512:
6
- metadata.gz: 1a9fbf2f0ca614fd6e6049acf79cdc63309395ba97d44cae7c4b9a2c284744c3f523871453e525655cddf81e96909b0ce429712c8cebad5a83d8ae01952864ee
7
- data.tar.gz: 6a7404a23251bdbf7b728c9d33c0a72b455a93ac0c16fb014fcbcc328ee918b01a75603ba5b308f7b2df3974c161fbc2efa0499051e5ce747b43ef117ad224bf
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
 
@@ -1,3 +1,3 @@
1
1
  module Stretchy
2
- VERSION = "0.4.4"
2
+ VERSION = "0.4.5"
3
3
  end
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
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-15 00:00:00.000000000 Z
11
+ date: 2015-06-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: elasticsearch