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 +5 -5
- data/CHANGELOG.md +4 -0
- data/hanami-validations.gemspec +1 -1
- data/lib/hanami/validations.rb +5 -0
- data/lib/hanami/validations/predicates.rb +1 -1
- data/lib/hanami/validations/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: bfe710eecd57e3be74f832f9cd9ba8b0d4273466bc8a1f5c9e0392a330b4599d
|
4
|
+
data.tar.gz: e9b2498aa10ff51e1194f9ad0d991fc60a2cdd7b2c7efe0ff395ccc3d865e6c5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 53fdfea359a2403332e538a5566dcbd00323dadc9615e81229b4da41ecda3b0f41dc49cea8976b5969c207bfb1e590043de9ce68b6ec8592e59a97ff2542c667
|
7
|
+
data.tar.gz: 2eee90f9eb3a5908ab32845eff12a18ad0b678593ec02118f49f0b4ba3fd5344d785801d9e64521c3cae6bc6f75fd5e61d4ac3c48aa8971124837ad2d7bd903f
|
data/CHANGELOG.md
CHANGED
data/hanami-validations.gemspec
CHANGED
@@ -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', '
|
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'
|
data/lib/hanami/validations.rb
CHANGED
@@ -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
|
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.
|
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:
|
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:
|
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:
|
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:
|
118
|
+
version: 1.3.1
|
119
119
|
requirements: []
|
120
120
|
rubyforge_project:
|
121
|
-
rubygems_version: 2.
|
121
|
+
rubygems_version: 2.7.5
|
122
122
|
signing_key:
|
123
123
|
specification_version: 4
|
124
124
|
summary: Validations mixin for Ruby objects
|