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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 82f7ed42843fd9e538ad62d2657868bc1ae04f27
4
- data.tar.gz: 1085aba298d69ac53d0b0044b668c975ed27589c
3
+ metadata.gz: 70b5be4b8bc07d571761068802364f776ad85df5
4
+ data.tar.gz: fc994cdd44f8a15a9eeac3a2a755029eea81882c
5
5
  SHA512:
6
- metadata.gz: 6a1eb54deef5dbcef139dffea132a3b78c31573835d44b3bb296341627affc3d880a7b06a54f3d948f890653f320b596e333720388b2e84adc60914c00c576b9
7
- data.tar.gz: 9e3e32580c50d69b0bf5d7d59a8e313596bff4ec8c8efa2ae39c6991db22695c5d24bb9244ed81baf472fed260fbde1098e30cff8d7b8bf5c92b38c24997550a
6
+ metadata.gz: 9e54242ed97aad59c790a36740a14e4083fc562a48df0f402fca4692fd2aff59f53462ee6f423dd4478aaaf6812500f68f27ea560909a470bf17dfc94df39a27
7
+ data.tar.gz: 516314756ec6966d7ee7306ba862b68fa9d76bbd2edc1350adc28fc073d0d67fe63892059699296f353a8bc35bd7f97cea861aff86e1a68bed971ebd156c52ca
data/CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
1
  # Hanami::Validations
2
2
  Validations mixin for Ruby objects
3
3
 
4
+ ## v0.7.0 - 2016-11-15
5
+ ### Changed
6
+ - [Luca Guidi] Official support for Ruby: MRI 2.3+ and JRuby 9.1.5.0+
7
+
4
8
  ## v0.6.0 - 2016-07-22
5
9
  ### Added
6
10
  - [Luca Guidi] Predicates syntax
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.0.5.0+.
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 `datetime?`)
358
+ * `DateTime` (aliased as `date_time?`)
359
359
  * `Float` (aliased as `float?`)
360
360
  * `Hash` (aliased as `hash?`)
361
361
  * `Integer` (aliased as `int?`)
@@ -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.2.0'
20
+ spec.required_ruby_version = '>= 2.3.0'
21
21
 
22
- spec.add_dependency 'hanami-utils', '~> 0.8'
23
- spec.add_dependency 'dry-validation', '~> 0.9'
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'
@@ -1,6 +1,6 @@
1
1
  module Hanami
2
2
  module Validations
3
3
  # @since 0.1.0
4
- VERSION = '0.6.0'.freeze
4
+ VERSION = '0.7.0'.freeze
5
5
  end
6
6
  end
@@ -204,7 +204,7 @@ module Hanami
204
204
  # class Signup
205
205
  # include Hanami::Validations
206
206
  #
207
- # messages :i18n
207
+ # messages_path 'config/messages.yml'
208
208
  # end
209
209
  def messages_path(path)
210
210
  self._messages_path = path
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.6.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-07-22 00:00:00.000000000 Z
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.8'
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.8'
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.9'
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.9'
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.2.0
117
+ version: 2.3.0
118
118
  required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  requirements:
120
120
  - - ">="