wagons 0.8.0 → 0.9.1

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: 115a339a7bcdac6dcaa1421a9c10b721ccbe58274b02fd88913c9a0c6c012bc1
4
- data.tar.gz: 8b75fa6188d5742edc1468d07b07ecc9b7c4464c4f42eb52f4a12bf30af24c4c
3
+ metadata.gz: ea9d9337f34251f483f1c19646f2c1d7072bee67db7b918b72aa8e9c23ab151d
4
+ data.tar.gz: 4809edd0c3ff39188e68ebe3c98bedc21d6e0be619ec408495d90c28b94a1f45
5
5
  SHA512:
6
- metadata.gz: bb5f39ce863e8540db973fcb4882b35e8e3734edc380e58df0b72ed9da53412081b94389782ac6dccb431b204f400470bb88aeabecea37644e49b78f8acd71e0
7
- data.tar.gz: 1f6330feb1ceaf5bf001c126a95dd661432e4ac96cf170031e26db94da183a3955406adc0491d65ce480057c2137c58bdf5971e0608ed8e62d1c9bc856a1bdde
6
+ metadata.gz: b863e92c0d5f155ea6ec9de0e25d090408ea1703ffbf1458cb02925e8fc275fc257fd4b071802555598eca8381a3e73e00dfb5e09fb9b6d341db79acba3a48f1
7
+ data.tar.gz: ddfbd6ce0a619b301e5f61d0026962b93d183a2f73da706b6a51a9ac9f84ced70a8f89c22e0094d0d7223ef52b74c2099aef912b321f7993a17a0c8046bbaaa8
@@ -143,11 +143,12 @@ eval(File.read(wagonfile)) if File.exist?(wagonfile)"
143
143
  task :abort_if_pending_migrations => :environment do
144
144
  paths = wagons.collect(&:migrations_paths).flatten
145
145
 
146
- context = ActiveRecord::MigrationContext.new(paths, ActiveRecord::SchemaMigration)
146
+ context = ActiveRecord::MigrationContext.new(paths)
147
147
  pending_migrations = ActiveRecord::Migrator.new(
148
148
  :up,
149
149
  context.migrations,
150
- ActiveRecord::SchemaMigration
150
+ context.schema_migration,
151
+ context.internal_metadata
151
152
  ).pending_migrations
152
153
 
153
154
  if pending_migrations.any?
@@ -186,7 +187,7 @@ namespace :db do
186
187
  Rake::Task[:'db:_dump'].clear_actions
187
188
 
188
189
  task :_dump do
189
- context = ActiveRecord::MigrationContext.new(ActiveRecord::Migrator.migrations_paths, ActiveRecord::SchemaMigration)
190
+ context = ActiveRecord::MigrationContext.new(ActiveRecord::Migrator.migrations_paths)
190
191
  migrated = Set.new(context.get_all_versions)
191
192
  if migrated.size > context.migrations.size
192
193
  puts "The database schema will not be dumped when there are loaded wagon migrations."
@@ -13,18 +13,14 @@ module ActiveRecord
13
13
  suppress_messages { load_wagon_schema! }
14
14
  end
15
15
  end
16
+
16
17
  alias maintain_test_schema_without_wagons! maintain_test_schema!
17
18
  alias maintain_test_schema! maintain_test_schema_with_wagons!
18
19
 
19
20
  private
20
21
 
21
22
  def load_wagon_schema!
22
- if rails_version_smaller_than('7.1.0')
23
- Base.clear_all_connections!
24
- else
25
- Base.connection_handler.clear_all_connections!
26
- end
27
-
23
+ Base.connection_handler.clear_all_connections!
28
24
  # Contrary to the original rails approach (#load_schema_if_pending!),
29
25
  # purge the database first to get rid of all wagon tables.
30
26
  config = Base.configurations.configs_for(env_name: 'test').first
@@ -38,11 +34,7 @@ module ActiveRecord
38
34
 
39
35
  def load_app_schema(config)
40
36
  Tasks::DatabaseTasks.load_schema(config)
41
- if rails_version_smaller_than('7.1.0')
42
- check_pending!
43
- else
44
- check_all_pending!
45
- end
37
+ check_all_pending!
46
38
  end
47
39
 
48
40
  def app_needs_migration?
@@ -63,27 +55,15 @@ module ActiveRecord
63
55
  end
