File tree 5 files changed +12
-10
lines changed
5 files changed +12
-10
lines changed Original file line number Diff line number Diff line change 15
15
uses : actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
16
16
17
17
- name : Set up Ruby
18
- uses : ruby/setup-ruby@ec02537da5712d66d4d50a0f33b7eb52773b5ed1
18
+ uses : ruby/setup-ruby@250fcd6a742febb1123a77a841497ccaa8b9e939
19
19
with :
20
20
ruby-version : .ruby-version
21
21
bundler-cache : true
Original file line number Diff line number Diff line change 1
- 2.6.6
1
+ 3.2.2
Original file line number Diff line number Diff line change 1
- FROM ruby:2.6.6 -alpine3.13 AS build
1
+ FROM ruby:3.2.2 -alpine3.18 AS build
2
2
3
3
RUN apk update && apk upgrade && \
4
4
apk add --no-cache git openssh build-base gcc wget git
5
5
6
- RUN gem install bundler -v 2.3.6
7
-
8
6
COPY Gemfile Gemfile.lock .
9
7
8
+ RUN gem install bundler:2.4.18 && \
9
+ bundle config set without 'development test' && \
10
+ bundle install
11
+
10
12
RUN bundle install
11
13
12
- FROM ruby:2.6.6 -alpine3.13 AS runtime
14
+ FROM ruby:3.2.2 -alpine3.18 AS runtime
13
15
14
16
RUN apk add --no-cache bash
15
17
Original file line number Diff line number Diff line change 7
7
json (2.6.3 )
8
8
mandate (0.3.0 )
9
9
method_source (1.0.0 )
10
- minitest (5.14.2 )
10
+ minitest (5.19.0 )
11
11
minitest-stub-const (0.6 )
12
12
mocha (2.1.0 )
13
13
ruby2_keywords (>= 0.0.5 )
@@ -67,4 +67,4 @@ DEPENDENCIES
67
67
simplecov (~> 0.17.0 )
68
68
69
69
BUNDLED WITH
70
- 2.3.6
70
+ 2.4.18
Original file line number Diff line number Diff line change @@ -6,8 +6,8 @@ def test_extracts_and_writes_code_correctly
6
6
ast = "some representation"
7
7
mapping = { foo : 'bar' }
8
8
representation = mock
9
- representation . stubs ( ast : ast )
10
- representation . stubs ( mapping : mapping )
9
+ representation . stubs ( ast :)
10
+ representation . stubs ( mapping :)
11
11
representation . expects ( :normalize! )
12
12
13
13
Representation . expects ( :new ) . with ( code ) . returns ( representation )
You can’t perform that action at this time.
0 commit comments