[Ruby] Bump to 3.2.2

This commit is contained in:
Earlopain 2023-04-16 14:46:49 +02:00
parent 14756f879e
commit 921e6762ea
No known key found for this signature in database
GPG Key ID: 6CFB948E15246897
4 changed files with 5 additions and 5 deletions

View File

@ -1 +1 @@
3.1.4
3.2.2

View File

@ -1,4 +1,4 @@
FROM ruby:3.1.4-alpine3.17 as ruby-builder
FROM ruby:3.2.2-alpine3.17 as ruby-builder
RUN apk --no-cache add build-base git glib-dev postgresql15-dev
@ -19,7 +19,7 @@ WORKDIR /app
COPY package.json yarn.lock ./
RUN corepack enable && corepack prepare --activate && yarn install
FROM ruby:3.1.4-alpine3.17
FROM ruby:3.2.2-alpine3.17
RUN apk --no-cache add ffmpeg vips \
postgresql15-client \

View File

@ -27,7 +27,7 @@
document.body.appendChild(s);
})();
<% end -%>
<% ad_rand = Random::DEFAULT.rand(50000000) %>
<% ad_rand = Random.rand(50000000) %>
<% ad_zone = Danbooru.config.ads_zone_desktop %>
<noscript class="adzone">
<a href='https://ads.dragonfru.it/www/delivery/ck.php?zoneid=<%= ad_zone[:zone] %>&n=<%= ad_zone[:checksum] %>&cb=<%= ad_rand %>' target='_blank' rel="nofollow noopener">

View File

@ -15,7 +15,7 @@ RUN apk --no-cache add $BUILD_DEPS \
&& make EXTRADEFS="-include stdint.h" -j$(nproc) \
&& apk del $BUILD_DEPS
FROM ruby:3.1.4-alpine3.17
FROM ruby:3.2.2-alpine3.17
RUN apk --no-cache add git libjpeg-turbo gd tzdata