Skip to content

Commit e121acb

Browse files
authored
Merge pull request #761 from coopdevs/develop
Release v5.2.1
2 parents 6733752 + 9006479 commit e121acb

File tree

8 files changed

+87
-91
lines changed

8 files changed

+87
-91
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
services:
99
postgres:
10-
image: postgres:9.4
10+
image: postgres:14.5
1111
ports: ["5432:5432"]
1212
env:
1313
POSTGRES_USER: postgres

.github/workflows/docker_build.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- name: Build docker
1111
run: docker build .
1212
- name: Test docker compose
13-
run: docker-compose up -d
13+
run: docker compose up -d
1414
- run: sleep 15 # wait for the server to start
1515
- name: Check server is up
1616
run: curl -s http://localhost:3000

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ gem 'prawn', '~> 2.5.0'
2121
gem 'prawn-table', '~> 0.2.2'
2222
gem 'pg_search', '~> 2.3.5'
2323
gem 'sidekiq', '~> 6.5'
24-
gem 'sidekiq-cron', '~> 1.9.1'
24+
gem 'sidekiq-cron', '~> 1.12.0'
2525
gem 'aws-sdk-s3', '~> 1.94', require: false
2626
gem 'image_processing', '~> 1.12'
2727
gem 'active_storage_validations', '~> 1.1.3'

Gemfile.lock

