archiving 0.4.3 → 0.4.4
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90b2f1ee68e8b73bac78ccca7108a4180e88d5945605b53d2ffe8774d0f2ada9
|
4
|
+
data.tar.gz: 0db83c970d605ee641fa892ba6e48c65ce97a2736d4ef0aa6d98c9195f27af9b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 647f62d0506c5fff2ee46bcfa7b66f45886b53956744d7fd324d2b99025bae8b949bc0f5770594630362122e4338f935e4cc16b44695efd8c2b11b712ad3b880
|
7
|
+
data.tar.gz: f0b3fd8fc39ffbfb686a394186c135b7f1e65bdd64741a7b19637b7603fc6f1b4513a6187074728f7896e57f35335ec01491f7f88582f7d4f56bc3ee4ca5f0e8
|
data/test/archive_table_test.rb
CHANGED
@@ -212,7 +212,7 @@ class ArchiveTableTest < ActiveSupport::TestCase
|
|
212
212
|
end
|
213
213
|
|
214
214
|
test "overriding database connection for archive" do
|
215
|
-
assert_not_equal LogOther.
|
215
|
+
assert_not_equal LogOther.connection, LogOther.archive.connection
|
216
216
|
p1 = Post.create!(title: "Post 1", tag: "news")
|
217
217
|
l1 = LogOther.create!(note: "Oh", post: p1)
|
218
218
|
l1.archive!
|
@@ -1,6 +1,8 @@
|
|
1
1
|
require File.expand_path('../boot', __FILE__)
|
2
2
|
|
3
|
-
require 'rails
|
3
|
+
require 'rails'
|
4
|
+
require 'active_record/railtie'
|
5
|
+
require 'rails/test_unit/railtie'
|
4
6
|
|
5
7
|
# Require the gems listed in Gemfile, including any gems
|
6
8
|
# you've limited to :test, :development, or :production.
|
@@ -31,11 +31,6 @@ Dummy::Application.configure do
|
|
31
31
|
# Disable request forgery protection in test environment.
|
32
32
|
config.action_controller.allow_forgery_protection = false
|
33
33
|
|
34
|
-
# Tell Action Mailer not to deliver emails to the real world.
|
35
|
-
# The :test delivery method accumulates sent emails in the
|
36
|
-
# ActionMailer::Base.deliveries array.
|
37
|
-
config.action_mailer.delivery_method = :test
|
38
|
-
|
39
34
|
# Print deprecation notices to the stderr.
|
40
35
|
config.active_support.deprecation = :stderr
|
41
36
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: archiving
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Harry Vangberg
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2024-01-24 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: activerecord
|
@@ -21,7 +21,7 @@ dependencies:
|
|
21
21
|
version: '4.2'
|
22
22
|
- - "<"
|
23
23
|
- !ruby/object:Gem::Version
|
24
|
-
version: '
|
24
|
+
version: '8.0'
|
25
25
|
type: :runtime
|
26
26
|
prerelease: false
|
27
27
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -31,7 +31,7 @@ dependencies:
|
|
31
31
|
version: '4.2'
|
32
32
|
- - "<"
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version: '
|
34
|
+
version: '8.0'
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: mysql2
|
37
37
|
requirement: !ruby/object:Gem::Requirement
|
@@ -55,7 +55,7 @@ dependencies:
|
|
55
55
|
version: '4.2'
|
56
56
|
- - "<"
|
57
57
|
- !ruby/object:Gem::Version
|
58
|
-
version: '
|
58
|
+
version: '8.0'
|
59
59
|
type: :development
|
60
60
|
prerelease: false
|
61
61
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -65,7 +65,7 @@ dependencies:
|
|
65
65
|
version: '4.2'
|
66
66
|
- - "<"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '
|
68
|
+
version: '8.0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -191,7 +191,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
191
191
|
- !ruby/object:Gem::Version
|
192
192
|
version: '0'
|
193
193
|
requirements: []
|
194
|
-
rubygems_version: 3.
|
194
|
+
rubygems_version: 3.3.26
|
195
195
|
signing_key:
|
196
196
|
specification_version: 4
|
197
197
|
summary: MySQL Archive Tables
|