nxt_error_registry 0.1.4 → 0.1.5

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: d5e4747e5ca829838f0977c5fc22d6968694db1bd68b0893cd9477962db25e21
4
- data.tar.gz: 00a3e42521ae209cf531dfa34c4247f1659a2af1ee3bcb1a8b216ed356683e13
3
+ metadata.gz: 81f8e5f082ad4102b8169a7a2d32b64c6d18c76d540d02633079c17810aa77fc
4
+ data.tar.gz: cd5ed061fa59e185f02713c6c23819908c63e7a620825aa19423e13874e5242f
5
5
  SHA512:
6
- metadata.gz: 598eb012588cd6d2dc748ed66043aac228d78397712f42a0ea72390e495bf7aebac8fc05ddf5b401c2d172c087bd4aa7f2c518c487181aed67b1298947585369
7
- data.tar.gz: 67f6b433945347d037d4e354347a7d21794f75fdae34d0b59ec7252efa037082c688708316f78b5fc024e218b0c7f5409004c856f8583144bf8c96bb8c24e158
6
+ metadata.gz: c847511610fc594af7f6d9089a8acb67eafe593cced55739f0bba19d3c9760bda35e7011dd90216030ef5265877ac3c23473a26455f2b2c3709fd873c2fc35bd
7
+ data.tar.gz: 7512647e36c7c21bf3c45e5ec933bd82240f7ec1515c687a4769725da6490b9123f46a9d756783d923a95d6bd1b4423d3cb192a04c6d4071f63cc6275f42d277
@@ -1,68 +1,68 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- nxt_error_registry (0.1.4)
4
+ nxt_error_registry (0.1.5)
5
5
  activesupport (< 6.1)
6
6
  rails (< 6.1)
7
7
 
8
8
  GEM
9
9
  remote: https://rubygems.org/
10
10
  specs:
11
- actioncable (6.0.2.1)
12
- actionpack (= 6.0.2.1)
11
+ actioncable (6.0.3.2)
12
+ actionpack (= 6.0.3.2)
13
13
  nio4r (~> 2.0)
14
14
  websocket-driver (>= 0.6.1)
15
- actionmailbox (6.0.2.1)
16
- actionpack (= 6.0.2.1)
17
- activejob (= 6.0.2.1)
18
- activerecord (= 6.0.2.1)
19
- activestorage (= 6.0.2.1)
20
- activesupport (= 6.0.2.1)
15
+ actionmailbox (6.0.3.2)
16
+ actionpack (= 6.0.3.2)
17
+ activejob (= 6.0.3.2)
18
+ activerecord (= 6.0.3.2)
19
+ activestorage (= 6.0.3.2)
20
+ activesupport (= 6.0.3.2)
21
21
  mail (>= 2.7.1)
22
- actionmailer (6.0.2.1)
23
- actionpack (= 6.0.2.1)
24
- actionview (= 6.0.2.1)
25
- activejob (= 6.0.2.1)
22
+ actionmailer (6.0.3.2)
23
+ actionpack (= 6.0.3.2)
24
+ actionview (= 6.0.3.2)
25
+ activejob (= 6.0.3.2)
26
26
  mail (~> 2.5, >= 2.5.4)
27
27
  rails-dom-testing (~> 2.0)
28
- actionpack (6.0.2.1)
29
- actionview (= 6.0.2.1)
30
- activesupport (= 6.0.2.1)
28
+ actionpack (6.0.3.2)
29
+ actionview (= 6.0.3.2)
30
+ activesupport (= 6.0.3.2)
31
31
  rack (~> 2.0, >= 2.0.8)
32
32
  rack-test (>= 0.6.3)
33
33
  rails-dom-testing (~> 2.0)
34
34
  rails-html-sanitizer (~> 1.0, >= 1.2.0)
35
- actiontext (6.0.2.1)
36
- actionpack (= 6.0.2.1)
37
- activerecord (= 6.0.2.1)
38
- activestorage (= 6.0.2.1)
39
- activesupport (= 6.0.2.1)
35
+ actiontext (6.0.3.2)
36
+ actionpack (= 6.0.3.2)
37
+ activerecord (= 6.0.3.2)
38
+ activestorage (= 6.0.3.2)
39
+ activesupport (= 6.0.3.2)
40
40
  nokogiri (>= 1.8.5)
41
- actionview (6.0.2.1)
42
- activesupport (= 6.0.2.1)
41
+ actionview (6.0.3.2)
42
+ activesupport (= 6.0.3.2)
43
43
  builder (~> 3.1)
44
44
  erubi (~> 1.4)
45
45
  rails-dom-testing (~> 2.0)
46
46
  rails-html-sanitizer (~> 1.1, >= 1.2.0)
47
- activejob (6.0.2.1)
48
- activesupport (= 6.0.2.1)
47
+ activejob (6.0.3.2)
48
+ activesupport (= 6.0.3.2)
49
49
  globalid (>= 0.3.6)
50
- activemodel (6.0.2.1)
51
- activesupport (= 6.0.2.1)
52
- activerecord (6.0.2.1)
53
- activemodel (= 6.0.2.1)
54
- activesupport (= 6.0.2.1)
55
- activestorage (6.0.2.1)
56
- actionpack (= 6.0.2.1)
57
- activejob (= 6.0.2.1)
58
- activerecord (= 6.0.2.1)
50
+ activemodel (6.0.3.2)
51
+ activesupport (= 6.0.3.2)
52
+ activerecord (6.0.3.2)
53
+ activemodel (= 6.0.3.2)
54
+ activesupport (= 6.0.3.2)
55
+ activestorage (6.0.3.2)
56
+ actionpack (= 6.0.3.2)
57
+ activejob (= 6.0.3.2)
58
+ activerecord (= 6.0.3.2)
59
59
  marcel (~> 0.3.1)
60
- activesupport (6.0.2.1)
60
+ activesupport (6.0.3.2)
61
61
  concurrent-ruby (~> 1.0, >= 1.0.2)
62
62
  i18n (>= 0.7, < 2)
63
63
  minitest (~> 5.1)
64
64
  tzinfo (~> 1.1)
65
- zeitwerk (~> 2.2)
65
+ zeitwerk (~> 2.2, >= 2.2.2)
66
66
  builder (3.2.4)
67
67
  coderay (1.1.2)
68
68
  concurrent-ruby (1.1.6)
@@ -71,52 +71,52 @@ GEM
71
71
  erubi (1.9.0)
72
72
  globalid (0.4.2)
73
73
  activesupport (>= 4.2.0)
74
- i18n (1.8.2)
74
+ i18n (1.8.3)
75
75
  concurrent-ruby (~> 1.0)
76
- loofah (2.4.0)
76
+ loofah (2.6.0)
77
77
  crass (~> 1.0.2)
78
78
  nokogiri (>= 1.5.9)
79
79
  mail (2.7.1)
80
80
  mini_mime (>= 0.1.1)
81
81
  marcel (0.3.3)
82
82
  mimemagic (~> 0.3.2)
83
- method_source (0.9.2)
84
- mimemagic (0.3.4)
83
+ method_source (1.0.0)
84
+ mimemagic (0.3.5)
85
85
  mini_mime (1.0.2)
86
86
  mini_portile2 (2.4.0)
87
- minitest (5.14.0)
87
+ minitest (5.14.1)
88
88
  nio4r (2.5.2)
89
89
  nokogiri (1.10.9)
90
90
  mini_portile2 (~> 2.4.0)
91
- pry (0.12.2)
92
- coderay (~> 1.1.0)
93
- method_source (~> 0.9.0)
94
- rack (2.2.2)
91
+ pry (0.13.1)
92
+ coderay (~> 1.1)
93
+ method_source (~> 1.0)
94
+ rack (2.2.3)
95
95
  rack-test (1.1.0)
96
96
  rack (>= 1.0, < 3)
97
- rails (6.0.2.1)
98
- actioncable (= 6.0.2.1)
99
- actionmailbox (= 6.0.2.1)
100
- actionmailer (= 6.0.2.1)
101
- actionpack (= 6.0.2.1)
102
- actiontext (= 6.0.2.1)
103
- actionview (= 6.0.2.1)
104
- activejob (= 6.0.2.1)
105
- activemodel (= 6.0.2.1)
106
- activerecord (= 6.0.2.1)
107
- activestorage (= 6.0.2.1)
108
- activesupport (= 6.0.2.1)
97
+ rails (6.0.3.2)
98
+ actioncable (= 6.0.3.2)
99
+ actionmailbox (= 6.0.3.2)
100
+ actionmailer (= 6.0.3.2)
101
+ actionpack (= 6.0.3.2)
102
+ actiontext (= 6.0.3.2)
103
+ actionview (= 6.0.3.2)
104
+ activejob (= 6.0.3.2)
105
+ activemodel (= 6.0.3.2)
106
+ activerecord (= 6.0.3.2)
107
+ activestorage (= 6.0.3.2)
108
+ activesupport (= 6.0.3.2)
109
109
  bundler (>= 1.3.0)
110
- railties (= 6.0.2.1)
110
+ railties (= 6.0.3.2)
111
111
  sprockets-rails (>= 2.0.0)
112
112
  rails-dom-testing (2.0.3)
113
113
  activesupport (>= 4.2.0)
114
114
  nokogiri (>= 1.6)
115
115
  rails-html-sanitizer (1.3.0)
116
116
  loofah (~> 2.3)
117
- railties (6.0.2.1)
118
- actionpack (= 6.0.2.1)
119
- activesupport (= 6.0.2.1)
117
+ railties (6.0.3.2)
118
+ actionpack (= 6.0.3.2)
119
+ activesupport (= 6.0.3.2)
120
120
  method_source
121
121
  rake (>= 0.8.7)
122
122
  thor (>= 0.20.3, < 2.0)
@@ -136,7 +136,7 @@ GEM
136
136
  rspec-support (3.9.0)
137
137
  rspec_junit_formatter (0.4.1)
138
138
  rspec-core (>= 2, < 4, != 2.12.0)
139
- sprockets (4.0.0)
139
+ sprockets (4.0.2)
140
140
  concurrent-ruby (~> 1.0)
141
141
  rack (> 1, < 3)
142
142
  sprockets-rails (3.2.1)
@@ -145,12 +145,12 @@ GEM
145
145
  sprockets (>= 3.0.0)
146
146
  thor (1.0.1)
147
147
  thread_safe (0.3.6)
148
- tzinfo (1.2.6)
148
+ tzinfo (1.2.7)
149
149
  thread_safe (~> 0.1)
150
- websocket-driver (0.7.1)
150
+ websocket-driver (0.7.2)
151
151
  websocket-extensions (>= 0.1.0)
152
- websocket-extensions (0.1.4)
153
- zeitwerk (2.2.2)
152
+ websocket-extensions (0.1.5)
153
+ zeitwerk (2.3.1)
154
154
 
155
155
  PLATFORMS
156
156
  ruby
@@ -20,6 +20,7 @@ module NxtErrorRegistry
20
20
  inherited_options = type.try(:options) || {}
21
21
  inherited_options.merge(opts)
22
22
  end
23
+ error_class.delegate :code, to: :class
23
24
 
24
25
  const_set(name, error_class)
25
26
  entry = { code: code, error_class: error_class, type: type, name: name, namespace: self.to_s, opts: opts }
@@ -1,3 +1,3 @@
1
1
  module NxtErrorRegistry
2
- VERSION = "0.1.4".freeze
2
+ VERSION = "0.1.5".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nxt_error_registry
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andreas Robecke
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2020-03-02 00:00:00.000000000 Z
13
+ date: 2020-07-03 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler