Skip to content

Commit

Permalink
⬆️ Upgrade Ruby to 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ledermann committed Dec 28, 2023
1 parent bda9617 commit fea0852
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ require:
- rubocop-graphql

AllCops:
TargetRubyVersion: 3.2
TargetRubyVersion: 3.3
Exclude:
- Gemfile
- 'vendor/**/*'
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.2
3.3.0
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:3.2.2-alpine AS Builder
FROM ruby:3.3.3-alpine AS Builder
RUN apk add --no-cache build-base

WORKDIR /tibber-collector
Expand All @@ -8,7 +8,7 @@ RUN bundle config --local frozen 1 && \
bundle install -j4 --retry 3 && \
bundle clean --force

FROM ruby:3.2.2-alpine
FROM ruby:3.3.0-alpine
LABEL maintainer="[email protected]"

# Add tzdata to get correct timezone
Expand Down
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ gem 'dotenv'
# Ruby library for InfluxDB 2. (https://github.com/influxdata/influxdb-client-ruby)
gem 'influxdb-client'

# CSV Reading and Writing (https://github.com/ruby/csv)
gem 'csv'

group :development, :test do
# Rake is a Make-like program implemented in Ruby (https://github.com/ruby/rake)
gem 'rake'
Expand Down
4 changes: 3 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ GEM
connection_pool (2.4.1)
crack (0.4.5)
rexml
csv (3.2.8)
docile (1.4.0)
dotenv (2.8.1)
drb (2.2.0)
Expand Down Expand Up @@ -94,6 +95,7 @@ PLATFORMS

DEPENDENCIES
climate_control
csv
dotenv
graphql (< 2.1)
graphql-client
Expand All @@ -111,4 +113,4 @@ DEPENDENCIES
webmock

BUNDLED WITH
2.5.1
2.5.3

0 comments on commit fea0852

Please sign in to comment.