zombie_record 1.5.1 → 1.7.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: 77c2b09a1e5552f5f0c1a1a2b0beba87267c3342057439b606f37422c3ae65ba
4
- data.tar.gz: 3904f6d838bccee4355a73eb97b2eb17e56d6469f82ffc83d1f31fb5e8d9b4df
3
+ metadata.gz: '0996f31d1919f871bba75e8a21edf967c36b8f83b2b96d9d291db75e74f8982c'
4
+ data.tar.gz: 8a52efb01d99b98ab88d93b67d93bb1d6143d6fad6f24e081185a2f104e5f836
5
5
  SHA512:
6
- metadata.gz: bc8cba4a7b46ca10c9933ac19d9e5c5eeec7309eb5894f76b6fc76a3b1c9f7ee109c4f49a30ecd60297b74ff219efc52867e8d81c7f4601e7ebcbd5da2d18917
7
- data.tar.gz: e43f02c6dd634541f4bf6cfffbe7df5c6adfe09b9c9ae094510cf73595e087f6d129add06b707a539cdc3a8673ffd3d74623f6500e5de7c5d0929ae6adc14f70
6
+ metadata.gz: e2c0b0bec32563691aff52c2287a363916a436f1c9356a9e9019490c7d0e67feb61b7dcc991143087390282c5e1e67090eabbbe90f803f78cd1bf9c4d6fd48cc
7
+ data.tar.gz: d7dd89008db2ea47d71113960097a95d667785b91ffdc27cf7549cc277defcb1361457c20f959d4e96354853b385f4fa970964c7e95df73711b268da7c7ac19f
@@ -9,27 +9,14 @@ jobs:
9
9
  strategy:
10
10
  matrix:
11
11
  ruby-version:
12
- - '2.6'
13
12
  - '2.7'
14
13
  - '3.0'
15
14
  - '3.1'
15
+ - '3.2'
16
16
  gemfile:
17
- - rails5.0
18
- - rails5.1
19
- - rails5.2
20
- - rails6.0
21
17
  - rails6.1
22
18
  - rails7.0
23
- exclude:
24
- - {ruby-version: '2.6', gemfile: rails7.0}
25
- - {ruby-version: '3.0', gemfile: rails5.0}
26
- - {ruby-version: '3.0', gemfile: rails5.1}
27
- - {ruby-version: '3.0', gemfile: rails5.2}
28
- - {ruby-version: '3.0', gemfile: rails6.0}
29
- - {ruby-version: '3.1', gemfile: rails5.0}
30
- - {ruby-version: '3.1', gemfile: rails5.1}
31
- - {ruby-version: '3.1', gemfile: rails5.2}
32
- - {ruby-version: '3.1', gemfile: rails6.0}
19
+ - rails7.1
33
20
  env:
34
21
  BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
35
22
  steps:
data/CHANGELOG.md CHANGED
@@ -1,5 +1,16 @@
1
1
  ###### Unreleased
2
2
 
3
+ ###### v1.7.0
4
+
5
+ * Add support for Rails 7.1
6
+ * Drop support for Rails 5.2 and 6.0
7
+
8
+ ###### v1.6.0
9
+
10
+ * Drop support for Ruby 2.6
11
+ * Drop support for Rails 5.0 & 5.1
12
+ * Test against Ruby 3.2
13
+
3
14
  ###### v1.5.1
4
15
 
5
16
  * Fix keyword arguments error for `method_missing`.