+81-78
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,47 @@
11
GEM
22
remote: https://rubygems.org/
33
specs:
4-
actioncable (7.0.8.1)
5-
actionpack (= 7.0.8.1)
6-
activesupport (= 7.0.8.1)
4+
actioncable (7.0.8.5)
5+
actionpack (= 7.0.8.5)
6+
activesupport (= 7.0.8.5)
77
nio4r (~> 2.0)
88
websocket-driver (>= 0.6.1)
9-
actionmailbox (7.0.8.1)
10-
actionpack (= 7.0.8.1)
11-
activejob (= 7.0.8.1)
12-
activerecord (= 7.0.8.1)
13-
activestorage (= 7.0.8.1)
14-
activesupport (= 7.0.8.1)
9+
actionmailbox (7.0.8.5)
10+
actionpack (= 7.0.8.5)
11+
activejob (= 7.0.8.5)
12+
activerecord (= 7.0.8.5)
13+
activestorage (= 7.0.8.5)
14+
activesupport (= 7.0.8.5)
1515
mail (>= 2.7.1)
1616
net-imap
1717
net-pop
1818
net-smtp
19-
actionmailer (7.0.8.1)
20-
actionpack (= 7.0.8.1)
21-
actionview (= 7.0.8.1)
22-
activejob (= 7.0.8.1)
23-
activesupport (= 7.0.8.1)
19+
actionmailer (7.0.8.5)
20+
actionpack (= 7.0.8.5)
21+
actionview (= 7.0.8.5)
22+
activejob (= 7.0.8.5)
23+
activesupport (= 7.0.8.5)
2424
mail (~> 2.5, >= 2.5.4)
2525
net-imap
2626
net-pop
2727
net-smtp
2828
rails-dom-testing (~> 2.0)
29-
actionpack (7.0.8.1)
30-
actionview (= 7.0.8.1)
31-
activesupport (= 7.0.8.1)
29+
actionpack (7.0.8.5)
30+
actionview (= 7.0.8.5)
31+
activesupport (= 7.0.8.5)
3232
rack (~> 2.0, >= 2.2.4)
3333
rack-test (>= 0.6.3)
3434
rails-dom-testing (~> 2.0)
3535
rails-html-sanitizer (~> 1.0, >= 1.2.0)
36-
actiontext (7.0.8.1)
37-
actionpack (= 7.0.8.1)
38-
activerecord (= 7.0.8.1)
39-
activestorage (= 7.0.8.1)
40-
activesupport (= 7.0.8.1)
36+
actiontext (7.0.8.5)
37+
actionpack (= 7.0.8.5)
38+
activerecord (= 7.0.8.5)
39+
activestorage (= 7.0.8.5)
40+
activesupport (= 7.0.8.5)
4141
globalid (>= 0.6.0)
4242
nokogiri (>= 1.8.5)
43-
actionview (7.0.8.1)
44-
activesupport (= 7.0.8.1)
43+
actionview (7.0.8.5)
44+
activesupport (= 7.0.8.5)
4545
builder (~> 3.1)
4646
erubi (~> 1.4)
4747
rails-dom-testing (~> 2.0)
@@ -60,22 +60,22 @@ GEM
6060
kaminari (~> 1.0, >= 1.2.1)
6161
railties (>= 6.1, < 7.1)
6262
ransack (>= 2.1.1, < 4)
63-
activejob (7.0.8.1)
64-
activesupport (= 7.0.8.1)
63+
activejob (7.0.8.5)
64+
activesupport (= 7.0.8.5)
6565
globalid (>= 0.3.6)
66-
activemodel (7.0.8.1)
67-
activesupport (= 7.0.8.1)
68-
activerecord (7.0.8.1)
69-
activemodel (= 7.0.8.1)
70-
activesupport (= 7.0.8.1)
71-
activestorage (7.0.8.1)
72-
actionpack (= 7.0.8.1)
73-
activejob (= 7.0.8.1)
74-
activerecord (= 7.0.8.1)
75-
activesupport (= 7.0.8.1)
66+
activemodel (7.0.8.5)
67+
activesupport (= 7.0.8.5)
68+
activerecord (7.0.8.5)
69+
activemodel (= 7.0.8.5)
70+
activesupport (= 7.0.8.5)
71+
activestorage (7.0.8.5)
72+
actionpack (= 7.0.8.5)
73+
activejob (= 7.0.8.5)
74+
activerecord (= 7.0.8.5)
75+
activesupport (= 7.0.8.5)
7676
marcel (~> 1.0)
7777
mini_mime (>= 1.1.0)
78-
activesupport (7.0.8.1)
78+
activesupport (7.0.8.5)
7979
concurrent-ruby (~> 1.0, >= 1.0.2)
8080
i18n (>= 1.6, < 2)
8181
minitest (>= 5.1)
@@ -113,7 +113,7 @@ GEM
113113
bootstrap-sass (3.4.1)
114114
autoprefixer-rails (>= 5.2.1)
115115
sassc (>= 2.0.0)
116-
builder (3.2.4)
116+
builder (3.3.0)
117117
byebug (11.1.3)
118118
capybara (3.40.0)
119119
addressable
@@ -124,7 +124,7 @@ GEM
124124
rack-test (>= 0.6.3)
125125
regexp_parser (>= 1.5, < 3.0)
126126
xpath (~> 3.2)
127-
concurrent-ruby (1.2.3)
127+
concurrent-ruby (1.3.4)
128128
connection_pool (2.4.1)
129129
crass (1.0.6)
130130
database_cleaner (2.0.2)
@@ -149,8 +149,8 @@ GEM
149149
dotenv-rails (2.7.6)
150150
dotenv (= 2.7.6)
151151
railties (>= 3.2)
152-
erubi (1.12.0)
153-
et-orbi (1.2.7)
152+
erubi (1.13.0)
153+
et-orbi (1.2.11)
154154
tzinfo
155155
execjs (2.9.1)
156156
fabrication (2.31.0)
@@ -160,8 +160,8 @@ GEM
160160
formtastic (4.0.0)
161161
actionpack (>= 5.2.0)
162162
formtastic_i18n (0.7.0)
163-
fugit (1.9.0)
164-
et-orbi (~> 1, >= 1.2.7)
163+
fugit (1.11.1)
164+
et-orbi (~> 1, >= 1.2.11)
165165
raabro (~> 1.4)
166166
gli (2.21.1)
167167
globalid (1.2.1)
@@ -173,7 +173,7 @@ GEM
173173
http-cookie (1.0.5)
174174
domain_name (~> 0.5)
175175
http_accept_language (2.1.1)
176-
i18n (1.14.1)
176+
i18n (1.14.6)
177177
concurrent-ruby (~> 1.0)
178178
image_processing (1.12.2)
179179
mini_magick (>= 4.9.5, < 5)
@@ -223,30 +223,30 @@ GEM
223223
net-imap
224224
net-pop
225225
net-smtp
226-
marcel (1.0.2)
226+
marcel (1.0.4)
227227
matrix (0.4.2)
228-
method_source (1.0.0)
228+
method_source (1.1.0)
229229
mime-types (3.5.2)
230230
mime-types-data (~> 3.2015)
231231
mime-types-data (3.2023.1205)
232232
mini_magick (4.12.0)
233233
mini_mime (1.1.5)
234-
minitest (5.22.2)
234+
minitest (5.25.1)
235235
msgpack (1.7.2)
236-
net-imap (0.4.10)
236+
net-imap (0.5.0)
237237
date
238238
net-protocol
239239
net-pop (0.1.2)
240240
net-protocol
241241
net-protocol (0.2.2)
242242
timeout
243-
net-smtp (0.4.0.1)
243+
net-smtp (0.5.0)
244244
net-protocol
245245
netrc (0.11.0)
246-
nio4r (2.7.0)
247-
nokogiri (1.16.2-arm64-darwin)
246+
nio4r (2.7.3)
247+
nokogiri (1.16.7-arm64-darwin)
248248
racc (~> 1.4)
249-
nokogiri (1.16.2-x86_64-linux)
249+
nokogiri (1.16.7-x86_64-linux)
250250
racc (~> 1.4)
251251
orm_adapter (0.5.0)
252252
parallel (1.24.0)
@@ -265,29 +265,29 @@ GEM
265265
prawn-table (0.2.2)
266266
prawn (>= 1.3.0, < 3.0.0)
267267
public_suffix (5.0.4)
268-
puma (6.4.2)
268+
puma (6.4.3)
269269
nio4r (~> 2.0)
270270
pundit (2.1.1)
271271
activesupport (>= 3.0.0)
272272
raabro (1.4.0)
273-
racc (1.7.3)
274-
rack (2.2.8.1)
273+
racc (1.8.1)
274+
rack (2.2.10)
275275
rack-test (2.1.0)
276276
rack (>= 1.3)
277-
rails (7.0.8.1)
278-
actioncable (= 7.0.8.1)
279-
actionmailbox (= 7.0.8.1)
280-
actionmailer (= 7.0.8.1)
281-
actionpack (= 7.0.8.1)
282-
actiontext (= 7.0.8.1)
283-
actionview (= 7.0.8.1)
284-
activejob (= 7.0.8.1)
285-
activemodel (= 7.0.8.1)
286-
activerecord (= 7.0.8.1)
287-
activestorage (= 7.0.8.1)
288-
activesupport (= 7.0.8.1)
277+
rails (7.0.8.5)
278+
actioncable (= 7.0.8.5)
279+
actionmailbox (= 7.0.8.5)
280+
actionmailer (= 7.0.8.5)
281+
actionpack (= 7.0.8.5)
282+
actiontext (= 7.0.8.5)
283+
actionview (= 7.0.8.5)
284+
activejob (= 7.0.8.5)
285+
activemodel (= 7.0.8.5)
286+
activerecord (= 7.0.8.5)
287+
activestorage (= 7.0.8.5)
288+
activesupport (= 7.0.8.5)
289289
bundler (>= 1.15.0)
290-
railties (= 7.0.8.1)
290+
railties (= 7.0.8.5)
291291
rails-controller-testing (1.0.5)
292292
actionpack (>= 5.0.1.rc1)
293293
actionview (>= 5.0.1.rc1)
@@ -302,15 +302,15 @@ GEM
302302
rails-i18n (7.0.8)
303303
i18n (>= 0.7, < 2)
304304
railties (>= 6.0.0, < 8)
305-
railties (7.0.8.1)
306-
actionpack (= 7.0.8.1)
307-
activesupport (= 7.0.8.1)
305+
railties (7.0.8.5)
306+
actionpack (= 7.0.8.5)
307+
activesupport (= 7.0.8.5)
308308
method_source
309309
rake (>= 12.2)
310310
thor (~> 1.0)
311311
zeitwerk (~> 2.5)
312312
rainbow (3.1.1)
313-
rake (13.1.0)
313+
rake (13.2.1)
314314
ransack (3.2.1)
315315
activerecord (>= 6.1.5)
316316
activesupport (>= 6.1.5)
@@ -326,7 +326,8 @@ GEM
326326
http-cookie (>= 1.0.2, < 2.0)
327327
mime-types (>= 1.16, < 4.0)
328328
netrc (~> 0.8)
329-
rexml (3.2.6)
329+
rexml (3.3.6)
330+
strscan
330331
rspec-core (3.13.0)
331332
rspec-support (~> 3.13.0)
332333
rspec-expectations (3.13.0)
@@ -387,9 +388,10 @@ GEM
387388
connection_pool (>= 2.2.5, < 3)
388389
rack (~> 2.0)
389390
redis (>= 4.5.0, < 5)
390-
sidekiq-cron (1.9.1)
391+
sidekiq-cron (1.12.0)
391392
fugit (~> 1.8)
392-
sidekiq (>= 4.2.1)
393+
globalid (>= 1.0.1)
394+
sidekiq (>= 6)
393395
simple_form (5.0.3)
394396
actionpack (>= 5.0)
395397
activemodel (>= 5.0)
@@ -406,7 +408,8 @@ GEM
406408
actionpack (>= 5.2)
407409
activesupport (>= 5.2)
408410
sprockets (>= 3.0.0)
409-
thor (1.3.1)
411+
strscan (3.1.0)
412+
thor (1.3.2)
410413
tilt (2.3.0)
411414
timeout (0.4.1)
412415
ttfunk (1.8.0)
@@ -429,7 +432,7 @@ GEM
429432
websocket-extensions (0.1.5)
430433
xpath (3.2.0)
431434
nokogiri (~> 1.8)
432-
zeitwerk (2.6.13)
435+
zeitwerk (2.7.1)
433436