64
56
 
65
57
  def schema_migration_table_exists?
66
- if rails_version_smaller_than('7.1.0')
67
- Base.connection.table_exists?(SchemaMigration.table_name)
68
- else
69
- SchemaMigration.new(Base.connection).table_exists?
70
- end
58
+ ActiveRecord::Base.connection.data_source_exists?(ActiveRecord::Base.schema_migrations_table_name)
71
59
  end
72
60
 
73
61
  def migration_context
74
- if rails_version_smaller_than('7.1.0')
75
- MigrationContext.new(Migrator.migrations_paths, SchemaMigration)
76
- else
77
- MigrationContext.new(Migrator.migrations_paths)
78
- end
62
+ MigrationContext.new(Migrator.migrations_paths)
79
63
  end
80
64
 
81
65
  def maintain_test_schema?
82
- if rails_version_smaller_than('7.0.0')
83
- ActiveRecord::Base.maintain_test_schema
84
- else
85
- ActiveRecord.maintain_test_schema
86
- end
66
+ ActiveRecord.maintain_test_schema
87
67
  end
88
68
 
89
69
  def rails_version_smaller_than(version)
@@ -1,3 +1,3 @@
1
1
  module Wagons
2
- VERSION = '0.8.0'
2
+ VERSION = '0.9.1'
3
3
  end
@@ -2,7 +2,7 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec :path => '../..'
4
4
 
5
- gem 'rails', '~> 6.1.0'
5
+ gem 'rails', '~> 7.1.0'
6
6
 
7
7
  group :test do
8
8
  gem 'mocha', :require => false
@@ -2,7 +2,7 @@ source 'https://rubygems.org'
2
2
 
3
3
  gemspec :path => '../..'
4
4
 
5
- gem 'rails', '~> 7.0.0'
5
+ gem 'rails', '~> 7.2.0'
6
6
 
7
7
  group :test do
8
8
  gem 'mocha', :require => false
