jets 0.10.2 → 0.10.3
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 +4 -4
- data/CHANGELOG.md +5 -2
- data/Gemfile.lock +1 -1
- data/lib/jets/application.rb +4 -4
- data/lib/jets/core.rb +4 -0
- data/lib/jets/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c44b41d2b76b96588efa60f037a9428b7116c817906b653088c163acbccfd2b8
|
4
|
+
data.tar.gz: a49185d012396c06b1e01b47df7174bd2abc7438e73bfffafa47e8864a7463d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bd0117da8ed1de85ceff306f472e7e8cafbfdbb03342adc8d55f140368f0e2a7f6fb4d6b98b48e94b9908ed7249583217592348505505563d8872bd06a3e2d2
|
7
|
+
data.tar.gz: 05e867a383e52d8c3c6f98b0814e626040539a83b8975d5c599e3c88d5ace3f99324f66b7d667ad93354b36ea9a43f7f038d99eaaaf851fa8670ff4f094a1c26
|
data/CHANGELOG.md
CHANGED
@@ -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/), even before v1.0.
|
5
5
|
|
6
|
+
## [0.10.3]
|
7
|
+
- expose Jets::Application.default_iam_policy so user can re-use
|
8
|
+
|
6
9
|
## [0.10.2]
|
7
10
|
- fix cloudformation config rule permission race condition with depends on
|
8
11
|
- simplify --templates only cli option
|
@@ -14,9 +17,9 @@ This project *loosely tries* to adhere to [Semantic Versioning](http://semver.or
|
|
14
17
|
- update upgrade notes
|
15
18
|
|
16
19
|
## [0.10.0]
|
20
|
+
- Breaking: Changed logical ids. Refer to upgrading notes: http://rubyonjets.com/docs/upgrading/
|
17
21
|
- Merge pull request #45 from tongueroo/remove-internal-welcome
|
18
22
|
- Fix routing: Allow multiple paths to point to same controller action
|
19
|
-
- Refer to upgrading notes: http://rubyonjets.com/docs/upgrading/
|
20
23
|
|
21
24
|
## [0.9.2]
|
22
25
|
- s3 assets support: Merge pull request #44 from tongueroo/s3-assets
|
@@ -26,12 +29,12 @@ This project *loosely tries* to adhere to [Semantic Versioning](http://semver.or
|
|
26
29
|
- fix iam policies: flatten
|
27
30
|
|
28
31
|
## [0.9.0]
|
32
|
+
- Breaking: Changed logical ids. Refer to upgrading notes: http://rubyonjets.com/docs/upgrading/
|
29
33
|
- Pretty big update: introduce concept of Shared Resources and Stack DSL
|
30
34
|
- Stack DSL: To support the concept of Custom Shared Resources. Supports extensions and simple functions also.
|
31
35
|
- Stack DSL: Allow for control of DependsOn attribute.
|
32
36
|
- Stack DSL: `MyStack.lookup` method
|
33
37
|
- Remove class name from the namespace. So namespace only has method name now. NOTE: This means upgrading from 0.8.x to 0.9.x requires a blue-green update.
|
34
|
-
- Add upgrading docs.
|
35
38
|
- Associated resource extensions support
|
36
39
|
- Associated resources multiple form support: long, medium, short
|
37
40
|
- Add `jets new --mode`: 3 modes: html, api, job. Remove the `--api`
|
data/Gemfile.lock
CHANGED
data/lib/jets/application.rb
CHANGED
@@ -101,16 +101,16 @@ class Jets::Application
|
|
101
101
|
# table_namespace does not have the env_extra, more common case desired.
|
102
102
|
config.table_namespace = [config.project_name, config.short_env].compact.join('-')
|
103
103
|
|
104
|
-
project_namespace =
|
105
|
-
config.project_namespace = project_namespace
|
104
|
+
config.project_namespace = Jets.project_namespace
|
106
105
|
|
107
106
|
# Must set default iam_policy here instead of `def config` because we need access to
|
108
107
|
# the project_namespace and if we call it from `def config` we get an infinit loop
|
109
|
-
config.iam_policy ||= default_iam_policy
|
108
|
+
config.iam_policy ||= self.class.default_iam_policy
|
110
109
|
config.managed_policy_definitions ||= [] # default empty
|
111
110
|
end
|
112
111
|
|
113
|
-
def default_iam_policy
|
112
|
+
def self.default_iam_policy
|
113
|
+
project_namespace = Jets.project_namespace
|
114
114
|
logs = {
|
115
115
|
action: ["logs:*"],
|
116
116
|
effect: "Allow",
|
data/lib/jets/core.rb
CHANGED
data/lib/jets/version.rb
CHANGED