jobs_dashboard 0.3.7 → 0.3.8
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/gem-push.yml +5 -7
- data/CHANGELOG.md +3 -0
- data/Gemfile.lock +38 -36
- data/app/models/jobs_dashboard/job_log.rb +8 -2
- data/lib/jobs_dashboard/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 640fecb3fc6f5e5b6ea42766f7d894bde08fe2b4bcd3aa527642b9bf2a591226
|
|
4
|
+
data.tar.gz: 9ac62eaf8804e46afdfeb996535b8862e24ddfe2f0d3276ebe8fb6400f52d592
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b436ab75222a5f468bdf4a8ec8fff3d2950f3db6a1e756538f560883c8eccf9297bf0c64fb53f5abe00c5ac55dac7c81da732aa7a53a24dad4370fe23ddcaebe
|
|
7
|
+
data.tar.gz: 49a6d5b0b08d392e09cc28c62a3e1036e337509ad21fd6b747423d180a98aee8db1ab90bdaa31e9498d210220694e80a084aad8208a93950c2a832cf2d8bfad5
|
|
@@ -13,14 +13,12 @@ jobs:
|
|
|
13
13
|
packages: write
|
|
14
14
|
|
|
15
15
|
steps:
|
|
16
|
-
- uses: actions/checkout@
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
# uses: ruby/setup-ruby@v1
|
|
21
|
-
uses: ruby/setup-ruby@55283cc23133118229fd3f97f9336ee23a179fcf # v1.146.0
|
|
16
|
+
- uses: actions/checkout@v4
|
|
17
|
+
|
|
18
|
+
- name: Set up Ruby
|
|
19
|
+
uses: ruby/setup-ruby@v1
|
|
22
20
|
with:
|
|
23
|
-
ruby-version: 3.
|
|
21
|
+
ruby-version: '3.3'
|
|
24
22
|
|
|
25
23
|
- name: Publish to RubyGems
|
|
26
24
|
run: |
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
jobs_dashboard (0.3.
|
|
4
|
+
jobs_dashboard (0.3.8)
|
|
5
5
|
kaminari
|
|
6
6
|
ransack
|
|
7
7
|
sidekiq (>= 6.0)
|
|
@@ -10,9 +10,9 @@ PATH
|
|
|
10
10
|
GEM
|
|
11
11
|
remote: https://rubygems.org/
|
|
12
12
|
specs:
|
|
13
|
-
actionpack (8.1.
|
|
14
|
-
actionview (= 8.1.
|
|
15
|
-
activesupport (= 8.1.
|
|
13
|
+
actionpack (8.1.3)
|
|
14
|
+
actionview (= 8.1.3)
|
|
15
|
+
activesupport (= 8.1.3)
|
|
16
16
|
nokogiri (>= 1.8.5)
|
|
17
17
|
rack (>= 2.2.4)
|
|
18
18
|
rack-session (>= 1.0.1)
|
|
@@ -20,19 +20,19 @@ GEM
|
|
|
20
20
|
rails-dom-testing (~> 2.2)
|
|
21
21
|
rails-html-sanitizer (~> 1.6)
|
|
22
22
|
useragent (~> 0.16)
|
|
23
|
-
actionview (8.1.
|
|
24
|
-
activesupport (= 8.1.
|
|
23
|
+
actionview (8.1.3)
|
|
24
|
+
activesupport (= 8.1.3)
|
|
25
25
|
builder (~> 3.1)
|
|
26
26
|
erubi (~> 1.11)
|
|
27
27
|
rails-dom-testing (~> 2.2)
|
|
28
28
|
rails-html-sanitizer (~> 1.6)
|
|
29
|
-
activemodel (8.1.
|
|
30
|
-
activesupport (= 8.1.
|
|
31
|
-
activerecord (8.1.
|
|
32
|
-
activemodel (= 8.1.
|
|
33
|
-
activesupport (= 8.1.
|
|
29
|
+
activemodel (8.1.3)
|
|
30
|
+
activesupport (= 8.1.3)
|
|
31
|
+
activerecord (8.1.3)
|
|
32
|
+
activemodel (= 8.1.3)
|
|
33
|
+
activesupport (= 8.1.3)
|
|
34
34
|
timeout (>= 0.4.0)
|
|
35
|
-
activesupport (8.1.
|
|
35
|
+
activesupport (8.1.3)
|
|
36
36
|
base64
|
|
37
37
|
bigdecimal
|
|
38
38
|
concurrent-ruby (~> 1.0, >= 1.3.1)
|
|
@@ -46,24 +46,25 @@ GEM
|
|
|
46
46
|
tzinfo (~> 2.0, >= 2.0.5)
|
|
47
47
|
uri (>= 0.13.1)
|
|
48
48
|
base64 (0.3.0)
|
|
49
|
-
bigdecimal (4.
|
|
49
|
+
bigdecimal (4.1.2)
|
|
50
50
|
builder (3.3.0)
|
|
51
|
-
concurrent-ruby (1.3.
|
|
51
|
+
concurrent-ruby (1.3.7)
|
|
52
52
|
connection_pool (3.0.2)
|
|
53
53
|
crass (1.0.6)
|
|
54
54
|
date (3.5.1)
|
|
55
55
|
diff-lcs (1.4.4)
|
|
56
56
|
drb (2.2.3)
|
|
57
|
-
erb (6.0.
|
|
57
|
+
erb (6.0.4)
|
|
58
58
|
erubi (1.13.1)
|
|
59
|
-
i18n (1.
|
|
59
|
+
i18n (1.15.2)
|
|
60
60
|
concurrent-ruby (~> 1.0)
|
|
61
61
|
io-console (0.8.2)
|
|
62
|
-
irb (1.
|
|
62
|
+
irb (1.18.0)
|
|
63
63
|
pp (>= 0.6.0)
|
|
64
|
+
prism (>= 1.3.0)
|
|
64
65
|
rdoc (>= 4.0.0)
|
|
65
66
|
reline (>= 0.4.2)
|
|
66
|
-
json (2.
|
|
67
|
+
json (2.19.9)
|
|
67
68
|
kaminari (1.2.2)
|
|
68
69
|
activesupport (>= 4.1.0)
|
|
69
70
|
kaminari-actionview (= 1.2.2)
|
|
@@ -77,25 +78,26 @@ GEM
|
|
|
77
78
|
kaminari-core (= 1.2.2)
|
|
78
79
|
kaminari-core (1.2.2)
|
|
79
80
|
logger (1.7.0)
|
|
80
|
-
loofah (2.25.
|
|
81
|
+
loofah (2.25.1)
|
|
81
82
|
crass (~> 1.0.2)
|
|
82
83
|
nokogiri (>= 1.12.0)
|
|
83
84
|
mini_portile2 (2.8.9)
|
|
84
|
-
minitest (6.0.
|
|
85
|
+
minitest (6.0.6)
|
|
86
|
+
drb (~> 2.0)
|
|
85
87
|
prism (~> 1.5)
|
|
86
|
-
nokogiri (1.19.
|
|
88
|
+
nokogiri (1.19.4)
|
|
87
89
|
mini_portile2 (~> 2.8.2)
|
|
88
90
|
racc (~> 1.4)
|
|
89
|
-
pp (0.6.
|
|
91
|
+
pp (0.6.4)
|
|
90
92
|
prettyprint
|
|
91
93
|
prettyprint (0.2.0)
|
|
92
94
|
prism (1.9.0)
|
|
93
|
-
psych (5.
|
|
95
|
+
psych (5.4.0)
|
|
94
96
|
date
|
|
95
97
|
stringio
|
|
96
98
|
racc (1.8.1)
|
|
97
|
-
rack (3.2.
|
|
98
|
-
rack-session (2.1.
|
|
99
|
+
rack (3.2.6)
|
|
100
|
+
rack-session (2.1.2)
|
|
99
101
|
base64 (>= 0.1.0)
|
|
100
102
|
rack (>= 3.0.0)
|
|
101
103
|
rack-test (2.2.0)
|
|
@@ -106,12 +108,12 @@ GEM
|
|
|
106
108
|
activesupport (>= 5.0.0)
|
|
107
109
|
minitest
|
|
108
110
|
nokogiri (>= 1.6)
|
|
109
|
-
rails-html-sanitizer (1.
|
|
110
|
-
loofah (~> 2.
|
|
111
|
+
rails-html-sanitizer (1.7.0)
|
|
112
|
+
loofah (~> 2.25)
|
|
111
113
|
nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
|
|
112
|
-
railties (8.1.
|
|
113
|
-
actionpack (= 8.1.
|
|
114
|
-
activesupport (= 8.1.
|
|
114
|
+
railties (8.1.3)
|
|
115
|
+
actionpack (= 8.1.3)
|
|
116
|
+
activesupport (= 8.1.3)
|
|
115
117
|
irb (~> 1.13)
|
|
116
118
|
rackup (>= 1.0.0)
|
|
117
119
|
rake (>= 12.2)
|
|
@@ -123,11 +125,11 @@ GEM
|
|
|
123
125
|
activerecord (>= 7.2)
|
|
124
126
|
activesupport (>= 7.2)
|
|
125
127
|
i18n
|
|
126
|
-
rdoc (7.
|
|
128
|
+
rdoc (7.2.0)
|
|
127
129
|
erb
|
|
128
130
|
psych (>= 4.0.0)
|
|
129
131
|
tsort
|
|
130
|
-
redis-client (0.
|
|
132
|
+
redis-client (0.30.0)
|
|
131
133
|
connection_pool
|
|
132
134
|
reline (0.6.3)
|
|
133
135
|
io-console (~> 0.5)
|
|
@@ -145,12 +147,12 @@ GEM
|
|
|
145
147
|
rspec-support (~> 3.10.0)
|
|
146
148
|
rspec-support (3.10.3)
|
|
147
149
|
securerandom (0.4.1)
|
|
148
|
-
sidekiq (8.1.
|
|
150
|
+
sidekiq (8.1.6)
|
|
149
151
|
connection_pool (>= 3.0.0)
|
|
150
152
|
json (>= 2.16.0)
|
|
151
153
|
logger (>= 1.7.0)
|
|
152
154
|
rack (>= 3.2.0)
|
|
153
|
-
redis-client (>= 0.
|
|
155
|
+
redis-client (>= 0.29.0)
|
|
154
156
|
slim (5.2.1)
|
|
155
157
|
temple (~> 0.10.0)
|
|
156
158
|
tilt (>= 2.1.0)
|
|
@@ -162,13 +164,13 @@ GEM
|
|
|
162
164
|
temple (0.10.4)
|
|
163
165
|
thor (1.5.0)
|
|
164
166
|
tilt (2.7.0)
|
|
165
|
-
timeout (0.6.
|
|
167
|
+
timeout (0.6.1)
|
|
166
168
|
tsort (0.2.0)
|
|
167
169
|
tzinfo (2.0.6)
|
|
168
170
|
concurrent-ruby (~> 1.0)
|
|
169
171
|
uri (1.1.1)
|
|
170
172
|
useragent (0.16.11)
|
|
171
|
-
zeitwerk (2.
|
|
173
|
+
zeitwerk (2.8.2)
|
|
172
174
|
|
|
173
175
|
PLATFORMS
|
|
174
176
|
ruby
|
|
@@ -2,14 +2,20 @@ module JobsDashboard
|
|
|
2
2
|
DEFAULT_LOCAL_TIME_ZONE = 'Europe/Paris'
|
|
3
3
|
|
|
4
4
|
class JobLog < ApplicationRecord
|
|
5
|
-
|
|
5
|
+
STATUSES = {
|
|
6
6
|
queued: 'queued',
|
|
7
7
|
working: 'working',
|
|
8
8
|
retrying: 'retrying',
|
|
9
9
|
complete: 'complete',
|
|
10
10
|
failed: 'failed',
|
|
11
11
|
interrupted: 'interrupted'
|
|
12
|
-
}
|
|
12
|
+
}.freeze
|
|
13
|
+
|
|
14
|
+
if ActiveRecord.version >= Gem::Version.new('7.1')
|
|
15
|
+
enum :status, STATUSES
|
|
16
|
+
else
|
|
17
|
+
enum status: STATUSES
|
|
18
|
+
end
|
|
13
19
|
|
|
14
20
|
if ActiveRecord.version >= Gem::Version.new('7.1')
|
|
15
21
|
serialize :args, coder: YAML, type: Array
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jobs_dashboard
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Patryk
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-06-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: sidekiq
|