data/bin/bundle_all ADDED
@@ -0,0 +1,11 @@
1
+ #! /bin/bash
2
+ # Usage: ./bundle_all <args>
3
+ # This will update the lock files
4
+ # in the gemfiles/ folder as well
5
+ echo "bundle_all"
6
+ for i in gemfiles/*.gemfile Gemfile
7
+ do
8
+ echo "Bundling for $i"
9
+ echo "BUNDLE_GEMFILE=$i bundle $@"
10
+ BUNDLE_GEMFILE=$i bundle $@
11
+ done
@@ -0,0 +1,65 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ zombie_record (1.7.0)
5
+ activerecord (>= 6.1, < 7.2)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ activemodel (6.1.7.6)
11
+ activesupport (= 6.1.7.6)
12
+ activerecord (6.1.7.6)
13
+ activemodel (= 6.1.7.6)
14
+ activesupport (= 6.1.7.6)
15
+ activesupport (6.1.7.6)
16
+ concurrent-ruby (~> 1.0, >= 1.0.2)
17
+ i18n (>= 1.6, < 2)
18
+ minitest (>= 5.1)
19
+ tzinfo (~> 2.0)
20
+ zeitwerk (~> 2.3)
21
+ bump (0.10.0)
22
+ byebug (11.1.3)
23
+ concurrent-ruby (1.2.2)
24
+ diff-lcs (1.5.0)
25
+ i18n (1.14.1)
26
+ concurrent-ruby (~> 1.0)
27
+ mini_portile2 (2.8.4)
28
+ minitest (5.20.0)
29
+ rake (13.0.6)
30
+ rspec (3.12.0)
31
+ rspec-core (~> 3.12.0)
32
+ rspec-expectations (~> 3.12.0)
33
+ rspec-mocks (~> 3.12.0)
34
+ rspec-core (3.12.2)
35
+ rspec-support (~> 3.12.0)
36
+ rspec-expectations (3.12.3)
37
+ diff-lcs (>= 1.2.0, < 2.0)
38
+ rspec-support (~> 3.12.0)
39
+ rspec-mocks (3.12.6)
40
+ diff-lcs (>= 1.2.0, < 2.0)
41
+ rspec-support (~> 3.12.0)
42
+ rspec-support (3.12.1)
43
+ sqlite3 (1.6.7)
44
+ mini_portile2 (~> 2.8.0)
45
+ timecop (0.9.8)
46
+ tzinfo (2.0.6)
47
+ concurrent-ruby (~> 1.0)
48
+ zeitwerk (2.6.12)
49
+
50
+ PLATFORMS
51
+ ruby
52
+
53
+ DEPENDENCIES
54
+ activerecord (~> 6.1.0)
55
+ bump
56
+ bundler
57
+ byebug
58
+ rake
59
+ rspec (~> 3.5)
60
+ sqlite3 (~> 1.4)
61
+ timecop
62
+ zombie_record!
63
+
64
+ BUNDLED WITH
65
+ 2.4.20
@@ -0,0 +1,63 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ zombie_record (1.7.0)
5
+ activerecord (>= 6.1, < 7.2)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ activemodel (7.0.8)
11
+ activesupport (= 7.0.8)
12
+ activerecord (7.0.8)
13
+ activemodel (= 7.0.8)
14
+ activesupport (= 7.0.8)
15
+ activesupport (7.0.8)
16
+ concurrent-ruby (~> 1.0, >= 1.0.2)
17
+ i18n (>= 1.6, < 2)
18
+ minitest (>= 5.1)
19
+ tzinfo (~> 2.0)
20
+ bump (0.10.0)
21
+ byebug (11.1.3)
22
+ concurrent-ruby (1.2.2)
23
+ diff-lcs (1.5.0)
24
+ i18n (1.14.1)
25
+ concurrent-ruby (~> 1.0)
26
+ mini_portile2 (2.8.4)
27
+ minitest (5.20.0)
28
+ rake (13.0.6)
29
+ rspec (3.12.0)
30
+ rspec-core (~> 3.12.0)
31
+ rspec-expectations (~> 3.12.0)
32
+ rspec-mocks (~> 3.12.0)
33
+ rspec-core (3.12.2)
34
+ rspec-support (~> 3.12.0)
35
+ rspec-expectations (3.12.3)
36
+ diff-lcs (>= 1.2.0, < 2.0)
37
+ rspec-support (~> 3.12.0)
38
+ rspec-mocks (3.12.6)
39
+ diff-lcs (>= 1.2.0, < 2.0)
40
+ rspec-support (~> 3.12.0)
41
+ rspec-support (3.12.1)
42
+ sqlite3 (1.6.7)
43
+ mini_portile2 (~> 2.8.0)
44
+ timecop (0.9.8)
45
+ tzinfo (2.0.6)
46
+ concurrent-ruby (~> 1.0)
47
+
48
+ PLATFORMS
49
+ ruby
50
+
51
+ DEPENDENCIES
52
+ activerecord (~> 7.0.0)
53
+ bump
54
+ bundler
55
+ byebug
56
+ rake
57
+ rspec (~> 3.5)
58
+ sqlite3 (~> 1.4)
59
+ timecop
60
+ zombie_record!
61
+
62
+ BUNDLED WITH
63
+ 2.4.20
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec path: "../"
4
+
5
+ gem "activerecord", "~> 7.1.0"
@@ -0,0 +1,77 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ zombie_record (1.7.0)
5
+ activerecord (>= 6.1, < 7.2)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ activemodel (7.1.1)
11
+ activesupport (= 7.1.1)
12
+ activerecord (7.1.1)
13
+ activemodel (= 7.1.1)
14
+ activesupport (= 7.1.1)
15
+ timeout (>= 0.4.0)
16
+ activesupport (7.1.1)
17
+ base64
18
+ bigdecimal
19
+ concurrent-ruby (~> 1.0, >= 1.0.2)
20
+ connection_pool (>= 2.2.5)
21
+ drb
22
+ i18n (>= 1.6, < 2)
23
+ minitest (>= 5.1)
24
+ mutex_m
25
+ tzinfo (~> 2.0)
26
+ base64 (0.1.1)
27
+ bigdecimal (3.1.4)
28
+ bump (0.10.0)
29
+ byebug (11.1.3)
30
+ concurrent-ruby (1.2.2)
31
+ connection_pool (2.4.1)
32
+ diff-lcs (1.5.0)
33
+ drb (2.1.1)
34
+ ruby2_keywords
35
+ i18n (1.14.1)
36
+ concurrent-ruby (~> 1.0)
37
+ mini_portile2 (2.8.4)
38
+ minitest (5.20.0)
39
+ mutex_m (0.1.2)
40
+ rake (13.0.6)
41
+ rspec (3.12.0)
42
+ rspec-core (~> 3.12.0)
43
+ rspec-expectations (~> 3.12.0)
44
+ rspec-mocks (~> 3.12.0)
45
+ rspec-core (3.12.2)
46
+ rspec-support (~> 3.12.0)
47
+ rspec-expectations (3.12.3)
48
+ diff-lcs (>= 1.2.0, < 2.0)
49
+ rspec-support (~> 3.12.0)
50
+ rspec-mocks (3.12.6)
51
+ diff-lcs (>= 1.2.0, < 2.0)
52
+ rspec-support (~> 3.12.0)
53
+ rspec-support (3.12.1)
54
+ ruby2_keywords (0.0.5)
55
+ sqlite3 (1.6.7)
56
+ mini_portile2 (~> 2.8.0)
57
+ timecop (0.9.8)
58
+ timeout (0.4.0)
59
+ tzinfo (2.0.6)
60
+ concurrent-ruby (~> 1.0)
61
+
62
+ PLATFORMS
63
+ ruby
64
+
65
+ DEPENDENCIES
66
+ activerecord (~> 7.1.0)
67
+ bump
68
+ bundler
69
+ byebug
70
+ rake
71
+ rspec (~> 3.5)
72
+ sqlite3
73
+ timecop
74
+ zombie_record!
75
+
76
+ BUNDLED WITH
77
+ 2.4.20
@@ -1,3 +1,3 @@
1
1
  module ZombieRecord
2
- VERSION = "1.5.1"
2
+ VERSION = "1.7.0"
3
3
  end
@@ -15,9 +15,9 @@ Gem::Specification.new do |spec|
15
15
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
16
16
  spec.require_paths = ["lib"]
17
17
 
18
- spec.required_ruby_version = ">= 2.6"
18
+ spec.required_ruby_version = ">= 2.7"
19
19
 
20
- spec.add_dependency "activerecord", ">= 5.0", "< 7.1"
20
+ spec.add_dependency "activerecord", ">= 6.1", "< 7.2"
21
21
 
22
22
  spec.add_development_dependency "bundler"
23
23
  spec.add_development_dependency "byebug"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zombie_record
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1
4
+ version: 1.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Schierbeck
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-23 00:00:00.000000000 Z
11
+ date: 2023-10-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -16,20 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '5.0'
19
+ version: '6.1'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '7.1'
22
+ version: '7.2'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '5.0'
29
+ version: '6.1'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '7.1'
32
+ version: '7.2'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: bundler
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -131,7 +131,8 @@ dependencies:
131
131
  description: Allows restoring your Active Records from the dead!
132
132
  email:
133
133
  - dasch@zendesk.com
134
- executables: []
134
+ executables:
135
+ - bundle_all
135
136
  extensions: []
136
137
  extra_rdoc_files: []
137
138
  files:
@@ -144,12 +145,13 @@ files:
144
145
  - LICENSE.txt
145
146
  - README.md
146
147
  - Rakefile
147
- - gemfiles/rails5.0.gemfile
148
- - gemfiles/rails5.1.gemfile
149
- - gemfiles/rails5.2.gemfile
150
- - gemfiles/rails6.0.gemfile
148
+ - bin/bundle_all
151
149
  - gemfiles/rails6.1.gemfile
150
+ - gemfiles/rails6.1.gemfile.lock
152
151
  - gemfiles/rails7.0.gemfile
152
+ - gemfiles/rails7.0.gemfile.lock
153
+ - gemfiles/rails7.1.gemfile
154
+ - gemfiles/rails7.1.gemfile.lock
153
155
  - lib/zombie_record.rb
154
156
  - lib/zombie_record/restorable.rb
155
157
  - lib/zombie_record/version.rb
@@ -168,7 +170,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
168
170
  requirements:
169
171
  - - ">="
170
172
  - !ruby/object:Gem::Version
171
- version: '2.6'
173
+ version: '2.7'
172
174
  required_rubygems_version: !ruby/object:Gem::Requirement
173
175
  requirements:
174
176
  - - ">="
@@ -1,6 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec path: "../"
4
-
5
- gem "activerecord", "~> 5.0.0"
6
- gem 'sqlite3', '~> 1.3.6'
@@ -1,6 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec path: "../"
4
-
5
- gem "activerecord", "~> 5.1.0"
6
- gem "sqlite3", "~> 1.3", ">= 1.3.6"
@@ -1,6 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec path: "../"
4
-
5
- gem "activerecord", "~> 5.2.0"
6
- gem "sqlite3", "~> 1.3", ">= 1.3.6"
@@ -1,6 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec path: "../"
4
-
5
- gem "activerecord", "~> 6.0.0"
6
- gem "sqlite3", "~> 1.4"