glia-errors 0.11.9 → 0.11.10

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: c6b6fd12bc363fc02141616b3a4b4990ba176e7f93c1295ee91b3d22c16a5cd2
4
- data.tar.gz: 27ba41bf2ef41afc16287eb499a88a92cd260536063fa6ca8d588db4077a87de
3
+ metadata.gz: 182a479821307d1d9b7fd5b1ba47ee4bbeb5cb8c69c6e58963d387b8b383b92b
4
+ data.tar.gz: 988265708f5ed2a46d14a05c39ec2b526f27ef540959f5d234a749cb7290c8b5
5
5
  SHA512:
6
- metadata.gz: a4ded59fd8088231026d3763ca9152294ccbb1ace364b88c5bf2f279d5f31024955116b5b3f733ca020ea56d8d1bd797478d57e9740def00cc2ecb14b815096b
7
- data.tar.gz: ce5dc9d176e3c1abd5a31c51a7845d11fba29cf449296a75d2c0e8fb0acd77fb5b0aa74d803f17d10ab67b447c29b158e046cae0738bb47138669c3dfe9a85cd
6
+ metadata.gz: c83b5503cd6904ac367f1afbebcdf9e45a380bdaacb28d0ff10a414ef68cffd2d7ea8dbf227b1577427108c5ced9a636c5cf4fe71500adbfe20a2981e5fccf5b
7
+ data.tar.gz: 594b6ab2e41d8219cfe587db80e5c04684b780f7c9eb74dcc90289c84ccd2ecfcf49a942ba74ce64d042b5039895a7c9831397682933131284496d030c281e33
data/Appraisals CHANGED
@@ -10,5 +10,5 @@ if ruby_major_version < 3
10
10
  end
11
11
 
12
12
  appraise 'dry_validation_v1' do
13
- gem 'dry-validation', '~> 1.7'
13
+ gem 'dry-validation', '~> 1.8'
14
14
  end
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- glia-errors (0.11.9)
4
+ glia-errors (0.11.10)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -9,7 +9,7 @@ gem "rubocop", "~> 1.5"
9
9
  gem "rubocop-rake", "~> 0.5"
10
10
  gem "rubocop-rspec", "~> 2.0"
11
11
  gem "super_diff"
12
- gem "dry-validation", "~> 1.7"
12
+ gem "dry-validation", "~> 1.8"
13
13
 
14
14
  group :test do
15
15
  gem "appraisal"
data/glia-errors.gemspec CHANGED
@@ -5,7 +5,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
5
5
 
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = 'glia-errors'
8
- spec.version = '0.11.9'
8
+ spec.version = '0.11.10'
9
9
  spec.authors = ['Glia TechMovers']
10
10
  spec.email = ['techmovers@glia.com']
11
11
 
data/lib/glia/errors.rb CHANGED
@@ -13,7 +13,7 @@ module Glia
13
13
  dry_validation_version = Gem.loaded_specs['dry-validation'].version
14
14
  if dry_validation_version < Gem::Version.new('1.0')
15
15
  Mapper.from_dry_validation_result(result.output, result.errors, custom_error_map)
16
- elsif dry_validation_version <= Gem::Version.new('1.8')
16
+ elsif dry_validation_version <= Gem::Version.new('2.0')
17
17
  Mapper.from_dry_validation_result(result.to_h, result.errors.to_h, custom_error_map)
18
18
  else
19
19
  raise 'Unsupported dry-validation version'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: glia-errors
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.9
4
+ version: 0.11.10
5
5
  platform: ruby
6
6
  authors:
7
7
  - Glia TechMovers
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-27 00:00:00.000000000 Z
11
+ date: 2022-06-10 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: ''
14
14
  email: