guard_against_physical_delete 2.1.1 → 2.2.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: bf3003e9c60b6e19e0f13de9cfca5c1ccf85f8a5c33cbfb327bc60ead38c9332
4
- data.tar.gz: 89f4cd9c51bb7bff0712215b6a5b503d7148b982694708a7a274423e59134a1b
3
+ metadata.gz: 652fcb3e43a6cad863c16e98d22b99128a43e2569c003c567338ecb67d27337a
4
+ data.tar.gz: d0b3ae718f26049bf882788b064dbb3c4134a5644611ac1d8832df25f416f659
5
5
  SHA512:
6
- metadata.gz: 55d3b887dbaf294c6b262620dc24b0d7be5cf147798ad8899137121b6cce1fdb547569acfdd1cec363a3879b3dd5758396533cf8db2bc361fcdabe7492e1b2ae
7
- data.tar.gz: b8e1c3941e184465eec596f0da8e8a662135c462bf5e42b66fbb4e5c1d52261407cb71b1433a4cd935efe8cc6ed78db826d23c61137092f2e981d91347246a4e
6
+ metadata.gz: 18c727e7d397efa033762a262eaa7745c16d2e7da910d545f35533c39a007f359ab3e44612e772ecc18e96b1675c011acab6a845ab7e662ff2eca09e3fca3084
7
+ data.tar.gz: ed9aa438fba468cb563a27dd3c98cb48c9b3cd0767e31182483443ecf434716eb5fc2fbcfab15ebb1c5e83475b81079d1c90642fdfcc9ec876b6fcc4ff7ee5be
@@ -1,4 +1,4 @@
1
- name: master & PR
1
+ name: test
2
2
 
3
3
  on:
4
4
  pull_request:
@@ -17,6 +17,7 @@ jobs:
17
17
  - "5.2"
18
18
  - "6.0"
19
19
  - "6.1"
20
+ - "7.0"
20
21
  name: Test on Rails ${{ matrix.rails_version }}
21
22
  env:
22
23
  BUNDLE_GEMFILE: gemfiles/Gemfile_rails_${{ matrix.rails_version }}.rb
data/CHANGELOG.md CHANGED
@@ -2,6 +2,12 @@
2
2
 
3
3
  ## Unreleased
4
4
 
5
+ ## 2.2.0 - 2022-06-16
6
+
7
+ ### Added
8
+
9
+ - Support activerecord 7.0.
10
+
5
11
  ## 2.1.1 - 2022-05-26
6
12
 
7
13
  ### Added
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # guard_against_physical_delete
2
2
 
