acts_as_paranoid 0.8.1 → 0.10.3
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/CHANGELOG.md +64 -5
- data/CONTRIBUTING.md +19 -13
- data/README.md +7 -8
- data/lib/acts_as_paranoid/associations.rb +1 -0
- data/lib/acts_as_paranoid/core.rb +8 -9
- data/lib/acts_as_paranoid/version.rb +1 -1
- data/lib/acts_as_paranoid.rb +13 -13
- metadata +78 -21
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c63f41e55a1e68fd2cc5c1353501bb390d5a1bd99cb11da1be628f63c8149134
|
4
|
+
data.tar.gz: cd25ddabafff9d4897867af108ae741edee9d1dabf8ef363843c8d3bc7ec2e39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad61b7c2cd715b521dbd042d0fcb0ff331ddf635fa100166028092a05c2ff40cfd4633a60076723ba55bf5bb5d2b23f905ebb56597586445831054f1cb389b61
|
7
|
+
data.tar.gz: d272b64f33ccc60ac3ecba65bac5c12174c0446ef0dcfffd43e24e63e67b9796b3b6dde3dd756f9d204a09a260aa491422370674c695f5cb2ab7c8774b0e0175
|
data/CHANGELOG.md
CHANGED
@@ -2,16 +2,75 @@
|
|
2
2
|
|
3
3
|
Notable changes to this project will be documented in this file.
|
4
4
|
|
5
|
+
## 0.10.3
|
6
|
+
|
7
|
+
* Fix CI Badge ([#350] by [tagliala])
|
8
|
+
* Support Rails 8.0 ([#354] by [mvz])
|
9
|
+
|
10
|
+
[tagliala]: https://github.com/tagliala
|
11
|
+
[#350]: https://github.com/ActsAsParanoid/acts_as_paranoid/pull/350
|
12
|
+
[#354]: https://github.com/ActsAsParanoid/acts_as_paranoid/pull/354
|
13
|
+
|
14
|
+
## 0.10.2
|
15
|
+
|
16
|
+
* Support Rails 7.2 ([#341] by [kalashnikovisme])
|
17
|
+
|
18
|
+
[kalashnikovisme]: https://github.com/kalashnikovisme
|
19
|
+
|
20
|
+
[#341]: https://github.com/ActsAsParanoid/acts_as_paranoid/pull/341
|
21
|
+
|
22
|
+
## 0.10.1
|
23
|
+
|
24
|
+
* Add changelog_uri to gemspec ([#332] by [fynsta])
|
25
|
+
* Improve contribution instructions ([#338] by [mvz])
|
26
|
+
* Make with_deleted work with paranoid join records ([#339] by [mvz])
|
27
|
+
|
28
|
+
[fynsta]: https://github.com/fynsta
|
29
|
+
|
30
|
+
[#332]: https://github.com/ActsAsParanoid/acts_as_paranoid/pull/332
|
31
|
+
[#338]: https://github.com/ActsAsParanoid/acts_as_paranoid/pull/338
|
32
|
+
[#339]: https://github.com/ActsAsParanoid/acts_as_paranoid/pull/339
|
33
|
+
|
34
|
+
## 0.10.0
|
35
|
+
|
36
|
+
* Support Ruby 3.0 through 3.3, dropping support for 2.7 ([#322] by [mvz])
|
37
|
+
* Use correct sqlite3 versions in tests ([#329] by [fatkodima])
|
38
|
+
* Do not load `ActiveRecord` too early ([#330] by [fatkodima])
|
39
|
+
|
40
|
+
[fatkodima]: https://github.com/fatkodima
|
41
|
+
|
42
|
+
[#322]: https://github.com/ActsAsParanoid/acts_as_paranoid/pull/322
|
43
|
+
[#329]: https://github.com/ActsAsParanoid/acts_as_paranoid/pull/329
|
44
|
+
[#330]: https://github.com/ActsAsParanoid/acts_as_paranoid/pull/330
|
45
|
+
|
46
|
+
## 0.9.0
|
47
|
+
|
48
|
+
* Support JRuby 9.4 ([#299] by [Matijs van Zuijlen][mvz])
|
49
|
+
* Add support for Ruby 3.2 ([#300] by [Matijs van Zuijlen][mvz])
|
50
|
+
* Drop support for Ruby 2.6 ([#301] by [Matijs van Zuijlen][mvz])
|
51
|
+
* Support Rails 7.1 ([#312] and [#317] by [Matijs van Zuijlen][mvz])
|
52
|
+
* Drop support for Rails 5.2 and 6.0 ([#315] by [Matijs van Zuijlen][mvz])
|
53
|
+
|
54
|
+
[#299]: https://github.com/ActsAsParanoid/acts_as_paranoid/pull/299
|
55
|
+
[#300]: https://github.com/ActsAsParanoid/acts_as_paranoid/pull/300
|
56
|
+
[#301]: https://github.com/ActsAsParanoid/acts_as_paranoid/pull/301
|
57
|
+
[#312]: https://github.com/ActsAsParanoid/acts_as_paranoid/pull/312
|
58
|
+
[#315]: https://github.com/ActsAsParanoid/acts_as_paranoid/pull/315
|
59
|
+
[#317]: https://github.com/ActsAsParanoid/acts_as_paranoid/pull/317
|
60
|
+
|
5
61
|
## 0.8.1
|
6
62
|
|
7
63
|
* Officially support Ruby 3.1 ([#268], by [Matijs van Zuijlen][mvz])
|
8
|
-
* Fix association building for `belongs_to` with `:with_deleted` option
|
64
|
+
* Fix association building for `belongs_to` with `:with_deleted` option
|
65
|
+
([#277], by [Matijs van Zuijlen][mvz])
|
9
66
|
|
10
67
|
## 0.8.0
|
11
68
|
|
12
69
|
* Do not set `paranoid_value` when destroying fully ([#238], by [Aymeric Le Dorze][aymeric-ledorze])
|
13
|
-
* Make helper methods for dependent associations private
|
14
|
-
|
70
|
+
* Make helper methods for dependent associations private
|
71
|
+
([#239], by [Matijs van Zuijlen][mvz])
|
72
|
+
* Raise ActiveRecord::RecordNotDestroyed if destroy returns false
|
73
|
+
([#240], by [Hao Liu][leomayleomay])
|
15
74
|
* Make unscoping by `with_deleted` less blunt ([#241], by [Matijs van Zuijlen][mvz])
|
16
75
|
* Drop support for Ruby 2.4 and 2.5 ([#243] and [#245] by [Matijs van Zuijlen][mvz])
|
17
76
|
* Remove deprecated methods ([#244] by [Matijs van Zuijlen][mvz])
|
@@ -20,7 +79,7 @@ Notable changes to this project will be documented in this file.
|
|
20
79
|
|
21
80
|
## 0.7.3
|
22
81
|
|
23
|
-
|
82
|
+
### Improvements
|
24
83
|
|
25
84
|
* Fix deletion time scopes ([#212] by [Matijs van Zuijlen][mvz])
|
26
85
|
* Reload `has_one` associations after dependent recovery ([#214],
|
@@ -34,7 +93,7 @@ Notable changes to this project will be documented in this file.
|
|
34
93
|
* Deprecate the undocumented `:recovery_value` setting. Calculate the correct
|
35
94
|
value instead. ([#220], by [Matijs van Zuijlen][mvz])
|
36
95
|
|
37
|
-
|
96
|
+
### Developer experience
|
38
97
|
|
39
98
|
* Log ActiveRecord activity to a visible log during tests ([#218],
|
40
99
|
by [Matijs van Zuijlen][mvz])
|
data/CONTRIBUTING.md
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# Contributing to ActsAsParanoid
|
2
2
|
|
3
|
-
We welcome
|
4
|
-
|
3
|
+
We welcome contributions to ActsAsParanoid. Please follow the guidelines below to help the
|
4
|
+
process of handling issues and pull requests go smoothly.
|
5
5
|
|
6
6
|
## Issues
|
7
7
|
|
@@ -14,30 +14,35 @@ ticket.
|
|
14
14
|
- Describe what you are trying to achieve
|
15
15
|
- Describe what you did, preferably including relevant code
|
16
16
|
- Describe what you expected to happen
|
17
|
-
- Describe what happened instead
|
17
|
+
- Describe what happened instead. Include relevant output if possible
|
18
|
+
- State the version of ActsAsParanoid you are using
|
18
19
|
- Use [code blocks](https://github.github.com/gfm/#fenced-code-blocks) to
|
19
20
|
format any code and output in your ticket to make it readable.
|
20
21
|
|
21
|
-
## Pull
|
22
|
+
## Pull Requests
|
22
23
|
|
23
24
|
If you have an idea for a particular feature, it's probably best to create a
|
24
25
|
GitHub issue for it before trying to implement it yourself. That way, we can
|
25
26
|
discuss the feature and whether it makes sense to include in ActsAsParanoid itself
|
26
27
|
before putting in the work to implement it.
|
27
28
|
|
28
|
-
|
29
|
-
**If you get stuck, please make a pull request anyway and we'll try to
|
30
|
-
help out.**
|
29
|
+
When sending a pull request, please follow **all of** the instructions below:
|
31
30
|
|
32
|
-
- Make sure `bundle exec rake` runs without reporting any failures.
|
33
|
-
|
34
|
-
|
31
|
+
- Make sure `bundle exec rake` runs without reporting any failures. See
|
32
|
+
*Testing your changes* below for more details.
|
33
|
+
- Add tests for your feature. Otherwise, we can't see if it works or if
|
34
|
+
we break it later.
|
35
35
|
- Create a separate branch for your feature based off of latest master.
|
36
|
+
- Write [good commit messages](https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).
|
36
37
|
- Do not include changes that are irrelevant to your feature in the same
|
37
38
|
commit.
|
38
39
|
- Keep an eye on the build results in GitHub Actions. If the build fails and it
|
39
40
|
seems due to your changes, please update your pull request with a fix.
|
40
41
|
|
42
|
+
If you're not sure how to test the problem, or what the best solution is, or
|
43
|
+
get stuck on something else, please open an issue first so that we can discuss
|
44
|
+
the best approach.
|
45
|
+
|
41
46
|
### Testing your changes
|
42
47
|
|
43
48
|
You can run the test suite with the latest version of all dependencies by running the following:
|
@@ -62,9 +67,10 @@ documentation for details.
|
|
62
67
|
that just fix a mistake in a previous commits, we will ask you to clean up
|
63
68
|
the history.
|
64
69
|
Again, [the git-rebase guide](https://git-rebase.io/) should help out.
|
65
|
-
|
66
|
-
|
70
|
+
Note that we will not squash-merge pull requests, since that results in a loss of history.
|
71
|
+
- **At the end of the review process we may still choose not to merge your pull
|
72
|
+
request.** For example, this could happen if we decide the proposed feature
|
67
73
|
should not be part of ActsAsParanoid, or if the technical implementation does not
|
68
|
-
match where we want to go with the architecture the project.
|
74
|
+
match where we want to go with the architecture of the project.
|
69
75
|
- We will generally not merge any pull requests that make the build fail, unless
|
70
76
|
it's very clearly not related to the changes in the pull request.
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# ActsAsParanoid
|
2
2
|
|
3
|
-
[](https://github.com/ActsAsParanoid/acts_as_paranoid/actions/workflows/ruby.yml)
|
4
4
|
|
5
5
|
A Rails plugin to add soft delete.
|
6
6
|
|
@@ -9,11 +9,10 @@ recoverable later.
|
|
9
9
|
|
10
10
|
## Support
|
11
11
|
|
12
|
-
**This
|
12
|
+
**This version targets Rails 6.1+ and Ruby 3.0+ only**
|
13
13
|
|
14
|
-
If you're working with Rails
|
15
|
-
please
|
16
|
-
`acts_as_paranoid` gem.
|
14
|
+
If you're working with Rails 6.0 and earlier, or with Ruby 2.7 or earlier,
|
15
|
+
please require an older version of the `acts_as_paranoid` gem.
|
17
16
|
|
18
17
|
### Known issues
|
19
18
|
|
@@ -24,10 +23,10 @@ please switch to the corresponding branch or require an older version of the
|
|
24
23
|
|
25
24
|
## Usage
|
26
25
|
|
27
|
-
#### Install gem
|
26
|
+
#### Install gem
|
28
27
|
|
29
28
|
```ruby
|
30
|
-
gem
|
29
|
+
gem "acts_as_paranoid", "~> 0.10.3"
|
31
30
|
```
|
32
31
|
|
33
32
|
```shell
|
@@ -246,7 +245,7 @@ p1.recover #=> fails validation!
|
|
246
245
|
|
247
246
|
### Status
|
248
247
|
|
249
|
-
A paranoid object could be deleted or destroyed fully.
|
248
|
+
A paranoid object could be deleted or destroyed fully.
|
250
249
|
|
251
250
|
You can check if the object is deleted with the `deleted?` helper
|
252
251
|
|
@@ -74,9 +74,11 @@ module ActsAsParanoid
|
|
74
74
|
"#{table_name}.#{paranoid_column}"
|
75
75
|
end
|
76
76
|
|
77
|
+
DESTROYING_ASSOCIATION_DEPENDENCY_TYPES = [:destroy, :delete_all].freeze
|
78
|
+
|
77
79
|
def dependent_associations
|
78
80
|
reflect_on_all_associations.select do |a|
|
79
|
-
|
81
|
+
DESTROYING_ASSOCIATION_DEPENDENCY_TYPES.include?(a.options[:dependent])
|
80
82
|
end
|
81
83
|
end
|
82
84
|
|
@@ -116,13 +118,10 @@ module ActsAsParanoid
|
|
116
118
|
def without_paranoid_default_scope
|
117
119
|
scope = all
|
118
120
|
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
ActiveRecord::Relation::WhereClause.new([paranoid_default_scope])
|
124
|
-
|
125
|
-
scope.where_clause = all.where_clause - paranoid_where_clause
|
121
|
+
unless scope.unscope_values.include?({ where: paranoid_column })
|
122
|
+
# unscope avoids applying the default scope when using this scope for associations
|
123
|
+
scope = scope.unscope(where: paranoid_column)
|
124
|
+
end
|
126
125
|
|
127
126
|
scope
|
128
127
|
end
|
@@ -310,7 +309,7 @@ module ActsAsParanoid
|
|
310
309
|
end
|
311
310
|
|
312
311
|
def each_counter_cached_association_reflection
|
313
|
-
_reflections.
|
312
|
+
_reflections.each_value do |reflection|
|
314
313
|
yield reflection if reflection.belongs_to? && reflection.counter_cache_column
|
315
314
|
end
|
316
315
|
end
|
data/lib/acts_as_paranoid.rb
CHANGED
@@ -30,9 +30,7 @@ module ActsAsParanoid
|
|
30
30
|
dependent_recovery_window: 2.minutes,
|
31
31
|
double_tap_destroys_fully: true
|
32
32
|
}
|
33
|
-
if options[:column_type] == "string"
|
34
|
-
paranoid_configuration.merge!(deleted_value: "deleted")
|
35
|
-
end
|
33
|
+
paranoid_configuration[:deleted_value] = "deleted" if options[:column_type] == "string"
|
36
34
|
|
37
35
|
paranoid_configuration.merge!(options) # user options
|
38
36
|
|
@@ -53,17 +51,19 @@ module ActsAsParanoid
|
|
53
51
|
end
|
54
52
|
end
|
55
53
|
|
56
|
-
|
57
|
-
ActiveRecord
|
54
|
+
ActiveSupport.on_load(:active_record) do
|
55
|
+
# Extend ActiveRecord's functionality
|
56
|
+
extend ActsAsParanoid
|
58
57
|
|
59
|
-
# Extend ActiveRecord::Base with paranoid associations
|
60
|
-
|
58
|
+
# Extend ActiveRecord::Base with paranoid associations
|
59
|
+
include ActsAsParanoid::Associations
|
61
60
|
|
62
|
-
# Override ActiveRecord::Relation's behavior
|
63
|
-
ActiveRecord::Relation.include ActsAsParanoid::Relation
|
61
|
+
# Override ActiveRecord::Relation's behavior
|
62
|
+
ActiveRecord::Relation.include ActsAsParanoid::Relation
|
64
63
|
|
65
|
-
# Push the recover callback onto the activerecord callback list
|
66
|
-
ActiveRecord::Callbacks::CALLBACKS.push(:before_recover, :after_recover)
|
64
|
+
# Push the recover callback onto the activerecord callback list
|
65
|
+
ActiveRecord::Callbacks::CALLBACKS.push(:before_recover, :after_recover)
|
67
66
|
|
68
|
-
ActiveRecord::Reflection::AssociationReflection
|
69
|
-
|
67
|
+
ActiveRecord::Reflection::AssociationReflection
|
68
|
+
.prepend ActsAsParanoid::AssociationReflection
|
69
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acts_as_paranoid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Zachary Scott
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2024-11-30 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activerecord
|
@@ -18,40 +18,40 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: '
|
21
|
+
version: '6.1'
|
22
22
|
- - "<"
|
23
23
|
- !ruby/object:Gem::Version
|
24
|
-
version: '
|
24
|
+
version: '8.1'
|
25
25
|
type: :runtime
|
26
26
|
prerelease: false
|
27
27
|
version_requirements: !ruby/object:Gem::Requirement
|
28
28
|
requirements:
|
29
29
|
- - ">="
|
30
30
|
- !ruby/object:Gem::Version
|
31
|
-
version: '
|
31
|
+
version: '6.1'
|
32
32
|
- - "<"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '
|
34
|
+
version: '8.1'
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: activesupport
|
37
37
|
requirement: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - ">="
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version: '
|
41
|
+
version: '6.1'
|
42
42
|
- - "<"
|
43
43
|
- !ruby/object:Gem::Version
|
44
|
-
version: '
|
44
|
+
version: '8.1'
|
45
45
|
type: :runtime
|
46
46
|
prerelease: false
|
47
47
|
version_requirements: !ruby/object:Gem::Requirement
|
48
48
|
requirements:
|
49
49
|
- - ">="
|
50
50
|
- !ruby/object:Gem::Version
|
51
|
-
version: '
|
51
|
+
version: '6.1'
|
52
52
|
- - "<"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '
|
54
|
+
version: '8.1'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: appraisal
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
@@ -80,6 +80,20 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '5.14'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: minitest-around
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - "~>"
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0.5'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - "~>"
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0.5'
|
83
97
|
- !ruby/object:Gem::Dependency
|
84
98
|
name: minitest-focus
|
85
99
|
requirement: !ruby/object:Gem::Requirement
|
@@ -95,19 +109,19 @@ dependencies:
|
|
95
109
|
- !ruby/object:Gem::Version
|
96
110
|
version: '1.3'
|
97
111
|
- !ruby/object:Gem::Dependency
|
98
|
-
name:
|
112
|
+
name: minitest-stub-const
|
99
113
|
requirement: !ruby/object:Gem::Requirement
|
100
114
|
requirements:
|
101
115
|
- - "~>"
|
102
116
|
- !ruby/object:Gem::Version
|
103
|
-
version: 0.
|
117
|
+
version: '0.6'
|
104
118
|
type: :development
|
105
119
|
prerelease: false
|
106
120
|
version_requirements: !ruby/object:Gem::Requirement
|
107
121
|
requirements:
|
108
122
|
- - "~>"
|
109
123
|
- !ruby/object:Gem::Version
|
110
|
-
version: 0.
|
124
|
+
version: '0.6'
|
111
125
|
- !ruby/object:Gem::Dependency
|
112
126
|
name: rake
|
113
127
|
requirement: !ruby/object:Gem::Requirement
|
@@ -156,42 +170,84 @@ dependencies:
|
|
156
170
|
requirements:
|
157
171
|
- - "~>"
|
158
172
|
- !ruby/object:Gem::Version
|
159
|
-
version: '1.
|
173
|
+
version: '1.52'
|
160
174
|
type: :development
|
161
175
|
prerelease: false
|
162
176
|
version_requirements: !ruby/object:Gem::Requirement
|
163
177
|
requirements:
|
164
178
|
- - "~>"
|
165
179
|
- !ruby/object:Gem::Version
|
166
|
-
version: '1.
|
180
|
+
version: '1.52'
|
167
181
|
- !ruby/object:Gem::Dependency
|
168
182
|
name: rubocop-minitest
|
169
183
|
requirement: !ruby/object:Gem::Requirement
|
170
184
|
requirements:
|
171
185
|
- - "~>"
|
172
186
|
- !ruby/object:Gem::Version
|
173
|
-
version: 0.
|
187
|
+
version: 0.36.0
|
188
|
+
type: :development
|
189
|
+
prerelease: false
|
190
|
+
version_requirements: !ruby/object:Gem::Requirement
|
191
|
+
requirements:
|
192
|
+
- - "~>"
|
193
|
+
- !ruby/object:Gem::Version
|
194
|
+
version: 0.36.0
|
195
|
+
- !ruby/object:Gem::Dependency
|
196
|
+
name: rubocop-packaging
|
197
|
+
requirement: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - "~>"
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: 0.5.2
|
202
|
+
type: :development
|
203
|
+
prerelease: false
|
204
|
+
version_requirements: !ruby/object:Gem::Requirement
|
205
|
+
requirements:
|
206
|
+
- - "~>"
|
207
|
+
- !ruby/object:Gem::Version
|
208
|
+
version: 0.5.2
|
209
|
+
- !ruby/object:Gem::Dependency
|
210
|
+
name: rubocop-performance
|
211
|
+
requirement: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - "~>"
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: '1.18'
|
216
|
+
type: :development
|
217
|
+
prerelease: false
|
218
|
+
version_requirements: !ruby/object:Gem::Requirement
|
219
|
+
requirements:
|
220
|
+
- - "~>"
|
221
|
+
- !ruby/object:Gem::Version
|
222
|
+
version: '1.18'
|
223
|
+
- !ruby/object:Gem::Dependency
|
224
|
+
name: rubocop-rake
|
225
|
+
requirement: !ruby/object:Gem::Requirement
|
226
|
+
requirements:
|
227
|
+
- - "~>"
|
228
|
+
- !ruby/object:Gem::Version
|
229
|
+
version: 0.6.0
|
174
230
|
type: :development
|
175
231
|
prerelease: false
|
176
232
|
version_requirements: !ruby/object:Gem::Requirement
|
177
233
|
requirements:
|
178
234
|
- - "~>"
|
179
235
|
- !ruby/object:Gem::Version
|
180
|
-
version: 0.
|
236
|
+
version: 0.6.0
|
181
237
|
- !ruby/object:Gem::Dependency
|
182
238
|
name: simplecov
|
183
239
|
requirement: !ruby/object:Gem::Requirement
|
184
240
|
requirements:
|
185
241
|
- - "~>"
|
186
242
|
- !ruby/object:Gem::Version
|
187
|
-
version: 0.
|
243
|
+
version: 0.22.0
|
188
244
|
type: :development
|
189
245
|
prerelease: false
|
190
246
|
version_requirements: !ruby/object:Gem::Requirement
|
191
247
|
requirements:
|
192
248
|
- - "~>"
|
193
249
|
- !ruby/object:Gem::Version
|
194
|
-
version: 0.
|
250
|
+
version: 0.22.0
|
195
251
|
description: Check the home page for more in-depth information.
|
196
252
|
email:
|
197
253
|
- e@zzak.io
|
@@ -214,6 +270,7 @@ homepage: https://github.com/ActsAsParanoid/acts_as_paranoid
|
|
214
270
|
licenses:
|
215
271
|
- MIT
|
216
272
|
metadata:
|
273
|
+
changelog_uri: https://github.com/ActsAsParanoid/acts_as_paranoid/blob/master/CHANGELOG.md
|
217
274
|
rubygems_mfa_required: 'true'
|
218
275
|
post_install_message:
|
219
276
|
rdoc_options: []
|
@@ -223,14 +280,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
223
280
|
requirements:
|
224
281
|
- - ">="
|
225
282
|
- !ruby/object:Gem::Version
|
226
|
-
version:
|
283
|
+
version: 3.0.0
|
227
284
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
228
285
|
requirements:
|
229
286
|
- - ">="
|
230
287
|
- !ruby/object:Gem::Version
|
231
288
|
version: '0'
|
232
289
|
requirements: []
|
233
|
-
rubygems_version: 3.
|
290
|
+
rubygems_version: 3.5.23
|
234
291
|
signing_key:
|
235
292
|
specification_version: 4
|
236
293
|
summary: Active Record plugin which allows you to hide and restore records without
|