sidekiq_portal 0.3.1 → 1.0.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/.github/workflows/lint.yml +22 -0
- data/.github/workflows/tests.yml +45 -0
- data/.rubocop.yml +8 -1
- data/CHANGELOG.md +11 -0
- data/Gemfile +9 -1
- data/Gemfile.lock +139 -80
- data/LICENSE.txt +1 -1
- data/README.md +5 -2
- data/Rakefile +10 -4
- data/lib/portal/errors.rb +1 -1
- data/lib/portal/job_manager/builder.rb +5 -2
- data/lib/portal/version.rb +3 -3
- data/sidekiq_portal.gemspec +3 -14
- metadata +9 -129
- data/.travis.yml +0 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b17a84d961c42d766ddd61fe2258bc8501e01cc2287437d44d4fe1a4b036fc58
|
4
|
+
data.tar.gz: 14b8487d0e38a604592230b33618517ebaa913da6b6b85d6fd3975e01f193883
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f5164db2ac0c7ccfa851bdfc7cd967dde69f30c5ebc62a6b509bf689e53a3290b6d813b1510c23293a4eab15348e06bbaf7d408ec2a28928b218b250bb712aaa
|
7
|
+
data.tar.gz: 042d39b21ab52040b09b21bded76c713d2d8b9f99a54ccb54c70b1235893d9bc268a44531412eb8a7b956a8f9a1a99fd82f7a0c4f002cd1398d161b02c25ec34
|
@@ -0,0 +1,22 @@
|
|
1
|
+
name: Lint (Rubocop)
|
2
|
+
on: [push]
|
3
|
+
jobs:
|
4
|
+
lint:
|
5
|
+
name: 'Lint (os: ${{ matrix.os }}) (ruby@${{ matrix.ruby_version }})'
|
6
|
+
strategy:
|
7
|
+
fail-fast: false
|
8
|
+
matrix:
|
9
|
+
ruby_version: ['3.4']
|
10
|
+
os: [ubuntu-latest]
|
11
|
+
runs-on: ${{ matrix.os }}
|
12
|
+
env:
|
13
|
+
BUNDLE_FORCE_RUBY_PLATFORM: 1
|
14
|
+
steps:
|
15
|
+
- uses: actions/checkout@v4
|
16
|
+
- uses: supercharge/redis-github-action@1.7.0
|
17
|
+
- uses: ruby/setup-ruby@v1
|
18
|
+
with:
|
19
|
+
ruby-version: ${{ matrix.ruby_version }}
|
20
|
+
bundler-cache: true
|
21
|
+
- name: (Linter) Rubocop
|
22
|
+
run: bundle exec rake rubocop
|
@@ -0,0 +1,45 @@
|
|
1
|
+
name: Tests (RSpec)
|
2
|
+
on: [push]
|
3
|
+
jobs:
|
4
|
+
test-previous:
|
5
|
+
name: '(os: ${{ matrix.os }}) (ruby@${{ matrix.ruby_version }})'
|
6
|
+
strategy:
|
7
|
+
fail-fast: false
|
8
|
+
matrix:
|
9
|
+
ruby_version: ['3.3']
|
10
|
+
os: [ubuntu-latest]
|
11
|
+
runs-on: ${{ matrix.os }}
|
12
|
+
env:
|
13
|
+
BUNDLE_RETRY: 3
|
14
|
+
BUNDLE_JOBS: 4
|
15
|
+
BUNDLE_FORCE_RUBY_PLATFORM: 1
|
16
|
+
steps:
|
17
|
+
- uses: actions/checkout@v4
|
18
|
+
- uses: supercharge/redis-github-action@1.7.0
|
19
|
+
- uses: ruby/setup-ruby@v1
|
20
|
+
with:
|
21
|
+
ruby-version: ${{ matrix.ruby_version }}
|
22
|
+
bundler-cache: true
|
23
|
+
- name: (Test) RSpec
|
24
|
+
run: bundle exec rake rspec
|
25
|
+
test-mainstream:
|
26
|
+
name: 'Tests (os: ${{ matrix.os }}) (ruby@${{ matrix.ruby_version }})'
|
27
|
+
strategy:
|
28
|
+
fail-fast: false
|
29
|
+
matrix:
|
30
|
+
ruby_version: ['3.4']
|
31
|
+
os: [ubuntu-latest]
|
32
|
+
runs-on: ${{ matrix.os }}
|
33
|
+
env:
|
34
|
+
BUNDLE_RETRY: 3
|
35
|
+
BUNDLE_JOBS: 4
|
36
|
+
BUNDLE_FORCE_RUBY_PLATFORM: 1
|
37
|
+
steps:
|
38
|
+
- uses: actions/checkout@v4
|
39
|
+
- uses: supercharge/redis-github-action@1.7.0
|
40
|
+
- uses: ruby/setup-ruby@v1
|
41
|
+
with:
|
42
|
+
ruby-version: ${{ matrix.ruby_version }}
|
43
|
+
bundler-cache: true
|
44
|
+
- name: Tests (RSpec)
|
45
|
+
run: bundle exec rake rspec
|
data/.rubocop.yml
CHANGED
@@ -3,9 +3,10 @@ inherit_gem:
|
|
3
3
|
- lib/rubocop.general.yml
|
4
4
|
- lib/rubocop.rake.yml
|
5
5
|
- lib/rubocop.rspec.yml
|
6
|
+
- lib/rubocop.rbs.yml
|
6
7
|
|
7
8
|
AllCops:
|
8
|
-
TargetRubyVersion:
|
9
|
+
TargetRubyVersion: 3.4
|
9
10
|
NewCops: enable
|
10
11
|
Include:
|
11
12
|
- lib/**/*.rb
|
@@ -23,3 +24,9 @@ Style/RedundantBegin:
|
|
23
24
|
# NOTE: too situative
|
24
25
|
Metrics/ParameterLists:
|
25
26
|
Enabled: false
|
27
|
+
|
28
|
+
Gemspec/DevelopmentDependencies:
|
29
|
+
EnforcedStyle: Gemfile
|
30
|
+
|
31
|
+
Gemspec/RequiredRubyVersion:
|
32
|
+
Enabled: false
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,17 @@
|
|
1
1
|
# Changelog
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
|
4
|
+
## [1.0.0] - 2025-10-05
|
5
|
+
### Added
|
6
|
+
- Support for **Rails@8** and **Sidekiq@8**;
|
7
|
+
- Drop EOL rubies from support (now we supports **>= Ruby@3.2**);
|
8
|
+
### Changed
|
9
|
+
- Updated development dependencies;
|
10
|
+
|
11
|
+
## [0.3.2] - 2023-04-27
|
12
|
+
### Added
|
13
|
+
- Support for `:class` option name for job class name in scheduler config;
|
14
|
+
|
4
15
|
## [0.3.1] - 2022-10-10
|
5
16
|
### Fixed
|
6
17
|
- Fixed `ActiveSupport`'s dependnecy lock which did not allow the use of Rails@7;
|
data/Gemfile
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
source 'https://rubygems.org'
|
4
|
-
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
|
5
4
|
gemspec
|
5
|
+
|
6
|
+
gem 'armitage-rubocop', require: false
|
7
|
+
gem 'rspec', require: false
|
8
|
+
gem 'simplecov', require: false
|
9
|
+
gem 'sidekiq', require: false
|
10
|
+
gem 'timecop', require: false
|
11
|
+
gem 'bundler', require: false
|
12
|
+
gem 'rake', require: false
|
13
|
+
gem 'pry', require: false
|
data/Gemfile.lock
CHANGED
@@ -1,120 +1,179 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
sidekiq_portal (0.3.
|
5
|
-
activesupport (>= 4, <
|
4
|
+
sidekiq_portal (0.3.2)
|
5
|
+
activesupport (>= 4, < 9)
|
6
6
|
fugit (~> 1.7)
|
7
7
|
qonfig (~> 0.28)
|
8
8
|
|
9
9
|
GEM
|
10
10
|
remote: https://rubygems.org/
|
11
11
|
specs:
|
12
|
-
activesupport (
|
13
|
-
|
12
|
+
activesupport (8.0.3)
|
13
|
+
base64
|
14
|
+
benchmark (>= 0.3)
|
15
|
+
bigdecimal
|
16
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
17
|
+
connection_pool (>= 2.2.5)
|
18
|
+
drb
|
14
19
|
i18n (>= 1.6, < 2)
|
20
|
+
logger (>= 1.4.2)
|
15
21
|
minitest (>= 5.1)
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
rubocop
|
21
|
-
rubocop-
|
22
|
-
rubocop-
|
23
|
-
|
22
|
+
securerandom (>= 0.3)
|
23
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
24
|
+
uri (>= 0.13.1)
|
25
|
+
armitage-rubocop (1.75.7.7)
|
26
|
+
rubocop (= 1.75.7)
|
27
|
+
rubocop-capybara (= 2.22.1)
|
28
|
+
rubocop-factory_bot (= 2.27.1)
|
29
|
+
rubocop-on-rbs (= 1.7.0)
|
30
|
+
rubocop-performance (= 1.25.0)
|
31
|
+
rubocop-rails (= 2.32.0)
|
32
|
+
rubocop-rake (= 0.7.1)
|
33
|
+
rubocop-rspec (= 3.6.0)
|
34
|
+
rubocop-rspec_rails (= 2.31.0)
|
35
|
+
rubocop-thread_safety (= 0.7.2)
|
36
|
+
ast (2.4.3)
|
37
|
+
base64 (0.3.0)
|
38
|
+
benchmark (0.4.1)
|
39
|
+
bigdecimal (3.2.3)
|
24
40
|
coderay (1.1.3)
|
25
|
-
concurrent-ruby (1.
|
26
|
-
connection_pool (2.
|
27
|
-
diff-lcs (1.
|
28
|
-
docile (1.4.
|
29
|
-
|
41
|
+
concurrent-ruby (1.3.5)
|
42
|
+
connection_pool (2.5.4)
|
43
|
+
diff-lcs (1.6.2)
|
44
|
+
docile (1.4.1)
|
45
|
+
drb (2.2.3)
|
46
|
+
et-orbi (1.4.0)
|
30
47
|
tzinfo
|
31
|
-
fugit (1.
|
32
|
-
et-orbi (~> 1
|
48
|
+
fugit (1.12.0)
|
49
|
+
et-orbi (~> 1.4)
|
33
50
|
raabro (~> 1.4)
|
34
|
-
i18n (1.
|
51
|
+
i18n (1.14.7)
|
35
52
|
concurrent-ruby (~> 1.0)
|
36
|
-
json (2.
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
53
|
+
json (2.15.0)
|
54
|
+
language_server-protocol (3.17.0.5)
|
55
|
+
lint_roller (1.1.0)
|
56
|
+
logger (1.7.0)
|
57
|
+
method_source (1.1.0)
|
58
|
+
minitest (5.25.5)
|
59
|
+
parallel (1.27.0)
|
60
|
+
parser (3.3.9.0)
|
41
61
|
ast (~> 2.4.1)
|
42
|
-
|
62
|
+
racc
|
63
|
+
prism (1.5.1)
|
64
|
+
pry (0.15.2)
|
43
65
|
coderay (~> 1.1)
|
44
66
|
method_source (~> 1.0)
|
45
|
-
qonfig (0.
|
67
|
+
qonfig (0.30.0)
|
68
|
+
base64 (>= 0.2)
|
46
69
|
raabro (1.4.0)
|
47
|
-
|
70
|
+
racc (1.8.1)
|
71
|
+
rack (3.2.1)
|
48
72
|
rainbow (3.1.1)
|
49
|
-
rake (13.0
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
rspec-
|
57
|
-
|
58
|
-
rspec-
|
59
|
-
rspec-
|
73
|
+
rake (13.3.0)
|
74
|
+
rbs (3.9.5)
|
75
|
+
logger
|
76
|
+
redis-client (0.26.1)
|
77
|
+
connection_pool
|
78
|
+
regexp_parser (2.11.3)
|
79
|
+
rspec (3.13.1)
|
80
|
+
rspec-core (~> 3.13.0)
|
81
|
+
rspec-expectations (~> 3.13.0)
|
82
|
+
rspec-mocks (~> 3.13.0)
|
83
|
+
rspec-core (3.13.5)
|
84
|
+
rspec-support (~> 3.13.0)
|
85
|
+
rspec-expectations (3.13.5)
|
60
86
|
diff-lcs (>= 1.2.0, < 2.0)
|
61
|
-
rspec-support (~> 3.
|
62
|
-
rspec-mocks (3.
|
87
|
+
rspec-support (~> 3.13.0)
|
88
|
+
rspec-mocks (3.13.5)
|
63
89
|
diff-lcs (>= 1.2.0, < 2.0)
|
64
|
-
rspec-support (~> 3.
|
65
|
-
rspec-support (3.
|
66
|
-
rubocop (1.
|
90
|
+
rspec-support (~> 3.13.0)
|
91
|
+
rspec-support (3.13.6)
|
92
|
+
rubocop (1.75.7)
|
67
93
|
json (~> 2.3)
|
94
|
+
language_server-protocol (~> 3.17.0.2)
|
95
|
+
lint_roller (~> 1.1.0)
|
68
96
|
parallel (~> 1.10)
|
69
|
-
parser (>= 3.
|
97
|
+
parser (>= 3.3.0.2)
|
70
98
|
rainbow (>= 2.2.2, < 4.0)
|
71
|
-
regexp_parser (>=
|
72
|
-
|
73
|
-
rubocop-ast (>= 1.20.1, < 2.0)
|
99
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
100
|
+
rubocop-ast (>= 1.44.0, < 2.0)
|
74
101
|
ruby-progressbar (~> 1.7)
|
75
|
-
unicode-display_width (>=
|
76
|
-
rubocop-ast (1.
|
77
|
-
parser (>= 3.
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
102
|
+
unicode-display_width (>= 2.4.0, < 4.0)
|
103
|
+
rubocop-ast (1.47.1)
|
104
|
+
parser (>= 3.3.7.2)
|
105
|
+
prism (~> 1.4)
|
106
|
+
rubocop-capybara (2.22.1)
|
107
|
+
lint_roller (~> 1.1)
|
108
|
+
rubocop (~> 1.72, >= 1.72.1)
|
109
|
+
rubocop-factory_bot (2.27.1)
|
110
|
+
lint_roller (~> 1.1)
|
111
|
+
rubocop (~> 1.72, >= 1.72.1)
|
112
|
+
rubocop-on-rbs (1.7.0)
|
113
|
+
lint_roller (~> 1.1)
|
114
|
+
rbs (~> 3.5)
|
115
|
+
rubocop (>= 1.72.1, < 2.0)
|
116
|
+
zlib
|
117
|
+
rubocop-performance (1.25.0)
|
118
|
+
lint_roller (~> 1.1)
|
119
|
+
rubocop (>= 1.75.0, < 2.0)
|
120
|
+
rubocop-ast (>= 1.38.0, < 2.0)
|
121
|
+
rubocop-rails (2.32.0)
|
82
122
|
activesupport (>= 4.2.0)
|
123
|
+
lint_roller (~> 1.1)
|
83
124
|
rack (>= 1.1)
|
84
|
-
rubocop (>= 1.
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
rubocop (
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
125
|
+
rubocop (>= 1.75.0, < 2.0)
|
126
|
+
rubocop-ast (>= 1.44.0, < 2.0)
|
127
|
+
rubocop-rake (0.7.1)
|
128
|
+
lint_roller (~> 1.1)
|
129
|
+
rubocop (>= 1.72.1)
|
130
|
+
rubocop-rspec (3.6.0)
|
131
|
+
lint_roller (~> 1.1)
|
132
|
+
rubocop (~> 1.72, >= 1.72.1)
|
133
|
+
rubocop-rspec_rails (2.31.0)
|
134
|
+
lint_roller (~> 1.1)
|
135
|
+
rubocop (~> 1.72, >= 1.72.1)
|
136
|
+
rubocop-rspec (~> 3.5)
|
137
|
+
rubocop-thread_safety (0.7.2)
|
138
|
+
lint_roller (~> 1.1)
|
139
|
+
rubocop (~> 1.72, >= 1.72.1)
|
140
|
+
ruby-progressbar (1.13.0)
|
141
|
+
securerandom (0.4.1)
|
142
|
+
sidekiq (8.0.7)
|
143
|
+
connection_pool (>= 2.5.0)
|
144
|
+
json (>= 2.9.0)
|
145
|
+
logger (>= 1.6.2)
|
146
|
+
rack (>= 3.1.0)
|
147
|
+
redis-client (>= 0.23.2)
|
148
|
+
simplecov (0.22.0)
|
95
149
|
docile (~> 1.1)
|
96
150
|
simplecov-html (~> 0.11)
|
97
151
|
simplecov_json_formatter (~> 0.1)
|
98
|
-
simplecov-html (0.
|
152
|
+
simplecov-html (0.13.2)
|
99
153
|
simplecov_json_formatter (0.1.4)
|
100
|
-
timecop (0.9.
|
101
|
-
tzinfo (2.0.
|
154
|
+
timecop (0.9.10)
|
155
|
+
tzinfo (2.0.6)
|
102
156
|
concurrent-ruby (~> 1.0)
|
103
|
-
unicode-display_width (2.
|
157
|
+
unicode-display_width (3.2.0)
|
158
|
+
unicode-emoji (~> 4.1)
|
159
|
+
unicode-emoji (4.1.0)
|
160
|
+
uri (1.0.3)
|
161
|
+
zlib (3.2.1)
|
104
162
|
|
105
163
|
PLATFORMS
|
106
|
-
|
164
|
+
arm64-darwin-23
|
165
|
+
ruby
|
107
166
|
|
108
167
|
DEPENDENCIES
|
109
|
-
armitage-rubocop
|
110
|
-
bundler
|
111
|
-
pry
|
112
|
-
rake
|
113
|
-
rspec
|
114
|
-
sidekiq
|
168
|
+
armitage-rubocop
|
169
|
+
bundler
|
170
|
+
pry
|
171
|
+
rake
|
172
|
+
rspec
|
173
|
+
sidekiq
|
115
174
|
sidekiq_portal!
|
116
|
-
simplecov
|
117
|
-
timecop
|
175
|
+
simplecov
|
176
|
+
timecop
|
118
177
|
|
119
178
|
BUNDLED WITH
|
120
|
-
2.
|
179
|
+
2.7.1
|
data/LICENSE.txt
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
The MIT License (MIT)
|
2
2
|
|
3
|
-
Copyright (c) 2019-
|
3
|
+
Copyright (c) 2019-2025 Rustam Ibragimov
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
data/README.md
CHANGED
@@ -1,4 +1,7 @@
|
|
1
|
-
# Sidekiq::Portal [](https://badge.fury.io/rb/sidekiq_portal)
|
1
|
+
# Sidekiq::Portal [](https://badge.fury.io/rb/sidekiq_portal)
|
2
|
+
|
3
|
+
[](https://github.com/0exp/sidekiq_portal/actions)
|
4
|
+
[](https://github.com/0exp/sidekiq_portal/actions)
|
2
5
|
|
3
6
|
> hackaton slides: [link](https://github.com/0exp/sidekiq_portal/blob/master/docs/umbrellio_hackaton_v1.0.pdf)
|
4
7
|
|
@@ -164,10 +167,10 @@ end
|
|
164
167
|
- configurable in-line invocations (with job list config);
|
165
168
|
- configurable and conditional portal invocation (run over all specs or only over the one or etc)
|
166
169
|
(suitable for unit tests);
|
167
|
-
- support for **Ruby 2.7**;
|
168
170
|
- **Time** as external dependency;
|
169
171
|
- getting rid of **ActiveSupport**'s **Time**-related core extensions;
|
170
172
|
- better specs;
|
173
|
+
- 100% test coverage;
|
171
174
|
|
172
175
|
## License
|
173
176
|
|
data/Rakefile
CHANGED
@@ -7,13 +7,19 @@ require 'rubocop/rake_task'
|
|
7
7
|
require 'rubocop-performance'
|
8
8
|
require 'rubocop-rspec'
|
9
9
|
require 'rubocop-rake'
|
10
|
+
require 'rubocop-on-rbs'
|
11
|
+
require 'rubocop-thread_safety'
|
10
12
|
|
11
13
|
RuboCop::RakeTask.new(:rubocop) do |t|
|
12
14
|
config_path = File.expand_path(File.join('.rubocop.yml'), __dir__)
|
13
|
-
t.options = [
|
14
|
-
|
15
|
-
|
16
|
-
|
15
|
+
t.options = [
|
16
|
+
'--config', config_path,
|
17
|
+
'--plugin', 'rubocop-rspec',
|
18
|
+
'--plugin', 'rubocop-performance',
|
19
|
+
'--plugin', 'rubocop-rake',
|
20
|
+
'--plugin', 'rubocop-on-rbs',
|
21
|
+
'--plugin', 'rubocop-thread_safety'
|
22
|
+
]
|
17
23
|
end
|
18
24
|
|
19
25
|
RSpec::Core::RakeTask.new(:rspec)
|
data/lib/portal/errors.rb
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
|
3
3
|
# @api private
|
4
4
|
# @since 0.1.0
|
5
|
+
# @version 0.3.2
|
5
6
|
class Sidekiq::Portal::JobManager::Builder
|
6
7
|
class << self
|
7
8
|
# @param config [Sidekiq::Portal::Config]
|
@@ -63,12 +64,14 @@ class Sidekiq::Portal::JobManager::Builder
|
|
63
64
|
#
|
64
65
|
# @api private
|
65
66
|
# @since 0.1.0
|
67
|
+
# @version 0.3.2
|
66
68
|
def resolve_job_klass(job_config_series, scheduler_options)
|
67
|
-
|
69
|
+
job_klass_name = scheduler_options['class'] || scheduler_options[:class]
|
70
|
+
job_klass = job_klass_name.to_s.constantize rescue nil
|
68
71
|
job_klass ||= job_config_series.to_s.constantize rescue nil
|
69
72
|
|
70
73
|
raise(Sidekiq::Portal::ConfusingJobConfigError, <<~ERROR_MESSAGE) unless job_klass
|
71
|
-
Can't resolve job class from
|
74
|
+
Can't resolve job class from "#{job_klass_name || job_config_series}" job name
|
72
75
|
ERROR_MESSAGE
|
73
76
|
|
74
77
|
job_klass
|
data/lib/portal/version.rb
CHANGED
@@ -5,12 +5,12 @@
|
|
5
5
|
module Sidekiq
|
6
6
|
# @api public
|
7
7
|
# @since 0.1.0
|
8
|
-
class Portal
|
8
|
+
class Portal # rubocop:disable Style/StaticClass
|
9
9
|
# @return [String]
|
10
10
|
#
|
11
11
|
# @api public
|
12
12
|
# @since 0.1.0
|
13
|
-
# @version 0.
|
14
|
-
VERSION = '0.
|
13
|
+
# @version 1.0.0
|
14
|
+
VERSION = '1.0.0'
|
15
15
|
end
|
16
16
|
end
|
data/sidekiq_portal.gemspec
CHANGED
@@ -5,12 +5,12 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
5
5
|
require_relative 'lib/portal/version'
|
6
6
|
|
7
7
|
Gem::Specification.new do |spec|
|
8
|
-
spec.required_ruby_version = '>= 2
|
8
|
+
spec.required_ruby_version = '>= 3.2'
|
9
9
|
|
10
10
|
spec.name = 'sidekiq_portal'
|
11
11
|
spec.version = Sidekiq::Portal::VERSION
|
12
12
|
spec.authors = ['Rustam Ibragimov']
|
13
|
-
spec.email = ['
|
13
|
+
spec.email = ['exfivedaiver@gmail.com']
|
14
14
|
|
15
15
|
spec.summary =
|
16
16
|
'Sidekiq::Portal - scheduled jobs invocation emulation for test environments '
|
@@ -30,16 +30,5 @@ Gem::Specification.new do |spec|
|
|
30
30
|
|
31
31
|
spec.add_dependency 'qonfig', '~> 0.28'
|
32
32
|
spec.add_dependency 'fugit', '~> 1.7'
|
33
|
-
spec.add_dependency 'activesupport', '>= 4', '<
|
34
|
-
|
35
|
-
spec.add_development_dependency 'armitage-rubocop', '~> 1.36'
|
36
|
-
spec.add_development_dependency 'rspec', '~> 3.11'
|
37
|
-
spec.add_development_dependency 'simplecov', '~> 0.21'
|
38
|
-
|
39
|
-
spec.add_development_dependency 'sidekiq', '>= 5', '<= 7'
|
40
|
-
spec.add_development_dependency 'timecop', '~> 0.9'
|
41
|
-
|
42
|
-
spec.add_development_dependency 'bundler', '~> 2.3'
|
43
|
-
spec.add_development_dependency 'rake', '~> 13.0'
|
44
|
-
spec.add_development_dependency 'pry', '~> 0.14'
|
33
|
+
spec.add_dependency 'activesupport', '>= 4', '< 9'
|
45
34
|
end
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq_portal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Rustam Ibragimov
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: qonfig
|
@@ -47,7 +46,7 @@ dependencies:
|
|
47
46
|
version: '4'
|
48
47
|
- - "<"
|
49
48
|
- !ruby/object:Gem::Version
|
50
|
-
version: '
|
49
|
+
version: '9'
|
51
50
|
type: :runtime
|
52
51
|
prerelease: false
|
53
52
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -57,138 +56,21 @@ dependencies:
|
|
57
56
|
version: '4'
|
58
57
|
- - "<"
|
59
58
|
- !ruby/object:Gem::Version
|
60
|
-
version: '
|
61
|
-
- !ruby/object:Gem::Dependency
|
62
|
-
name: armitage-rubocop
|
63
|
-
requirement: !ruby/object:Gem::Requirement
|
64
|
-
requirements:
|
65
|
-
- - "~>"
|
66
|
-
- !ruby/object:Gem::Version
|
67
|
-
version: '1.36'
|
68
|
-
type: :development
|
69
|
-
prerelease: false
|
70
|
-
version_requirements: !ruby/object:Gem::Requirement
|
71
|
-
requirements:
|
72
|
-
- - "~>"
|
73
|
-
- !ruby/object:Gem::Version
|
74
|
-
version: '1.36'
|
75
|
-
- !ruby/object:Gem::Dependency
|
76
|
-
name: rspec
|
77
|
-
requirement: !ruby/object:Gem::Requirement
|
78
|
-
requirements:
|
79
|
-
- - "~>"
|
80
|
-
- !ruby/object:Gem::Version
|
81
|
-
version: '3.11'
|
82
|
-
type: :development
|
83
|
-
prerelease: false
|
84
|
-
version_requirements: !ruby/object:Gem::Requirement
|
85
|
-
requirements:
|
86
|
-
- - "~>"
|
87
|
-
- !ruby/object:Gem::Version
|
88
|
-
version: '3.11'
|
89
|
-
- !ruby/object:Gem::Dependency
|
90
|
-
name: simplecov
|
91
|
-
requirement: !ruby/object:Gem::Requirement
|
92
|
-
requirements:
|
93
|
-
- - "~>"
|
94
|
-
- !ruby/object:Gem::Version
|
95
|
-
version: '0.21'
|
96
|
-
type: :development
|
97
|
-
prerelease: false
|
98
|
-
version_requirements: !ruby/object:Gem::Requirement
|
99
|
-
requirements:
|
100
|
-
- - "~>"
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
version: '0.21'
|
103
|
-
- !ruby/object:Gem::Dependency
|
104
|
-
name: sidekiq
|
105
|
-
requirement: !ruby/object:Gem::Requirement
|
106
|
-
requirements:
|
107
|
-
- - ">="
|
108
|
-
- !ruby/object:Gem::Version
|
109
|
-
version: '5'
|
110
|
-
- - "<="
|
111
|
-
- !ruby/object:Gem::Version
|
112
|
-
version: '7'
|
113
|
-
type: :development
|
114
|
-
prerelease: false
|
115
|
-
version_requirements: !ruby/object:Gem::Requirement
|
116
|
-
requirements:
|
117
|
-
- - ">="
|
118
|
-
- !ruby/object:Gem::Version
|
119
|
-
version: '5'
|
120
|
-
- - "<="
|
121
|
-
- !ruby/object:Gem::Version
|
122
|
-
version: '7'
|
123
|
-
- !ruby/object:Gem::Dependency
|
124
|
-
name: timecop
|
125
|
-
requirement: !ruby/object:Gem::Requirement
|
126
|
-
requirements:
|
127
|
-
- - "~>"
|
128
|
-
- !ruby/object:Gem::Version
|
129
|
-
version: '0.9'
|
130
|
-
type: :development
|
131
|
-
prerelease: false
|
132
|
-
version_requirements: !ruby/object:Gem::Requirement
|
133
|
-
requirements:
|
134
|
-
- - "~>"
|
135
|
-
- !ruby/object:Gem::Version
|
136
|
-
version: '0.9'
|
137
|
-
- !ruby/object:Gem::Dependency
|
138
|
-
name: bundler
|
139
|
-
requirement: !ruby/object:Gem::Requirement
|
140
|
-
requirements:
|
141
|
-
- - "~>"
|
142
|
-
- !ruby/object:Gem::Version
|
143
|
-
version: '2.3'
|
144
|
-
type: :development
|
145
|
-
prerelease: false
|
146
|
-
version_requirements: !ruby/object:Gem::Requirement
|
147
|
-
requirements:
|
148
|
-
- - "~>"
|
149
|
-
- !ruby/object:Gem::Version
|
150
|
-
version: '2.3'
|
151
|
-
- !ruby/object:Gem::Dependency
|
152
|
-
name: rake
|
153
|
-
requirement: !ruby/object:Gem::Requirement
|
154
|
-
requirements:
|
155
|
-
- - "~>"
|
156
|
-
- !ruby/object:Gem::Version
|
157
|
-
version: '13.0'
|
158
|
-
type: :development
|
159
|
-
prerelease: false
|
160
|
-
version_requirements: !ruby/object:Gem::Requirement
|
161
|
-
requirements:
|
162
|
-
- - "~>"
|
163
|
-
- !ruby/object:Gem::Version
|
164
|
-
version: '13.0'
|
165
|
-
- !ruby/object:Gem::Dependency
|
166
|
-
name: pry
|
167
|
-
requirement: !ruby/object:Gem::Requirement
|
168
|
-
requirements:
|
169
|
-
- - "~>"
|
170
|
-
- !ruby/object:Gem::Version
|
171
|
-
version: '0.14'
|
172
|
-
type: :development
|
173
|
-
prerelease: false
|
174
|
-
version_requirements: !ruby/object:Gem::Requirement
|
175
|
-
requirements:
|
176
|
-
- - "~>"
|
177
|
-
- !ruby/object:Gem::Version
|
178
|
-
version: '0.14'
|
59
|
+
version: '9'
|
179
60
|
description: Sidekiq::Portal - emulate scheduled job activity in tests when you work
|
180
61
|
with time traveling.
|
181
62
|
email:
|
182
|
-
-
|
63
|
+
- exfivedaiver@gmail.com
|
183
64
|
executables: []
|
184
65
|
extensions: []
|
185
66
|
extra_rdoc_files: []
|
186
67
|
files:
|
68
|
+
- ".github/workflows/lint.yml"
|
69
|
+
- ".github/workflows/tests.yml"
|
187
70
|
- ".gitignore"
|
188
71
|
- ".jrubyrc"
|
189
72
|
- ".rspec"
|
190
73
|
- ".rubocop.yml"
|
191
|
-
- ".travis.yml"
|
192
74
|
- CHANGELOG.md
|
193
75
|
- CODE_OF_CONDUCT.md
|
194
76
|
- Gemfile
|
@@ -225,7 +107,6 @@ homepage: https://github.com/0exp/sidekiq_portal
|
|
225
107
|
licenses:
|
226
108
|
- MIT
|
227
109
|
metadata: {}
|
228
|
-
post_install_message:
|
229
110
|
rdoc_options: []
|
230
111
|
require_paths:
|
231
112
|
- lib
|
@@ -233,15 +114,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
233
114
|
requirements:
|
234
115
|
- - ">="
|
235
116
|
- !ruby/object:Gem::Version
|
236
|
-
version: '2
|
117
|
+
version: '3.2'
|
237
118
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
238
119
|
requirements:
|
239
120
|
- - ">="
|
240
121
|
- !ruby/object:Gem::Version
|
241
122
|
version: '0'
|
242
123
|
requirements: []
|
243
|
-
rubygems_version: 3.
|
244
|
-
signing_key:
|
124
|
+
rubygems_version: 3.6.9
|
245
125
|
specification_version: 4
|
246
126
|
summary: Sidekiq::Portal - scheduled jobs invocation emulation for test environments
|
247
127
|
test_files: []
|
data/.travis.yml
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
os: linux
|
2
|
-
dist: xenial
|
3
|
-
language: ruby
|
4
|
-
before_install: gem install bundler
|
5
|
-
script: bundle exec rspec
|
6
|
-
cache: bundler
|
7
|
-
jobs:
|
8
|
-
fast_finish: true
|
9
|
-
include:
|
10
|
-
- rvm: 2.4.10
|
11
|
-
- rvm: 2.5.8
|
12
|
-
- rvm: 2.6.6
|
13
|
-
- rvm: 2.7.1
|
14
|
-
- rvm: ruby-head
|
15
|
-
- rvm: jruby-head
|
16
|
-
allow_failures:
|
17
|
-
- rvm: ruby-head
|
18
|
-
- rvm: jruby-head
|