dry-validation 0.11.0 → 0.11.1

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: af9da55418a70694a1054cc6fc125bffccf37d1a
4
- data.tar.gz: cef2923c24927ee14feddb382fc90dd2b282a513
3
+ metadata.gz: dabf44058263610b6c475d558c6c6ea6653981a9
4
+ data.tar.gz: a2a4584cdd4292e50c0463f0b252f7d2bf726155
5
5
  SHA512:
6
- metadata.gz: 7b1355d156e1ff29e6b76a216c31c87c1c997f62b7557f4c1613b7a512b5fe15490d3d62cd26dc61e2e1aa313c26e4d1a801dc5dd16b25336aaf38e5a6bbc23e
7
- data.tar.gz: 8a381ddab628f2c79c0d506bd41ff91a796397c33f8b1f6449db6f3cbeee997cca427b5ac09b4169540c26efc2d38a884459d7f31d522de5488aeac2e20f3d45
6
+ metadata.gz: '018b3da6879dd3d6125c1b4b05479926b2b4d4b7cc2ae1e0c724f4c82d81bf42d0103aebe7c12e48a94435df089c829d3be1491beff3b1f683867bb3b7205a96'
7
+ data.tar.gz: d2b39cee50faa3bcd918c2e848775e5d862b6f6a745a99de3c6739ee84bbe7b210be4a6fd35231e1fed36aaa83da9e94f84f40a5d3b70c0db267f8af70f4601b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ # v0.11.1 2017-09-15
2
+
3
+ ### Changed
4
+
5
+ * [internal] fix warnings from dry-types v0.12.0
6
+
7
+ [Compare v0.11.0...v0.11.1](https://github.com/dry-rb/dry-validation/compare/v0.11.0...v0.11.1)
8
+
1
9
  # v0.11.0 2017-05-30
2
10
 
3
11
  ### Changed
data/CONTRIBUTING.md CHANGED
@@ -6,11 +6,11 @@ If you found a bug, report an issue and describe what's the expected behavior ve
6
6
 
7
7
  ## Reporting feature requests
8
8
 
9
- Report a feature request **only after discussing it first on [discuss.dry-rb.org](https://discuss.dry-rb.org)** where it was accepted. Please provide a concise description of the feature, don't link to a discussion thread, and instead summarize what was discussed.
9
+ Report a feature request **only after discussing it first on [the discussion forum][1]** where it was accepted. Please provide a concise description of the feature, don't link to a discussion thread, and instead summarize what was discussed.
10
10
 
11
11
  ## Reporting questions, support requests, ideas, concerns etc.
12
12
 
13
- **PLEASE DON'T** - use [discuss.dry-rb.org](http://discuss.dry-rb.org) instead.
13
+ **PLEASE DON'T** - use [the discussion forum][1] instead.
14
14
 
15
15
  # Pull Request Guidelines
16
16
 
@@ -22,8 +22,10 @@ Other requirements:
22
22
  2) Follow the style conventions of the surrounding code. In most cases, this is standard ruby style.
23
23
  3) Add API documentation if it's a new feature
24
24
  4) Update API documentation if it changes an existing feature
