Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ AllCops:
Include:
- 'lib/**/*.rb'
- 'modules/**/*.rb'
TargetRubyVersion: 3.3.0
TargetRubyVersion: 4.0

require:
plugins:
- rubocop-minitest

Style/FrozenStringLiteralComment:
Expand All @@ -26,5 +26,8 @@ Metrics/MethodLength:
Style/EachWithObject:
Enabled: false

Style/ReduceToHash:
Enabled: false

Style/AsciiComments:
Enabled: false
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM ruby:4.0-slim-bookworm AS ruby-source
FROM hexletbasics/base-image:latest

COPY --from=ruby-source /usr/local /usr/local

ENV RUBYLIB=/exercises-ruby/lib
ENV PATH=/exercises-ruby/bin:$PATH

RUN apt-get update && \
apt-get install -y ruby-full bundler && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN gem install bundler

WORKDIR /exercises-ruby

Expand Down
Loading