nxt_error_registry 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.circleci/config.yml +55 -0
- data/.ruby-version +1 -0
- data/Gemfile.lock +76 -57
- data/README.md +3 -1
- data/lib/nxt_error_registry/version.rb +1 -1
- data/nxt_error_registry.gemspec +4 -4
- metadata +29 -14
- data/.travis.yml +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 39411f4660b2f84e9b90872475acd50301deddce8d75cda339826516da1f3d44
|
4
|
+
data.tar.gz: 7a65ddbb2ef5dfd1a0129b7350f6b6c971d8dd9c9a831b8b49e8db287bc4f6bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e31a35fccc1a72de32da01fe4f665cfbd9f19bd02bdc403abadb09deed7248d7b6015021694c0483599851e89c7f2128ddca08c3d750f8df2afef8b77a6ccf0f
|
7
|
+
data.tar.gz: 58b03e32559f6c1813ff85f2bdc0368841b7db4ba459c8ccc0ce6a2d6af3ff4a597807d0c405804d67d8a017bb2f59f96f3de3be745d2715f1ffa98c0dc62db4
|
@@ -0,0 +1,55 @@
|
|
1
|
+
version: 2
|
2
|
+
|
3
|
+
jobs:
|
4
|
+
build:
|
5
|
+
working_directory: /home/circleci/app
|
6
|
+
docker:
|
7
|
+
- image: circleci/ruby:2.6.2-node
|
8
|
+
environment:
|
9
|
+
RACK_ENV: test
|
10
|
+
RAILS_ENV: test
|
11
|
+
COVERAGE: true
|
12
|
+
# CC_TEST_REPORTER_ID: YOUR_REPO_CC_TEST_REPORTER_ID # ENV var set in CircleCI user interface
|
13
|
+
steps:
|
14
|
+
- checkout
|
15
|
+
# libpq-dev: required for compiling the `pg` gem
|
16
|
+
# nodejs: required for asset compilation (see https://github.com/rails/execjs)
|
17
|
+
- run:
|
18
|
+
name: Install apt dependencies
|
19
|
+
command: |
|
20
|
+
sudo apt update -q \
|
21
|
+
&& sudo apt upgrade -q
|
22
|
+
- restore_cache:
|
23
|
+
key: v3-bundler-{{ checksum "Gemfile.lock" }}-{{ arch }}
|
24
|
+
- run: gem install bundler
|
25
|
+
- run: bundle config build.nokogiri --use-system-libraries
|
26
|
+
- run: bundle install --without staging:production --path=vendor/bundle --jobs=4 --retry=3
|
27
|
+
- save_cache:
|
28
|
+
key: v3-bundler-{{ checksum "Gemfile.lock" }}-{{ arch }}
|
29
|
+
paths:
|
30
|
+
- vendor/bundle
|
31
|
+
- run:
|
32
|
+
name: Collect and filter specs
|
33
|
+
command: |
|
34
|
+
mkdir -p tmp/circleci
|
35
|
+
circleci tests glob "spec/**/*_spec.rb" > tmp/circleci/all_tests.txt
|
36
|
+
circleci tests split --split-by=timings < tmp/circleci/all_tests.txt > tmp/circleci/tests_to_run.txt
|
37
|
+
echo "These specs will be run:"
|
38
|
+
cat tmp/circleci/tests_to_run.txt
|
39
|
+
- run:
|
40
|
+
name: Parallel RSpec
|
41
|
+
command: |
|
42
|
+
bundle exec rspec \
|
43
|
+
--color \
|
44
|
+
--format progress \
|
45
|
+
--require spec_helper \
|
46
|
+
--format RspecJunitFormatter --out /tmp/rspec/junit.xml \
|
47
|
+
$(cat tmp/circleci/tests_to_run.txt)
|
48
|
+
# actually not necessary for test results to be collected, but these files
|
49
|
+
# won't show up in the web UI otherwise
|
50
|
+
- store_artifacts:
|
51
|
+
path: /tmp/rspec/
|
52
|
+
destination: rspec
|
53
|
+
|
54
|
+
- store_test_results:
|
55
|
+
path: /tmp/rspec/
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.6.3
|
data/Gemfile.lock
CHANGED
@@ -1,55 +1,68 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
nxt_error_registry (0.1.
|
5
|
-
activesupport (
|
6
|
-
rails (
|
4
|
+
nxt_error_registry (0.1.2)
|
5
|
+
activesupport (< 6.1)
|
6
|
+
rails (< 6.1)
|
7
7
|
|
8
8
|
GEM
|
9
9
|
remote: https://rubygems.org/
|
10
10
|
specs:
|
11
|
-
actioncable (
|
12
|
-
actionpack (=
|
11
|
+
actioncable (6.0.0)
|
12
|
+
actionpack (= 6.0.0)
|
13
13
|
nio4r (~> 2.0)
|
14
14
|
websocket-driver (>= 0.6.1)
|
15
|
-
|
16
|
-
actionpack (=
|
17
|
-
|
18
|
-
|
15
|
+
actionmailbox (6.0.0)
|
16
|
+
actionpack (= 6.0.0)
|
17
|
+
activejob (= 6.0.0)
|
18
|
+
activerecord (= 6.0.0)
|
19
|
+
activestorage (= 6.0.0)
|
20
|
+
activesupport (= 6.0.0)
|
21
|
+
mail (>= 2.7.1)
|
22
|
+
actionmailer (6.0.0)
|
23
|
+
actionpack (= 6.0.0)
|
24
|
+
actionview (= 6.0.0)
|
25
|
+
activejob (= 6.0.0)
|
19
26
|
mail (~> 2.5, >= 2.5.4)
|
20
27
|
rails-dom-testing (~> 2.0)
|
21
|
-
actionpack (
|
22
|
-
actionview (=
|
23
|
-
activesupport (=
|
28
|
+
actionpack (6.0.0)
|
29
|
+
actionview (= 6.0.0)
|
30
|
+
activesupport (= 6.0.0)
|
24
31
|
rack (~> 2.0)
|
25
32
|
rack-test (>= 0.6.3)
|
26
33
|
rails-dom-testing (~> 2.0)
|
27
|
-
rails-html-sanitizer (~> 1.0, >= 1.0
|
28
|
-
|
29
|
-
|
34
|
+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
35
|
+
actiontext (6.0.0)
|
36
|
+
actionpack (= 6.0.0)
|
37
|
+
activerecord (= 6.0.0)
|
38
|
+
activestorage (= 6.0.0)
|
39
|
+
activesupport (= 6.0.0)
|
40
|
+
nokogiri (>= 1.8.5)
|
41
|
+
actionview (6.0.0)
|
42
|
+
activesupport (= 6.0.0)
|
30
43
|
builder (~> 3.1)
|
31
44
|
erubi (~> 1.4)
|
32
45
|
rails-dom-testing (~> 2.0)
|
33
|
-
rails-html-sanitizer (~> 1.
|
34
|
-
activejob (
|
35
|
-
activesupport (=
|
46
|
+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
47
|
+
activejob (6.0.0)
|
48
|
+
activesupport (= 6.0.0)
|
36
49
|
globalid (>= 0.3.6)
|
37
|
-
activemodel (
|
38
|
-
activesupport (=
|
39
|
-
activerecord (
|
40
|
-
activemodel (=
|
41
|
-
activesupport (=
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
activerecord (=
|
50
|
+
activemodel (6.0.0)
|
51
|
+
activesupport (= 6.0.0)
|
52
|
+
activerecord (6.0.0)
|
53
|
+
activemodel (= 6.0.0)
|
54
|
+
activesupport (= 6.0.0)
|
55
|
+
activestorage (6.0.0)
|
56
|
+
actionpack (= 6.0.0)
|
57
|
+
activejob (= 6.0.0)
|
58
|
+
activerecord (= 6.0.0)
|
46
59
|
marcel (~> 0.3.1)
|
47
|
-
activesupport (
|
60
|
+
activesupport (6.0.0)
|
48
61
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
49
62
|
i18n (>= 0.7, < 2)
|
50
63
|
minitest (~> 5.1)
|
51
64
|
tzinfo (~> 1.1)
|
52
|
-
|
65
|
+
zeitwerk (~> 2.1, >= 2.1.8)
|
53
66
|
builder (3.2.3)
|
54
67
|
coderay (1.1.2)
|
55
68
|
concurrent-ruby (1.1.5)
|
@@ -69,56 +82,60 @@ GEM
|
|
69
82
|
mimemagic (~> 0.3.2)
|
70
83
|
method_source (0.9.2)
|
71
84
|
mimemagic (0.3.3)
|
72
|
-
mini_mime (1.0.
|
85
|
+
mini_mime (1.0.2)
|
73
86
|
mini_portile2 (2.4.0)
|
74
87
|
minitest (5.11.3)
|
75
|
-
nio4r (2.
|
76
|
-
nokogiri (1.10.
|
88
|
+
nio4r (2.4.0)
|
89
|
+
nokogiri (1.10.4)
|
77
90
|
mini_portile2 (~> 2.4.0)
|
78
91
|
pry (0.12.2)
|
79
92
|
coderay (~> 1.1.0)
|
80
93
|
method_source (~> 0.9.0)
|
81
|
-
rack (2.0.
|
94
|
+
rack (2.0.7)
|
82
95
|
rack-test (1.1.0)
|
83
96
|
rack (>= 1.0, < 3)
|
84
|
-
rails (
|
85
|
-
actioncable (=
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
97
|
+
rails (6.0.0)
|
98
|
+
actioncable (= 6.0.0)
|
99
|
+
actionmailbox (= 6.0.0)
|
100
|
+
actionmailer (= 6.0.0)
|
101
|
+
actionpack (= 6.0.0)
|
102
|
+
actiontext (= 6.0.0)
|
103
|
+
actionview (= 6.0.0)
|
104
|
+
activejob (= 6.0.0)
|
105
|
+
activemodel (= 6.0.0)
|
106
|
+
activerecord (= 6.0.0)
|
107
|
+
activestorage (= 6.0.0)
|
108
|
+
activesupport (= 6.0.0)
|
94
109
|
bundler (>= 1.3.0)
|
95
|
-
railties (=
|
110
|
+
railties (= 6.0.0)
|
96
111
|
sprockets-rails (>= 2.0.0)
|
97
112
|
rails-dom-testing (2.0.3)
|
98
113
|
activesupport (>= 4.2.0)
|
99
114
|
nokogiri (>= 1.6)
|
100
|
-
rails-html-sanitizer (1.0
|
115
|
+
rails-html-sanitizer (1.2.0)
|
101
116
|
loofah (~> 2.2, >= 2.2.2)
|
102
|
-
railties (
|
103
|
-
actionpack (=
|
104
|
-
activesupport (=
|
117
|
+
railties (6.0.0)
|
118
|
+
actionpack (= 6.0.0)
|
119
|
+
activesupport (= 6.0.0)
|
105
120
|
method_source
|
106
121
|
rake (>= 0.8.7)
|
107
|
-
thor (>= 0.
|
108
|
-
rake (
|
122
|
+
thor (>= 0.20.3, < 2.0)
|
123
|
+
rake (12.3.3)
|
109
124
|
rspec (3.8.0)
|
110
125
|
rspec-core (~> 3.8.0)
|
111
126
|
rspec-expectations (~> 3.8.0)
|
112
127
|
rspec-mocks (~> 3.8.0)
|
113
|
-
rspec-core (3.8.
|
128
|
+
rspec-core (3.8.1)
|
114
129
|
rspec-support (~> 3.8.0)
|
115
|
-
rspec-expectations (3.8.
|
130
|
+
rspec-expectations (3.8.4)
|
116
131
|
diff-lcs (>= 1.2.0, < 2.0)
|
117
132
|
rspec-support (~> 3.8.0)
|
118
|
-
rspec-mocks (3.8.
|
133
|
+
rspec-mocks (3.8.1)
|
119
134
|
diff-lcs (>= 1.2.0, < 2.0)
|
120
135
|
rspec-support (~> 3.8.0)
|
121
|
-
rspec-support (3.8.
|
136
|
+
rspec-support (3.8.2)
|
137
|
+
rspec_junit_formatter (0.4.1)
|
138
|
+
rspec-core (>= 2, < 4, != 2.12.0)
|
122
139
|
sprockets (3.7.2)
|
123
140
|
concurrent-ruby (~> 1.0)
|
124
141
|
rack (> 1, < 3)
|
@@ -130,9 +147,10 @@ GEM
|
|
130
147
|
thread_safe (0.3.6)
|
131
148
|
tzinfo (1.2.5)
|
132
149
|
thread_safe (~> 0.1)
|
133
|
-
websocket-driver (0.7.
|
150
|
+
websocket-driver (0.7.1)
|
134
151
|
websocket-extensions (>= 0.1.0)
|
135
|
-
websocket-extensions (0.1.
|
152
|
+
websocket-extensions (0.1.4)
|
153
|
+
zeitwerk (2.1.9)
|
136
154
|
|
137
155
|
PLATFORMS
|
138
156
|
ruby
|
@@ -141,8 +159,9 @@ DEPENDENCIES
|
|
141
159
|
bundler (~> 2.0)
|
142
160
|
nxt_error_registry!
|
143
161
|
pry
|
144
|
-
rake (~>
|
162
|
+
rake (~> 12.3)
|
145
163
|
rspec (~> 3.0)
|
164
|
+
rspec_junit_formatter (~> 0.4.1)
|
146
165
|
|
147
166
|
BUNDLED WITH
|
148
167
|
2.0.1
|
data/README.md
CHANGED
@@ -1,3 +1,5 @@
|
|
1
|
+
[![CircleCI](https://circleci.com/gh/nxt-insurance/nxt_error_registry.svg?style=svg)](https://circleci.com/gh/nxt-insurance/nxt_error_registry)
|
2
|
+
|
1
3
|
# NxtErrorRegistry
|
2
4
|
|
3
5
|
Register all your errors in a sane way.
|
@@ -65,7 +67,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
65
67
|
|
66
68
|
## Contributing
|
67
69
|
|
68
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/
|
70
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/nxt-insurance/nxt_error_registry.
|
69
71
|
|
70
72
|
## License
|
71
73
|
|
data/nxt_error_registry.gemspec
CHANGED
@@ -1,4 +1,3 @@
|
|
1
|
-
|
2
1
|
lib = File.expand_path("../lib", __FILE__)
|
3
2
|
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
3
|
require "nxt_error_registry/version"
|
@@ -36,9 +35,10 @@ Gem::Specification.new do |spec|
|
|
36
35
|
spec.require_paths = ["lib"]
|
37
36
|
|
38
37
|
spec.add_development_dependency "bundler", "~> 2.0"
|
39
|
-
spec.add_development_dependency "rake", "~>
|
38
|
+
spec.add_development_dependency "rake", "~> 12.3"
|
40
39
|
spec.add_development_dependency "rspec", "~> 3.0"
|
40
|
+
spec.add_development_dependency "rspec_junit_formatter", "~> 0.4.1"
|
41
41
|
spec.add_development_dependency "pry"
|
42
|
-
spec.add_dependency "activesupport", "
|
43
|
-
spec.add_dependency "rails", "
|
42
|
+
spec.add_dependency "activesupport", "< 6.1"
|
43
|
+
spec.add_dependency "rails", "< 6.1"
|
44
44
|
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
|
+
version: 0.1.2
|
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: 2019-
|
13
|
+
date: 2019-08-17 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: bundler
|
@@ -32,14 +32,14 @@ dependencies:
|
|
32
32
|
requirements:
|
33
33
|
- - "~>"
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: '
|
35
|
+
version: '12.3'
|
36
36
|
type: :development
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '
|
42
|
+
version: '12.3'
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: rspec
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -54,6 +54,20 @@ dependencies:
|
|
54
54
|
- - "~>"
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: '3.0'
|
57
|
+
- !ruby/object:Gem::Dependency
|
58
|
+
name: rspec_junit_formatter
|
59
|
+
requirement: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - "~>"
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: 0.4.1
|
64
|
+
type: :development
|
65
|
+
prerelease: false
|
66
|
+
version_requirements: !ruby/object:Gem::Requirement
|
67
|
+
requirements:
|
68
|
+
- - "~>"
|
69
|
+
- !ruby/object:Gem::Version
|
70
|
+
version: 0.4.1
|
57
71
|
- !ruby/object:Gem::Dependency
|
58
72
|
name: pry
|
59
73
|
requirement: !ruby/object:Gem::Requirement
|
@@ -72,30 +86,30 @@ dependencies:
|
|
72
86
|
name: activesupport
|
73
87
|
requirement: !ruby/object:Gem::Requirement
|
74
88
|
requirements:
|
75
|
-
- - "
|
89
|
+
- - "<"
|
76
90
|
- !ruby/object:Gem::Version
|
77
|
-
version: '
|
91
|
+
version: '6.1'
|
78
92
|
type: :runtime
|
79
93
|
prerelease: false
|
80
94
|
version_requirements: !ruby/object:Gem::Requirement
|
81
95
|
requirements:
|
82
|
-
- - "
|
96
|
+
- - "<"
|
83
97
|
- !ruby/object:Gem::Version
|
84
|
-
version: '
|
98
|
+
version: '6.1'
|
85
99
|
- !ruby/object:Gem::Dependency
|
86
100
|
name: rails
|
87
101
|
requirement: !ruby/object:Gem::Requirement
|
88
102
|
requirements:
|
89
|
-
- - "
|
103
|
+
- - "<"
|
90
104
|
- !ruby/object:Gem::Version
|
91
|
-
version: '
|
105
|
+
version: '6.1'
|
92
106
|
type: :runtime
|
93
107
|
prerelease: false
|
94
108
|
version_requirements: !ruby/object:Gem::Requirement
|
95
109
|
requirements:
|
96
|
-
- - "
|
110
|
+
- - "<"
|
97
111
|
- !ruby/object:Gem::Version
|
98
|
-
version: '
|
112
|
+
version: '6.1'
|
99
113
|
description: Write a longer description or delete this line.
|
100
114
|
email:
|
101
115
|
- a.robecke@getsafe.de
|
@@ -103,9 +117,10 @@ executables: []
|
|
103
117
|
extensions: []
|
104
118
|
extra_rdoc_files: []
|
105
119
|
files:
|
120
|
+
- ".circleci/config.yml"
|
106
121
|
- ".gitignore"
|
107
122
|
- ".rspec"
|
108
|
-
- ".
|
123
|
+
- ".ruby-version"
|
109
124
|
- Gemfile
|
110
125
|
- Gemfile.lock
|
111
126
|
- LICENSE.txt
|
@@ -144,7 +159,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
144
159
|
- !ruby/object:Gem::Version
|
145
160
|
version: '0'
|
146
161
|
requirements: []
|
147
|
-
rubygems_version: 3.0.
|
162
|
+
rubygems_version: 3.0.3
|
148
163
|
signing_key:
|
149
164
|
specification_version: 4
|
150
165
|
summary: Write a short summary, because RubyGems requires one.
|