db-purger 0.7.0 → 0.8.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 +4 -4
- data/README.md +2 -2
- metadata +8 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8cb14c2c99a78cb23fe33b574c796981c091474fa094374d93a38b1eb5d8f8e4
|
|
4
|
+
data.tar.gz: c81a9512686f5bf81064e8035a8bd53ac750027c2d30af5fe71d833cd14d70ea
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1b2d3b7c9996f0cb55358d998d2cebd0ed1f0e6174def359794c61d02e4e68b85343e88e1705196489eb7b0a809507e4b6b1c78688080211df2c3fdf810f2ec3
|
|
7
|
+
data.tar.gz: e32e1a11c5fbda3c5566fcafb5d7a923b14d7bc12e7aff32e680661ffbb44641873196e3211178f9143467868537278e55f04812dc2000b12e7a4eaacbee006b
|
data/README.md
CHANGED
|
@@ -37,7 +37,7 @@ db-purger lets you describe those relationships once, in a plan file, and then:
|
|
|
37
37
|
gem 'db-purger'
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
-
Requires Ruby >= 3.
|
|
40
|
+
Requires Ruby >= 3.3 and ActiveRecord >= 7.0. Models are supplied by
|
|
41
41
|
[dynamic-active-model](https://github.com/dougyouch/dynamic-active-model), which builds ActiveRecord classes
|
|
42
42
|
directly from the database schema.
|
|
43
43
|
|
|
@@ -308,7 +308,7 @@ See [ARCHITECTURE.md](ARCHITECTURE.md) for how the pieces fit together.
|
|
|
308
308
|
## Releasing
|
|
309
309
|
|
|
310
310
|
1. Bump `s.version` in `db-purger.gemspec` and merge to `master`.
|
|
311
|
-
2. Tag and push: `git tag v0.
|
|
311
|
+
2. Tag and push: `git tag v0.8.0 && git push origin v0.8.0`
|
|
312
312
|
|
|
313
313
|
`.github/workflows/release.yml` re-runs CI, checks the tag matches the gemspec version, publishes to RubyGems
|
|
314
314
|
via trusted publishing (no API key), and creates a GitHub release with the `.gem` attached.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: db-purger
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.8.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Doug Youch
|
|
@@ -27,22 +27,22 @@ dependencies:
|
|
|
27
27
|
name: dynamic-active-model
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
29
29
|
requirements:
|
|
30
|
-
- - "~>"
|
|
31
|
-
- !ruby/object:Gem::Version
|
|
32
|
-
version: '0.9'
|
|
33
30
|
- - ">="
|
|
34
31
|
- !ruby/object:Gem::Version
|
|
35
32
|
version: 0.9.1
|
|
33
|
+
- - "<"
|
|
34
|
+
- !ruby/object:Gem::Version
|
|
35
|
+
version: '2'
|
|
36
36
|
type: :runtime
|
|
37
37
|
prerelease: false
|
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
|
39
39
|
requirements:
|
|
40
|
-
- - "~>"
|
|
41
|
-
- !ruby/object:Gem::Version
|
|
42
|
-
version: '0.9'
|
|
43
40
|
- - ">="
|
|
44
41
|
- !ruby/object:Gem::Version
|
|
45
42
|
version: 0.9.1
|
|
43
|
+
- - "<"
|
|
44
|
+
- !ruby/object:Gem::Version
|
|
45
|
+
version: '2'
|
|
46
46
|
description: DB Purger deletes (or soft-deletes) every row related to a single top-level
|
|
47
47
|
record (e.g. a company or account) using a declarative Ruby purge plan. Tables are
|
|
48
48
|
purged in primary-key batches, child tables before their parents, with plan validation
|
|
@@ -86,7 +86,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
86
86
|
requirements:
|
|
87
87
|
- - ">="
|
|
88
88
|
- !ruby/object:Gem::Version
|
|
89
|
-
version: '3.
|
|
89
|
+
version: '3.3'
|
|
90
90
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
91
|
requirements:
|
|
92
92
|
- - ">="
|