dry-schema 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 63100127599f36457192bd183784388f1ca2328c0bd91f4e4d2adb2498b57bb2
4
- data.tar.gz: 82c6cad8a1bda4c89723a2ccccce7eab8bb56c9e90b0ce385cc4d632993be90c
3
+ metadata.gz: c66e7f3b66548c71cfc384f907b92c20d5328c1e726557d8a2a5084605818d7b
4
+ data.tar.gz: 4e0737dc66accd0149367edb1e2494f2cf776859023ced9eee36b7b6c2962804
5
5
  SHA512:
6
- metadata.gz: dbef0b527a8e4742b3845d8bebf45b88d960fa969956599f6504ce785fb9d2b7461ad8cc94e2e4b238956dc79641007d54be3b435f73551f2219f01db8b3f60d
7
- data.tar.gz: c01c98b4600c7fcec9efa3f38f0cd6a27b86191804a7502b80da81d564282cb581ac5bc69c5c006cebb4826d0f7d6653230612a80f530a301494d1fe5af01203
6
+ metadata.gz: 7b2203dd173361640beba6981c4dafc16a11ec5bb31429cf5457f8447622648969b07a0f7b5eb1bd2c7fbd74fe2667a8bc1bb7f3564f71fb048d3fe4f35dce74
7
+ data.tar.gz: a657196a6d00386336654dd75a79142674d36fb101ae45796ebc9afd75467e31470e86862f7fa1cf759d4a406dd79b0cca0a09c587befd6ac81f766c78322f27
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ # 1.0.1 2019-05-08
2
+
3
+ ### Fixed
4
+
5
+ * Applying `key?` predicate no longer causes recursive calls to `Result#errors` (issue #130) (solnic)
6
+
7
+ [Compare v1.0.0...v1.0.1](https://github.com/dry-rb/dry-schema/compare/v1.0.0...v1.0.1)
8
+
1
9
  # 1.0.0 2019-05-03
2
10
 
3
11
  ### Changed
data/README.md CHANGED
@@ -14,7 +14,8 @@
14
14
 
15
15
  ## Links
16
16
 
17
- * [Documentation](http://dry-rb.org/gems/dry-schema)
17
+ * [User documentation](http://dry-rb.org/gems/dry-schema)
18
+ * [API documentation](http://rubydoc.info/gems/dry-schema)
18
19
 
19
20
  ## Supported Ruby versions
20
21
 
@@ -23,8 +24,6 @@ This library officially supports following Ruby versions:
23
24
  * MRI >= `2.4`
24
25
  * jruby >= `9.2`
25
26
 
26
- It **should** work on MRI `2.3.x` too, but there's no official support for this version.
27
-
28
27
  ## License
29
28
 
30
29
  See `LICENSE` file.
@@ -32,7 +32,7 @@ module Dry
32
32
  rules.each do |name, rule|
33
33
  next if input.error?(name)
34
34
 
35
- result = rule.(input)
35
+ result = rule.(input.to_h)
36
36
  results << result if result.failure?
37
37
  end
38
38
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Dry
4
4
  module Schema
5
- VERSION = '1.0.0'
5
+ VERSION = '1.0.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry-schema
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Solnica
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-03 00:00:00.000000000 Z
11
+ date: 2019-05-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby