summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.ruby-gemset2
-rw-r--r--.ruby-version2
-rw-r--r--Gemfile21
-rw-r--r--Gemfile.lock443
-rw-r--r--app/models/page.rb2
-rw-r--r--config/initializers/assets.rb1
-rw-r--r--config/initializers/backtrace_silencers.rb7
-rw-r--r--config/initializers/new_rails_defaults.rb19
-rw-r--r--config/initializers/routing_filter_rails71_patch.rb38
-rw-r--r--config/initializers/ruby2.rb16
-rw-r--r--lib/authors_importer.rb2
11 files changed, 382 insertions, 171 deletions
diff --git a/.ruby-gemset b/.ruby-gemset
index a363b74..83c4918 100644
--- a/.ruby-gemset
+++ b/.ruby-gemset
@@ -1 +1 @@
rails6-upgrade rails7-upgrade
diff --git a/.ruby-version b/.ruby-version
index 2eb2fe9..3b59061 100644
--- a/.ruby-version
+++ b/.ruby-version
@@ -1 +1 @@
ruby-2.7.2 ruby-3.2.11
diff --git a/Gemfile b/Gemfile
index 3184db4..2f99c64 100644
--- a/Gemfile
+++ b/Gemfile
@@ -1,23 +1,26 @@
1source 'https://rubygems.org' 1source 'https://rubygems.org'
2 2
3gem 'rails', '6.1.7.10' 3ruby '3.2.11'
4gem 'concurrent-ruby', '1.3.4'
5 4
6gem 'pg', '~> 1.0' 5gem 'rails', '~> 7.2.3'
6gem 'concurrent-ruby', '~> 1.3'
7gem 'puma'
7 8
8gem 'acts-as-taggable-on', '~> 7.0' 9gem 'pg', '~> 1.4.6'
9gem 'awesome_nested_set', '~> 3.4.0' 10
11gem 'acts-as-taggable-on', '~> 12.0'
12gem 'awesome_nested_set', '~> 3.7.0'
10gem 'acts_as_list' 13gem 'acts_as_list'
11gem 'globalize', '~> 6.0' 14gem 'globalize', '~> 7.0'
12gem 'routing-filter', '~> 0.7.0' 15gem 'routing-filter', '~> 0.7.0'
13gem 'will_paginate', '~> 3.0' 16gem 'will_paginate', '~> 3.0'
14gem 'exception_notification', '~> 4.5' 17gem 'exception_notification', '~> 4.5'
15gem 'libxml-ruby', '~> 3.2', :require => 'xml' 18gem 'libxml-ruby', '~> 5.0', :require => 'xml'
16 19
17gem 'nokogiri', '~> 1.13' 20gem 'nokogiri', '~> 1.18'
18gem 'jquery-rails' 21gem 'jquery-rails'
19 22
20gem 'unicorn', '~> 1.1' 23gem 'unicorn', '~> 6.1'
21 24
22group :assets do 25group :assets do
23 gem 'sass-rails', '~> 6.0' 26 gem 'sass-rails', '~> 6.0'
diff --git a/Gemfile.lock b/Gemfile.lock
index d8294bd..357998d 100644
--- a/Gemfile.lock
+++ b/Gemfile.lock
@@ -8,73 +8,92 @@ GIT
8GEM 8GEM
9 remote: https://rubygems.org/ 9 remote: https://rubygems.org/
10 specs: 10 specs:
11 actioncable (6.1.7.10) 11 actioncable (7.2.3)
12 actionpack (= 6.1.7.10) 12 actionpack (= 7.2.3)
13 activesupport (= 6.1.7.10) 13 activesupport (= 7.2.3)
14 nio4r (~> 2.0) 14 nio4r (~> 2.0)
15 websocket-driver (>= 0.6.1) 15 websocket-driver (>= 0.6.1)
16 actionmailbox (6.1.7.10) 16 zeitwerk (~> 2.6)
17 actionpack (= 6.1.7.10) 17 actionmailbox (7.2.3)
18 activejob (= 6.1.7.10) 18 actionpack (= 7.2.3)
19 activerecord (= 6.1.7.10) 19 activejob (= 7.2.3)
20 activestorage (= 6.1.7.10) 20 activerecord (= 7.2.3)
21 activesupport (= 6.1.7.10) 21 activestorage (= 7.2.3)
22 mail (>= 2.7.1) 22 activesupport (= 7.2.3)
23 actionmailer (6.1.7.10) 23 mail (>= 2.8.0)
24 actionpack (= 6.1.7.10) 24 actionmailer (7.2.3)
25 actionview (= 6.1.7.10) 25 actionpack (= 7.2.3)
26 activejob (= 6.1.7.10) 26 actionview (= 7.2.3)
27 activesupport (= 6.1.7.10) 27 activejob (= 7.2.3)
28 mail (~> 2.5, >= 2.5.4) 28 activesupport (= 7.2.3)
29 rails-dom-testing (~> 2.0) 29 mail (>= 2.8.0)
30 actionpack (6.1.7.10) 30 rails-dom-testing (~> 2.2)
31 actionview (= 6.1.7.10) 31 actionpack (7.2.3)
32 activesupport (= 6.1.7.10) 32 actionview (= 7.2.3)
33 rack (~> 2.0, >= 2.0.9) 33 activesupport (= 7.2.3)
34 cgi
35 nokogiri (>= 1.8.5)
36 racc
37 rack (>= 2.2.4, < 3.3)
38 rack-session (>= 1.0.1)
34 rack-test (>= 0.6.3) 39 rack-test (>= 0.6.3)
35 rails-dom-testing (~> 2.0) 40 rails-dom-testing (~> 2.2)
36 rails-html-sanitizer (~> 1.0, >= 1.2.0) 41 rails-html-sanitizer (~> 1.6)
37 actiontext (6.1.7.10) 42 useragent (~> 0.16)
38 actionpack (= 6.1.7.10) 43 actiontext (7.2.3)
39 activerecord (= 6.1.7.10) 44 actionpack (= 7.2.3)
40 activestorage (= 6.1.7.10) 45 activerecord (= 7.2.3)
41 activesupport (= 6.1.7.10) 46 activestorage (= 7.2.3)
47 activesupport (= 7.2.3)
48 globalid (>= 0.6.0)
42 nokogiri (>= 1.8.5) 49 nokogiri (>= 1.8.5)
43 actionview (6.1.7.10) 50 actionview (7.2.3)
44 activesupport (= 6.1.7.10) 51 activesupport (= 7.2.3)
45 builder (~> 3.1) 52 builder (~> 3.1)
46 erubi (~> 1.4) 53 cgi
47 rails-dom-testing (~> 2.0) 54 erubi (~> 1.11)
48 rails-html-sanitizer (~> 1.1, >= 1.2.0) 55 rails-dom-testing (~> 2.2)
49 activejob (6.1.7.10) 56 rails-html-sanitizer (~> 1.6)
50 activesupport (= 6.1.7.10) 57 activejob (7.2.3)
58 activesupport (= 7.2.3)
51 globalid (>= 0.3.6) 59 globalid (>= 0.3.6)
52 activemodel (6.1.7.10) 60 activemodel (7.2.3)
53 activesupport (= 6.1.7.10) 61 activesupport (= 7.2.3)
54 activerecord (6.1.7.10) 62 activerecord (7.2.3)
55 activemodel (= 6.1.7.10) 63 activemodel (= 7.2.3)
56 activesupport (= 6.1.7.10) 64 activesupport (= 7.2.3)
57 activestorage (6.1.7.10) 65 timeout (>= 0.4.0)
58 actionpack (= 6.1.7.10) 66 activestorage (7.2.3)
59 activejob (= 6.1.7.10) 67 actionpack (= 7.2.3)
60 activerecord (= 6.1.7.10) 68 activejob (= 7.2.3)
61 activesupport (= 6.1.7.10) 69 activerecord (= 7.2.3)
70 activesupport (= 7.2.3)
62 marcel (~> 1.0) 71 marcel (~> 1.0)
63 mini_mime (>= 1.1.0) 72 activesupport (7.2.3)
64 activesupport (6.1.7.10) 73 base64
65 concurrent-ruby (~> 1.0, >= 1.0.2) 74 benchmark (>= 0.3)
75 bigdecimal
76 concurrent-ruby (~> 1.0, >= 1.3.1)
77 connection_pool (>= 2.2.5)
78 drb
66 i18n (>= 1.6, < 2) 79 i18n (>= 1.6, < 2)
80 logger (>= 1.4.2)
67 minitest (>= 5.1) 81 minitest (>= 5.1)
68 tzinfo (~> 2.0) 82 securerandom (>= 0.3)
69 zeitwerk (~> 2.3) 83 tzinfo (~> 2.0, >= 2.0.5)
70 acts-as-taggable-on (7.0.0) 84 acts-as-taggable-on (12.0.0)
71 activerecord (>= 5.0, < 6.2) 85 activerecord (>= 7.1, < 8.1)
72 acts_as_list (1.1.0) 86 zeitwerk (>= 2.4, < 3.0)
73 activerecord (>= 4.2) 87 acts_as_list (1.2.6)
74 awesome_nested_set (3.4.0) 88 activerecord (>= 6.1)
75 activerecord (>= 4.0.0, < 7.0) 89 activesupport (>= 6.1)
90 awesome_nested_set (3.7.0)
91 activerecord (>= 4.0.0, < 8.0)
76 base64 (0.3.0) 92 base64 (0.3.0)
93 benchmark (0.5.0)
94 bigdecimal (4.1.2)
77 builder (3.3.0) 95 builder (3.3.0)
96 cgi (0.5.2)
78 coffee-rails (4.2.2) 97 coffee-rails (4.2.2)
79 coffee-script (>= 2.2.0) 98 coffee-script (>= 2.2.0)
80 railties (>= 4.0.0) 99 railties (>= 4.0.0)
@@ -82,29 +101,49 @@ GEM
82 coffee-script-source 101 coffee-script-source
83 execjs 102 execjs
84 coffee-script-source (1.12.2) 103 coffee-script-source (1.12.2)
85 concurrent-ruby (1.3.4) 104 concurrent-ruby (1.3.7)
105 connection_pool (3.0.2)
86 crass (1.0.7) 106 crass (1.0.7)
87 digest (3.2.1) 107 date (3.5.1)
108 drb (2.2.3)
109 erb (6.0.4)
88 erubi (1.13.1) 110 erubi (1.13.1)
89 exception_notification (4.6.0) 111 exception_notification (4.6.0)
90 actionmailer (>= 5.2, < 9) 112 actionmailer (>= 5.2, < 9)
91 activesupport (>= 5.2, < 9) 113 activesupport (>= 5.2, < 9)
92 execjs (2.10.1) 114 execjs (2.10.1)
93 ffi (1.17.4) 115 ffi (1.17.4)
94 globalid (1.1.0) 116 ffi (1.17.4-aarch64-linux-gnu)
95 activesupport (>= 5.0) 117 ffi (1.17.4-aarch64-linux-musl)
96 globalize (6.3.0) 118 ffi (1.17.4-arm-linux-gnu)
97 activemodel (>= 4.2, < 7.2) 119 ffi (1.17.4-arm-linux-musl)
98 activerecord (>= 4.2, < 7.2) 120 ffi (1.17.4-arm64-darwin)
121 ffi (1.17.4-x86-linux-gnu)
122 ffi (1.17.4-x86-linux-musl)
123 ffi (1.17.4-x86_64-darwin)
124 ffi (1.17.4-x86_64-linux-gnu)
125 ffi (1.17.4-x86_64-linux-musl)
126 globalid (1.4.0)
127 activesupport (>= 6.1)
128 globalize (7.1.3)
129 activemodel (>= 7.0, < 8.2)
130 activerecord (>= 7.0, < 8.2)
131 activesupport (>= 7.0, < 8.2)
99 request_store (~> 1.0) 132 request_store (~> 1.0)
100 i18n (1.14.8) 133 i18n (1.15.2)
101 concurrent-ruby (~> 1.0) 134 concurrent-ruby (~> 1.0)
102 io-wait (0.3.1) 135 io-console (0.8.2)
136 irb (1.18.0)
137 pp (>= 0.6.0)
138 prism (>= 1.3.0)
139 rdoc (>= 4.0.0)
140 reline (>= 0.4.2)
103 jquery-rails (4.6.1) 141 jquery-rails (4.6.1)
104 rails-dom-testing (>= 1, < 3) 142 rails-dom-testing (>= 1, < 3)
105 railties (>= 4.2.0) 143 railties (>= 4.2.0)
106 thor (>= 0.14, < 2.0) 144 thor (>= 0.14, < 2.0)
107 libxml-ruby (3.2.4) 145 kgio (2.11.4)
146 libxml-ruby (5.0.6)
108 logger (1.7.0) 147 logger (1.7.0)
109 loofah (2.25.1) 148 loofah (2.25.1)
110 crass (~> 1.0.2) 149 crass (~> 1.0.2)
@@ -116,48 +155,74 @@ GEM
116 net-pop 155 net-pop
117 net-smtp 156 net-smtp
118 marcel (1.2.1) 157 marcel (1.2.1)
119 method_source (1.1.0) 158 mini_mime (1.1.5)
120 mini_mime (1.1.2)
121 mini_portile2 (2.8.9) 159 mini_portile2 (2.8.9)
122 minitest (5.26.1) 160 minitest (6.0.6)
123 net-imap (0.2.2) 161 drb (~> 2.0)
124 digest 162 prism (~> 1.5)
163 net-imap (0.6.4.1)
164 date
125 net-protocol 165 net-protocol
126 strscan
127 net-pop (0.1.2) 166 net-pop (0.1.2)
128 net-protocol 167 net-protocol
129 net-protocol (0.1.2) 168 net-protocol (0.2.2)
130 io-wait
131 timeout 169 timeout
132 net-smtp (0.3.0) 170 net-smtp (0.5.1)
133 digest
134 net-protocol 171 net-protocol
135 timeout
136 nio4r (2.7.5) 172 nio4r (2.7.5)
137 nokogiri (1.15.7) 173 nokogiri (1.19.4)
138 mini_portile2 (~> 2.8.2) 174 mini_portile2 (~> 2.8.2)
139 racc (~> 1.4) 175 racc (~> 1.4)
140 pg (1.5.9) 176 nokogiri (1.19.4-aarch64-linux-gnu)
177 racc (~> 1.4)
178 nokogiri (1.19.4-aarch64-linux-musl)
179 racc (~> 1.4)
180 nokogiri (1.19.4-arm-linux-gnu)
181 racc (~> 1.4)
182 nokogiri (1.19.4-arm-linux-musl)
183 racc (~> 1.4)
184 nokogiri (1.19.4-arm64-darwin)
185 racc (~> 1.4)
186 nokogiri (1.19.4-x86_64-darwin)
187 racc (~> 1.4)
188 nokogiri (1.19.4-x86_64-linux-gnu)
189 racc (~> 1.4)
190 nokogiri (1.19.4-x86_64-linux-musl)
191 racc (~> 1.4)
192 pg (1.4.6)
141 power_assert (3.0.1) 193 power_assert (3.0.1)
194 pp (0.6.4)
195 prettyprint
196 prettyprint (0.2.0)
197 prism (1.9.0)
198 psych (5.4.0)
199 date
200 stringio
201 puma (8.0.2)
202 nio4r (~> 2.0)
142 racc (1.8.1) 203 racc (1.8.1)
143 rack (2.2.23) 204 rack (3.2.6)
205 rack-session (2.1.2)
206 base64 (>= 0.1.0)
207 rack (>= 3.0.0)
144 rack-test (2.2.0) 208 rack-test (2.2.0)
145 rack (>= 1.3) 209 rack (>= 1.3)
146 rails (6.1.7.10) 210 rackup (2.3.1)
147 actioncable (= 6.1.7.10) 211 rack (>= 3)
148 actionmailbox (= 6.1.7.10) 212 rails (7.2.3)
149 actionmailer (= 6.1.7.10) 213 actioncable (= 7.2.3)
150 actionpack (= 6.1.7.10) 214 actionmailbox (= 7.2.3)
151 actiontext (= 6.1.7.10) 215 actionmailer (= 7.2.3)
152 actionview (= 6.1.7.10) 216 actionpack (= 7.2.3)
153 activejob (= 6.1.7.10) 217 actiontext (= 7.2.3)
154 activemodel (= 6.1.7.10) 218 actionview (= 7.2.3)
155 activerecord (= 6.1.7.10) 219 activejob (= 7.2.3)
156 activestorage (= 6.1.7.10) 220 activemodel (= 7.2.3)
157 activesupport (= 6.1.7.10) 221 activerecord (= 7.2.3)
222 activestorage (= 7.2.3)
223 activesupport (= 7.2.3)
158 bundler (>= 1.15.0) 224 bundler (>= 1.15.0)
159 railties (= 6.1.7.10) 225 railties (= 7.2.3)
160 sprockets-rails (>= 2.0.0)
161 rails-controller-testing (1.0.5) 226 rails-controller-testing (1.0.5)
162 actionpack (>= 5.0.1.rc1) 227 actionpack (>= 5.0.1.rc1)
163 actionview (>= 5.0.1.rc1) 228 actionview (>= 5.0.1.rc1)
@@ -169,13 +234,24 @@ GEM
169 rails-html-sanitizer (1.7.0) 234 rails-html-sanitizer (1.7.0)
170 loofah (~> 2.25) 235 loofah (~> 2.25)
171 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) 236 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)
172 railties (6.1.7.10) 237 railties (7.2.3)
173 actionpack (= 6.1.7.10) 238 actionpack (= 7.2.3)
174 activesupport (= 6.1.7.10) 239 activesupport (= 7.2.3)
175 method_source 240 cgi
241 irb (~> 1.13)
242 rackup (>= 1.0.0)
176 rake (>= 12.2) 243 rake (>= 12.2)
177 thor (~> 1.0) 244 thor (~> 1.0, >= 1.2.2)
245 tsort (>= 0.2)
246 zeitwerk (~> 2.6)
247 raindrops (0.20.1)
178 rake (13.4.2) 248 rake (13.4.2)
249 rdoc (7.2.0)
250 erb
251 psych (>= 4.0.0)
252 tsort
253 reline (0.6.3)
254 io-console (~> 0.5)
179 request_store (1.7.0) 255 request_store (1.7.0)
180 rack (>= 1.4) 256 rack (>= 1.4)
181 routing-filter (0.7.0) 257 routing-filter (0.7.0)
@@ -191,6 +267,7 @@ GEM
191 sprockets (> 3.0) 267 sprockets (> 3.0)
192 sprockets-rails 268 sprockets-rails
193 tilt 269 tilt
270 securerandom (0.4.1)
194 sprockets (4.2.2) 271 sprockets (4.2.2)
195 concurrent-ruby (~> 1.0) 272 concurrent-ruby (~> 1.0)
196 logger 273 logger
@@ -199,49 +276,185 @@ GEM
199 actionpack (>= 6.1) 276 actionpack (>= 6.1)
200 activesupport (>= 6.1) 277 activesupport (>= 6.1)
201 sprockets (>= 3.0.0) 278 sprockets (>= 3.0.0)
202 strscan (3.1.8) 279 stringio (3.2.0)
203 test-unit (3.7.8) 280 test-unit (3.7.8)
204 power_assert 281 power_assert
205 thor (1.2.2) 282 thor (1.5.0)
206 tilt (2.7.0) 283 tilt (2.7.0)
207 timeout (0.4.0) 284 timeout (0.6.1)
285 tsort (0.2.0)
208 tzinfo (2.0.6) 286 tzinfo (2.0.6)
209 concurrent-ruby (~> 1.0) 287 concurrent-ruby (~> 1.0)
210 uglifier (4.2.1) 288 uglifier (4.2.1)
211 execjs (>= 0.3.0, < 3) 289 execjs (>= 0.3.0, < 3)
212 unicorn (1.1.7) 290 unicorn (6.1.0)
213 rack 291 kgio (~> 2.6)
292 raindrops (~> 0.7)
293 useragent (0.16.11)
214 websocket-driver (0.8.2) 294 websocket-driver (0.8.2)
215 base64 295 base64
216 websocket-extensions (>= 0.1.0) 296 websocket-extensions (>= 0.1.0)
217 websocket-extensions (0.1.5) 297 websocket-extensions (0.1.5)
218 will_paginate (3.3.1) 298 will_paginate (3.3.1)
219 zeitwerk (2.6.18) 299 zeitwerk (2.8.2)
220 300
221PLATFORMS 301PLATFORMS
302 aarch64-linux-gnu
303 aarch64-linux-musl
304 arm-linux-gnu
305 arm-linux-musl
306 arm64-darwin
222 ruby 307 ruby
308 x86-linux-gnu
309 x86-linux-musl
310 x86_64-darwin
311 x86_64-freebsd-15
312 x86_64-linux-gnu
313 x86_64-linux-musl
223 314
224DEPENDENCIES 315DEPENDENCIES
225 acts-as-taggable-on (~> 7.0) 316 acts-as-taggable-on (~> 12.0)
226 acts_as_list 317 acts_as_list
227 awesome_nested_set (~> 3.4.0) 318 awesome_nested_set (~> 3.7.0)
228 chaos_calendar! 319 chaos_calendar!
229 coffee-rails (~> 4.0) 320 coffee-rails (~> 4.0)
230 concurrent-ruby (= 1.3.4) 321 concurrent-ruby (~> 1.3)
231 exception_notification (~> 4.5) 322 exception_notification (~> 4.5)
232 globalize (~> 6.0) 323 globalize (~> 7.0)
233 jquery-rails 324 jquery-rails
234 libxml-ruby (~> 3.2) 325 libxml-ruby (~> 5.0)
235 nokogiri (~> 1.13) 326 nokogiri (~> 1.18)
236 pg (~> 1.0) 327 pg (~> 1.4.6)
237 rails (= 6.1.7.10) 328 puma
329 rails (~> 7.2.3)
238 rails-controller-testing 330 rails-controller-testing
239 routing-filter (~> 0.7.0) 331 routing-filter (~> 0.7.0)
240 sass-rails (~> 6.0) 332 sass-rails (~> 6.0)
241 test-unit (~> 3.5) 333 test-unit (~> 3.5)
242 uglifier (>= 1.0.3) 334 uglifier (>= 1.0.3)
243 unicorn (~> 1.1) 335 unicorn (~> 6.1)
244 will_paginate (~> 3.0) 336 will_paginate (~> 3.0)
245 337
338CHECKSUMS
339 actioncable (7.2.3) sha256=e15d17b245f1dfe7cafdda4a0c6f7ba8ebaab1af33884415e09cfef4e93ad4f9
340 actionmailbox (7.2.3) sha256=16bbf0a7c330f2d08d52d5e3c1b03813a8ef60bfb0a48e89c0bf92b069cb4d5e
341 actionmailer (7.2.3) sha256=68d646b852a6d2b25d8834fc796c3dc10f76a4c7fd77b3251c3f4dd832ec8ab8
342 actionpack (7.2.3) sha256=2a14e4c64695777041ea7aaf498462284cadd561f009654393daf9b2de7207cf
343 actiontext (7.2.3) sha256=a6ffd9efb7b7b4e26029e5c88e8a2ea9aae8d6cefdfed960be139772f1a94037
344 actionview (7.2.3) sha256=1f427d7a41b43804d7250911535740451b9c32b6416239d87e6dab9d5948ecb2
345 activejob (7.2.3) sha256=e44964472de267b69e93752f088193c8ad2e56d2ef451d059dd7a53761e5ffb0
346 activemodel (7.2.3) sha256=bbaf66aeb93212e98ebf6ab900f8290f9a831645f0b235427f5acf0e074739db
347 activerecord (7.2.3) sha256=6facb7478ceb5f6baa9f0647daa50b4a3a43934997900f0011e6c667ff41a0d7
348 activestorage (7.2.3) sha256=4c1422bbfaa60c89e7b43cc38ade7bd3b8dc81024c48a21c1ac56814cf34ca2f
349 activesupport (7.2.3) sha256=5675c9770dac93e371412684249f9dc3c8cec104efd0624362a520ae685c7b10
350 acts-as-taggable-on (12.0.0) sha256=d14c15a1602cef8997187336cd7eb54a3f97ddebbef61601f83eb1ec51260417
351 acts_as_list (1.2.6) sha256=8345380900b7bee620c07ad00991ccee59af3d8c9e8574f426e321da2865fdc8
352 awesome_nested_set (3.7.0) sha256=5b37e69716016a800c167bc69b2faf1cbbb73462a02952c4430b67e6c9cc37ce
353 base64 (0.3.0) sha256=27337aeabad6ffae05c265c450490628ef3ebd4b67be58257393227588f5a97b
354 benchmark (0.5.0) sha256=465df122341aedcb81a2a24b4d3bd19b6c67c1530713fd533f3ff034e419236c
355 bigdecimal (4.1.2) sha256=53d217666027eab4280346fba98e7d5b66baaae1b9c3c1c0ffe89d48188a3fbd
356 builder (3.3.0) sha256=497918d2f9dca528fdca4b88d84e4ef4387256d984b8154e9d5d3fe5a9c8835f
357 bundler (4.0.15) sha256=a4ceb882fe94a0e0ac63cd0813932bbfd631a14e5ac0b7975189b19a4d28d9e7
358 cgi (0.5.2) sha256=61ca30298171190fd4fa0d8018e57ada456eae9b7a2b78526debf7f0a0e6f8bb
359 chaos_calendar (0.1.3)
360 coffee-rails (4.2.2) sha256=080a5c49e9568019018a8699cf80f7ea8e7b841744d832a98ac6b4c8e40be84a
361 coffee-script (2.4.1) sha256=82fe281e11b93c8117b98c5ea8063e71741870f1c4fbb27177d7d6333dd38765
362 coffee-script-source (1.12.2) sha256=e12b16fd8927fbbf8b87cb2e9a85a6cf457c6881cc7ff8b1af15b31f70da07a4
363 concurrent-ruby (1.3.7) sha256=4412caec3a5ea2e5fdc52076724c071a81f2c0593d83b2ac8cbb8ca63b3151b0
364 connection_pool (3.0.2) sha256=33fff5ba71a12d2aa26cb72b1db8bba2a1a01823559fb01d29eb74c286e62e0a
365 crass (1.0.7) sha256=94868719948664c89ddcaf0a37c65048413dfcb1c869470a5f7a7ceb5390b295
366 date (3.5.1) sha256=750d06384d7b9c15d562c76291407d89e368dda4d4fff957eb94962d325a0dc0
367 drb (2.2.3) sha256=0b00d6fdb50995fe4a45dea13663493c841112e4068656854646f418fda13373
368 erb (6.0.4) sha256=38e3803694be357fe2bfe312487c74beaf9fb4e5beb3e22498952fe1645b95d9
369 erubi (1.13.1) sha256=a082103b0885dbc5ecf1172fede897f9ebdb745a4b97a5e8dc63953db1ee4ad9
370 exception_notification (4.6.0) sha256=7c7ccc7b5de25bfddeaa73bc9a5f31f33ba6774ad5a0d3e23af8a8f3fae2472d
371 execjs (2.10.1) sha256=abe0ae028467eb8e30c10814eb934d07876a691aae7e803d813b7ce5a75e73f1
372 ffi (1.17.4) sha256=bcd1642e06f0d16fc9e09ac6d49c3a7298b9789bcb58127302f934e437d60acf
373 ffi (1.17.4-aarch64-linux-gnu) sha256=b208f06f91ffd8f5e1193da3cae3d2ccfc27fc36fba577baf698d26d91c080df
374 ffi (1.17.4-aarch64-linux-musl) sha256=9286b7a615f2676245283aef0a0a3b475ae3aae2bb5448baace630bb77b91f39
375 ffi (1.17.4-arm-linux-gnu) sha256=d6dbddf7cb77bf955411af5f187a65b8cd378cb003c15c05697f5feee1cb1564
376 ffi (1.17.4-arm-linux-musl) sha256=9d4838ded0465bef6e2426935f6bcc93134b6616785a84ffd2a3d82bc3cf6f95
377 ffi (1.17.4-arm64-darwin) sha256=19071aaf1419251b0a46852abf960e77330a3b334d13a4ab51d58b31a937001b
378 ffi (1.17.4-x86-linux-gnu) sha256=38e150df5f4ca555e25beca4090823ae09657bceded154e3c52f8631c1ed72cf
379 ffi (1.17.4-x86-linux-musl) sha256=fbeec0fc7c795bcf86f623bb18d31ea1820f7bd580e1703a3d3740d527437809
380 ffi (1.17.4-x86_64-darwin) sha256=aa70390523cf3235096cf64962b709b4cfbd5c082a2cb2ae714eb0fe2ccda496
381 ffi (1.17.4-x86_64-linux-gnu) sha256=9d3db14c2eae074b382fa9c083fe95aec6e0a1451da249eab096c34002bc752d
382 ffi (1.17.4-x86_64-linux-musl) sha256=3fdf9888483de005f8ef8d1cf2d3b20d86626af206cbf780f6a6a12439a9c49e
383 globalid (1.4.0) sha256=037f12fbf1d9d7a014d501c2d5c77356fd4ddd96d7a7991d6700bba96706f427
384 globalize (7.1.3) sha256=d83203994b24ae9a381129f1475a60c2571d8545a9ffa623475e7dc6f5f56aa1
385 i18n (1.15.2) sha256=00f9eb62412fe593b2a65a97daa75300d37abb8f7202ec748e94b6d46a9dd1b5
386 io-console (0.8.2) sha256=d6e3ae7a7cc7574f4b8893b4fca2162e57a825b223a177b7afa236c5ef9814cc
387 irb (1.18.0) sha256=de9454a0703a54704b9811a5ef31a60c86949fbf4013fcf244fabc7c775248e3
388 jquery-rails (4.6.1) sha256=619f3496cdcdeaae1fd6dafa52dbac3fc45b745d4e09712da4184a16b3a8d9c0
389 kgio (2.11.4) sha256=bda7a2146115998a5b07154e708e0ac02c38dcee7e793c33e2e14f600fdfffc6
390 libxml-ruby (5.0.6) sha256=ef82ff4b4c6aaaa9629f0a2d5deccd9502507e368bf2c5a98d675f634013ca46
391 logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203
392 loofah (2.25.1) sha256=d436c73dbd0c1147b16c4a41db097942d217303e1f7728704b37e4df9f6d2e04
393 mail (2.9.0) sha256=6fa6673ecd71c60c2d996260f9ee3dd387d4673b8169b502134659ece6d34941
394 marcel (1.2.1) sha256=1678e9360e32f9eafa917c80029e2f6d10b2715c66a4b87b6d0da9b9cd1f859f
395 mini_mime (1.1.5) sha256=8681b7e2e4215f2a159f9400b5816d85e9d8c6c6b491e96a12797e798f8bccef
396 mini_portile2 (2.8.9) sha256=0cd7c7f824e010c072e33f68bc02d85a00aeb6fce05bb4819c03dfd3c140c289
397 minitest (6.0.6) sha256=153ea36d1d987a62942382b61075745042a2b3123b1cd48f4c3675af9cc7d6f1
398 net-imap (0.6.4.1) sha256=29f0360d75a7efd3539f16ac1957dea5c0a51ddeceb348db4553c3120914ea0d
399 net-pop (0.1.2) sha256=848b4e982013c15b2f0382792268763b748cce91c9e91e36b0f27ed26420dff3
400 net-protocol (0.2.2) sha256=aa73e0cba6a125369de9837b8d8ef82a61849360eba0521900e2c3713aa162a8
401 net-smtp (0.5.1) sha256=ed96a0af63c524fceb4b29b0d352195c30d82dd916a42f03c62a3a70e5b70736
402 nio4r (2.7.5) sha256=6c90168e48fb5f8e768419c93abb94ba2b892a1d0602cb06eef16d8b7df1dca1
403 nokogiri (1.19.4) sha256=50c951611c92bca05c51411aef45f1cbc50f2821c4802758c5c6d34696533ab5
404 nokogiri (1.19.4-aarch64-linux-gnu) sha256=1269fb644a6de405057a53dd5c762b1209b43ca7424f839454d3dbc677c31a8f
405 nokogiri (1.19.4-aarch64-linux-musl) sha256=35c65b9ce72b3bb03207bdbe7067915019dc18c1b9b59139684bd6690fdd01af
406 nokogiri (1.19.4-arm-linux-gnu) sha256=a301313e38bb065d68239e79734bcd6f56fb6efaacebde29e9abf2a4735340ca
407 nokogiri (1.19.4-arm-linux-musl) sha256=588923c101bcfa78869734d247d25b598674323e7f22474fc468f6e5647311eb
408 nokogiri (1.19.4-arm64-darwin) sha256=a46db9853286e6597b36ebc6953817d15acf3a299583eb3f89fdc6f91dd63527
409 nokogiri (1.19.4-x86_64-darwin) sha256=7fd17057d3e1f00e9954a74b3cd76595d3d4a5ef233b7ed9599047c204f70551
410 nokogiri (1.19.4-x86_64-linux-gnu) sha256=379fae440b28915e3f19d752ce2dcf8465ed2b2fbefd2a7ca0dd497bc981a06a
411 nokogiri (1.19.4-x86_64-linux-musl) sha256=17dfb7c1fa194ae02fbf7c51a7afc8d278045ab3fdacfd86f91d02d7b274470b
412 pg (1.4.6) sha256=d98f3dcb4a6ae29780a2219340cb0e55dbafbb7eb4ccc2b99f892f2569a7a61e
413 power_assert (3.0.1) sha256=8ce9876716cc74e863fcd4cdcdc52d792bd983598d1af3447083a3a9a4d34103
414 pp (0.6.4) sha256=dfcb0fce700c41456265922884f9fe195d7fbb0674a3578e6c0f69588e82b570
415 prettyprint (0.2.0) sha256=2bc9e15581a94742064a3cc8b0fb9d45aae3d03a1baa6ef80922627a0766f193
416 prism (1.9.0) sha256=7b530c6a9f92c24300014919c9dcbc055bf4cdf51ec30aed099b06cd6674ef85
417 psych (5.4.0) sha256=14f72d69a611af663d7d70e4a7b67d9eb1f3ae9f8d916b478961d5a0075ba5b7
418 puma (8.0.2) sha256=c8ed871dfbbe66448ea9ffd46692342d9804d4071522b52b5331b7b6e7b686fb
419 racc (1.8.1) sha256=4a7f6929691dbec8b5209a0b373bc2614882b55fc5d2e447a21aaa691303d62f
420 rack (3.2.6) sha256=5ed78e1f73b2e25679bec7d45ee2d4483cc4146eb1be0264fc4d94cb5ef212c2
421 rack-session (2.1.2) sha256=595434f8c0c3473ae7d7ac56ecda6cc6dfd9d37c0b2b5255330aa1576967ffe8
422 rack-test (2.2.0) sha256=005a36692c306ac0b4a9350355ee080fd09ddef1148a5f8b2ac636c720f5c463
423 rackup (2.3.1) sha256=6c79c26753778e90983761d677a48937ee3192b3ffef6bc963c0950f94688868
424 rails (7.2.3) sha256=9a9812eb131189676e64665f6883fc9c4051f412cc87ef9e3fa242a09c609bff
425 rails-controller-testing (1.0.5) sha256=741448db59366073e86fc965ba403f881c636b79a2c39a48d0486f2607182e94
426 rails-dom-testing (2.3.0) sha256=8acc7953a7b911ca44588bf08737bc16719f431a1cc3091a292bca7317925c1d
427 rails-html-sanitizer (1.7.0) sha256=28b145cceaf9cc214a9874feaa183c3acba036c9592b19886e0e45efc62b1e89
428 railties (7.2.3) sha256=6eb010a6bfe6f223e783f739ddfcbdb5b88b1f3a87f7739f0a0685e466250422
429 raindrops (0.20.1) sha256=aa0eb9ff6834f2d9e232ba688bd49cb30be893bc5a3452e74722c94c1fab4730
430 rake (13.4.2) sha256=cb825b2bd5f1f8e91ca37bddb4b9aaf345551b4731da62949be002fa89283701
431 rdoc (7.2.0) sha256=8650f76cd4009c3b54955eb5d7e3a075c60a57276766ebf36f9085e8c9f23192
432 reline (0.6.3) sha256=1198b04973565b36ec0f11542ab3f5cfeeec34823f4e54cebde90968092b1835
433 request_store (1.7.0) sha256=e1b75d5346a315f452242a68c937ef8e48b215b9453a77a6c0acdca2934c88cb
434 routing-filter (0.7.0) sha256=f01364fbbfc6bcb1afee618700e8fda186588cae4d4646f46f51f23c9c687ea9
435 sass-rails (6.0.0) sha256=e0b6448ea1c7929fd5929fc7a8eb2d78045e44cc82fc0765a249d3fa1c5810d3
436 sassc (2.4.0) sha256=4c60a2b0a3b36685c83b80d5789401c2f678c1652e3288315a1551d811d9f83e
437 sassc-rails (2.1.2) sha256=5f4fdf3881fc9bdc8e856ffbd9850d70a2878866feae8114aa45996179952db5
438 securerandom (0.4.1) sha256=cc5193d414a4341b6e225f0cb4446aceca8e50d5e1888743fac16987638ea0b1
439 sprockets (4.2.2) sha256=761e5a49f1c288704763f73139763564c845a8f856d52fba013458f8af1b59b1
440 sprockets-rails (3.5.2) sha256=a9e88e6ce9f8c912d349aa5401509165ec42326baf9e942a85de4b76dbc4119e
441 stringio (3.2.0) sha256=c37cb2e58b4ffbd33fe5cd948c05934af997b36e0b6ca6fdf43afa234cf222e1
442 test-unit (3.7.8) sha256=689d1ca53f4d46f678b4e5d68d8e4294f87fc5e8b9238cc4de7c5727e8d65943
443 thor (1.5.0) sha256=e3a9e55fe857e44859ce104a84675ab6e8cd59c650a49106a05f55f136425e73
444 tilt (2.7.0) sha256=0d5b9ba69f6a36490c64b0eee9f6e9aad517e20dcc848800a06eb116f08c6ab3
445 timeout (0.6.1) sha256=78f57368a7e7bbadec56971f78a3f5ecbcfb59b7fcbb0a3ed6ddc08a5094accb
446 tsort (0.2.0) sha256=9650a793f6859a43b6641671278f79cfead60ac714148aabe4e3f0060480089f
447 tzinfo (2.0.6) sha256=8daf828cc77bcf7d63b0e3bdb6caa47e2272dcfaf4fbfe46f8c3a9df087a829b
448 uglifier (4.2.1) sha256=75d42b81b10bfd21e7a427fabb1d49ff5ea7bda3c4a5039ddb2a78d194c6f5aa
449 unicorn (6.1.0) sha256=45dd987add4c2b084c1880a68373af42797a704ad7441faff9b14b4982aa0fc0
450 useragent (0.16.11) sha256=700e6413ad4bb954bb63547fa098dddf7b0ebe75b40cc6f93b8d54255b173844
451 websocket-driver (0.8.2) sha256=97c556b019bf3410b4961002ac501621e9322d3f8a7bc02161a09301cc4c4146
452 websocket-extensions (0.1.5) sha256=1c6ba63092cda343eb53fc657110c71c754c56484aad42578495227d717a8241
453 will_paginate (3.3.1) sha256=34e9a8b81037add0c32dafca6a43e7edf95c3ee14f782bb56f07826efbe4a71d
454 zeitwerk (2.8.2) sha256=7212a61311083c604184b1ea2574b9aa05cd14f855a0841c06985cabe9181d12
455
456RUBY VERSION
457 ruby 3.2.11
458
246BUNDLED WITH 459BUNDLED WITH
247 2.4.22 460 4.0.15
diff --git a/app/models/page.rb b/app/models/page.rb
index d1e7439..ca3a8be 100644
--- a/app/models/page.rb
+++ b/app/models/page.rb
@@ -112,7 +112,7 @@ class Page < ApplicationRecord
112 end 112 end
113 113
114 def template_exists? 114 def template_exists?
115 File.exists? "#{full_public_template_path}.html.erb" 115 File.exist? "#{full_public_template_path}.html.erb"
116 end 116 end
117 117
118 def valid_template 118 def valid_template
diff --git a/config/initializers/assets.rb b/config/initializers/assets.rb
deleted file mode 100644
index 938e89d..0000000
--- a/config/initializers/assets.rb
+++ /dev/null
@@ -1 +0,0 @@
1Rails.application.config.assets.precompile += %w( jquery.js jquery_ujs.js )
diff --git a/config/initializers/backtrace_silencers.rb b/config/initializers/backtrace_silencers.rb
deleted file mode 100644
index c2169ed..0000000
--- a/config/initializers/backtrace_silencers.rb
+++ /dev/null
@@ -1,7 +0,0 @@
1# Be sure to restart your server when you modify this file.
2
3# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
6# You can also remove all the silencers if you're trying do debug a problem that might steem from framework code.
7# Rails.backtrace_cleaner.remove_silencers! \ No newline at end of file
diff --git a/config/initializers/new_rails_defaults.rb b/config/initializers/new_rails_defaults.rb
deleted file mode 100644
index 8ec3186..0000000
--- a/config/initializers/new_rails_defaults.rb
+++ /dev/null
@@ -1,19 +0,0 @@
1# Be sure to restart your server when you modify this file.
2
3# These settings change the behavior of Rails 2 apps and will be defaults
4# for Rails 3. You can remove this initializer when Rails 3 is released.
5
6if defined?(ActiveRecord)
7 # Include Active Record class name as root for JSON serialized output.
8 ActiveRecord::Base.include_root_in_json = true
9
10 # Store the full class name (including module namespace) in STI type column.
11 ActiveRecord::Base.store_full_sti_class = true
12end
13
14# Use ISO 8601 format for JSON serialized times and dates.
15ActiveSupport.use_standard_json_time_format = true
16
17# Don't escape HTML entities in JSON, leave that for the #json_escape helper.
18# if you're including raw json in an HTML page.
19ActiveSupport.escape_html_entities_in_json = false \ No newline at end of file
diff --git a/config/initializers/routing_filter_rails71_patch.rb b/config/initializers/routing_filter_rails71_patch.rb
new file mode 100644
index 0000000..35e3576
--- /dev/null
+++ b/config/initializers/routing_filter_rails71_patch.rb
@@ -0,0 +1,38 @@
1# routing-filter 0.7.0 is broken on Rails 7.1+ due to a change in how
2# ActionDispatch::Journey::Router#find_routes yields results (lazy iterator
3# vs eager enumerable). This patch restores the expected behaviour.
4# See: https://github.com/svenfuchs/routing-filter/pull/87
5# Remove this file if routing-filter ever releases a fixed version,
6# or when routing-filter is replaced with native Rails i18n scope routing.
7
8if Gem.loaded_specs['routing-filter'].version > Gem::Version.new('0.7.0')
9 raise 'routing-filter has been updated — check if this patch is still needed and remove it if so.'
10end
11
12ActionDispatchJourneyRouterWithFiltering.remove_method(:find_routes)
13
14module RoutingFilterRails71Fix
15 def find_routes(env)
16 path = env.is_a?(Hash) ? env['PATH_INFO'] : env.path_info
17 filter_parameters = {}
18 original_path = path.dup
19
20 @routes.filters.run(:around_recognize, path, env) do
21 filter_parameters
22 end
23
24 super(env) do |match, parameters, route|
25 parameters = parameters.merge(filter_parameters)
26
27 if env.is_a?(Hash)
28 env['PATH_INFO'] = original_path
29 else
30 env.path_info = original_path
31 end
32
33 yield [match, parameters, route]
34 end
35 end
36end
37
38ActionDispatch::Journey::Router.prepend(RoutingFilterRails71Fix)
diff --git a/config/initializers/ruby2.rb b/config/initializers/ruby2.rb
deleted file mode 100644
index d2d62aa..0000000
--- a/config/initializers/ruby2.rb
+++ /dev/null
@@ -1,16 +0,0 @@
1if Rails::VERSION::MAJOR == 2 && RUBY_VERSION >= '2.0.0'
2 module ActiveRecord
3 module Associations
4 class AssociationProxy
5 def send(method, *args)
6 if proxy_respond_to?(method, true)
7 super
8 else
9 load_target
10 @target.send(method, *args)
11 end
12 end
13 end
14 end
15 end
16end
diff --git a/lib/authors_importer.rb b/lib/authors_importer.rb
index 8532a95..e0b16bd 100644
--- a/lib/authors_importer.rb
+++ b/lib/authors_importer.rb
@@ -4,7 +4,7 @@ require 'digest/sha1'
4class AuthorsImporter 4class AuthorsImporter
5 5
6 def initialize path 6 def initialize path
7 @parsed_file = CSV::Reader.parse(File.open(path, "r")) if File.exists? path 7 @parsed_file = CSV::Reader.parse(File.open(path, "r")) if File.exist? path
8 end 8 end
9 9
10 def import_authors 10 def import_authors