Skip to content

Commit

Permalink
to ruby v3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
simonneutert committed Jan 20, 2024
1 parent 307a343 commit fcdde91
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 7 deletions.
18 changes: 18 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,21 @@
# where the inspected file is and continue its way up to the root directory.
#
# See https://docs.rubocop.org/rubocop/configuration

AllCops:
NewCops: enable
Exclude:
- "bin/**/*"
- "vendor/bundle/**/*"

Metrics/BlockLength:
Exclude:
- "app.rb"

Metrics/ClassLength:
Exclude:
- "app.rb"

Lint/UselessAssignment:
Exclude:
- "app.rb"
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby 3.2.2
ruby 3.3.0
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ruby:3.2-slim-bullseye
FROM ruby:3.3-slim-bullseye

RUN apt-get update && apt-get install -y \
build-essential \
Expand Down
8 changes: 4 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ GEM
mini_portile2 (2.8.5)
money (6.16.0)
i18n (>= 0.6.4, <= 2)
nokogiri (1.15.5)
nokogiri (1.16.0)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
nokogiri (1.15.5-arm64-darwin)
nokogiri (1.16.0-arm64-darwin)
racc (~> 1.4)
nokogiri (1.15.5-x86_64-linux)
nokogiri (1.16.0-x86_64-linux)
racc (~> 1.4)
parallel (1.24.0)
parser (3.3.0.3)
Expand Down Expand Up @@ -128,4 +128,4 @@ DEPENDENCIES
solargraph (~> 0.50.0)

BUNDLED WITH
2.4.20
2.5.5
2 changes: 1 addition & 1 deletion app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ class App < Roda
year = r.params.fetch('year', Time.now.year).to_i
page = r.params.fetch('page', 1).to_i
per_page = r.params.fetch('per_page', 10).to_i

@auditlogs = client.v1.audit_logs.of_year(tenant_account_id:, year:)
@auditlogs.map! do |auditlog|
auditlog['realized_at'] = Time.parse(auditlog['environment_snapshot']['realized_at'])
Expand Down

0 comments on commit fcdde91

Please sign in to comment.