acidic_job 0.8.2 → 0.8.3

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: a84bc161e4771a11415d7b9bcc9be10cd703242f43ee69bcc1f139e05e93367c
4
- data.tar.gz: 353e0abc18c50d946817e0263517d8efebd6d842a5186f362355da9d2382ac7a
3
+ metadata.gz: 0caf8232d94c6dd6eef55378cdf0c57849601185978d04df8f1d2bd91aca04e4
4
+ data.tar.gz: 38ea54d622782ab400fff7c4929be3b77e382440c3de8fdbbf27954a1f5ca98d
5
5
  SHA512:
6
- metadata.gz: 6009e9a0b132da090454d1ea6c70f852c53169f5a5842f5cd982cc7b167df0a20f2a3dd534879c058b6ffbf2a305ba88f39020b1c92c099ae0d4e76f48b905ff
7
- data.tar.gz: abee47aaa85eed503f0af7e3c3c27b2f6a3c3ed04fd4456d3a9ff743e097db1215409039cbc4c86dccb07cffb073f2e06dcefbf043cf56dc4ad2a83fc64ff624
6
+ metadata.gz: 75c909396867d246923c752d842a43d8a42328b5558bb0733a6e497096df8513e8cf8e8ca1923428fab4e9dc4394df129e543cb49ef512713e9ba1625f2a3741
7
+ data.tar.gz: 88755804b761f066a16232a2fd76c1307273112901869dc7f7984e9646816c5b65543c30e6da119838f1e32c8f1bb080f95367f5bda3ca2e58995e161aba33f4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- acidic_job (0.8.2)
4
+ acidic_job (0.8.3)
5
5
  activejob
6
6
  activerecord
7
7
  activesupport
@@ -18,7 +18,7 @@ module AcidicJob
18
18
  # You could unique job runs by the arguments passed to the job (e.g. memoization)
19
19
  other.define_singleton_method(:acidic_by_job_arguments) { @acidic_identifier = :job_arguments }
20
20
  # Or, you could unique jobs run by any logic you'd like using a block
21
- other.define_singleton_method(:acidic_by) { |&block| @acidic_identifier = block }
21
+ other.define_singleton_method(:acidic_by) { |proc = nil, &block| @acidic_identifier = proc || block }
22
22
 
23
23
  # We add a callback to ensure that staged, non-workflow jobs are "finished" after they are "performed".
24
24
  # This allows us to ensure that we can always inspect whether a run is finished and get correct data
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AcidicJob
4
- VERSION = "0.8.2"
4
+ VERSION = "0.8.3"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acidic_job
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.2
4
+ version: 0.8.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - fractaledmind