jets 1.3.8 → 1.3.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +6 -2
- data/jets.gemspec +1 -0
- data/lib/jets/aws_services.rb +6 -0
- data/lib/jets/camelizer.rb +1 -1
- data/lib/jets/inflections.rb +2 -1
- data/lib/jets/resource.rb +1 -0
- data/lib/jets/resource/sqs.rb +3 -0
- data/lib/jets/stack/main/extensions/lambda.rb +1 -1
- data/lib/jets/version.rb +1 -1
- metadata +16 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5de0cb4913504da995988d705fc03c5248d398fbd2538d3ec356ee89124dd38f
|
4
|
+
data.tar.gz: abb22eb7ac6a16faa1914835e9c68c86263693cdd92aaebec44edda63a562e14
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b7f26985d0b5dde339f8e887f508938e1565a306214520b563ebdd4c32fd87c0f05ff8f12366c35b9204e3fb35085fe959f852bb1255c99f673c896c94ccb227
|
7
|
+
data.tar.gz: ad759caa51dae3942176697965c0313a699702415c44c5f9d4eaf329028e72acc9702ce357c269fa3ebee95f5ee07e46d3af216fc518f5702cf91dd4ae78736c
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,12 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
This project *loosely tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
5
5
|
|
6
|
+
## [1.3.9]
|
7
|
+
- #106 from eamsc/sqs-special-map
|
8
|
+
- #107 from eamsc/sqs-resource
|
9
|
+
- Added SQS sdk/client/resource for use in custom resources
|
10
|
+
- Fix shared ruby function runtime
|
11
|
+
|
6
12
|
## [1.3.8]
|
7
13
|
- Merge pull request #101 from eamsc/sqs-special-map Added SQS RedrivePolicy attributes to special map because they aren't being properly camelized.
|
8
14
|
- Merge pull request #102 from eamsc/resource-symbol-sub fix for undefined method `sub` for symbol
|
data/Gemfile.lock
CHANGED
@@ -11,7 +11,7 @@ GIT
|
|
11
11
|
PATH
|
12
12
|
remote: .
|
13
13
|
specs:
|
14
|
-
jets (1.3.
|
14
|
+
jets (1.3.9)
|
15
15
|
actionpack (>= 5.2.1)
|
16
16
|
actionview (>= 5.2.1)
|
17
17
|
activerecord (>= 5.2.1)
|
@@ -23,6 +23,7 @@ PATH
|
|
23
23
|
aws-sdk-lambda
|
24
24
|
aws-sdk-s3
|
25
25
|
aws-sdk-sns
|
26
|
+
aws-sdk-sqs
|
26
27
|
colorize
|
27
28
|
dotenv
|
28
29
|
gems
|
@@ -66,7 +67,7 @@ GEM
|
|
66
67
|
tzinfo (~> 1.1)
|
67
68
|
arel (9.0.0)
|
68
69
|
aws-eventstream (1.0.1)
|
69
|
-
aws-partitions (1.
|
70
|
+
aws-partitions (1.126.0)
|
70
71
|
aws-sdk-apigateway (1.23.0)
|
71
72
|
aws-sdk-core (~> 3, >= 3.39.0)
|
72
73
|
aws-sigv4 (~> 1.0)
|
@@ -97,6 +98,9 @@ GEM
|
|
97
98
|
aws-sdk-sns (1.9.0)
|
98
99
|
aws-sdk-core (~> 3, >= 3.39.0)
|
99
100
|
aws-sigv4 (~> 1.0)
|
101
|
+
aws-sdk-sqs (1.10.0)
|
102
|
+
aws-sdk-core (~> 3, >= 3.39.0)
|
103
|
+
aws-sigv4 (~> 1.0)
|
100
104
|
aws-sigv4 (1.0.3)
|
101
105
|
builder (3.2.3)
|
102
106
|
byebug (10.0.2)
|
data/jets.gemspec
CHANGED
@@ -38,6 +38,7 @@ Gem::Specification.new do |spec|
|
|
38
38
|
spec.add_dependency "aws-sdk-lambda"
|
39
39
|
spec.add_dependency "aws-sdk-s3"
|
40
40
|
spec.add_dependency "aws-sdk-sns"
|
41
|
+
spec.add_dependency "aws-sdk-sqs"
|
41
42
|
spec.add_dependency "colorize"
|
42
43
|
spec.add_dependency "dotenv"
|
43
44
|
spec.add_dependency "gems" # jets-gems dependency
|
data/lib/jets/aws_services.rb
CHANGED
@@ -6,6 +6,7 @@ require "aws-sdk-s3"
|
|
6
6
|
require "aws-sdk-sts"
|
7
7
|
# Not used in Jets internally but convenient for shared resources
|
8
8
|
require "aws-sdk-sns"
|
9
|
+
require "aws-sdk-sqs"
|
9
10
|
|
10
11
|
module Jets::AwsServices
|
11
12
|
autoload :StackStatus, 'jets/aws_services/stack_status'
|
@@ -47,6 +48,11 @@ module Jets::AwsServices
|
|
47
48
|
end
|
48
49
|
memoize :sns
|
49
50
|
|
51
|
+
def sqs
|
52
|
+
Aws::SQS::Client.new
|
53
|
+
end
|
54
|
+
memoize :sqs
|
55
|
+
|
50
56
|
def sts
|
51
57
|
Aws::STS::Client.new
|
52
58
|
end
|
data/lib/jets/camelizer.rb
CHANGED
data/lib/jets/inflections.rb
CHANGED
data/lib/jets/resource.rb
CHANGED
@@ -14,6 +14,7 @@ class Jets::Resource
|
|
14
14
|
autoload :Route53, 'jets/resource/route53'
|
15
15
|
autoload :S3, 'jets/resource/s3'
|
16
16
|
autoload :Sns, 'jets/resource/sns'
|
17
|
+
autoload :Sqs, 'jets/resource/sqs'
|
17
18
|
autoload :Standardizer, 'jets/resource/standardizer'
|
18
19
|
|
19
20
|
attr_reader :definition, :replacements
|
@@ -36,7 +36,7 @@ module Jets::Stack::Main::Dsl
|
|
36
36
|
memory_size: Jets.config.function.memory_size,
|
37
37
|
}
|
38
38
|
props = defaults.merge(props)
|
39
|
-
props[:runtime] = "
|
39
|
+
props[:runtime] = "ruby2.5" if props[:runtime].to_s == "ruby"
|
40
40
|
props[:handler] = handler(props[:handler])
|
41
41
|
|
42
42
|
resource(id, "AWS::Lambda::Function", props)
|
data/lib/jets/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jets
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tung Nguyen
|
@@ -164,6 +164,20 @@ dependencies:
|
|
164
164
|
- - ">="
|
165
165
|
- !ruby/object:Gem::Version
|
166
166
|
version: '0'
|
167
|
+
- !ruby/object:Gem::Dependency
|
168
|
+
name: aws-sdk-sqs
|
169
|
+
requirement: !ruby/object:Gem::Requirement
|
170
|
+
requirements:
|
171
|
+
- - ">="
|
172
|
+
- !ruby/object:Gem::Version
|
173
|
+
version: '0'
|
174
|
+
type: :runtime
|
175
|
+
prerelease: false
|
176
|
+
version_requirements: !ruby/object:Gem::Requirement
|
177
|
+
requirements:
|
178
|
+
- - ">="
|
179
|
+
- !ruby/object:Gem::Version
|
180
|
+
version: '0'
|
167
181
|
- !ruby/object:Gem::Dependency
|
168
182
|
name: colorize
|
169
183
|
requirement: !ruby/object:Gem::Requirement
|
@@ -731,6 +745,7 @@ files:
|
|
731
745
|
- lib/jets/resource/route53/record_set.rb
|
732
746
|
- lib/jets/resource/s3.rb
|
733
747
|
- lib/jets/resource/sns.rb
|
748
|
+
- lib/jets/resource/sqs.rb
|
734
749
|
- lib/jets/resource/standardizer.rb
|
735
750
|
- lib/jets/route.rb
|
736
751
|
- lib/jets/router.rb
|