archiving 0.4.3 → 0.5.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: 1305ea31649f1f02fd4cb8182d5aa519181e7d679b968903e99f755c8bd06b3e
4
- data.tar.gz: cd2b9571bd25bb560d5663513c701148f175f70ec78ef16426dc97b0ab15d2df
3
+ metadata.gz: ed920e23aca578aefdc5fcec18d83aa1557699c733ff81e922654892547e74a9
4
+ data.tar.gz: e74fca94e4b191edaa9df962a54e349d2bbfce9d8ed32a82da387e7e049f05aa
5
5
  SHA512:
6
- metadata.gz: 84324f0aca6a8baeaca44fa9b3ff18e5f1da15f2c313f3d15aff211d86c862d79e492a019f08a9fa923840c317df603ed4e4e1caf10388429ff133cedc1f347b
7
- data.tar.gz: af1e6e3a3b2bb9b0e673ba0a6bc305187e42cc89775ac2806ccab3b05e42576e80698b28fd6af9988a935d51018382be4b52fec5b87762b783fde3b7ff9bcc10
6
+ metadata.gz: f8aa5bd2c6f313636010d3e1ba6573d1367cb7e21e3904a5c552350d29ec5474e440983dff68690028de62f84f867b008a2a451ec5036fe0c9af0b42df15c928
7
+ data.tar.gz: 26cb9525b7371621522d4dfe13475e8a62464a929d57b45cb3feea4d61d41d640ee85ee5873bc4abc1f6d24ce5927a1fc00ba4d2edda23c6891048e8faeb045f
@@ -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.5.0
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: 2025-01-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: activerecord
@@ -19,9 +19,9 @@ dependencies:
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
21
  version: '4.2'
22
- - - "<"
22
+ - - "<="
23
23
  - !ruby/object:Gem::Version
24
- version: '7.0'
24
+ version: '8.1'
25
25
  type: :runtime
26
26
  prerelease: false
27
27
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,9 +29,9 @@ dependencies:
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
31
  version: '4.2'
32
- - - "<"
32
+ - - "<="
33
33
  - !ruby/object:Gem::Version
34
- version: '7.0'
34
+ version: '8.1'
35
35
  - !ruby/object:Gem::Dependency
36
36
  name: mysql2
37
37
  requirement: !ruby/object:Gem::Requirement
@@ -53,9 +53,9 @@ dependencies:
53
53
  - - ">="
54
54
  - !ruby/object:Gem::Version
55
55
  version: '4.2'
56
- - - "<"
56
+ - - "<="
57
57
  - !ruby/object:Gem::Version
58
- version: '7.0'
58
+ version: '8.1'
59
59
  type: :development
60
60
  prerelease: false
61
61
  version_requirements: !ruby/object:Gem::Requirement
@@ -63,9 +63,9 @@ dependencies:
63
63
  - - ">="
64
64
  - !ruby/object:Gem::Version
65
65
  version: '4.2'
66
- - - "<"
66
+ - - "<="
67
67
  - !ruby/object:Gem::Version
68
- version: '7.0'
68
+ version: '8.1'
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.4.19
195
195
  signing_key:
196
196
  specification_version: 4
197
197
  summary: MySQL Archive Tables