finalizers 0.5.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 02dec5224fb743376e9f9af2f17a522512a728dc1b80e55d002b01a81784649f
4
- data.tar.gz: 231c643d2047c478961ff7679b04fd60d6372954ed3ca6491eaa0cefe0b03911
3
+ metadata.gz: c4178dfec6ef394f53426b93ace0e1685fef047a5bbe9f16fd5f67f6a1227939
4
+ data.tar.gz: a97fe9acd3b54dd3ec599337f7a4f245295be3bdd54b5350b18f1cb69e0597b0
5
5
  SHA512:
6
- metadata.gz: 583b9dd07abcf74ff42b431a5ffd85233d5ebbe337af5d9ecaef5c7043ec74786b1642ed8ce2260cb189a8aabd1faf3d247e83de2012fefb8a0e711060366a78
7
- data.tar.gz: 8beeefa591f84c3672750133935279add71e40d01b34c93862bf51d03cd8d56a140862fb018ace9fea808254ac11b252cbbe6d1172b3b711643859c70cb4b095
6
+ metadata.gz: 75ba31badf840d4b941ec1da3da573d3a5a96873ed2ffcdf734f19f6249c1cae85bcce3560deb42f712b21457dd48ea10feffdbdcf64d843d2f1e8e2cc22236a
7
+ data.tar.gz: 4f7ebb558bcc094bbbc6cf516ead8169f638b5e06b7fffd14c9c1c10647d824b2db9be6f234df608e077dc18791cd5b06a9163d5ae6279889e512f025d69725d
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright 2023 thomas morgan
1
+ Copyright 2023-2025 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.7.0'
3
3
  end
metadata CHANGED
@@ -1,29 +1,28 @@
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.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - thomas morgan
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2023-12-18 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: rails
15
14
  requirement: !ruby/object:Gem::Requirement
16
15
  requirements:
17
- - - "~>"
16
+ - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: '7.0'
18
+ version: '7'
20
19
  type: :runtime
21
20
  prerelease: false
22
21
  version_requirements: !ruby/object:Gem::Requirement
23
22
  requirements:
24
- - - "~>"
23
+ - - ">="
25
24
  - !ruby/object:Gem::Version
26
- version: '7.0'
25
+ version: '7'
27
26
  - !ruby/object:Gem::Dependency
28
27
  name: rescue_like_a_pro
29
28
  requirement: !ruby/object:Gem::Requirement
@@ -64,7 +63,7 @@ licenses:
64
63
  metadata:
65
64
  homepage_uri: https://github.com/zarqman/finalizers
66
65
  source_code_uri: https://github.com/zarqman/finalizers
67
- post_install_message:
66
+ changelog_uri: https://github.com/zarqman/finalizers/blob/master/CHANGELOG.md
68
67
  rdoc_options: []
69
68
  require_paths:
70
69
  - lib
@@ -79,8 +78,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
78
  - !ruby/object:Gem::Version
80
79
  version: '0'
81
80
  requirements: []
82
- rubygems_version: 3.4.10
83
- signing_key:
81
+ rubygems_version: 3.6.9
84
82
  specification_version: 4
85
83
  summary: Adds finalizers to ActiveRecord models
86
84
  test_files: []