434437
PLATFORMS
435438
arm64-darwin-22
@@ -477,7 +480,7 @@ DEPENDENCIES
477480
selenium-webdriver (~> 4.16)
478481
shoulda-matchers (~> 4.4)
479482
sidekiq (~> 6.5)
480-
sidekiq-cron (~> 1.9.1)
483+
sidekiq-cron (~> 1.12.0)
481484
simple_form (~> 5.0.2)
482485
simplecov (~> 0.22)
483486
uglifier (~> 4.2.0)

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ This site is ready to be deployed in production with an optimized Docker image w
4747
You can locally test the production deployment by the include docker-compose.yml file:
4848

4949
```bash
50-
docker-compose up
50+
docker compose up
5151
```
5252

5353
The first time running it will build the image and setup the database along with some seeds in it (testing data). If the database already exists, it will run migrations (if needed) and just start the application.

config/database.yml

-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ development:
1515
test:
1616
<<: *defaults
1717
database: timeoverflow_test
18-
host: localhost
19-
password: <%= ENV['DATABASE_PASSWORD'] || ENV["POSTGRES_PASSWORD"] %>
2018

2119
production:
2220
<<: *defaults

config/initializers/sidekiq.rb

-5
This file was deleted.

config/schedule.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
send_push_notifications_job:
2-
cron: '*/5 * * * *'
2+
cron: 'every 5 minutes'
33
class: 'SendPushNotificationsJob'
44
queue: cron
55
weekly_digest:
6-
cron: '0 9 * * 1' # every monday at 9am
6+
cron: 'every monday at 9am'
77
class: 'OrganizationNotifierJob'
88
queue: cron

0 commit comments

Comments
 (0)