From 6af8535833cec3070ccb47908d18446c18fa2097 Mon Sep 17 00:00:00 2001 From: Georg Ledermann Date: Sat, 28 Dec 2024 13:44:28 +0100 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Ruby=203.4.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .rubocop.yml | 2 +- .ruby-version | 2 +- Dockerfile | 4 ++-- test/test_helper.rb | 3 +++ 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index ce8731d..0386716 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -5,7 +5,7 @@ require: - rubocop-graphql AllCops: - TargetRubyVersion: 3.3 + TargetRubyVersion: 3.4 Exclude: - Gemfile - 'vendor/**/*' diff --git a/.ruby-version b/.ruby-version index 9c25013..47b322c 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -3.3.6 +3.4.1 diff --git a/Dockerfile b/Dockerfile index f6d2594..842a8ae 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:3.3.6-alpine AS builder +FROM ruby:3.4.1-alpine AS builder RUN apk add --no-cache build-base WORKDIR /tibber-collector @@ -8,7 +8,7 @@ RUN bundle config --local frozen 1 && \ bundle install -j4 --retry 3 && \ bundle clean --force -FROM ruby:3.3.6-alpine +FROM ruby:3.4.1-alpine LABEL maintainer="georg@ledermann.dev" # Add tzdata to get correct timezone diff --git a/test/test_helper.rb b/test/test_helper.rb index b9a98d4..2685bb3 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -14,3 +14,6 @@ def mock_env(partial_env_hash) ENV.replace old end end + +# Silence deprecation warnings caused by the `influxdb-client` gem +Warning[:deprecated] = false