3
+ [![test](https://github.com/cookpad/guard_against_physical_delete/actions/workflows/test.yml/badge.svg)](https://github.com/cookpad/guard_against_physical_delete/actions/workflows/test.yml)
4
+
3
5
  [![Gem Version](https://badge.fury.io/rb/guard_against_physical_delete.svg)](https://rubygems.org/gems/guard_against_physical_delete)
4
6
 
5
7
  A monkey patch for ActiveRecord to prevent physical deletion.
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- guard_against_physical_delete (2.1.0)
5
- activerecord (>= 5, < 6.2)
4
+ guard_against_physical_delete (2.2.0)
5
+ activerecord (>= 5, < 7.1)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- guard_against_physical_delete (2.1.0)
5
- activerecord (>= 5, < 6.2)
4
+ guard_against_physical_delete (2.2.0)
5
+ activerecord (>= 5, < 7.1)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- guard_against_physical_delete (2.1.0)
5
- activerecord (>= 5, < 6.2)
4
+ guard_against_physical_delete (2.2.0)
5
+ activerecord (>= 5, < 7.1)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- guard_against_physical_delete (2.1.0)
5
- activerecord (>= 5, < 6.2)
4
+ guard_against_physical_delete (2.2.0)
5
+ activerecord (>= 5, < 7.1)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- guard_against_physical_delete (2.1.0)
5
- activerecord (>= 5, < 6.2)
4
+ guard_against_physical_delete (2.2.0)
5
+ activerecord (>= 5, < 7.1)
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec path: '..'
4
+
5
+ gem 'activerecord', '~> 7.0.0'
@@ -0,0 +1,72 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ guard_against_physical_delete (2.2.0)
5
+ activerecord (>= 5, < 7.1)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ activemodel (7.0.2.2)
11
+ activesupport (= 7.0.2.2)
12
+ activerecord (7.0.2.2)
13
+ activemodel (= 7.0.2.2)
14
+ activesupport (= 7.0.2.2)
15
+ activesupport (7.0.2.2)
16
+ concurrent-ruby (~> 1.0, >= 1.0.2)
17
+ i18n (>= 1.6, < 2)
18
+ minitest (>= 5.1)
19
+ tzinfo (~> 2.0)
20
+ concurrent-ruby (1.1.9)
21
+ countdownlatch (1.0.0)
22
+ database_cleaner (2.0.1)
23
+ database_cleaner-active_record (~> 2.0.0)
24
+ database_cleaner-active_record (2.0.1)
25
+ activerecord (>= 5.a)
26
+ database_cleaner-core (~> 2.0.0)
27
+ database_cleaner-core (2.0.1)
28
+ diff-lcs (1.5.0)
29
+ docile (1.4.0)
30
+ i18n (1.10.0)
31
+ concurrent-ruby (~> 1.0)
32
+ minitest (5.15.0)
33
+ rake (13.0.6)
34
+ rspec (3.11.0)
35
+ rspec-core (~> 3.11.0)
36
+ rspec-expectations (~> 3.11.0)
37
+ rspec-mocks (~> 3.11.0)
38
+ rspec-core (3.11.0)
39
+ rspec-support (~> 3.11.0)
40
+ rspec-expectations (3.11.0)
41
+ diff-lcs (>= 1.2.0, < 2.0)
42
+ rspec-support (~> 3.11.0)
43
+ rspec-mocks (3.11.0)
44
+ diff-lcs (>= 1.2.0, < 2.0)
45
+ rspec-support (~> 3.11.0)
46
+ rspec-support (3.11.0)
47
+ simplecov (0.21.2)
48
+ docile (~> 1.1)
49
+ simplecov-html (~> 0.11)
50
+ simplecov_json_formatter (~> 0.1)
51
+ simplecov-html (0.12.3)
52
+ simplecov_json_formatter (0.1.4)
53
+ sqlite3 (1.4.2)
54
+ tzinfo (2.0.4)
55
+ concurrent-ruby (~> 1.0)
56
+
57
+ PLATFORMS
58
+ x86_64-linux
59
+
60
+ DEPENDENCIES
61
+ activerecord (~> 7.0.0)
62
+ bundler
63
+ countdownlatch
64
+ database_cleaner
65
+ guard_against_physical_delete!
66
+ rake (~> 13)
67
+ rspec (~> 3)
68
+ simplecov
69
+ sqlite3 (~> 1.4)
70
+
71
+ BUNDLED WITH
72
+ 2.3.6
@@ -20,7 +20,7 @@ Gem::Specification.new do |s|
20
20
  s.metadata["homepage_uri"] = s.homepage
21
21
  s.metadata["source_code_uri"] = s.homepage
22
22
 
23
- s.add_runtime_dependency "activerecord", ">= 5", "< 6.2"
23
+ s.add_runtime_dependency "activerecord", ">= 5", "< 7.1"
24
24
  s.add_development_dependency "rake", "~> 13"
25
25
  s.add_development_dependency "rspec", "~> 3"
26
26
  s.add_development_dependency "sqlite3", "~> 1.4"
@@ -1,3 +1,3 @@
1
1
  module GuardAgainstPhysicalDelete
2
- VERSION = "2.1.1"
2
+ VERSION = "2.2.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: guard_against_physical_delete
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.1
4
+ version: 2.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - MORITA shingo
@@ -19,7 +19,7 @@ dependencies:
19
19
  version: '5'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '6.2'
22
+ version: '7.1'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: '5'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '6.2'
32
+ version: '7.1'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: rake
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -134,7 +134,7 @@ executables: []
134
134
  extensions: []
135
135
  extra_rdoc_files: []
136
136
  files:
137
- - ".github/workflows/master_and_pr.yml"
137
+ - ".github/workflows/test.yml"
138
138
  - ".gitignore"
139
139
  - CHANGELOG.md
140
140
  - License.txt
@@ -152,6 +152,8 @@ files:
152
152
  - gemfiles/Gemfile_rails_6.0.rb.lock
153
153
  - gemfiles/Gemfile_rails_6.1.rb
154
154
  - gemfiles/Gemfile_rails_6.1.rb.lock
155
+ - gemfiles/Gemfile_rails_7.0.rb
156
+ - gemfiles/Gemfile_rails_7.0.rb.lock
155
157
  - guard_against_physical_delete.gemspec
156
158
  - lib/guard_against_physical_delete.rb
157
159
  - lib/guard_against_physical_delete/base.rb
@@ -181,7 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
181
183
  - !ruby/object:Gem::Version
182
184
  version: '0'
183
185
  requirements: []
184
- rubygems_version: 3.3.7
186
+ rubygems_version: 3.0.3.1
185
187
  signing_key:
186
188
  specification_version: 4
187
189
  summary: A monkey patch for ActiveRecord to prevent physical deletion.