Skip to content

Commit f606a7b

Browse files
authored
Version 3 (#38)
* Version 3 * Update ruby version in CI
1 parent 5da4896 commit f606a7b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+488
-1223
lines changed

.github/workflows/test-on-push-and-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
- name: Set up ruby
1616
uses: ruby/setup-ruby@v1
1717
with:
18-
ruby-version: 2.7
18+
ruby-version: 3.1
1919
- name: Run 'pr' target
2020
run: make pr

.idea/.gitignore

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

LICENSE

Lines changed: 159 additions & 213 deletions
Large diffs are not rendered by default.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ setup-codebuild-agent:
1313

1414
.PHONY: test-smoke
1515
test-smoke: setup-codebuild-agent
16-
CODEBUILD_IMAGE_TAG=codebuild-agent test/integration/codebuild-local/test_one.sh test/integration/codebuild/buildspec.os.alpine.1.yml alpine 3.12 2.7
16+
CODEBUILD_IMAGE_TAG=codebuild-agent test/integration/codebuild-local/test_one.sh test/integration/codebuild/buildspec.os.alpine.1.yml alpine 3.16 3.1
1717

1818
.PHONY: test-unit
1919
test-unit:

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ First step is to choose the base image to be used. The supported Linux OS distri
1919

2020
- Amazon Linux 2
2121
- Alpine
22-
- CentOS
2322
- Debian
2423
- Ubuntu
2524

aws_lambda_ric.gemspec

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2-
31
# frozen_string_literal: true
42

53
lib = File.expand_path('lib', __dir__)
@@ -8,15 +6,15 @@ require './lib/aws_lambda_ric/version'
86

97
Gem::Specification.new do |spec|
108
spec.name = 'aws_lambda_ric'
11-
spec.version = AwsLambdaRuntimeInterfaceClient::VERSION
9+
spec.version = AwsLambdaRIC::VERSION
1210
spec.authors = ['AWS Lambda']
1311

1412
spec.summary = 'AWS Lambda Runtime Interface Client for Ruby'
1513
spec.description = 'The AWS Lambda Ruby Runtime Interface Client implements the Lambda programming model for Ruby.'
1614
spec.homepage = 'https://github.com/aws/aws-lambda-ruby-runtime-interface-client'
1715

1816
spec.license = 'Apache-2.0'
19-
spec.required_ruby_version = '>= 2.5'
17+
spec.required_ruby_version = '>= 3.0'
2018

2119
# Specify which files should be added to the gem when it is released.
2220
spec.files = %w[
@@ -33,8 +31,9 @@ Gem::Specification.new do |spec|
3331
spec.executables = 'aws_lambda_ric'
3432
spec.require_paths = ['lib']
3533

36-
spec.add_development_dependency 'bundler', '>= 2.0'
34+
spec.add_development_dependency 'bundler', '~> 2.0'
3735
spec.add_development_dependency 'minitest', '~> 5.0'
3836
spec.add_development_dependency 'rake', '~> 13.0'
3937
spec.add_development_dependency 'activesupport', '~> 6.0.1'
38+
spec.add_development_dependency 'test-unit', '~> 3.5.5'
4039
end

bin/aws_lambda_ric

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
#! /usr/bin/env ruby
2-
3-
# Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4-
52
# frozen_string_literal: true
63

74
require 'bundler/setup'
8-
require_relative '../lib/aws_lambda_ric/bootstrap'
5+
require_relative '../lib/aws_lambda_ric'
6+
7+
lambda_ric = AwsLambdaRIC::Bootstrap.new
98

10-
Bootstrap.start
9+
lambda_ric.start

0 commit comments

Comments
 (0)