Skip to content

Commit 6605ddd

Browse files
authored
Add license and required_ruby_version attributes (#3)
These attributes are currently missing from the gemspec.
1 parent 658ff0a commit 6605ddd

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

aws_lambda_ric.gemspec

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,19 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
77
require './lib/aws_lambda_ric/version'
88

99
Gem::Specification.new do |spec|
10-
spec.name = 'aws_lambda_ric'
11-
spec.version = AwsLambdaRuntimeInterfaceClient::VERSION
12-
spec.authors = ['AWS Lambda']
10+
spec.name = 'aws_lambda_ric'
11+
spec.version = AwsLambdaRuntimeInterfaceClient::VERSION
12+
spec.authors = ['AWS Lambda']
1313

14-
spec.summary = 'AWS Lambda Runtime Interface Client for Ruby'
15-
spec.description = 'The AWS Lambda Ruby Runtime Interface Client implements the Lambda programming model for Ruby.'
16-
spec.homepage = 'https://github.com/aws/aws-lambda-ruby-runtime-interface-client'
14+
spec.summary = 'AWS Lambda Runtime Interface Client for Ruby'
15+
spec.description = 'The AWS Lambda Ruby Runtime Interface Client implements the Lambda programming model for Ruby.'
16+
spec.homepage = 'https://github.com/aws/aws-lambda-ruby-runtime-interface-client'
17+
18+
spec.license = 'Apache-2.0'
19+
spec.required_ruby_version = '>= 2.5'
1720

1821
# Specify which files should be added to the gem when it is released.
19-
spec.files = %w[
22+
spec.files = %w[
2023
LICENSE
2124
README.md
2225
Gemfile
@@ -26,10 +29,10 @@ Gem::Specification.new do |spec|
2629
bin/aws_lambda_ric
2730
] + Dir['lib/**/*']
2831

29-
spec.bindir = 'bin'
32+
spec.bindir = 'bin'
3033
# all application-style files are expected to be found in bindir
31-
spec.executables = 'aws_lambda_ric'
32-
spec.require_paths = ['lib']
34+
spec.executables = 'aws_lambda_ric'
35+
spec.require_paths = ['lib']
3336

3437
spec.add_development_dependency 'bundler', '>= 2.0'
3538
spec.add_development_dependency 'minitest', '~> 5.0'

0 commit comments

Comments
 (0)