File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 22require 'aws-record'
33
44before do
5- unless request . body . read . empty? || request . body . size > 0
5+ if ( ! request . body . read . empty? and request . body . size > 0 )
66 request . body . rewind
77 @params = Sinatra ::IndifferentHash . new
88 @params . merge! ( JSON . parse ( request . body . read ) )
Original file line number Diff line number Diff line change 44 install :
55 commands :
66 # Upgrade AWS CLI to the latest version
7- - pip install --upgrade awscli
7+ - pip3 install awscli --upgrade --user
88
99 # Install Ruby dependencies from the Gemfile.
1010 - bundle install --deployment
Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ Parameters:
3232 ConstraintDescription : You must enter a GitHub username or organization
3333 CodeBuildImage :
3434 Type : String
35- Default : aws/codebuild/ruby:2.5.1
36- Description : Default AWS CodeBuild Ruby 2.5.1 image
35+ Default : aws/codebuild/ruby:2.5.3
36+ Description : Default AWS CodeBuild Ruby 2.5.3 image
3737 MinLength : 3
3838 MaxLength : 100
3939 ConstraintDescription : You must enter a CodeBuild image
@@ -280,4 +280,4 @@ Resources:
280280 StackName : " serverless-sinatra-stack"
281281 ActionMode : CHANGE_SET_EXECUTE
282282 ChangeSetName : pipeline-changeset
283- RunOrder : 2
283+ RunOrder : 2
You can’t perform that action at this time.
0 commit comments