jets 1.9.0 → 1.9.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9350d2ad41ae1ab0874e259483e40f971c1d0505d21f5ffb6506595e1a79c65b
|
4
|
+
data.tar.gz: 138152a71d392822710657ba7998b5fc26faba03ec5039615239ca7a9bcf54b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b81b4344b3176063e195ed18a40cb19e3c79dc3d4ac8708f6bc0a25e302628ee72024d2a707584f449f424270d3d20fdca183688374ef8c8d795c7422b07353
|
7
|
+
data.tar.gz: 225bad7d48c93975fd92a4adfbcf4daf2e77c56b7c96e2d7a35c0768087b5c5c1439347759bc223afcfd745dfe5edf1a36472d134121d8d93cebed744293ee74
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,10 @@
|
|
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.1]
|
7
|
+
- #257 dont generate handlers for concerns
|
8
|
+
- #258 from Fix custom domain base mapping
|
9
|
+
|
6
10
|
## [1.9.0]
|
7
11
|
- #249 docs grammar improvements
|
8
12
|
- #252 docs cli improvements
|
data/lib/jets/commands/build.rb
CHANGED
@@ -113,6 +113,7 @@ module Jets::Commands
|
|
113
113
|
Dir.glob(expression).each do |path|
|
114
114
|
return false unless File.file?(path)
|
115
115
|
next unless app_file?(path)
|
116
|
+
next if concerns?(path)
|
116
117
|
|
117
118
|
relative_path = path.sub("#{Jets.root}/", '')
|
118
119
|
# Rids of the Jets.root at beginning
|
@@ -215,6 +216,10 @@ module Jets::Commands
|
|
215
216
|
false
|
216
217
|
end
|
217
218
|
|
219
|
+
def self.concerns?(path)
|
220
|
+
path =~ %r{app/\w+/concerns/}
|
221
|
+
end
|
222
|
+
|
218
223
|
def self.tmp_code(full_build_path=false)
|
219
224
|
full_build_path ? "#{Jets.build_root}/stage/code" : "stage/code"
|
220
225
|
end
|
@@ -52,6 +52,7 @@ Jets.application.configure do
|
|
52
52
|
# config.api.authorization_type = "AWS_IAM" # default is 'NONE' https://amzn.to/2qZ7zLh
|
53
53
|
|
54
54
|
|
55
|
+
# More info: http://rubyonjets.com/docs/routing/custom-domain/
|
55
56
|
# config.domain.hosted_zone_name = "example.com"
|
56
57
|
# us-west-2 REGIONAL endpoint
|
57
58
|
# config.domain.cert_arn = "arn:aws:acm:us-west-2:112233445566:certificate/8d8919ce-a710-4050-976b-b33da991e123"
|
@@ -106,7 +106,11 @@ class BasePathMapping
|
|
106
106
|
domain_name: @domain_name, # required
|
107
107
|
base_path: '(none)',
|
108
108
|
)
|
109
|
-
|
109
|
+
# https://github.com/tongueroo/jets/issues/255
|
110
|
+
# Used to return: Aws::APIGateway::Errors::NotFoundException
|
111
|
+
# Now returns: Aws::APIGateway::Errors::InternalFailure
|
112
|
+
# So we'll use a more generic error
|
113
|
+
rescue Aws::APIGateway::Errors::ServiceError => e
|
110
114
|
raise(e) unless fail_silently
|
111
115
|
end
|
112
116
|
|
data/lib/jets/version.rb
CHANGED