zombie_record 1.4.2 → 1.4.3

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: 603d03ebaf5a1164056c49beee4ec41096f681e5d158c2cc9cc31f58a357fbdb
4
- data.tar.gz: 8847571885cacaf878e96649a4fd694f91b991ff1eb67b76506228e1412ed433
3
+ metadata.gz: 567fd4185a47b61239b7d1df1f03a9b328d2085c8b08d284fea984b461245c28
4
+ data.tar.gz: efdb86ade001fb7117741b566f1c53bfdb2af32ebd9969d36998e88db09f2928
5
5
  SHA512:
6
- metadata.gz: 4fe171d2153615597613d3d8d539533241fcbc000dbb08b65f91fb5002555245089304556d0ade242b89010b2e21a3b195d2427a825b3fee254ef159c5bb2384
7
- data.tar.gz: 955b8357b8d2fbd008e4e2e1653bf6cf6dff00d44688279d269a7e8679e50a471b0824c36ae3cd57c952a6ba848442f4d61abbfd787f839c2601f10a4297997a
6
+ metadata.gz: aa9fb539d0ffa90d758cb91220a8bff3ff8210d8071a48b3e751b14d9601740f483b27899429c38d47291f1f367cbfe99f73beb971a5f850946935902601250f
7
+ data.tar.gz: 72fb282d7a5f6c00fc84927044beaafe53f76024426f78a91b4bb25d111104fad215075f1f7c57630c56c18b655381258e6c71678b0b5afc2ede1c546e44e77b
@@ -0,0 +1,49 @@
1
+ name: CI
2
+
3
+ on: push
4
+
5
+ jobs:
6
+ specs:
7
+ runs-on: ubuntu-latest
8
+
9
+ services:
10
+ mysql:
11
+ image: mysql:5.7
12
+ ports:
13
+ - 3306:3306
14
+ env:
15
+ MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
16
+ options: >-
17
+ --health-cmd "mysqladmin ping -h localhost"
18
+ --health-interval 5s
19
+ --health-timeout 3s
20
+
21
+ strategy:
22
+ matrix:
23
+ ruby-version:
24
+ - 2.4
25
+ - 2.5
26
+ - 2.6
27
+ gemfile:
28
+ - rails4.2
29
+ - rails5.0
30
+ - rails5.1
31
+ - rails5.2
32
+ - rails6.0
33
+ - rails6.1
34
+ exclude:
35
+ - ruby-version: 2.4
36
+ gemfile: rails6.0
37
+ - ruby-version: 2.4
38
+ gemfile: rails6.1
39
+ env:
40
+ BUNDLE_GEMFILE: gemfiles/${{ matrix.gemfile }}.gemfile
41
+ steps:
42
+ - uses: zendesk/checkout@v2
43
+ - name: Set up Ruby
44
+ uses: zendesk/setup-ruby@v1
45
+ with:
46
+ ruby-version: ${{ matrix.ruby-version }}
47
+ bundler-cache: true
48
+ - name: RSpec
49
+ run: bundle exec rspec
data/.gitignore CHANGED
@@ -3,7 +3,7 @@
3
3
  .bundle
4
4
  .config
5
5
  .yardoc
6
- *[Gg]emfile.lock
6
+ /Gemfile.lock
7
7
  InstalledFiles
8
8
  _yardoc
9
9
  coverage
@@ -1,5 +1,11 @@
1
1
  ###### Unreleased
2
2
 
3
+ ###### v1.4.3
4
+
5
+ * Drop support for Ruby 2.2 and 2.3.
6
+ * Drop support for Rails 4.1.
7
+ * Test against Rails 6.0 and 6.1.
8
+
3
9
  ###### v1.4.2
4
10
 
5
11
  * Test against Rails 5.2 final.
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Allows restoring your Active Records from the dead!
4
4
 
