rspec-goodies 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/rspec/goodies/helpers/sidekiq.rb +4 -7
- data/rspec-goodies.gemspec +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: b84bb1a1e7947039692f5fe8aa0aafa794ca92d0a926ecfd48b508a909b0fb14
|
4
|
+
data.tar.gz: c937c9f6aa8b86fbefaa7be56b778bd1892cf08c0b5185ecba3e68833d62b90c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2522ba744dede8da8c355c80f08b0bb42982103ea9258c159b4a5efac350aabc4844697e9788f84c93eb6fb7e1374a5b42573cf836b998ce6d7caec2f9f1ec21
|
7
|
+
data.tar.gz: 96166c7f3e661350217f917fa00d7d30eeb7f8f83298ad97fb01110c33495f3e26ff39e5a70c544e7229c6c15ce182b10f11d0e88c2d1b75a8f8efba45559cb3
|
data/Gemfile.lock
CHANGED
@@ -141,13 +141,10 @@ module RSpec
|
|
141
141
|
::Sidekiq.redis do |redis|
|
142
142
|
redis.incr("busy")
|
143
143
|
redis.sadd("processes", process_id)
|
144
|
-
redis.
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
@sidekiq_job_in_progress_count += 1,
|
149
|
-
)
|
150
|
-
redis.hmset("#{process_id}:work", @sidekiq_job_in_progress_thread_id += 1, job_data)
|
144
|
+
redis.hset(process_id, "info", process_data)
|
145
|
+
redis.hset(process_id, "at", Time.current.to_f)
|
146
|
+
redis.hset(process_id, "busy", @sidekiq_job_in_progress_count += 1)
|
147
|
+
redis.hset("#{process_id}:work", @sidekiq_job_in_progress_thread_id += 1, job_data)
|
151
148
|
end
|
152
149
|
end
|
153
150
|
end
|
data/rspec-goodies.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-goodies
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Hu
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-08-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|