data/test/dummy/Gemfile CHANGED
@@ -6,12 +6,12 @@ gem 'wagons', :path => File.expand_path(__FILE__).split("test#{File::SEPARATOR}d
6
6
 
7
7
  group :development, :test do
8
8
  gem 'net-smtp'
9
- gem 'sqlite3', '~> 1.4'
10
9
  end
11
10
 
12
11
  group :test do
13
12
  gem 'mocha', :require => false
14
13
  gem 'rails-controller-testing'
14
+ gem 'sqlite3', '~> 2.1'
15
15
  end
16
16
 
17
17
  # Include the wagons you want attached in Wagonfile.
@@ -6,9 +6,9 @@ PATH
6
6
  PATH
7
7
  remote: /home/zumkehr/src/ruby/libraries/wagons
8
8
  specs:
9
- wagons (0.8.0)
9
+ wagons (0.9.1)
10
10
  bundler (>= 2.0)
11
- rails (>= 6.1)
11
+ rails (>= 7.1)
12
12
  seed-fu-ndo (>= 0.0.3)
13
13
 
14
14
  PATH
@@ -19,98 +19,98 @@ PATH
19
19
  GEM
20
20
  remote: https://rubygems.org/
21
21
  specs:
22
- actioncable (7.1.3.4)
23
- actionpack (= 7.1.3.4)
24
- activesupport (= 7.1.3.4)
22
+ actioncable (8.0.1)
23
+ actionpack (= 8.0.1)
24
+ activesupport (= 8.0.1)
25
25
  nio4r (~> 2.0)
26
26
  websocket-driver (>= 0.6.1)
27
27
  zeitwerk (~> 2.6)
28
- actionmailbox (7.1.3.4)
29
- actionpack (= 7.1.3.4)
30
- activejob (= 7.1.3.4)
31
- activerecord (= 7.1.3.4)
32
- activestorage (= 7.1.3.4)
33
- activesupport (= 7.1.3.4)
34
- mail (>= 2.7.1)
35
- net-imap
36
- net-pop
37
- net-smtp
38
- actionmailer (7.1.3.4)
39
- actionpack (= 7.1.3.4)
40
- actionview (= 7.1.3.4)
41
- activejob (= 7.1.3.4)
42
- activesupport (= 7.1.3.4)
43
- mail (~> 2.5, >= 2.5.4)
44
- net-imap
45
- net-pop
46
- net-smtp
28
+ actionmailbox (8.0.1)
29
+ actionpack (= 8.0.1)
30
+ activejob (= 8.0.1)
31
+ activerecord (= 8.0.1)
32
+ activestorage (= 8.0.1)
33
+ activesupport (= 8.0.1)
34
+ mail (>= 2.8.0)
35
+ actionmailer (8.0.1)
36
+ actionpack (= 8.0.1)
37
+ actionview (= 8.0.1)
38
+ activejob (= 8.0.1)
39
+ activesupport (= 8.0.1)
40
+ mail (>= 2.8.0)
47
41
  rails-dom-testing (~> 2.2)
48
- actionpack (7.1.3.4)
49
- actionview (= 7.1.3.4)
50
- activesupport (= 7.1.3.4)
42
+ actionpack (8.0.1)
43
+ actionview (= 8.0.1)
44
+ activesupport (= 8.0.1)
51
45
  nokogiri (>= 1.8.5)
52
- racc
53
46
  rack (>= 2.2.4)
54
47
  rack-session (>= 1.0.1)
55
48
  rack-test (>= 0.6.3)
56
49
  rails-dom-testing (~> 2.2)
57
50
  rails-html-sanitizer (~> 1.6)
58
- actiontext (7.1.3.4)
59
- actionpack (= 7.1.3.4)
60
- activerecord (= 7.1.3.4)
61
- activestorage (= 7.1.3.4)
62
- activesupport (= 7.1.3.4)
51
+ useragent (~> 0.16)
52
+ actiontext (8.0.1)
53
+ actionpack (= 8.0.1)
54
+ activerecord (= 8.0.1)
55
+ activestorage (= 8.0.1)
56
+ activesupport (= 8.0.1)
63
57
  globalid (>= 0.6.0)
64
58
  nokogiri (>= 1.8.5)
65
- actionview (7.1.3.4)
66
- activesupport (= 7.1.3.4)
59
+ actionview (8.0.1)
60
+ activesupport (= 8.0.1)
67
61
  builder (~> 3.1)
68
62
  erubi (~> 1.11)
69
63
  rails-dom-testing (~> 2.2)
70
64
  rails-html-sanitizer (~> 1.6)
71
- activejob (7.1.3.4)
72
- activesupport (= 7.1.3.4)
65
+ activejob (8.0.1)
66
+ activesupport (= 8.0.1)
73
67
  globalid (>= 0.3.6)
74
- activemodel (7.1.3.4)
75
- activesupport (= 7.1.3.4)
76
- activerecord (7.1.3.4)
77
- activemodel (= 7.1.3.4)
78
- activesupport (= 7.1.3.4)
68
+ activemodel (8.0.1)
69
+ activesupport (= 8.0.1)
70
+ activerecord (8.0.1)
71
+ activemodel (= 8.0.1)
72
+ activesupport (= 8.0.1)
79
73
  timeout (>= 0.4.0)
80
- activestorage (7.1.3.4)
81
- actionpack (= 7.1.3.4)
82
- activejob (= 7.1.3.4)
83
- activerecord (= 7.1.3.4)
84
- activesupport (= 7.1.3.4)
74
+ activestorage (8.0.1)
75
+ actionpack (= 8.0.1)
76
+ activejob (= 8.0.1)
77
+ activerecord (= 8.0.1)
78
+ activesupport (= 8.0.1)
85
79
  marcel (~> 1.0)
86
- activesupport (7.1.3.4)
80
+ activesupport (8.0.1)
87
81
  base64
82
+ benchmark (>= 0.3)
88
83
  bigdecimal
89
- concurrent-ruby (~> 1.0, >= 1.0.2)
84
+ concurrent-ruby (~> 1.0, >= 1.3.1)
90
85
  connection_pool (>= 2.2.5)
91
86
  drb
92
87
  i18n (>= 1.6, < 2)
88
+ logger (>= 1.4.2)
93
89
  minitest (>= 5.1)
94
- mutex_m
95
- tzinfo (~> 2.0)
90
+ securerandom (>= 0.3)
91
+ tzinfo (~> 2.0, >= 2.0.5)
92
+ uri (>= 0.13.1)
96
93
  base64 (0.2.0)
97
- bigdecimal (3.1.8)
94
+ benchmark (0.4.0)
95
+ bigdecimal (3.1.9)
98
96
  builder (3.3.0)
99
- concurrent-ruby (1.3.3)
100
- connection_pool (2.4.1)
97
+ concurrent-ruby (1.3.5)
98
+ connection_pool (2.5.0)
101
99
  crass (1.0.6)
102
- date (3.3.4)
100
+ date (3.4.1)
103
101
  drb (2.2.1)
104
- erubi (1.13.0)
102
+ erubi (1.13.1)
105
103
  globalid (1.2.1)
106
104
  activesupport (>= 6.1)
107
- i18n (1.14.5)
105
+ i18n (1.14.7)
108
106
  concurrent-ruby (~> 1.0)
109
- io-console (0.7.2)
110
- irb (1.14.0)
107
+ io-console (0.8.0)
108
+ irb (1.15.1)
109
+ pp (>= 0.6.0)
111
110
  rdoc (>= 4.0.0)
112
111
  reline (>= 0.4.2)
113
- loofah (2.22.0)
112
+ logger (1.6.5)
113
+ loofah (2.24.0)
114
114
  crass (~> 1.0.2)
115
115
  nokogiri (>= 1.12.0)
116
116
  mail (2.8.1)
@@ -120,11 +120,10 @@ GEM
120
120
  net-smtp
121
121
  marcel (1.0.4)
122
122
  mini_mime (1.1.5)
123
- minitest (5.24.1)
124
- mocha (2.4.0)
123
+ minitest (5.25.4)
124
+ mocha (2.7.1)
125
125
  ruby2_keywords (>= 0.0.5)
126
- mutex_m (0.2.0)
127
- net-imap (0.4.14)
126
+ net-imap (0.5.5)
128
127
  date
129
128
  net-protocol
130
129
  net-pop (0.1.2)
@@ -133,44 +132,52 @@ GEM
133
132
  timeout
134
133
  net-smtp (0.5.0)
135
134
  net-protocol
136
- nio4r (2.7.3)
137
- nokogiri (1.16.6-aarch64-linux)
135
+ nio4r (2.7.4)
136
+ nokogiri (1.18.2-aarch64-linux-gnu)
137
+ racc (~> 1.4)
138
+ nokogiri (1.18.2-aarch64-linux-musl)
139
+ racc (~> 1.4)
140
+ nokogiri (1.18.2-arm-linux-gnu)
138
141
  racc (~> 1.4)
139
- nokogiri (1.16.6-arm-linux)
142
+ nokogiri (1.18.2-arm-linux-musl)
140
143
  racc (~> 1.4)
141
- nokogiri (1.16.6-arm64-darwin)
144
+ nokogiri (1.18.2-arm64-darwin)
142
145
  racc (~> 1.4)
143
- nokogiri (1.16.6-x86-linux)
146
+ nokogiri (1.18.2-x86_64-darwin)
144
147
  racc (~> 1.4)
145
- nokogiri (1.16.6-x86_64-darwin)
148
+ nokogiri (1.18.2-x86_64-linux-gnu)
146
149
  racc (~> 1.4)
147
- nokogiri (1.16.6-x86_64-linux)
150
+ nokogiri (1.18.2-x86_64-linux-musl)
148
151
  racc (~> 1.4)
149
- psych (5.1.2)
152
+ pp (0.6.2)
153
+ prettyprint
154
+ prettyprint (0.2.0)
155
+ psych (5.2.3)
156
+ date
150
157
  stringio
151
- racc (1.8.0)
152
- rack (3.1.6)
153
- rack-session (2.0.0)
158
+ racc (1.8.1)
159
+ rack (3.1.8)
160
+ rack-session (2.1.0)
161
+ base64 (>= 0.1.0)
154
162
  rack (>= 3.0.0)
155
- rack-test (2.1.0)
163
+ rack-test (2.2.0)
156
164
  rack (>= 1.3)
157
- rackup (2.1.0)
165
+ rackup (2.2.1)
158
166
  rack (>= 3)
159
- webrick (~> 1.8)
160
- rails (7.1.3.4)
161
- actioncable (= 7.1.3.4)
162
- actionmailbox (= 7.1.3.4)
163
- actionmailer (= 7.1.3.4)
164
- actionpack (= 7.1.3.4)
165
- actiontext (= 7.1.3.4)
166
- actionview (= 7.1.3.4)
167
- activejob (= 7.1.3.4)
168
- activemodel (= 7.1.3.4)
169
- activerecord (= 7.1.3.4)
170
- activestorage (= 7.1.3.4)
171
- activesupport (= 7.1.3.4)
167
+ rails (8.0.1)
168
+ actioncable (= 8.0.1)
169
+ actionmailbox (= 8.0.1)
170
+ actionmailer (= 8.0.1)
171
+ actionpack (= 8.0.1)
172
+ actiontext (= 8.0.1)
173
+ actionview (= 8.0.1)
174
+ activejob (= 8.0.1)
175
+ activemodel (= 8.0.1)
176
+ activerecord (= 8.0.1)
177
+ activestorage (= 8.0.1)
178
+ activesupport (= 8.0.1)
172
179
  bundler (>= 1.15.0)
173
- railties (= 7.1.3.4)
180
+ railties (= 8.0.1)
174
181
  rails-controller-testing (1.0.5)
175
182
  actionpack (>= 5.0.1.rc1)
176
183
  actionview (>= 5.0.1.rc1)
@@ -179,52 +186,59 @@ GEM
179
186
  activesupport (>= 5.0.0)
180
187
  minitest
181
188
  nokogiri (>= 1.6)
182
- rails-html-sanitizer (1.6.0)
189
+ rails-html-sanitizer (1.6.2)
183
190
  loofah (~> 2.21)
184
- nokogiri (~> 1.14)
185
- railties (7.1.3.4)
186
- actionpack (= 7.1.3.4)
187
- activesupport (= 7.1.3.4)
188
- irb
191
+ nokogiri (>= 1.15.7, != 1.16.7, != 1.16.6, != 1.16.5, != 1.16.4, != 1.16.3, != 1.16.2, != 1.16.1, != 1.16.0.rc1, != 1.16.0)
192
+ railties (8.0.1)
193
+ actionpack (= 8.0.1)
194
+ activesupport (= 8.0.1)
195
+ irb (~> 1.13)
189
196
  rackup (>= 1.0.0)
190
197
  rake (>= 12.2)
191
198
  thor (~> 1.0, >= 1.2.2)
192
199
  zeitwerk (~> 2.6)
193
200
  rake (13.2.1)
194
- rdoc (6.7.0)
201
+ rdoc (6.11.0)
195
202
  psych (>= 4.0.0)
196
- reline (0.5.9)
203
+ reline (0.6.0)
197
204
  io-console (~> 0.5)
198
205
  ruby2_keywords (0.0.5)
206
+ securerandom (0.4.1)
199
207
  seed-fu (2.3.9)
200
208
  activerecord (>= 3.1)
201
209
  activesupport (>= 3.1)
202
210
  seed-fu-ndo (0.0.3)
203
211
  seed-fu (>= 2.2.0)
204
- sqlite3 (1.7.3-aarch64-linux)
205
- sqlite3 (1.7.3-arm-linux)
206
- sqlite3 (1.7.3-arm64-darwin)
207
- sqlite3 (1.7.3-x86-linux)
208
- sqlite3 (1.7.3-x86_64-darwin)
209
- sqlite3 (1.7.3-x86_64-linux)
210
- stringio (3.1.1)
211
- thor (1.3.1)
212
- timeout (0.4.1)
212
+ sqlite3 (2.5.0-aarch64-linux-gnu)
213
+ sqlite3 (2.5.0-aarch64-linux-musl)
214
+ sqlite3 (2.5.0-arm-linux-gnu)
215
+ sqlite3 (2.5.0-arm-linux-musl)
216
+ sqlite3 (2.5.0-arm64-darwin)
217
+ sqlite3 (2.5.0-x86_64-darwin)
218
+ sqlite3 (2.5.0-x86_64-linux-gnu)
219
+ sqlite3 (2.5.0-x86_64-linux-musl)
220
+ stringio (3.1.2)
221
+ thor (1.3.2)
222
+ timeout (0.4.3)
213
223
  tzinfo (2.0.6)
214
224
  concurrent-ruby (~> 1.0)
215
- webrick (1.8.1)
216
- websocket-driver (0.7.6)
225
+ uri (1.0.2)
226
+ useragent (0.16.11)
227
+ websocket-driver (0.7.7)
228
+ base64
217
229
  websocket-extensions (>= 0.1.0)
218
230
  websocket-extensions (0.1.5)
219
- zeitwerk (2.6.16)
231
+ zeitwerk (2.7.1)
220
232
 
221
233
  PLATFORMS
222
- aarch64-linux
223
- arm-linux
234
+ aarch64-linux-gnu
235
+ aarch64-linux-musl
236
+ arm-linux-gnu
237
+ arm-linux-musl
224
238
  arm64-darwin
225
- x86-linux
226
239
  x86_64-darwin
227
- x86_64-linux
240
+ x86_64-linux-gnu
241
+ x86_64-linux-musl
228
242
 
229
243
  DEPENDENCIES
230
244
  dummy_superliner!
@@ -233,8 +247,8 @@ DEPENDENCIES
233
247
  net-smtp
234
248
  rails
235
249
  rails-controller-testing
236
- sqlite3 (~> 1.4)
250
+ sqlite3 (~> 2.1)
237
251
  wagons!
238
252
 
239
253
  BUNDLED WITH
240
- 2.5.10
254
+ 2.5.22
@@ -17,5 +17,4 @@ ActiveRecord::Schema.define(version: 2012_06_06_125104) do
17
17
  t.datetime "created_at", precision: nil, null: false
18
18
  t.datetime "updated_at", precision: nil, null: false
19
19
  end
20
-
21
20
  end
Binary file
@@ -2608,3 +2608,21 @@ DEPRECATION WARNING: SchemaMigration no longer inherits from ActiveRecord::Base.
2608
2608
  DEPRECATION WARNING: SchemaMigration no longer inherits from ActiveRecord::Base. If you want to use the default connection, remove this argument. If you want to use a specific connection, instantiate MigrationContext with the connection's schema migration, for example `MigrationContext.new(path, Dog.connection.schema_migration)`. (called from new at /home/zumkehr/src/ruby/libraries/wagons/lib/tasks/wagons.rake:189)
2609
2609
  ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2610
2610
  ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2611
+ DEPRECATION WARNING: `to_time` will always preserve the receiver timezone rather than system local time in Rails 8.1. To opt in to the new behavior, set `config.active_support.to_time_preserves_timezone = :zone`. (called from <top (required)> at /home/zumkehr/src/ruby/libraries/wagons/test/dummy/config/environment.rb:5)
2612
+ DEPRECATION WARNING: `to_time` will always preserve the receiver timezone rather than system local time in Rails 8.1. To opt in to the new behavior, set `config.active_support.to_time_preserves_timezone = :zone`. (called from <top (required)> at /home/zumkehr/src/ruby/libraries/wagons/test/dummy/config/environment.rb:5)
2613
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1 [[nil, "environment"]]
2614
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2615
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2616
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2617
+ DEPRECATION WARNING: `to_time` will always preserve the receiver timezone rather than system local time in Rails 8.1. To opt in to the new behavior, set `config.active_support.to_time_preserves_timezone = :zone`. (called from <top (required)> at /home/zumkehr/src/ruby/libraries/wagons/test/dummy/config/environment.rb:5)
2618
+ DEPRECATION WARNING: `to_time` will always preserve the receiver timezone rather than system local time in Rails 8.1. To opt in to the new behavior, set `config.active_support.to_time_preserves_timezone = :zone`. (called from <top (required)> at /home/zumkehr/src/ruby/libraries/wagons/test/dummy/config/environment.rb:5)
2619
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1 [[nil, "environment"]]
2620
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2621
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2622
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2623
+ DEPRECATION WARNING: `to_time` will always preserve the receiver timezone rather than system local time in Rails 8.1. To opt in to the new behavior, set `config.active_support.to_time_preserves_timezone = :zone`. (called from <top (required)> at /home/zumkehr/src/ruby/libraries/wagons/test/dummy/config/environment.rb:5)
2624
+ DEPRECATION WARNING: `to_time` will always preserve the receiver timezone rather than system local time in Rails 8.1. To opt in to the new behavior, set `config.active_support.to_time_preserves_timezone = :zone`. (called from <top (required)> at /home/zumkehr/src/ruby/libraries/wagons/test/dummy/config/environment.rb:5)
2625
+ ActiveRecord::InternalMetadata Load (0.1ms) SELECT * FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = ? ORDER BY "ar_internal_metadata"."key" ASC LIMIT 1 [[nil, "environment"]]
2626
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2627
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
2628
+ ActiveRecord::SchemaMigration Load (0.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC