archiving 0.4.3 → 0.4.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1305ea31649f1f02fd4cb8182d5aa519181e7d679b968903e99f755c8bd06b3e
4
- data.tar.gz: cd2b9571bd25bb560d5663513c701148f175f70ec78ef16426dc97b0ab15d2df
3
+ metadata.gz: 90b2f1ee68e8b73bac78ccca7108a4180e88d5945605b53d2ffe8774d0f2ada9
4
+ data.tar.gz: 0db83c970d605ee641fa892ba6e48c65ce97a2736d4ef0aa6d98c9195f27af9b
5
5
  SHA512:
6
- metadata.gz: 84324f0aca6a8baeaca44fa9b3ff18e5f1da15f2c313f3d15aff211d86c862d79e492a019f08a9fa923840c317df603ed4e4e1caf10388429ff133cedc1f347b
7
- data.tar.gz: af1e6e3a3b2bb9b0e673ba0a6bc305187e42cc89775ac2806ccab3b05e42576e80698b28fd6af9988a935d51018382be4b52fec5b87762b783fde3b7ff9bcc10
6
+ metadata.gz: 647f62d0506c5fff2ee46bcfa7b66f45886b53956744d7fd324d2b99025bae8b949bc0f5770594630362122e4338f935e4cc16b44695efd8c2b11b712ad3b880
7
+ data.tar.gz: f0b3fd8fc39ffbfb686a394186c135b7f1e65bdd64741a7b19637b7603fc6f1b4513a6187074728f7896e57f35335ec01491f7f88582f7d4f56bc3ee4ca5f0e8
@@ -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.connection_config, LogOther.archive.connection_config
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/all'
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.
@@ -22,7 +22,7 @@ other_development:
22
22
  # Do not set this db to the same as development or production.
23
23
  test:
24
24
  adapter: mysql2
25
- host: localhost
25
+ host: 127.0.0.1
26
26
  database: archiving_test
27
27
  username: root
28
28
  password:
@@ -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.3
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: 2022-02-28 00:00:00.000000000 Z
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: '7.0'
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: '7.0'
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: '7.0'
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: '7.0'
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.2.32
194
+ rubygems_version: 3.3.26
195
195
  signing_key:
196
196
  specification_version: 4
197
197
  summary: MySQL Archive Tables