File tree 5 files changed +3
-106
lines changed
5 files changed +3
-106
lines changed Original file line number Diff line number Diff line change @@ -15,9 +15,7 @@ group :test do
15
15
gem 'minitest-stub-const'
16
16
gem 'mocha'
17
17
gem 'simplecov' , '~> 0.17.0'
18
- gem 'httparty'
19
18
gem 'rubocop' , require : false
20
19
gem 'rubocop-minitest' , require : false
21
20
gem 'rubocop-performance' , require : false
22
-
23
21
end
Original file line number Diff line number Diff line change 3
3
specs:
4
4
ast (2.4.2 )
5
5
docile (1.3.2 )
6
- httparty (0.18.1 )
7
- mime-types (~> 3.0 )
8
- multi_xml (>= 0.5.2 )
9
6
json (2.3.1 )
10
7
mandate (0.3.0 )
11
- mime-types (3.3.1 )
12
- mime-types-data (~> 3.2015 )
13
- mime-types-data (3.2021.0225 )
14
8
minitest (5.14.2 )
15
9
minitest-stub-const (0.6 )
16
10
mocha (1.11.2 )
17
- multi_xml (0.6.0 )
18
11
parallel (1.20.1 )
19
12
parser (3.0.0.0 )
20
13
ast (~> 2.4.1 )
@@ -51,7 +44,6 @@ PLATFORMS
51
44
ruby
52
45
53
46
DEPENDENCIES
54
- httparty
55
47
json
56
48
mandate
57
49
minitest (~> 5.10 , != 5.10.2 )
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ def call
21
21
end
22
22
23
23
def source_code
24
- event [ 'queryStringParameters' ] [ 'source_code ']
24
+ event [ 'body ' ]
25
25
end
26
26
27
27
def language
Original file line number Diff line number Diff line change 1
- AWSTemplateFormatVersion : ' 2010-09-09'
1
+ AWSTemplateFormatVersion : " 2010-09-09"
2
2
Transform : AWS::Serverless-2016-10-31
3
3
Description : >
4
4
sam-app
5
-
6
5
Sample SAM Template for sam-app
7
6
8
7
# More info about Globals: https://github.com/awslabs/serverless-application-model/blob/master/docs/globals.rst
@@ -20,7 +19,7 @@ Resources:
20
19
Type : Api # More info about API Event Source: https://github.com/awslabs/serverless-application-model/blob/master/versions/2016-10-31.md#api
21
20
Properties :
22
21
Path : /extract_snippet
23
- Method : get
22
+ Method : post
24
23
Metadata :
25
24
DockerTag : ruby2.7-v1
26
25
DockerContext : ./
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments