jets 3.0.9 → 3.0.10
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/lib/jets/builders/tidy.rb +2 -2
- data/lib/jets/commands/dbconsole.rb +10 -7
- data/lib/jets/core.rb +1 -1
- data/lib/jets/resource/api_gateway/base_path/function.rb +3 -1
- data/lib/jets/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b2e85111e507304b3bd11375499c70f4ba880e1f2523e5f7b2ff627e6558b76
|
4
|
+
data.tar.gz: 5e7bbb320f5e580726ab4d66e11cc47feca970edc61d6d01f1ed25fea2693bad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7dbf8891880be71e8b40da911ebb13e5ad39365158efa9bd62426b17e94d8b264a9832f14e32f10a8b402daf34cecda8f5986bcfcc70cb9278a7793b398b61d0
|
7
|
+
data.tar.gz: 6397148e88442a557552397ab01c7b7697f3642593f0aaedcbddd15f01c824e47b64922d21208bf99e01dd2929b547fcc3ef07a0c91afb6e49a58fe46185667f
|
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/).
|
5
5
|
|
6
|
+
## [3.0.10] - 2021-07-14
|
7
|
+
- [#575](https://github.com/boltops-tools/jets/pull/575) fix missing webpacker helpers
|
8
|
+
- [#576](https://github.com/boltops-tools/jets/pull/576) Fixes API Gateway base path Lambda not respecting various config opts
|
9
|
+
- [#577](https://github.com/boltops-tools/jets/pull/577) Adjust .jetskeep handling and add .jetsignore docs
|
10
|
+
- fix dbconsole (#568)
|
11
|
+
|
6
12
|
## [3.0.9] - 2021-06-14
|
7
13
|
- fix content type s3 metadata (#564)
|
8
14
|
|
data/lib/jets/builders/tidy.rb
CHANGED
@@ -38,7 +38,7 @@ module Jets::Builders
|
|
38
38
|
removals += get_removals("#{@project_root}/.jetsignore")
|
39
39
|
removals = removals.reject do |p|
|
40
40
|
jetskeep.find do |keep|
|
41
|
-
p
|
41
|
+
p == keep
|
42
42
|
end
|
43
43
|
end
|
44
44
|
removals.uniq
|
@@ -56,7 +56,7 @@ module Jets::Builders
|
|
56
56
|
# We clean out ignored files pretty aggressively. So provide
|
57
57
|
# a way for users to keep files from being cleaned out.
|
58
58
|
def jetskeep
|
59
|
-
always = %w[.bundle packs vendor]
|
59
|
+
always = %w[.bundle /public/packs /public/packs-test vendor]
|
60
60
|
path = "#{@project_root}/.jetskeep"
|
61
61
|
return always unless File.exist?(path)
|
62
62
|
|
@@ -1,12 +1,15 @@
|
|
1
1
|
# Thanks: Rails dbconsole_command.rb
|
2
2
|
module Jets::Commands
|
3
3
|
class Dbconsole
|
4
|
+
extend Memoist
|
5
|
+
|
4
6
|
def self.start(*args)
|
5
7
|
new(*args).start
|
6
8
|
end
|
7
9
|
|
8
10
|
def initialize(options = {})
|
9
|
-
|
11
|
+
defaults = {"include_password" => true}
|
12
|
+
@options = defaults.merge(options)
|
10
13
|
end
|
11
14
|
|
12
15
|
def start
|
@@ -85,14 +88,14 @@ module Jets::Commands
|
|
85
88
|
end
|
86
89
|
|
87
90
|
def config
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
end
|
91
|
+
configs = configurations.configs_for(env_name: environment)
|
92
|
+
if configs.blank?
|
93
|
+
raise ActiveRecord::AdapterNotSpecified, "'#{environment}' database is not configured. Available configuration: #{configurations.inspect}"
|
94
|
+
else
|
95
|
+
configs.first.configuration_hash.dup.stringify_keys!
|
94
96
|
end
|
95
97
|
end
|
98
|
+
memoize :config
|
96
99
|
|
97
100
|
def environment
|
98
101
|
Jets.env.to_s
|
data/lib/jets/core.rb
CHANGED
data/lib/jets/version.rb
CHANGED
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: 3.0.
|
4
|
+
version: 3.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tung Nguyen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionmailer
|