active_record-log_deleted 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: bffe9549ed5ab620b57a5a098fa369263c52236749b186671c30c1afd9a1ac1e
4
+ data.tar.gz: 7dcefc7b5d7d93148882267ec67a7ca276856743da9a5b4b0ebd519d6730b3f2
5
+ SHA512:
6
+ metadata.gz: 52ae0e41b2752475b49b64b8cd4b8c2748ce45638204a4f35faeeb70ed8be7c405999f75987683d007f929d376902afca1dae866e00d1b2de9dd492a5b7cdd55
7
+ data.tar.gz: 51b5e460988b8dedbb553e484cf55c3056f220e28320e8a223b9846e71c4fdbd31ab5aa0bebcb21511855d5c33d32fd80e73deea1b177d2ab6485abd6c24b874
@@ -0,0 +1,11 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format documentation
2
+ --color
3
+ --require spec_helper
@@ -0,0 +1,6 @@
1
+ ---
2
+ language: ruby
3
+ cache: bundler
4
+ rvm:
5
+ - 2.7.1
6
+ before_install: gem install bundler -v 2.1.4
File without changes
data/Gemfile ADDED
@@ -0,0 +1,4 @@
1
+ source "https://rubygems.org"
2
+
3
+ # Specify your gem's dependencies in active_record-log_deleted.gemspec
4
+ gemspec
@@ -0,0 +1,108 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ active_record-log_deleted (0.1.0)
5
+ activerecord (>= 5.2, < 7.0)
6
+ pg
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ actionpack (6.0.3.1)
12
+ actionview (= 6.0.3.1)
13
+ activesupport (= 6.0.3.1)
14
+ rack (~> 2.0, >= 2.0.8)
15
+ rack-test (>= 0.6.3)
16
+ rails-dom-testing (~> 2.0)
17
+ rails-html-sanitizer (~> 1.0, >= 1.2.0)
18
+ actionview (6.0.3.1)
19
+ activesupport (= 6.0.3.1)
20
+ builder (~> 3.1)
21
+ erubi (~> 1.4)
22
+ rails-dom-testing (~> 2.0)
23
+ rails-html-sanitizer (~> 1.1, >= 1.2.0)
24
+ activemodel (6.0.3.1)
25
+ activesupport (= 6.0.3.1)
26
+ activerecord (6.0.3.1)
27
+ activemodel (= 6.0.3.1)
28
+ activesupport (= 6.0.3.1)
29
+ activesupport (6.0.3.1)
30
+ concurrent-ruby (~> 1.0, >= 1.0.2)
31
+ i18n (>= 0.7, < 2)
32
+ minitest (~> 5.1)
33
+ tzinfo (~> 1.1)
34
+ zeitwerk (~> 2.2, >= 2.2.2)
35
+ builder (3.2.4)
36
+ combustion (1.3.0)
37
+ activesupport (>= 3.0.0)
38
+ railties (>= 3.0.0)
39
+ thor (>= 0.14.6)
40
+ concurrent-ruby (1.1.6)
41
+ crass (1.0.6)
42
+ diff-lcs (1.3)
43
+ erubi (1.9.0)
44
+ i18n (1.8.3)
45
+ concurrent-ruby (~> 1.0)
46
+ loofah (2.5.0)
47
+ crass (~> 1.0.2)
48
+ nokogiri (>= 1.5.9)
49
+ method_source (1.0.0)
50
+ mini_portile2 (2.4.0)
51
+ minitest (5.14.1)
52
+ nokogiri (1.10.9)
53
+ mini_portile2 (~> 2.4.0)
54
+ pg (1.2.3)
55
+ rack (2.2.2)
56
+ rack-test (1.1.0)
57
+ rack (>= 1.0, < 3)
58
+ rails-dom-testing (2.0.3)
59
+ activesupport (>= 4.2.0)
60
+ nokogiri (>= 1.6)
61
+ rails-html-sanitizer (1.3.0)
62
+ loofah (~> 2.3)
63
+ railties (6.0.3.1)
64
+ actionpack (= 6.0.3.1)
65
+ activesupport (= 6.0.3.1)
66
+ method_source
67
+ rake (>= 0.8.7)
68
+ thor (>= 0.20.3, < 2.0)
69
+ rake (13.0.1)
70
+ rspec (3.9.0)
71
+ rspec-core (~> 3.9.0)
72
+ rspec-expectations (~> 3.9.0)
73
+ rspec-mocks (~> 3.9.0)
74
+ rspec-core (3.9.2)
75
+ rspec-support (~> 3.9.3)
76
+ rspec-expectations (3.9.2)
77
+ diff-lcs (>= 1.2.0, < 2.0)
78
+ rspec-support (~> 3.9.0)
79
+ rspec-mocks (3.9.1)
80
+ diff-lcs (>= 1.2.0, < 2.0)
81
+ rspec-support (~> 3.9.0)
82
+ rspec-rails (4.0.1)
83
+ actionpack (>= 4.2)
84
+ activesupport (>= 4.2)
85
+ railties (>= 4.2)
86
+ rspec-core (~> 3.9)
87
+ rspec-expectations (~> 3.9)
88
+ rspec-mocks (~> 3.9)
89
+ rspec-support (~> 3.9)
90
+ rspec-support (3.9.3)
91
+ thor (1.0.1)
92
+ thread_safe (0.3.6)
93
+ tzinfo (1.2.7)
94
+ thread_safe (~> 0.1)
95
+ zeitwerk (2.3.0)
96
+
97
+ PLATFORMS
98
+ ruby
99
+
100
+ DEPENDENCIES
101
+ active_record-log_deleted!
102
+ combustion
103
+ rake
104
+ rspec
105
+ rspec-rails
106
+
107
+ BUNDLED WITH
108
+ 2.1.4
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 matthew fong
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,77 @@
1
+ # ActiveRecord::LogDeleted
2
+
3
+ Our data team needs to have logs of deleted rows. To do this, we historically have copy pasted some raw SQL from migration to migration. This gem exposes methods in ActiveRecord migrations to create the deleted row triggers.
4
+
5
+ ## Installation
6
+
7
+ Add this line to your application's Gemfile:
8
+
9
+ ```ruby
10
+ gem 'active_record-log_deleted'
11
+ ```
12
+
13
+ And then execute:
14
+
15
+ $ bundle install
16
+
17
+ Or install it yourself as:
18
+
19
+ $ gem install active_record-log_deleted
20
+
21
+ ## Usage
22
+
23
+ ### Configuration
24
+
25
+ To override defaults, add an initializer:
26
+
27
+ ```ruby
28
+ # config/initializers/active_record-log_deleted.rb
29
+ ActiveRecord::LogDeleted.configure do |config|
30
+ config.deleted_rows_table_name = :deleted_rows
31
+ config.log_deleted_row_function_name = :log_deleted_row
32
+ config.log_deleted_row_trigger_name = :log_deleted_row_trigger
33
+ end
34
+ ```
35
+
36
+ ### Create the deleted rows table
37
+ ```ruby
38
+ class CreateDeletedRowsTable < ActiveRecord::Migration[6.0]
39
+ def change
40
+ create_deleted_rows_table
41
+ end
42
+ end
43
+ ```
44
+
45
+ ### Create the log deleted row function
46
+ ```ruby
47
+ class CreateLogDeletedRowFunction < ActiveRecord::Migration[6.0]
48
+ def change
49
+ create_log_deleted_row_function
50
+ end
51
+ end
52
+ ```
53
+
54
+ ### Create a deleted row trigger
55
+ ```ruby
56
+ class CreateDeletedRowTrigger < ActiveRecord::Migration[6.0]
57
+ def change
58
+ create_deleted_row_trigger(:table_name)
59
+ end
60
+ end
61
+ ```
62
+
63
+
64
+ ## Development
65
+
66
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
67
+
68
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
69
+
70
+ ## Contributing
71
+
72
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/active_record-log_deleted.
73
+
74
+
75
+ ## License
76
+
77
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task :default => :spec
@@ -0,0 +1,35 @@
1
+ require_relative 'lib/active_record/log_deleted/version'
2
+
3
+ Gem::Specification.new do |spec|
4
+ spec.name = "active_record-log_deleted"
5
+ spec.version = ActiveRecord::LogDeleted::VERSION
6
+ spec.authors = ["matthew fong"]
7
+ spec.email = ["matthew@hover.to"]
8
+
9
+ spec.summary = %q{ActiveRecord migration methods for logging deleted records}
10
+ spec.description = spec.summary
11
+ spec.homepage = "https://github.com/hoverinc/active_record-log_deleted"
12
+ spec.license = "MIT"
13
+ spec.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
14
+
15
+ spec.metadata["homepage_uri"] = spec.homepage
16
+ spec.metadata["source_code_uri"] = spec.homepage
17
+ spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/master/CHANGELOG.md"
18
+
19
+ # Specify which files should be added to the gem when it is released.
20
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
21
+ spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
22
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
23
+ end
24
+ spec.bindir = "exe"
25
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
+ spec.require_paths = ["lib"]
27
+
28
+ spec.add_development_dependency "rake"
29
+ spec.add_development_dependency "rspec"
30
+ spec.add_development_dependency "combustion"
31
+ spec.add_development_dependency "rspec-rails"
32
+
33
+ spec.add_runtime_dependency "activerecord", ">= 5.2", "< 7.0"
34
+ spec.add_runtime_dependency "pg"
35
+ end
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "active_record/log_deleted"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,9 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "rubygems"
4
+ require "bundler"
5
+
6
+ Bundler.require :default, :development
7
+
8
+ Combustion.initialize! :all
9
+ run Combustion::Application
@@ -0,0 +1,29 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "active_record"
4
+ require "active_record/schema_dumper"
5
+ require "active_record/connection_adapters/postgresql/schema_statements"
6
+ require "active_record/connection_adapters/postgresql_adapter"
7
+ require "active_support/lazy_load_hooks"
8
+
9
+ require 'active_record/log_deleted/version'
10
+ require 'active_record/log_deleted/configuration'
11
+ require 'active_record/log_deleted/postgresql_adapter'
12
+ require 'active_record/log_deleted/command_recorder'
13
+
14
+ module ActiveRecord
15
+ module LogDeleted
16
+ def self.configuration
17
+ @configuration ||= ::ActiveRecord::LogDeleted::Configuration.new
18
+ end
19
+
20
+ def self.configure
21
+ yield(@configuration)
22
+ end
23
+ end
24
+ end
25
+
26
+ ActiveSupport.on_load(:active_record) do
27
+ ActiveRecord::ConnectionAdapters::PostgreSQLAdapter.prepend ActiveRecord::LogDeleted::PostgreSQLAdapter
28
+ ActiveRecord::Migration::CommandRecorder.prepend ActiveRecord::LogDeleted::CommandRecorder
29
+ end
@@ -0,0 +1,31 @@
1
+ # frozen_string_literal: true
2
+
3
+ module ActiveRecord
4
+ module LogDeleted
5
+ module CommandRecorder
6
+ def create_deleted_rows_table
7
+ record(:create_deleted_rows_table, [])
8
+ end
9
+
10
+ def invert_create_deleted_rows_table(*args)
11
+ [:drop_table, :deleted_rows]
12
+ end
13
+
14
+ def create_log_deleted_row_function
15
+ record(:create_log_deleted_row_function, [])
16
+ end
17
+
18
+ def invert_create_log_deleted_row_function(*args)
19
+ [:drop_log_deleted_row_function]
20
+ end
21
+
22
+ def create_deleted_row_trigger(name)
23
+ record(:create_deleted_row_trigger, name)
24
+ end
25
+
26
+ def invert_create_deleted_row_trigger(name)
27
+ [:drop_deleted_row_trigger, name]
28
+ end
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,31 @@
1
+ module ActiveRecord
2
+ module LogDeleted
3
+ class Configuration
4
+ attr_reader :deleted_rows_table_name, :log_deleted_row_function_name, :log_deleted_row_trigger_name
5
+
6
+ def initialize
7
+ @deleted_rows_table_name = :deleted_rows
8
+ @log_deleted_row_function_name = :log_deleted_row
9
+ @log_deleted_row_trigger_name = :log_deleted_row_trigger
10
+ end
11
+
12
+ def deleted_rows_table_name=(name)
13
+ @deleted_rows_table_name = sanitize(name)
14
+ end
15
+
16
+ def log_deleted_row_function_name=(name)
17
+ @log_deleted_row_function_name = sanitize(name)
18
+ end
19
+
20
+ def log_deleted_row_trigger_name=(name)
21
+ @log_deleted_row_trigger_name = sanitize(name)
22
+ end
23
+
24
+ private
25
+
26
+ def sanitize(value)
27
+ ::ActiveRecord::Base.sanitize_sql(value)
28
+ end
29
+ end
30
+ end
31
+ end
@@ -0,0 +1,67 @@
1
+ # frozen_string_literal: true
2
+
3
+ module ActiveRecord
4
+ module LogDeleted
5
+ module PostgreSQLAdapter
6
+ def create_deleted_rows_table
7
+ create_table deleted_rows_table_name do |t|
8
+ t.datetime :created_at, comment: 'The datetime at which the record was created.'
9
+ t.text :old_row_json, comment: 'JSON with the entire row that was hard deleted.'
10
+ t.string :primary_key, comment: 'The primary key of the row which was hard deleted.'
11
+ t.string :table_name, limit: 255, comment: 'The table name from which the row was hard deleted.'
12
+ end
13
+ end
14
+
15
+ def drop_deleted_rows_table
16
+ drop_table deleted_rows_table_name
17
+ end
18
+
19
+ def create_log_deleted_row_function
20
+ execute <<-SQL
21
+ CREATE OR REPLACE FUNCTION #{log_deleted_row_function_name}() RETURNS trigger AS $$
22
+ BEGIN
23
+ INSERT INTO
24
+ deleted_rows(table_name, primary_key, old_row_json, created_at)
25
+ VALUES (TG_TABLE_NAME, OLD.id::varchar, ROW_TO_JSON(OLD), now());
26
+ RETURN OLD;
27
+ END;
28
+ $$ LANGUAGE plpgsql;
29
+ SQL
30
+ end
31
+
32
+ def drop_log_deleted_row_function
33
+ execute "DROP FUNCTION #{log_deleted_row_function_name};"
34
+ end
35
+
36
+ def create_deleted_row_trigger(table_name)
37
+ execute <<~SQL
38
+ create trigger #{log_deleted_row_trigger_name} after delete on #{ActiveRecord::Base.sanitize_sql(table_name)} for each row execute procedure #{log_deleted_row_function_name}();
39
+ SQL
40
+ end
41
+
42
+ def drop_deleted_row_trigger(table_name)
43
+ execute <<~SQL
44
+ drop trigger if exists #{log_deleted_row_trigger_name} on #{ActiveRecord::Base.sanitize_sql(table_name)};
45
+ SQL
46
+ end
47
+
48
+ private
49
+
50
+ def log_deleted_row_trigger_name
51
+ configuration.log_deleted_row_trigger_name
52
+ end
53
+
54
+ def log_deleted_row_function_name
55
+ configuration.log_deleted_row_function_name
56
+ end
57
+
58
+ def deleted_rows_table_name
59
+ configuration.deleted_rows_table_name
60
+ end
61
+
62
+ def configuration
63
+ ::ActiveRecord::LogDeleted.configuration
64
+ end
65
+ end
66
+ end
67
+ end
@@ -0,0 +1,5 @@
1
+ module ActiveRecord
2
+ module LogDeleted
3
+ VERSION = "0.1.0"
4
+ end
5
+ end
metadata ADDED
@@ -0,0 +1,154 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: active_record-log_deleted
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - matthew fong
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2020-06-12 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rspec
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: combustion
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rspec-rails
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: '0'
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: activerecord
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '5.2'
76
+ - - "<"
77
+ - !ruby/object:Gem::Version
78
+ version: '7.0'
79
+ type: :runtime
80
+ prerelease: false
81
+ version_requirements: !ruby/object:Gem::Requirement
82
+ requirements:
83
+ - - ">="
84
+ - !ruby/object:Gem::Version
85
+ version: '5.2'
86
+ - - "<"
87
+ - !ruby/object:Gem::Version
88
+ version: '7.0'
89
+ - !ruby/object:Gem::Dependency
90
+ name: pg
91
+ requirement: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ type: :runtime
97
+ prerelease: false
98
+ version_requirements: !ruby/object:Gem::Requirement
99
+ requirements:
100
+ - - ">="
101
+ - !ruby/object:Gem::Version
102
+ version: '0'
103
+ description: ActiveRecord migration methods for logging deleted records
104
+ email:
105
+ - matthew@hover.to
106
+ executables: []
107
+ extensions: []
108
+ extra_rdoc_files: []
109
+ files:
110
+ - ".gitignore"
111
+ - ".rspec"
112
+ - ".travis.yml"
113
+ - CHANGELOG.md
114
+ - Gemfile
115
+ - Gemfile.lock
116
+ - LICENSE.txt
117
+ - README.md
118
+ - Rakefile
119
+ - active_record-log_deleted.gemspec
120
+ - bin/console
121
+ - bin/setup
122
+ - config.ru
123
+ - lib/active_record/log_deleted.rb
124
+ - lib/active_record/log_deleted/command_recorder.rb
125
+ - lib/active_record/log_deleted/configuration.rb
126
+ - lib/active_record/log_deleted/postgresql_adapter.rb
127
+ - lib/active_record/log_deleted/version.rb
128
+ homepage: https://github.com/hoverinc/active_record-log_deleted
129
+ licenses:
130
+ - MIT
131
+ metadata:
132
+ homepage_uri: https://github.com/hoverinc/active_record-log_deleted
133
+ source_code_uri: https://github.com/hoverinc/active_record-log_deleted
134
+ changelog_uri: https://github.com/hoverinc/active_record-log_deleted/blob/master/CHANGELOG.md
135
+ post_install_message:
136
+ rdoc_options: []
137
+ require_paths:
138
+ - lib
139
+ required_ruby_version: !ruby/object:Gem::Requirement
140
+ requirements:
141
+ - - ">="
142
+ - !ruby/object:Gem::Version
143
+ version: 2.3.0
144
+ required_rubygems_version: !ruby/object:Gem::Requirement
145
+ requirements:
146
+ - - ">="
147
+ - !ruby/object:Gem::Version
148
+ version: '0'
149
+ requirements: []
150
+ rubygems_version: 3.1.2
151
+ signing_key:
152
+ specification_version: 4
153
+ summary: ActiveRecord migration methods for logging deleted records
154
+ test_files: []