jets_gem_layer 1.0.2 → 1.0.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/README.md +4 -0
- data/lib/jets_gem_layer/task_helper.rb +2 -2
- data/lib/jets_gem_layer/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c2d3b4a38b917ab1d52dd171deb08f2cc4f1332903255abeda6ddcf4b6b877dd
|
4
|
+
data.tar.gz: ad57e8cd72eaee7469fe25e6c014b228476a808f0d11c486d520ed04ee34f70a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8e1efadf231392752e7b1c924043963a4f45ce71b2f01eda526b078ff772f37e7a0cf0b52f96ccb0c295d41941155da24615eb8d184c9e4801ef79d3f2faf21
|
7
|
+
data.tar.gz: 17ab507fa674b87d31cce2cbb6d0f4d57d941b4e2423d08166b921d891ccb724cb614e73dae38dcc0d1abad804ff5cd7befc5db2e9be7001eb642c7fec5668e9
|
data/README.md
CHANGED
@@ -46,6 +46,7 @@ gem 'jets_gem_layer'
|
|
46
46
|
# Rakefile
|
47
47
|
|
48
48
|
require 'jets'
|
49
|
+
require 'jets_gem_layer'
|
49
50
|
require_relative 'config/application'
|
50
51
|
|
51
52
|
Jets.application.load_tasks
|
@@ -82,5 +83,8 @@ Within your project directory (example for development environment) or through y
|
|
82
83
|
3. `JETS_ENV=development rake gem_layer:cleanup_published`
|
83
84
|
* After a successful deploy, you may run this to cleanup the old gem layer version(s) no longer in use
|
84
85
|
|
86
|
+
**Important:** The zip command must be installed in your environment or the layer will fail to zip and upload. Perhaps we will
|
87
|
+
switch to rubyzip in the future.
|
88
|
+
|
85
89
|
## Acknowledgements
|
86
90
|
A big thank you to the authors of [Lambda Layer Cake](https://github.com/loganb/lambda-layer-cake), which served as a reference.
|
@@ -30,8 +30,8 @@ module JetsGemLayer
|
|
30
30
|
def arn
|
31
31
|
# We do not want to do any of this when running in the lambda environment
|
32
32
|
# as it is only required for deployment.
|
33
|
-
@arn ||= if ENV['LAMBDA_TASK_ROOT']
|
34
|
-
'no-op-while-running-in-lambda'
|
33
|
+
@arn ||= if ENV['LAMBDA_TASK_ROOT'] || ENV['JETS_NO_INTERNET']
|
34
|
+
'no-op-while-running-in-lambda-or-test'
|
35
35
|
else
|
36
36
|
published_arn
|
37
37
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jets_gem_layer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- DocGo Engineering
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jets
|
@@ -80,7 +80,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
80
80
|
- !ruby/object:Gem::Version
|
81
81
|
version: '0'
|
82
82
|
requirements: []
|
83
|
-
rubygems_version: 3.5.
|
83
|
+
rubygems_version: 3.5.4
|
84
84
|
signing_key:
|
85
85
|
specification_version: 4
|
86
86
|
summary: Rake tasks to automate building a Lambda Layer for Ruby on Jets projects
|