finalizers 0.5.0 → 0.6.0

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: 02dec5224fb743376e9f9af2f17a522512a728dc1b80e55d002b01a81784649f
4
- data.tar.gz: 231c643d2047c478961ff7679b04fd60d6372954ed3ca6491eaa0cefe0b03911
3
+ metadata.gz: ae9d6c88a407ec2948eb993f5778cb6bb60355f10e5599200cf8031ed0cc87ec
4
+ data.tar.gz: e5317a7a89307b8229125c3fb8f7bcdb9bbcca6e7863ab8b1c0e7eb7339ae6d5
5
5
  SHA512:
6
- metadata.gz: 583b9dd07abcf74ff42b431a5ffd85233d5ebbe337af5d9ecaef5c7043ec74786b1642ed8ce2260cb189a8aabd1faf3d247e83de2012fefb8a0e711060366a78
7
- data.tar.gz: 8beeefa591f84c3672750133935279add71e40d01b34c93862bf51d03cd8d56a140862fb018ace9fea808254ac11b252cbbe6d1172b3b711643859c70cb4b095
6
+ metadata.gz: 5fb2a2290284f1ded8c621cfd4674282b6b729bfc18b97e958927a3a9c2c563d9d1bf5bbd3bb52525182ae3949394d433e3a78482dddb3fccad3f222e31a709b
7
+ data.tar.gz: 404995745b72ebd7ead954a37a07743168ed00685f83ca50fdb27122b6877cddd5dbfb433ce3c9e58cf3e7a03128bd3965db28ca16537ff75b46d48bc700c784
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2023 thomas morgan
1
+ Copyright 2023-2024 thomas morgan
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/README.md CHANGED
@@ -152,7 +152,7 @@ Be sure to keep the existing signature for `perform`:
152
152
 
153
153
  Like overriding, create your own version of the job and require the original job before reopening it:
154
154
  ```ruby
155
- require "#{Finalizers::Engine.root}/app/jobs/eraser_job"
155
+ load "#{Finalizers::Engine.root}/app/jobs/eraser_job.rb"
156
156
  class EraserJob
157
157
  # add extensions here
158
158
  end
@@ -164,7 +164,7 @@ end
164
164
 
165
165
  Extracted from production code.
166
166
 
167
- Tested w/Rails 7.x and GoodJob 3.x.
167
+ Tested w/Rails 7.x, 8.x; GoodJob 3.x; and SolidQueue 1.x.
168
168
 
169
169
 
170
170
 
@@ -130,7 +130,7 @@ module Finalizers::Model
130
130
  destroy(force: true) || _raise_record_not_destroyed
131
131
  end
132
132
 
133
- # should run callbacks, but not validations
133
+ # runs save callbacks, but not validations or validation callbacks
134
134
  # intent is to parallel destroy()'s behavior
135
135
  def erase
136
136
  self.state = 'deleted'
@@ -1,3 +1,3 @@
1
1
  module Finalizers
2
- VERSION = '0.5.0'
2
+ VERSION = '0.6.0'
3
3
  end
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: finalizers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - thomas morgan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-18 00:00:00.000000000 Z
11
+ date: 2024-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '7'
20
+ - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: '7.0'
22
+ version: '8.1'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '7'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '7.0'
32
+ version: '8.1'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: rescue_like_a_pro
29
35
  requirement: !ruby/object:Gem::Requirement
@@ -64,6 +70,7 @@ licenses:
64
70
  metadata:
65
71
  homepage_uri: https://github.com/zarqman/finalizers
66
72
  source_code_uri: https://github.com/zarqman/finalizers
73
+ changelog_uri: https://github.com/zarqman/finalizers/blob/master/CHANGELOG.md
67
74
  post_install_message:
68
75
  rdoc_options: []
69
76
  require_paths:
@@ -79,7 +86,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
86
  - !ruby/object:Gem::Version
80
87
  version: '0'
81
88
  requirements: []
82
- rubygems_version: 3.4.10
89
+ rubygems_version: 3.5.22
83
90
  signing_key:
84
91
  specification_version: 4
85
92
  summary: Adds finalizers to ActiveRecord models