5
- [![Build Status](https://travis-ci.org/zendesk/zombie_record.svg?branch=master)](https://travis-ci.org/zendesk/zombie_record)
5
+ [![Build Status](https://github.com/zendesk/zombie_record/workflows/CI/badge.svg)](https://github.com/zendesk/zombie_record/actions?query=workflow%3ACI)
6
6
 
7
7
  ## Installation
8
8
 
data/Rakefile CHANGED
@@ -1,8 +1,2 @@
1
1
  require "bundler/gem_tasks"
2
- require "rspec/core/rake_task"
3
- require "wwtd/tasks"
4
2
  require "bump/tasks"
5
-
6
- RSpec::Core::RakeTask.new(:spec)
7
-
8
- task :default => "wwtd:local"
@@ -0,0 +1,68 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ zombie_record (1.4.3)
5
+ activerecord (>= 4.2, < 6.2)
6
+ mysql2
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ activemodel (4.2.11.3)
12
+ activesupport (= 4.2.11.3)
13
+ builder (~> 3.1)
14
+ activerecord (4.2.11.3)
15
+ activemodel (= 4.2.11.3)
16
+ activesupport (= 4.2.11.3)
17
+ arel (~> 6.0)
18
+ activesupport (4.2.11.3)
19
+ i18n (~> 0.7)
20
+ minitest (~> 5.1)
21
+ thread_safe (~> 0.3, >= 0.3.4)
22
+ tzinfo (~> 1.1)
23
+ arel (6.0.4)
24
+ builder (3.2.4)
25
+ bump (0.10.0)
26
+ byebug (11.1.3)
27
+ concurrent-ruby (1.1.7)
28
+ diff-lcs (1.4.4)
29
+ i18n (0.9.5)
30
+ concurrent-ruby (~> 1.0)
31
+ minitest (5.14.2)
32
+ mysql2 (0.4.10)
33
+ rake (13.0.3)
34
+ rspec (3.10.0)
35
+ rspec-core (~> 3.10.0)
36
+ rspec-expectations (~> 3.10.0)
37
+ rspec-mocks (~> 3.10.0)
38
+ rspec-core (3.10.1)
39
+ rspec-support (~> 3.10.0)
40
+ rspec-expectations (3.10.1)
41
+ diff-lcs (>= 1.2.0, < 2.0)
42
+ rspec-support (~> 3.10.0)
43
+ rspec-mocks (3.10.1)
44
+ diff-lcs (>= 1.2.0, < 2.0)
45
+ rspec-support (~> 3.10.0)
46
+ rspec-support (3.10.1)
47
+ thread_safe (0.3.6)
48
+ timecop (0.9.2)
49
+ tzinfo (1.2.9)
50
+ thread_safe (~> 0.1)
51
+
52
+ PLATFORMS
53
+ x86_64-darwin-19
54
+ x86_64-linux
55
+
56
+ DEPENDENCIES
57
+ activerecord (~> 4.2.0)
58
+ bump
59
+ bundler
60
+ byebug
61
+ mysql2 (~> 0.4.0)
62
+ rake
63
+ rspec (~> 3.5)
64
+ timecop
65
+ zombie_record!
66
+
67
+ BUNDLED WITH
68
+ 2.2.3
@@ -0,0 +1,65 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ zombie_record (1.4.3)
5
+ activerecord (>= 4.2, < 6.2)
6
+ mysql2
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ activemodel (5.0.7.2)
12
+ activesupport (= 5.0.7.2)
13
+ activerecord (5.0.7.2)
14
+ activemodel (= 5.0.7.2)
15
+ activesupport (= 5.0.7.2)
16
+ arel (~> 7.0)
17
+ activesupport (5.0.7.2)
18
+ concurrent-ruby (~> 1.0, >= 1.0.2)
19
+ i18n (>= 0.7, < 2)
20
+ minitest (~> 5.1)
21
+ tzinfo (~> 1.1)
22
+ arel (7.1.4)
23
+ bump (0.10.0)
24
+ byebug (11.1.3)
25
+ concurrent-ruby (1.1.7)
26
+ diff-lcs (1.4.4)
27
+ i18n (1.8.5)
28
+ concurrent-ruby (~> 1.0)
29
+ minitest (5.14.2)
30
+ mysql2 (0.5.3)
31
+ rake (13.0.3)
32
+ rspec (3.10.0)
33
+ rspec-core (~> 3.10.0)
34
+ rspec-expectations (~> 3.10.0)
35
+ rspec-mocks (~> 3.10.0)
36
+ rspec-core (3.10.1)
37
+ rspec-support (~> 3.10.0)
38
+ rspec-expectations (3.10.1)
39
+ diff-lcs (>= 1.2.0, < 2.0)
40
+ rspec-support (~> 3.10.0)
41
+ rspec-mocks (3.10.1)
42
+ diff-lcs (>= 1.2.0, < 2.0)
43
+ rspec-support (~> 3.10.0)
44
+ rspec-support (3.10.1)
45
+ thread_safe (0.3.6)
46
+ timecop (0.9.2)
47
+ tzinfo (1.2.9)
48
+ thread_safe (~> 0.1)
49
+
50
+ PLATFORMS
51
+ x86_64-darwin-19
52
+ x86_64-linux
53
+
54
+ DEPENDENCIES
55
+ activerecord (~> 5.0.0)
56
+ bump
57
+ bundler
58
+ byebug
59
+ rake
60
+ rspec (~> 3.5)
61
+ timecop
62
+ zombie_record!
63
+
64
+ BUNDLED WITH
65
+ 2.2.3
@@ -0,0 +1,65 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ zombie_record (1.4.3)
5
+ activerecord (>= 4.2, < 6.2)
6
+ mysql2
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ activemodel (5.1.7)
12
+ activesupport (= 5.1.7)
13
+ activerecord (5.1.7)
14
+ activemodel (= 5.1.7)
15
+ activesupport (= 5.1.7)
16
+ arel (~> 8.0)
17
+ activesupport (5.1.7)
18
+ concurrent-ruby (~> 1.0, >= 1.0.2)
19
+ i18n (>= 0.7, < 2)
20
+ minitest (~> 5.1)
21
+ tzinfo (~> 1.1)
22
+ arel (8.0.0)
23
+ bump (0.10.0)
24
+ byebug (11.1.3)
25
+ concurrent-ruby (1.1.7)
26
+ diff-lcs (1.4.4)
27
+ i18n (1.8.5)
28
+ concurrent-ruby (~> 1.0)
29
+ minitest (5.14.2)
30
+ mysql2 (0.5.3)
31
+ rake (13.0.3)
32
+ rspec (3.10.0)
33
+ rspec-core (~> 3.10.0)
34
+ rspec-expectations (~> 3.10.0)
35
+ rspec-mocks (~> 3.10.0)
36
+ rspec-core (3.10.1)
37
+ rspec-support (~> 3.10.0)
38
+ rspec-expectations (3.10.1)
39
+ diff-lcs (>= 1.2.0, < 2.0)
40
+ rspec-support (~> 3.10.0)
41
+ rspec-mocks (3.10.1)
42
+ diff-lcs (>= 1.2.0, < 2.0)
43
+ rspec-support (~> 3.10.0)
44
+ rspec-support (3.10.1)
45
+ thread_safe (0.3.6)
46
+ timecop (0.9.2)
47
+ tzinfo (1.2.9)
48
+ thread_safe (~> 0.1)
49
+
50
+ PLATFORMS
51
+ x86_64-darwin-19
52
+ x86_64-linux
53
+
54
+ DEPENDENCIES
55
+ activerecord (~> 5.1.0)
56
+ bump
57
+ bundler
58
+ byebug
59
+ rake
60
+ rspec (~> 3.5)
61
+ timecop
62
+ zombie_record!
63
+
64
+ BUNDLED WITH
65
+ 2.2.3
@@ -0,0 +1,65 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ zombie_record (1.4.3)
5
+ activerecord (>= 4.2, < 6.2)
6
+ mysql2
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ activemodel (5.2.4.4)
12
+ activesupport (= 5.2.4.4)
13
+ activerecord (5.2.4.4)
14
+ activemodel (= 5.2.4.4)
15
+ activesupport (= 5.2.4.4)
16
+ arel (>= 9.0)
17
+ activesupport (5.2.4.4)
18
+ concurrent-ruby (~> 1.0, >= 1.0.2)
19
+ i18n (>= 0.7, < 2)
20
+ minitest (~> 5.1)
21
+ tzinfo (~> 1.1)
22
+ arel (9.0.0)
23
+ bump (0.10.0)
24
+ byebug (11.1.3)
25
+ concurrent-ruby (1.1.7)
26
+ diff-lcs (1.4.4)
27
+ i18n (1.8.5)
28
+ concurrent-ruby (~> 1.0)
29
+ minitest (5.14.2)
30
+ mysql2 (0.5.3)
31
+ rake (13.0.3)
32
+ rspec (3.10.0)
33
+ rspec-core (~> 3.10.0)
34
+ rspec-expectations (~> 3.10.0)
35
+ rspec-mocks (~> 3.10.0)
36
+ rspec-core (3.10.1)
37
+ rspec-support (~> 3.10.0)
38
+ rspec-expectations (3.10.1)
39
+ diff-lcs (>= 1.2.0, < 2.0)
40
+ rspec-support (~> 3.10.0)
41
+ rspec-mocks (3.10.1)
42
+ diff-lcs (>= 1.2.0, < 2.0)
43
+ rspec-support (~> 3.10.0)
44
+ rspec-support (3.10.1)
45
+ thread_safe (0.3.6)
46
+ timecop (0.9.2)
47
+ tzinfo (1.2.9)
48
+ thread_safe (~> 0.1)
49
+
50
+ PLATFORMS
51
+ x86_64-darwin-19
52
+ x86_64-linux
53
+
54
+ DEPENDENCIES
55
+ activerecord (~> 5.2.0)
56
+ bump
57
+ bundler
58
+ byebug
59
+ rake
60
+ rspec (~> 3.5)
61
+ timecop
62
+ zombie_record!
63
+
64
+ BUNDLED WITH
65
+ 2.2.3
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec path: "../"
4
+
5
+ gem "activerecord", "~> 6.0.0"
@@ -0,0 +1,65 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ zombie_record (1.4.3)
5
+ activerecord (>= 4.2, < 6.2)
6
+ mysql2
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ activemodel (6.0.3.4)
12
+ activesupport (= 6.0.3.4)
13
+ activerecord (6.0.3.4)
14
+ activemodel (= 6.0.3.4)
15
+ activesupport (= 6.0.3.4)
16
+ activesupport (6.0.3.4)
17
+ concurrent-ruby (~> 1.0, >= 1.0.2)
18
+ i18n (>= 0.7, < 2)
19
+ minitest (~> 5.1)
20
+ tzinfo (~> 1.1)
21
+ zeitwerk (~> 2.2, >= 2.2.2)
22
+ bump (0.10.0)
23
+ byebug (11.1.3)
24
+ concurrent-ruby (1.1.7)
25
+ diff-lcs (1.4.4)
26
+ i18n (1.8.5)
27
+ concurrent-ruby (~> 1.0)
28
+ minitest (5.14.2)
29
+ mysql2 (0.5.3)
30
+ rake (13.0.3)
31
+ rspec (3.10.0)
32
+ rspec-core (~> 3.10.0)
33
+ rspec-expectations (~> 3.10.0)
34
+ rspec-mocks (~> 3.10.0)
35
+ rspec-core (3.10.1)
36
+ rspec-support (~> 3.10.0)
37
+ rspec-expectations (3.10.1)
38
+ diff-lcs (>= 1.2.0, < 2.0)
39
+ rspec-support (~> 3.10.0)
40
+ rspec-mocks (3.10.1)
41
+ diff-lcs (>= 1.2.0, < 2.0)
42
+ rspec-support (~> 3.10.0)
43
+ rspec-support (3.10.1)
44
+ thread_safe (0.3.6)
45
+ timecop (0.9.2)
46
+ tzinfo (1.2.9)
47
+ thread_safe (~> 0.1)
48
+ zeitwerk (2.4.2)
49
+
50
+ PLATFORMS
51
+ x86_64-darwin-19
52
+ x86_64-linux
53
+
54
+ DEPENDENCIES
55
+ activerecord (~> 6.0.0)
56
+ bump
57
+ bundler
58
+ byebug
59
+ rake
60
+ rspec (~> 3.5)
61
+ timecop
62
+ zombie_record!
63
+
64
+ BUNDLED WITH
65
+ 2.2.3
@@ -0,0 +1,5 @@
1
+ source 'https://rubygems.org'
2
+
3
+ gemspec path: "../"
4
+
5
+ gem "activerecord", "~> 6.1.0"
@@ -0,0 +1,64 @@
1
+ PATH
2
+ remote: ..
3
+ specs:
4
+ zombie_record (1.4.3)
5
+ activerecord (>= 4.2, < 6.2)
6
+ mysql2
7
+
8
+ GEM
9
+ remote: https://rubygems.org/
10
+ specs:
11
+ activemodel (6.1.0)
12
+ activesupport (= 6.1.0)
13
+ activerecord (6.1.0)
14
+ activemodel (= 6.1.0)
15
+ activesupport (= 6.1.0)
16
+ activesupport (6.1.0)
17
+ concurrent-ruby (~> 1.0, >= 1.0.2)
18
+ i18n (>= 1.6, < 2)
19
+ minitest (>= 5.1)
20
+ tzinfo (~> 2.0)
21
+ zeitwerk (~> 2.3)
22
+ bump (0.10.0)
23
+ byebug (11.1.3)
24
+ concurrent-ruby (1.1.7)
25
+ diff-lcs (1.4.4)
26
+ i18n (1.8.5)
27
+ concurrent-ruby (~> 1.0)
28
+ minitest (5.14.2)
29
+ mysql2 (0.5.3)
30
+ rake (13.0.3)
31
+ rspec (3.10.0)
32
+ rspec-core (~> 3.10.0)
33
+ rspec-expectations (~> 3.10.0)
34
+ rspec-mocks (~> 3.10.0)
35
+ rspec-core (3.10.1)
36
+ rspec-support (~> 3.10.0)
37
+ rspec-expectations (3.10.1)
38
+ diff-lcs (>= 1.2.0, < 2.0)
39
+ rspec-support (~> 3.10.0)
40
+ rspec-mocks (3.10.1)
41
+ diff-lcs (>= 1.2.0, < 2.0)
42
+ rspec-support (~> 3.10.0)
43
+ rspec-support (3.10.1)
44
+ timecop (0.9.2)
45
+ tzinfo (2.0.4)
46
+ concurrent-ruby (~> 1.0)
47
+ zeitwerk (2.4.2)
48
+
49
+ PLATFORMS
50
+ x86_64-darwin-19
51
+ x86_64-linux
52
+
53
+ DEPENDENCIES
54
+ activerecord (~> 6.1.0)
55
+ bump
56
+ bundler
57
+ byebug
58
+ rake
59
+ rspec (~> 3.5)
60
+ timecop
61
+ zombie_record!
62
+
63
+ BUNDLED WITH
64
+ 2.2.3
@@ -96,12 +96,6 @@ module ZombieRecord
96
96
  delegate_to_record(name) { @record.public_send(name, *args, &block) }
97
97
  end
98
98
 
99
- if ::RUBY_VERSION.start_with?('2.3.')
100
- def respond_to_missing?(method, include_all = false)
101
- @record.respond_to?(method, include_all)
102
- end
103
- end
104
-
105
99
  # We want *all* methods to be delegated.
106
100
  BasicObject.instance_methods.each do |name|
107
101
  define_method(name) do |*args, &block|
@@ -178,15 +172,9 @@ module ZombieRecord
178
172
  #
179
173
  # Returns an ActiveRecord::Relation.
180
174
  def with_deleted
181
- if ActiveRecord::VERSION::MAJOR == 4 && ActiveRecord::VERSION::MINOR == 0
182
- all.
183
- tap {|relation| relation.default_scoped = false }.
184
- extending(WithDeletedAssociationsWrapper)
185
- else
186
- all.
187
- unscope(where: :deleted_at).
188
- extending(WithDeletedAssociationsWrapper)
189
- end
175
+ all.
176
+ unscope(where: :deleted_at).
177
+ extending(WithDeletedAssociationsWrapper)
190
178
  end
191
179
  end
192
180
  end
@@ -1,3 +1,3 @@
1
1
  module ZombieRecord
2
- VERSION = "1.4.2"
2
+ VERSION = "1.4.3"
3
3
  end
@@ -80,7 +80,7 @@ RSpec.configure do |config|
80
80
  password: mysql.password
81
81
  )
82
82
 
83
- ActiveRecord::Base.connection.create_database("zombie_record")
83
+ ActiveRecord::Base.connection.create_database("zombie_record", charset: "utf8mb4")
84
84
  ActiveRecord::Base.connection.execute("use zombie_record;")
85
85
 
86
86
  ActiveRecord::Schema.define do
@@ -15,14 +15,15 @@ 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.add_dependency "activerecord", ">= 4.1", "< 6.0"
18
+ spec.required_ruby_version = ">= 2.4"
19
+
20
+ spec.add_dependency "activerecord", ">= 4.2", "< 6.2"
19
21
  spec.add_dependency "mysql2"
20
22
 
21
- spec.add_development_dependency "bundler", "~> 1.3"
23
+ spec.add_development_dependency "bundler"
22
24
  spec.add_development_dependency "byebug"
23
25
  spec.add_development_dependency "rake"
24
26
  spec.add_development_dependency "bump"
25
- spec.add_development_dependency "rspec", "~> 3.5.0"
27
+ spec.add_development_dependency "rspec", "~> 3.5"
26
28
  spec.add_development_dependency "timecop"
27
- spec.add_development_dependency "wwtd"
28
29
  end
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.4.2
4
+ version: 1.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Schierbeck
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-11 00:00:00.000000000 Z
11
+ date: 2021-01-12 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: '4.1'
19
+ version: '4.2'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
- version: '6.0'
22
+ version: '6.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: '4.1'
29
+ version: '4.2'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '6.0'
32
+ version: '6.2'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: mysql2
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -48,16 +48,16 @@ dependencies:
48
48
  name: bundler
49
49
  requirement: !ruby/object:Gem::Requirement
50
50
  requirements:
51
- - - "~>"
51
+ - - ">="
52
52
  - !ruby/object:Gem::Version
53
- version: '1.3'
53
+ version: '0'
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
- - - "~>"
58
+ - - ">="
59
59
  - !ruby/object:Gem::Version
60
- version: '1.3'
60
+ version: '0'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: byebug
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -106,14 +106,14 @@ dependencies:
106
106
  requirements:
107
107
  - - "~>"
108
108
  - !ruby/object:Gem::Version
109
- version: 3.5.0
109
+ version: '3.5'
110
110
  type: :development
111
111
  prerelease: false
112
112
  version_requirements: !ruby/object:Gem::Requirement
113
113
  requirements:
114
114
  - - "~>"
115
115
  - !ruby/object:Gem::Version
116
- version: 3.5.0
116
+ version: '3.5'
117
117
  - !ruby/object:Gem::Dependency
118
118
  name: timecop
119
119
  requirement: !ruby/object:Gem::Requirement
@@ -128,20 +128,6 @@ dependencies:
128
128
  - - ">="
129
129
  - !ruby/object:Gem::Version
130
130
  version: '0'
131
- - !ruby/object:Gem::Dependency
132
- name: wwtd
133
- requirement: !ruby/object:Gem::Requirement
134
- requirements:
135
- - - ">="
136
- - !ruby/object:Gem::Version
137
- version: '0'
138
- type: :development
139
- prerelease: false
140
- version_requirements: !ruby/object:Gem::Requirement
141
- requirements:
142
- - - ">="
143
- - !ruby/object:Gem::Version
144
- version: '0'
145
131
  description: Allows restoring your Active Records from the dead!
146
132
  email:
147
133
  - dasch@zendesk.com
@@ -149,19 +135,26 @@ executables: []
149
135
  extensions: []
150
136
  extra_rdoc_files: []
151
137
  files:
138
+ - ".github/workflows/ci.yml"
152
139
  - ".gitignore"
153
140
  - ".rspec"
154
- - ".travis.yml"
155
141
  - CHANGELOG.md
156
142
  - Gemfile
157
143
  - LICENSE.txt
158
144
  - README.md
159
145
  - Rakefile
160
- - gemfiles/rails4.1.gemfile
161
146
  - gemfiles/rails4.2.gemfile
147
+ - gemfiles/rails4.2.gemfile.lock
162
148
  - gemfiles/rails5.0.gemfile
149
+ - gemfiles/rails5.0.gemfile.lock
163
150
  - gemfiles/rails5.1.gemfile
151
+ - gemfiles/rails5.1.gemfile.lock
164
152
  - gemfiles/rails5.2.gemfile
153
+ - gemfiles/rails5.2.gemfile.lock
154
+ - gemfiles/rails6.0.gemfile
155
+ - gemfiles/rails6.0.gemfile.lock
156
+ - gemfiles/rails6.1.gemfile
157
+ - gemfiles/rails6.1.gemfile.lock
165
158
  - lib/zombie_record.rb
166
159
  - lib/zombie_record/restorable.rb
167
160
  - lib/zombie_record/version.rb
@@ -172,7 +165,7 @@ homepage: https://github.com/zendesk/zombie_record
172
165
  licenses:
173
166
  - MIT
174
167
  metadata: {}
175
- post_install_message:
168
+ post_install_message:
176
169
  rdoc_options: []
177
170
  require_paths:
178
171
  - lib
@@ -180,16 +173,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
180
173
  requirements:
181
174
  - - ">="
182
175
  - !ruby/object:Gem::Version
183
- version: '0'
176
+ version: '2.4'
184
177
  required_rubygems_version: !ruby/object:Gem::Requirement
185
178
  requirements:
186
179
  - - ">="
187
180
  - !ruby/object:Gem::Version
188
181
  version: '0'
189
182
  requirements: []
190
- rubyforge_project:
191
- rubygems_version: 2.7.6
192
- signing_key:
183
+ rubygems_version: 3.2.2
184
+ signing_key:
193
185
  specification_version: 4
194
186
  summary: Allows restoring your Active Records from the dead!
195
187
  test_files:
@@ -1,20 +0,0 @@
1
- language: ruby
2
- rvm:
3
- - 2.2
4
- - 2.3
5
- - 2.4
6
- - 2.5
7
- gemfile:
8
- - gemfiles/rails4.1.gemfile
9
- - gemfiles/rails4.2.gemfile
10
- - gemfiles/rails5.0.gemfile
11
- - gemfiles/rails5.1.gemfile
12
- - gemfiles/rails5.2.gemfile
13
- bundler_args: ""
14
- script: "bundle exec rake spec"
15
- matrix:
16
- exclude:
17
- - rvm: 2.4
18
- gemfile: gemfiles/rails4.1.gemfile
19
- - rvm: 2.5
20
- gemfile: gemfiles/rails4.1.gemfile
@@ -1,6 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec path: "../"
4
-
5
- gem "activerecord", "~> 4.1.8"
6
- gem "mysql2", "~> 0.3.0"