glia-errors 0.12.0 → 0.14.0
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 +4 -4
- data/Gemfile +1 -1
- data/Gemfile.lock +27 -26
- data/glia-errors.gemspec +1 -1
- data/lib/glia/errors/mapper.rb +2 -1
- data/lib/glia/errors.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c54253c9c31cff619c7be5f0519497d16e4fbffd7d99b028342d5a8c09afdea1
|
|
4
|
+
data.tar.gz: 2cd269d97b594a3b1c5a0bb629ace07919f2820e1e33919f9d1128b0a4a9d089
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9e0cd589a2f4a609a8d412327134d6287e952aca20c000c6b41b5a7f5413021af543c5193b7040f74096ab3c037cd5b0c5487a47f73180f603aba9d868ef9cc9
|
|
7
|
+
data.tar.gz: 6654fd33524e1f7ff0adf13b66b95281df248224465037ab6441e672276fa701affb9cfd9a59a3b6b4bfd3e3116933810e7347bbd80851cccf7d770889c2da08
|
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
glia-errors (0.
|
|
4
|
+
glia-errors (0.14.0)
|
|
5
5
|
|
|
6
6
|
GEM
|
|
7
7
|
remote: https://rubygems.org/
|
|
@@ -10,38 +10,38 @@ GEM
|
|
|
10
10
|
attr_extras (6.2.5)
|
|
11
11
|
concurrent-ruby (1.1.10)
|
|
12
12
|
diff-lcs (1.5.0)
|
|
13
|
-
dry-configurable (0.
|
|
13
|
+
dry-configurable (1.0.1)
|
|
14
|
+
dry-core (~> 1.0, < 2)
|
|
15
|
+
zeitwerk (~> 2.6)
|
|
16
|
+
dry-core (1.0.0)
|
|
14
17
|
concurrent-ruby (~> 1.0)
|
|
15
|
-
|
|
16
|
-
dry-
|
|
17
|
-
concurrent-ruby (~> 1.0)
|
|
18
|
-
dry-configurable (~> 0.13, >= 0.13.0)
|
|
19
|
-
dry-core (0.7.1)
|
|
20
|
-
concurrent-ruby (~> 1.0)
|
|
21
|
-
dry-inflector (0.2.1)
|
|
18
|
+
zeitwerk (~> 2.6)
|
|
19
|
+
dry-inflector (1.0.0)
|
|
22
20
|
dry-initializer (3.1.1)
|
|
23
|
-
dry-logic (1.
|
|
21
|
+
dry-logic (1.5.0)
|
|
24
22
|
concurrent-ruby (~> 1.0)
|
|
25
|
-
dry-core (~> 0
|
|
26
|
-
|
|
23
|
+
dry-core (~> 1.0, < 2)
|
|
24
|
+
zeitwerk (~> 2.6)
|
|
25
|
+
dry-schema (1.13.0)
|
|
27
26
|
concurrent-ruby (~> 1.0)
|
|
28
|
-
dry-configurable (~> 0
|
|
29
|
-
dry-core (~> 0
|
|
27
|
+
dry-configurable (~> 1.0, >= 1.0.1)
|
|
28
|
+
dry-core (~> 1.0, < 2)
|
|
30
29
|
dry-initializer (~> 3.0)
|
|
31
|
-
dry-logic (
|
|
32
|
-
dry-types (
|
|
33
|
-
|
|
30
|
+
dry-logic (>= 1.5, < 2)
|
|
31
|
+
dry-types (>= 1.7, < 2)
|
|
32
|
+
zeitwerk (~> 2.6)
|
|
33
|
+
dry-types (1.7.0)
|
|
34
34
|
concurrent-ruby (~> 1.0)
|
|
35
|
-
dry-
|
|
36
|
-
dry-
|
|
37
|
-
dry-
|
|
38
|
-
|
|
39
|
-
dry-validation (1.
|
|
35
|
+
dry-core (~> 1.0, < 2)
|
|
36
|
+
dry-inflector (~> 1.0, < 2)
|
|
37
|
+
dry-logic (>= 1.4, < 2)
|
|
38
|
+
zeitwerk (~> 2.6)
|
|
39
|
+
dry-validation (1.10.0)
|
|
40
40
|
concurrent-ruby (~> 1.0)
|
|
41
|
-
dry-
|
|
42
|
-
dry-core (~> 0.5, >= 0.5)
|
|
41
|
+
dry-core (~> 1.0, < 2)
|
|
43
42
|
dry-initializer (~> 3.0)
|
|
44
|
-
dry-schema (
|
|
43
|
+
dry-schema (>= 1.12, < 2)
|
|
44
|
+
zeitwerk (~> 2.6)
|
|
45
45
|
optimist (3.0.1)
|
|
46
46
|
parallel (1.22.1)
|
|
47
47
|
parser (3.1.1.0)
|
|
@@ -87,13 +87,14 @@ GEM
|
|
|
87
87
|
diff-lcs
|
|
88
88
|
patience_diff
|
|
89
89
|
unicode-display_width (2.1.0)
|
|
90
|
+
zeitwerk (2.6.6)
|
|
90
91
|
|
|
91
92
|
PLATFORMS
|
|
92
93
|
ruby
|
|
93
94
|
x86_64-darwin-19
|
|
94
95
|
|
|
95
96
|
DEPENDENCIES
|
|
96
|
-
dry-validation (~> 1.
|
|
97
|
+
dry-validation (~> 1.10)
|
|
97
98
|
glia-errors!
|
|
98
99
|
prettier (~> 0.22)
|
|
99
100
|
rake (~> 13.0)
|
data/glia-errors.gemspec
CHANGED
data/lib/glia/errors/mapper.rb
CHANGED
|
@@ -120,7 +120,8 @@ module Glia
|
|
|
120
120
|
'is missing' => MISSING_VALUE_ERROR,
|
|
121
121
|
# Custom format errors
|
|
122
122
|
'must be in E.164 format' => INVALID_FORMAT_ERROR,
|
|
123
|
-
'must be up to 25 symbol string that contains
|
|
123
|
+
'must be up to 25 symbol string that contains 1-7 digits or hashes and any number of commas' =>
|
|
124
|
+
INVALID_FORMAT_ERROR,
|
|
124
125
|
'must be a valid email' => INVALID_FORMAT_ERROR
|
|
125
126
|
}.freeze
|
|
126
127
|
|
data/lib/glia/errors.rb
CHANGED
|
@@ -14,7 +14,7 @@ module Glia
|
|
|
14
14
|
|
|
15
15
|
# When updating supported version ensure that if new version contains new dry-validation new validations
|
|
16
16
|
# that they are correctly mapped to Glia errors in mapper.rb
|
|
17
|
-
unless dry_validation_version >= Gem::Version.new('1.0') && dry_validation_version < Gem::Version.new('1.
|
|
17
|
+
unless dry_validation_version >= Gem::Version.new('1.0') && dry_validation_version < Gem::Version.new('1.11')
|
|
18
18
|
raise 'Unsupported dry-validation version'
|
|
19
19
|
end
|
|
20
20
|
|
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.
|
|
4
|
+
version: 0.14.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Glia TechMovers
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-01-02 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: ''
|
|
14
14
|
email:
|
|
@@ -58,7 +58,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
58
58
|
- !ruby/object:Gem::Version
|
|
59
59
|
version: '0'
|
|
60
60
|
requirements: []
|
|
61
|
-
rubygems_version: 3.
|
|
61
|
+
rubygems_version: 3.3.5
|
|
62
62
|
signing_key:
|
|
63
63
|
specification_version: 4
|
|
64
64
|
summary: Glia REST API errors
|