delayed_job_prevent_duplicate 0.1.2 → 0.1.4

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: f8668bbcfafe20c2670059fcb0ff0a53d6d75ce1987fd0ce5246bed70660b8ef
4
- data.tar.gz: 39369122bb75be1eaa05f6a21ac4ecc557be61c39cdf03d86c7b1b10dc1f925c
3
+ metadata.gz: bb905b0a47328215027e975ba4e64abae6bb3f9cdeeabffb711c3dfefefd2f5e
4
+ data.tar.gz: 77ced18194a083efd6442f88c8597d0242b66123b2eef6c12d8d8080fa8071f9
5
5
  SHA512:
6
- metadata.gz: 0a3865e266d9d65a17194d486aa550ab378aa2a659e2419008fb3168e7928e125b1ea6d07e8edae311da6b252c10d1a35b794caf612abcb777aa5398b2d5876b
7
- data.tar.gz: d1359a9ac3416fb4aa628d2cb2b923508911951ccd2eda52cd5821127c060b49ad6f8b168d2f204c15eebc0995fd3ae510945050dcac31a528343d1a8f599895
6
+ metadata.gz: c03851f146bcc64ef3fd5d1ac3d3cdb6f7d86c71045d249be667e6deb24ccb14365063039c37f06e7ad0aec96dd77379b4a4da9076577ef3f09c08f597c3a528
7
+ data.tar.gz: 0af816c92fc30a3aa78b57be51bace5106ecc0b5bf0c268b3792c5bdb1ad2ee947afa1d9eaa8e1caf3587482ce4b5bf6fd2226671207c2454c39a820af08f385
@@ -5,7 +5,7 @@ require_relative "lib/delayed_job_prevent_duplicate/version"
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "delayed_job_prevent_duplicate"
7
7
  spec.version = DelayedJobPreventDuplicate::VERSION
8
- spec.authors = ["pabois"]
8
+ spec.authors = ["pabois", "arnaudlevy", "SebouChu"]
9
9
  spec.email = ["pierreandre.boissinot@noesya.coop"]
10
10
 
11
11
  spec.summary = "Prevent delayed_job to enqueue a task already enqueued"
@@ -94,7 +94,6 @@ class DelayedDuplicatePreventionPlugin < Delayed::Plugin
94
94
  possible_dupes = Delayed::Job.where(attempts: 0, locked_at: nil) # Only jobs not started, otherwise it would never compute a real change if the job is currently running
95
95
  .where(signature: job.signature) # Same signature
96
96
  possible_dupes = possible_dupes.where.not(id: job.id) if job.id.present?
97
- byebug
98
97
  possible_dupes
99
98
  end
100
99
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DelayedJobPreventDuplicate
4
- VERSION = "0.1.2"
4
+ VERSION = "0.1.4"
5
5
  end
metadata CHANGED
@@ -1,14 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: delayed_job_prevent_duplicate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - pabois
8
- autorequire:
8
+ - arnaudlevy
9
+ - SebouChu
10
+ autorequire:
9
11
  bindir: exe
10
12
  cert_chain: []
11
- date: 2023-09-08 00:00:00.000000000 Z
13
+ date: 2023-09-10 00:00:00.000000000 Z
12
14
  dependencies:
13
15
  - !ruby/object:Gem::Dependency
14
16
  name: delayed_job
@@ -59,7 +61,7 @@ metadata:
59
61
  homepage_uri: https://github.com/noesya/delayed_job_prevent_duplicate
60
62
  source_code_uri: https://github.com/noesya/delayed_job_prevent_duplicate
61
63
  changelog_uri: https://github.com/noesya/delayed_job_prevent_duplicate/CHANGELOG.md
62
- post_install_message:
64
+ post_install_message:
63
65
  rdoc_options: []
64
66
  require_paths:
65
67
  - lib
@@ -74,8 +76,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
74
76
  - !ruby/object:Gem::Version
75
77
  version: '0'
76
78
  requirements: []
77
- rubygems_version: 3.4.13
78
- signing_key:
79
+ rubygems_version: 3.1.4
80
+ signing_key:
79
81
  specification_version: 4
80
82
  summary: Prevent delayed_job to enqueue a task already enqueued
81
83
  test_files: []