diff --git a/.ruby-version b/.ruby-version index 338a5b5..619b537 100644 --- a/.ruby-version +++ b/.ruby-version @@ -1 +1 @@ -2.6.6 +3.3.3 diff --git a/Dockerfile b/Dockerfile index 87fae97..81149f5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:2.6-alpine +FROM ruby:3.3-alpine RUN apk add --update git LABEL "com.github.actions.name"="Stations Human Diff" diff --git a/lib/shd/diff_analyzer.rb b/lib/shd/diff_analyzer.rb index b5dcab1..7f1f17c 100644 --- a/lib/shd/diff_analyzer.rb +++ b/lib/shd/diff_analyzer.rb @@ -96,7 +96,7 @@ def fetch_stations(params) Logger.info "Fetching and parsing #{url} ..." raw = URI.parse(url).open.read - CSV.parse(raw, CSV_PARAMETERS) + CSV.parse(raw, **CSV_PARAMETERS) end def group_by_id(stations, all_ids)