File tree Expand file tree Collapse file tree 4 files changed +13
-9
lines changed Expand file tree Collapse file tree 4 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -10,15 +10,15 @@ EXPOSE 8080
10
10
SHELL ["/bin/bash" , "-c" ]
11
11
12
12
WORKDIR /app
13
- ADD Gemfile Gemfile.lock /app/
14
- RUN gem install bundler:$BUNDLER_VERSION && bundle install
15
-
16
13
RUN apt-get update \
17
14
&& apt-get install -y --no-install-recommends \
18
15
supervisor locales nodejs vim nano \
19
- && apt-get clean \
16
+ && apt-get clean build-essential \
20
17
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
21
18
19
+ ADD Gemfile Gemfile.lock /app/
20
+ RUN gem install bundler:$BUNDLER_VERSION && bundle install
21
+
22
22
RUN DEBIAN_FRONTEND=noninteractive dpkg-reconfigure locales \
23
23
&& locale-gen C.UTF-8 \
24
24
&& /usr/sbin/update-locale LANG=C.UTF-8
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ gem "bcrypt"
13
13
gem "bootsnap" , require : false
14
14
gem "feedbag"
15
15
gem "feedjira"
16
- gem "good_job" , "~> 4.7.0 "
16
+ gem "good_job" , "~> 4.8.2 "
17
17
gem "httparty"
18
18
gem "nokogiri" , "~> 1.18.0"
19
19
gem "pg"
Original file line number Diff line number Diff line change 152
152
raabro (~> 1.4 )
153
153
globalid (1.2.1 )
154
154
activesupport (>= 6.1 )
155
- good_job (4.7.0 )
155
+ good_job (4.8.2 )
156
156
activejob (>= 6.1.0 )
157
157
activerecord (>= 6.1.0 )
158
158
concurrent-ruby (>= 1.3.1 )
168
168
concurrent-ruby (~> 1.0 )
169
169
ice_nine (0.11.2 )
170
170
io-console (0.8.0 )
171
- irb (1.14.3 )
171
+ irb (1.15.1 )
172
+ pp (>= 0.6.0 )
172
173
rdoc (>= 4.0.0 )
173
174
reline (>= 0.4.2 )
174
175
json (2.9.1 )
210
211
ast (~> 2.4.1 )
211
212
racc
212
213
pg (1.5.9 )
214
+ pp (0.6.2 )
215
+ prettyprint
216
+ prettyprint (0.2.0 )
213
217
pry (0.14.2 )
214
218
coderay (~> 1.1 )
215
219
method_source (~> 1.0 )
@@ -413,7 +417,7 @@ DEPENDENCIES
413
417
factory_bot
414
418
feedbag
415
419
feedjira
416
- good_job (~> 4.7.0 )
420
+ good_job (~> 4.8.2 )
417
421
httparty
418
422
nokogiri (~> 1.18.0 )
419
423
pg
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ def setup
36
36
37
37
it "displays the jobs count" do
38
38
setup
39
- 12 . times { GoodJob ::Job . create! }
39
+ 12 . times { GoodJob ::Job . create! ( scheduled_at : Time . zone . now ) }
40
40
41
41
get "/admin/debug"
42
42
You can’t perform that action at this time.
0 commit comments