dry-types 0.13.2 → 0.13.3

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
  SHA256:
3
- metadata.gz: d7399dfa5c9458f87055807c64d0fcb7be54517c171a3cf198c485fb7ce3ef5c
4
- data.tar.gz: 9e47f234bbd30a8883977c524bde4211704a04d7680d332061c5825aa600de98
3
+ metadata.gz: d477c5b2e7b19abd7d5a416c906b7d1e532bae40249213145446862ac4b49c21
4
+ data.tar.gz: dc995a583c50c208fd4ed875590e99092b865a8596354116b93ba05f96b9e8a3
5
5
  SHA512:
6
- metadata.gz: ebb5e60b9b7ade7ca10f49616b2a985beda12e43ced6477af470ad7d8dfb7b60846e0553fbff4b0c54b6f3eb589ae6feb9b445f5fdc357272fe08a2ba7852baf
7
- data.tar.gz: cf7520decd6f3df3d90837adc14bfcefb2544fd7ea53b6f315a2c0f90cc67f5808a6d8a79e9ce8332a7f7e62591f69010bfa1a58241db1fab445f38780534e70
6
+ metadata.gz: 34ffcfef654b11fa9339a8b8b1b8d3d9bb50c9dfdc849a4f0ed1b6c4f1fef9860f4ecf1dd8d204f93db91114bc23b9f5706e002bfa0605d1fea9e366efc2152f
7
+ data.tar.gz: 2efb9306f9c702415f454558d4d4a3c76d471a0898a7f9186e02c32b97da665091525e9c8dfcf501ca21c268536b3027b1c678e353cd7cc5acbf53b8616a0975
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ # v0.13.3 2018-11-25
2
+
3
+ ## Fixed
4
+
5
+ * `Dry::Types::Hash#try` returns `Failure` instead of throwing an exception on missing keys (GustavoCaso)
6
+
7
+ [Compare v0.13.2...v0.13.3](https://github.com/dry-rb/dry-types/compare/v0.13.2...v0.13.3)
8
+
1
9
  # v0.13.2 2018-05-30
2
10
 
3
11
  ## Fixed
@@ -60,7 +60,7 @@ module Dry
60
60
 
61
61
  member_result
62
62
  end
63
- rescue ConstraintError, UnknownKeysError, SchemaError => e
63
+ rescue ConstraintError, UnknownKeysError, SchemaError, MissingKeyError => e
64
64
  success = false
65
65
  result = e
66
66
  end
@@ -1,5 +1,5 @@
1
1
  module Dry
2
2
  module Types
3
- VERSION = '0.13.2'.freeze
3
+ VERSION = '0.13.3'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dry-types
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.2
4
+ version: 0.13.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Piotr Solnica
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-05-30 00:00:00.000000000 Z
11
+ date: 2018-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby