jets 1.9.20 → 1.9.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b369b74eda86dad4ea9b775d6fcac9db541008919982aa4bf67ed78b10586d8b
4
- data.tar.gz: 721c9a3ebe7087805dcddc91eeef8c6d1aa700a89556fac704c949c69b3229fc
3
+ metadata.gz: fdfcd4bf8b6ea1b23a839781744af21dedca91cd227a31b9d9b44db4a32a050d
4
+ data.tar.gz: 16be687c80c55771a3cca4c72d736702bba560496fcbd0cd5283257cfa9a9306
5
5
  SHA512:
6
- metadata.gz: 1b4c4d3381ff216a81fc6125c1dcd55367c503bb63967fe886d82183fa81618c018d409e96398ee2a4ce267332cd565a842e0363f5e56b6753c4f0aee36d6753
7
- data.tar.gz: dcf57c2e5c016481cf071ab1c1214a7327e29dadcbabd1ce09589390fb22d7e7caea64bf959466a28156340b9bde4066b57d0ac7335de7b026fd5667d068c8c6
6
+ metadata.gz: 31f2c7abca39938c7159dea725fb647b5f61c3a0b3862f9130ecd3a1171c006b44f007002cf98fad8fbaec38f7fb43d2300548ed85e990c0be4df6890efeac36
7
+ data.tar.gz: 42c44d737f0560ce155f6bfcca058bc482c36dabfcad72c73b2b74d92be8c0a796fec8c51cbceb77b1f15bbeb984ec8e66425255d76746960b967159d4151740
@@ -3,6 +3,9 @@
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/).
5
5
 
6
+ ## [1.9.21]
7
+ - #299 shorten auto-generated iam policy for vpc
8
+
6
9
  ## [1.9.20]
7
10
  - #298 remove network calls on jets bootup process
8
11
  - set AWS_ACCOUNT env var on function to prevent the sts call on Jets.boot on AWS Lambda
@@ -33,15 +33,19 @@ class Jets::Application
33
33
  end
34
34
 
35
35
  if Jets.config.function.vpc_config
36
- vpc = %w[
37
- ec2:CreateNetworkInterface
38
- ec2:DeleteNetworkInterface
39
- ec2:DescribeNetworkInterfaces
40
- ec2:DescribeVpcs
41
- ec2:DescribeSubnets
42
- ec2:DescribeSecurityGroups
43
- ]
44
- policies += vpc
36
+ vpc = {
37
+ action: %w[
38
+ ec2:CreateNetworkInterface
39
+ ec2:DeleteNetworkInterface
40
+ ec2:DescribeNetworkInterfaces
41
+ ec2:DescribeVpcs
42
+ ec2:DescribeSubnets
43
+ ec2:DescribeSecurityGroups
44
+ ],
45
+ effect: "Allow",
46
+ resource: "*",
47
+ }
48
+ policies << vpc
45
49
  end
46
50
 
47
51
  policies
@@ -54,9 +54,9 @@ Jets.application.configure do
54
54
 
55
55
  # More info: http://rubyonjets.com/docs/routing/custom-domain/
56
56
  # config.domain.hosted_zone_name = "example.com"
57
- # us-west-2 REGIONAL endpoint
57
+ # us-west-2 REGIONAL endpoint - takes 2 minutes
58
58
  # config.domain.cert_arn = "arn:aws:acm:us-west-2:112233445566:certificate/8d8919ce-a710-4050-976b-b33da991e123"
59
- # us-east-1 EDGE endpoint
59
+ # us-east-1 EDGE endpoint - takes 10-15 minutes
60
60
  # config.domain.cert_arn = "arn:aws:acm:us-east-1:112233445566:certificate/d68472ba-04f8-45ba-b9db-14f839d57123"
61
61
  # config.domain.endpoint_type = "EDGE"
62
62
 
@@ -1,3 +1,3 @@
1
1
  module Jets
2
- VERSION = "1.9.20"
2
+ VERSION = "1.9.21"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jets
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.20
4
+ version: 1.9.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-06-21 00:00:00.000000000 Z
11
+ date: 2019-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionmailer