sidekiq_remappable_errors 1.0.0 → 1.0.1
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/.circleci/config.yml +65 -0
- data/.rubocop.yml +3 -0
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +1 -1
- data/README.md +1 -1
- data/lib/sidekiq_remappable_errors.rb +5 -4
- data/lib/sidekiq_remappable_errors/version.rb +1 -1
- metadata +2 -2
- data/.travis.yml +0 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de7ef67c94263f443a01c4b399362ab194e55e704c1ffb8eff6d5f22ae494157
|
4
|
+
data.tar.gz: 8efbebbd55aed9f4b5195877c08460912f4ff3b7983c4b59b7ff1cafe462404b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6213157e1a46bccb7309f0dc35562c229ea51bf8ba01e412e7bbe96fadfe8dce1e8927b5bca091df7bb6662bbf7a1a9c30133cd633aeda661198c5fc389a4c27
|
7
|
+
data.tar.gz: 3b9979097b336b95ec48bbae776bcf04532bf7c5c3fc3eb65b137ae8fb6ad0c3b838641f38314d73df73042b0bf0cb88d42a8d722d1f4ee5acbd548a884aca28
|
@@ -0,0 +1,65 @@
|
|
1
|
+
version: 2.1
|
2
|
+
|
3
|
+
jobs:
|
4
|
+
'Build - Ruby 3_0':
|
5
|
+
docker:
|
6
|
+
- image: circleci/ruby:3.0.0
|
7
|
+
steps:
|
8
|
+
- checkout # special step to check out source code to working directory
|
9
|
+
- run:
|
10
|
+
name: Install Bundler
|
11
|
+
command: gem install bundler:2.2.13
|
12
|
+
- restore_cache:
|
13
|
+
keys:
|
14
|
+
- gem-cache-ruby-3-v1{{ checksum "Gemfile.lock" }}
|
15
|
+
- gem-cache-ruby-3
|
16
|
+
- run:
|
17
|
+
name: Bundle Install
|
18
|
+
command: bundle check || bundle install --without production
|
19
|
+
- save_cache:
|
20
|
+
key: gem-cache-ruby-3-v1{{ checksum "Gemfile.lock" }}
|
21
|
+
paths:
|
22
|
+
- vendor/bundle
|
23
|
+
- run:
|
24
|
+
name: 'Lint: Rubocop'
|
25
|
+
command: bundle exec rubocop .
|
26
|
+
- run:
|
27
|
+
name: Run RSpec
|
28
|
+
command: bundle exec rspec spec
|
29
|
+
- store_test_results:
|
30
|
+
path: test_results
|
31
|
+
|
32
|
+
'Build - Ruby 2_7_3':
|
33
|
+
docker:
|
34
|
+
- image: circleci/ruby:2.7.3
|
35
|
+
steps:
|
36
|
+
- checkout # special step to check out source code to working directory
|
37
|
+
- run:
|
38
|
+
name: Install Bundler
|
39
|
+
command: gem install bundler:2.2.13
|
40
|
+
- restore_cache:
|
41
|
+
keys:
|
42
|
+
- gem-cache-ruby-2-7-3-v1{{ checksum "Gemfile.lock" }}
|
43
|
+
- gem-cache-ruby-2-7-3
|
44
|
+
- run:
|
45
|
+
name: Bundle Install
|
46
|
+
command: bundle check || bundle install --without production
|
47
|
+
- save_cache:
|
48
|
+
key: gem-cache-ruby-2-7-3-v1{{ checksum "Gemfile.lock" }}
|
49
|
+
paths:
|
50
|
+
- vendor/bundle
|
51
|
+
- run:
|
52
|
+
name: 'Lint: Rubocop'
|
53
|
+
command: bundle exec rubocop .
|
54
|
+
- run:
|
55
|
+
name: Run RSpec
|
56
|
+
command: bundle exec rspec spec
|
57
|
+
- store_test_results:
|
58
|
+
path: test_results
|
59
|
+
|
60
|
+
workflows:
|
61
|
+
version: 2
|
62
|
+
build:
|
63
|
+
jobs:
|
64
|
+
- 'Build - Ruby 3_0'
|
65
|
+
- 'Build - Ruby 2_7_3'
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
[](https://circleci.com/gh/truecoach/sidekiq_remappable_errors)
|
2
2
|
|
3
3
|
# SidekiqRemappableErrors
|
4
4
|
|
@@ -101,10 +101,11 @@ module SidekiqRemappableErrors
|
|
101
101
|
retry_opt = sidekiq_options[:retry]
|
102
102
|
|
103
103
|
# 25 is the hardcoded default in Sidekiq
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
104
|
+
case retry_opt
|
105
|
+
when false then 0
|
106
|
+
when true then 25
|
107
|
+
else retry_opt
|
108
|
+
end
|
108
109
|
end
|
109
110
|
end
|
110
111
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq_remappable_errors
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Steel
|
@@ -91,11 +91,11 @@ executables: []
|
|
91
91
|
extensions: []
|
92
92
|
extra_rdoc_files: []
|
93
93
|
files:
|
94
|
+
- ".circleci/config.yml"
|
94
95
|
- ".gitignore"
|
95
96
|
- ".rspec"
|
96
97
|
- ".rubocop.yml"
|
97
98
|
- ".tool-versions"
|
98
|
-
- ".travis.yml"
|
99
99
|
- CHANGELOG.md
|
100
100
|
- CODE_OF_CONDUCT.md
|
101
101
|
- Gemfile
|