File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Release Gem
2+ on :
3+ workflow_dispatch :
4+ branches :
5+ - master
6+
7+ jobs :
8+ push :
9+ name : Push gem to RubyGems.org
10+ runs-on : ubuntu-latest
11+
12+ permissions :
13+ id-token : write # IMPORTANT: this permission is mandatory for trusted publishing
14+ contents : write # IMPORTANT: this permission is required for `rake release` to push the release tag
15+
16+ steps :
17+ # Set up
18+ - uses : actions/checkout@v4
19+ - name : Set up Ruby
20+ uses : ruby/setup-ruby@v1
21+ with :
22+ bundler-cache : true
23+ ruby-version : ruby
24+
25+ # Release
26+ - uses : rubygems/release-gem@v1
Original file line number Diff line number Diff line change @@ -2,17 +2,16 @@ name: CI/CD
22on : [push]
33jobs :
44 build :
5- runs-on : ubuntu-latest
5+ runs-on : ubuntu-24.04
66 name : Ruby ${{ matrix.ruby }}
77 strategy :
88 matrix :
99 ruby :
10- - " 2.7.4"
11- - " 3.0.2"
12- - " 3.1.0"
13- - " 3.2.1"
10+ - " 3.2"
11+ - " 3.3"
12+ - " 3.4"
1413 steps :
15- - uses : actions/checkout@v3
14+ - uses : actions/checkout@v4
1615 - name : Set up Ruby
1716 uses : ruby/setup-ruby@v1
1817 with :
Original file line number Diff line number Diff line change 1+ 3.4.4
Original file line number Diff line number Diff line change 11## [ Unreleased]
22
3+ ## [ 1.1.0] - 2026-06-04
4+
5+ - Ruby 3.4 support and development tooling upgrade (Bundler 4)
6+ - Fix frozen string literal warning in Ruby 3.4 (` String.new ` instead of ` '' ` )
7+ - Update CI to test against Ruby 3.2, 3.3, and 3.4; drop EOL 2.7/3.0/3.1
8+ - Add ` release.yml ` workflow for trusted RubyGems publishing
9+
310## [ 1.0.0] - 2023-06-15
411
512- Initial release
Original file line number Diff line number Diff line change 11PATH
22 remote: .
33 specs:
4- lambda-console-ruby (1.0 .0 )
4+ lambda-console-ruby (1.1 .0 )
55
66GEM
77 remote: https://rubygems.org/
88 specs:
9- minitest (5.18.0 )
10- mocha (2.0.4 )
9+ drb (2.2.3 )
10+ minitest (6.0.6 )
11+ drb (~> 2.0 )
12+ prism (~> 1.5 )
13+ mocha (3.1.0 )
1114 ruby2_keywords (>= 0.0.5 )
12- rake (13.0.6 )
15+ prism (1.9.0 )
16+ rake (13.4.2 )
1317 ruby2_keywords (0.0.5 )
1418
1519PLATFORMS
1620 arm64-darwin-22
21+ arm64-darwin-23
22+ arm64-darwin-25
1723 x86_64-linux
1824
1925DEPENDENCIES
@@ -23,4 +29,4 @@ DEPENDENCIES
2329 rake
2430
2531BUNDLED WITH
26- 2.4 .13
32+ 4.0 .13
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ def handle(event)
2222
2323 def initialize ( event )
2424 @event = event
25- @body = ''
25+ @body = String . new
2626 end
2727
2828 def run
Original file line number Diff line number Diff line change 11module LambdaConsole
2- VERSION = "1.0 .0"
2+ VERSION = "1.1 .0"
33end
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ class LambdaConsoleTestRun < LambdaConsoleSpec
1010 response = LambdaConsole ::Run . handle ( event ( 'cat lib/lambda-console-ruby/version.rb' ) )
1111 expect ( response [ :statusCode ] ) . must_equal 0
1212 expect ( response [ :headers ] ) . must_equal ( { } )
13- expect ( response [ :body ] ) . must_match %r{1.0.0 }
13+ expect ( response [ :body ] ) . must_match %r{#{ LambdaConsole :: VERSION } }
1414 end
1515
1616 it 'non shell captureable errors due to command not existing' do
You can’t perform that action at this time.
0 commit comments