25
- 5) Bonus points for sending a PR to [github.com/dry-rb/dry-rb.org](github.com/dry-rb/dry-rb.org) which updates user documentation and guides
25
+ 5) Bonus points for sending a PR to [github.com/dry-rb/dry-rb.org](https://github.com/dry-rb/dry-rb.org) which updates user documentation and guides
26
26
 
27
27
  # Asking for help
28
28
 
29
- If these guidelines aren't helpful, and you're stuck, please post a message on [discuss.dry-rb.org](https://discuss.dry-rb.org).
29
+ If these guidelines aren't helpful, and you're stuck, please post a message on [the discussion forum][1].
30
+
31
+ [1]: https://discourse.dry-rb.org/
data/Gemfile CHANGED
@@ -3,6 +3,7 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  gem 'dry-types', git: 'https://github.com/dry-rb/dry-types', branch: 'master'
6
+ gem 'dry-logic', git: 'https://github.com/dry-rb/dry-logic', branch: 'master'
6
7
 
7
8
  group :test do
8
9
  gem 'i18n', require: false
data/README.md CHANGED
@@ -17,6 +17,7 @@
17
17
  ## Links
18
18
 
19
19
  * [Documentation](http://dry-rb.org/gems/dry-validation)
20
+ * [Guidelines for contributing](CONTRIBUTING.md)
20
21
 
21
22
  ## License
22
23
 
@@ -1,4 +1,3 @@
1
- # coding: utf-8
2
1
  require File.expand_path('../lib/dry/validation/version', __FILE__)
3
2
 
4
3
  Gem::Specification.new do |spec|
@@ -7,7 +6,7 @@ Gem::Specification.new do |spec|
7
6
  spec.authors = ['Andy Holland', 'Piotr Solnica']
8
7
  spec.email = ['andyholland1991@aol.com', 'piotr.solnica@gmail.com']
9
8
  spec.summary = 'A simple validation library'
10
- spec.homepage = 'https://github.com/dryrb/dry-validation'
9
+ spec.homepage = 'https://github.com/dry-rb/dry-validation'
11
10
  spec.license = 'MIT'
12
11
 
13
12
  spec.files = `git ls-files -z`.split("\x0") - ['bin/console']
@@ -19,7 +18,7 @@ Gem::Specification.new do |spec|
19
18
  spec.add_runtime_dependency 'dry-configurable', '~> 0.1', '>= 0.1.3'
20
19
  spec.add_runtime_dependency 'dry-equalizer', '~> 0.2'
21
20
  spec.add_runtime_dependency 'dry-logic', '~> 0.4', '>= 0.4.0'
22
- spec.add_runtime_dependency 'dry-types', '~> 0.11.0'
21
+ spec.add_runtime_dependency 'dry-types', '~> 0.12.0'
23
22
  spec.add_runtime_dependency 'dry-core', '~> 0.2', '>= 0.2.1'
24
23
 
25
24
  spec.add_development_dependency 'bundler'
@@ -30,7 +30,7 @@ module Dry
30
30
  member_type = lookup_type("hash", category)
31
31
  .public_send(config.hash_type, member_schema)
32
32
 
33
- lookup_type("array", category).member(member_type)
33
+ lookup_type("array", category).of(member_type)
34
34
  end
35
35
 
36
36
  def build_sum_type(spec, category)
@@ -51,7 +51,7 @@ module Dry
51
51
  build_array_type(spec[0], category)
52
52
  else
53
53
  array_member = lookup_type(spec[0], category)
54
- lookup_type("array", category).member(array_member)
54
+ lookup_type("array", category).of(array_member)
55
55
  end
56
56
  else
57
57
  build_sum_type(spec, category)
@@ -1,5 +1,5 @@
1
1
  module Dry
2
2
  module Validation
3
- VERSION = '0.11.0'.freeze
3
+ VERSION = '0.11.1'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry-validation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andy Holland
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-06-30 00:00:00.000000000 Z
12
+ date: 2017-09-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: concurrent-ruby
@@ -85,14 +85,14 @@ dependencies:
85
85
  requirements:
86
86
  - - "~>"
87
87
  - !ruby/object:Gem::Version
88
- version: 0.11.0
88
+ version: 0.12.0
89
89
  type: :runtime
90
90
  prerelease: false
91
91
  version_requirements: !ruby/object:Gem::Requirement
92
92
  requirements:
93
93
  - - "~>"
94
94
  - !ruby/object:Gem::Version
95
- version: 0.11.0
95
+ version: 0.12.0
96
96
  - !ruby/object:Gem::Dependency
97
97
  name: dry-core
98
98
  requirement: !ruby/object:Gem::Requirement
@@ -348,7 +348,7 @@ files:
348
348
  - spec/unit/schema/rule_spec.rb
349
349
  - spec/unit/schema/value_spec.rb
350
350
  - spec/unit/schema_spec.rb
351
- homepage: https://github.com/dryrb/dry-validation
351
+ homepage: https://github.com/dry-rb/dry-validation
352
352
  licenses:
353
353
  - MIT
354
354
  metadata: {}
@@ -368,7 +368,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
368
368
  version: '0'
369
369
  requirements: []
370
370
  rubyforge_project:
371
- rubygems_version: 2.6.12
371
+ rubygems_version: 2.6.11
372
372
  signing_key:
373
373
  specification_version: 4
374
374
  summary: A simple validation library