hanami-validations 1.1.0 → 1.2.0.beta1

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
- SHA1:
3
- metadata.gz: 4700e123d0930205027729493768506f091d2e58
4
- data.tar.gz: 366729783cfbdffd7e09d0cc392b10800fbb724e
2
+ SHA256:
3
+ metadata.gz: bfe710eecd57e3be74f832f9cd9ba8b0d4273466bc8a1f5c9e0392a330b4599d
4
+ data.tar.gz: e9b2498aa10ff51e1194f9ad0d991fc60a2cdd7b2c7efe0ff395ccc3d865e6c5
5
5
  SHA512:
6
- metadata.gz: f34bc9ef803667dbf665a4b86f89dd17a745b0a0c1c56aba1471527d764ed1b8eea9ba067770d52699a988da10d086e856be91c6a823bd84bc86144e2d2dc76f
7
- data.tar.gz: f758a75a5240d9bc8f9d0b2a26f0c872b19a0f6ac7c58747ee57c5747bb0963ae166d769dee7d314f9d9a51fa2d59c95427bbe913d0e04a13eb10368915bb6ca
6
+ metadata.gz: 53fdfea359a2403332e538a5566dcbd00323dadc9615e81229b4da41ecda3b0f41dc49cea8976b5969c207bfb1e590043de9ce68b6ec8592e59a97ff2542c667
7
+ data.tar.gz: 2eee90f9eb3a5908ab32845eff12a18ad0b678593ec02118f49f0b4ba3fd5344d785801d9e64521c3cae6bc6f75fd5e61d4ac3c48aa8971124837ad2d7bd903f
@@ -1,6 +1,10 @@
1
1
  # Hanami::Validations
2
2
  Validations mixin for Ruby objects
3
3
 
4
+ ## v1.2.0.beta1 - 2018-02-28
5
+ ### Added
6
+ - [Luca Guidi] Official support for Ruby: MRI 2.5
7
+
4
8
  ## v1.1.0 - 2017-10-25
5
9
 
6
10
  ## v1.1.0.rc1 - 2017-10-16
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.require_paths = ['lib']
19
19
  spec.required_ruby_version = '>= 2.3.0'
20
20
 
21
- spec.add_dependency 'hanami-utils', '~> 1.1'
21
+ spec.add_dependency 'hanami-utils', '1.2.0.beta1'
22
22
  spec.add_dependency 'dry-validation', '~> 0.11'
23
23
 
24
24
  spec.add_development_dependency 'bundler', '~> 1.6'
@@ -6,9 +6,14 @@ require 'hanami/validations/inline_predicate'
6
6
  require 'set'
7
7
 
8
8
  Dry::Validation::Messages::Namespaced.configure do |config|
9
+ # rubocop:disable Lint/NestedPercentLiteral
10
+ #
11
+ # This is probably a false positive.
12
+ # See: https://github.com/bbatsov/rubocop/issues/5314
9
13
  config.lookup_paths = config.lookup_paths + %w[
10
14
  %<root>s.%<rule>s.%<predicate>s
11
15
  ].freeze
16
+ # rubocop:enable Lint/NestedPercentLiteral
12
17
  end
13
18
 
14
19
  # @since 0.1.0
@@ -15,7 +15,7 @@ module Hanami
15
15
  # module MySharedPredicates
16
16
  # include Hanami::Validations::Predicates
17
17
  #
18
- # predicate :foo? fo |actual|
18
+ # predicate :foo? do |actual|
19
19
  # actual == 'foo'
20
20
  # end
21
21
  # end
@@ -1,6 +1,6 @@
1
1
  module Hanami
2
2
  module Validations
3
3
  # @since 0.1.0
4
- VERSION = '1.1.0'.freeze
4
+ VERSION = '1.2.0.beta1'.freeze
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hanami-validations
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0.beta1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luca Guidi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-25 00:00:00.000000000 Z
11
+ date: 2018-02-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: hanami-utils
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: '1.1'
19
+ version: 1.2.0.beta1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: '1.1'
26
+ version: 1.2.0.beta1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: dry-validation
29
29
  requirement: !ruby/object:Gem::Requirement
@@ -113,12 +113,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
113
113
  version: 2.3.0
114
114
  required_rubygems_version: !ruby/object:Gem::Requirement
115
115
  requirements:
116
- - - ">="
116
+ - - ">"
117
117
  - !ruby/object:Gem::Version
118
- version: '0'
118
+ version: 1.3.1
119
119
  requirements: []
120
120
  rubyforge_project:
121
- rubygems_version: 2.6.13
121
+ rubygems_version: 2.7.5
122
122
  signing_key:
123
123
  specification_version: 4
124
124
  summary: Validations mixin for Ruby objects