hanami-validations 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/README.md +2 -2
- data/hanami-validations.gemspec +3 -3
- data/lib/hanami/validations/version.rb +1 -1
- data/lib/hanami/validations.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70b5be4b8bc07d571761068802364f776ad85df5
|
4
|
+
data.tar.gz: fc994cdd44f8a15a9eeac3a2a755029eea81882c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9e54242ed97aad59c790a36740a14e4083fc562a48df0f402fca4692fd2aff59f53462ee6f423dd4478aaaf6812500f68f27ea560909a470bf17dfc94df39a27
|
7
|
+
data.tar.gz: 516314756ec6966d7ee7306ba862b68fa9d76bbd2edc1350adc28fc073d0d67fe63892059699296f353a8bc35bd7f97cea861aff86e1a68bed971ebd156c52ca
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -22,7 +22,7 @@ Validations mixin for Ruby objects
|
|
22
22
|
|
23
23
|
## Rubies
|
24
24
|
|
25
|
-
__Hanami::Validations__ supports Ruby (MRI) 2+ and JRuby 9.
|
25
|
+
__Hanami::Validations__ supports Ruby (MRI) 2.3+ and JRuby 9.1.5.0+.
|
26
26
|
|
27
27
|
## Installation
|
28
28
|
|
@@ -355,7 +355,7 @@ It takes the input and tries to coerce it. If it fails, the execution stops. If
|
|
355
355
|
* `BigDecimal` (aliased as `decimal?`)
|
356
356
|
* `Boolean` (aliased as `bool?`)
|
357
357
|
* `Date` (aliased as `date?`)
|
358
|
-
* `DateTime` (aliased as `
|
358
|
+
* `DateTime` (aliased as `date_time?`)
|
359
359
|
* `Float` (aliased as `float?`)
|
360
360
|
* `Hash` (aliased as `hash?`)
|
361
361
|
* `Integer` (aliased as `int?`)
|
data/hanami-validations.gemspec
CHANGED
@@ -17,10 +17,10 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ['lib']
|
20
|
-
spec.required_ruby_version = '>= 2.
|
20
|
+
spec.required_ruby_version = '>= 2.3.0'
|
21
21
|
|
22
|
-
spec.add_dependency 'hanami-utils', '~> 0.
|
23
|
-
spec.add_dependency 'dry-validation', '~> 0.
|
22
|
+
spec.add_dependency 'hanami-utils', '~> 0.9'
|
23
|
+
spec.add_dependency 'dry-validation', '~> 0.10'
|
24
24
|
|
25
25
|
spec.add_development_dependency 'bundler', '~> 1.6'
|
26
26
|
spec.add_development_dependency 'minitest', '~> 5'
|
data/lib/hanami/validations.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hanami-validations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Luca Guidi
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2016-
|
13
|
+
date: 2016-11-15 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: hanami-utils
|
@@ -18,28 +18,28 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - "~>"
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: '0.
|
21
|
+
version: '0.9'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - "~>"
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: '0.
|
28
|
+
version: '0.9'
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: dry-validation
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
33
|
- - "~>"
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: '0.
|
35
|
+
version: '0.10'
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '0.
|
42
|
+
version: '0.10'
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: bundler
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -114,7 +114,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
114
114
|
requirements:
|
115
115
|
- - ">="
|
116
116
|
- !ruby/object:Gem::Version
|
117
|
-
version: 2.
|
117
|
+
version: 2.3.0
|
118
118
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
119
119
|
requirements:
|
120
120
|
- - ">="
|