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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed3b231b9bd0d43d8e442d372ad652c2394c1a62d06f098750a1905ce14a8374
4
- data.tar.gz: f2e0cacc13fa676907b671a2957450e2d1c03923fbe94ada72c943c2bd442450
3
+ metadata.gz: b84bb1a1e7947039692f5fe8aa0aafa794ca92d0a926ecfd48b508a909b0fb14
4
+ data.tar.gz: c937c9f6aa8b86fbefaa7be56b778bd1892cf08c0b5185ecba3e68833d62b90c
5
5
  SHA512:
6
- metadata.gz: 4da154384a5a0dcd67139d8a440628075842806506df247063b126663ac73f5ff216060aa4d44f012360d8effed133aaf9e398d45129f05e3558521aacf7e419
7
- data.tar.gz: a12700ce7917986780249055ba1094996633daa53cf81e3ad4236f9cf61b32bfc3b7a94ae6b19ec3e609170b706275c57ea2b7e8efc42900183f0b14f4bd5378
6
+ metadata.gz: 2522ba744dede8da8c355c80f08b0bb42982103ea9258c159b4a5efac350aabc4844697e9788f84c93eb6fb7e1374a5b42573cf836b998ce6d7caec2f9f1ec21
7
+ data.tar.gz: 96166c7f3e661350217f917fa00d7d30eeb7f8f83298ad97fb01110c33495f3e26ff39e5a70c544e7229c6c15ce182b10f11d0e88c2d1b75a8f8efba45559cb3
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rspec-goodies (0.1.0)
4
+ rspec-goodies (0.1.1)
5
5
  activesupport
6
6
  byebug
7
7
  rails
@@ -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.hmset(
145
- process_id, "info",
146
- process_data, "at",
147
- Time.current.to_f, "busy",
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
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |spec|
4
4
  spec.name = "rspec-goodies"
5
- spec.version = "0.1.0"
5
+ spec.version = "0.1.1"
6
6
  spec.authors = ["James Hu"]
7
7
 
8
8
  spec.summary = "RSpec goodies full of helpers, matchers, and more"
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.0
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-07-23 00:00:00.000000000 Z
11
+ date: 2024-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport