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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6bf8b8fbbecfc3af1645d4f5a6e3c9cebff0ace4ee18496ab238c59ae30b77be
4
- data.tar.gz: 27c90373b6a45186a0f14e83cd59aa7e25188b1c5813c75ae92b2c3321fdf8fb
3
+ metadata.gz: c2d3b4a38b917ab1d52dd171deb08f2cc4f1332903255abeda6ddcf4b6b877dd
4
+ data.tar.gz: ad57e8cd72eaee7469fe25e6c014b228476a808f0d11c486d520ed04ee34f70a
5
5
  SHA512:
6
- metadata.gz: 7487b87920daba62bc7f1714a017f9467bd9b97e02739f0c369fb35a77f206c0e3954fc603d16c8a04f3b2f59948170f6a469c564cc5e2d3b241390e7f23d947
7
- data.tar.gz: c38e46b4358f87dfbba3c228b13b3057530a42bf0367bb888b8e1dd0add2afc026f9f49c4483da3218ce34e2a5e2483f78e1ebc643d5caa7a945283bcb94b3b0
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JetsGemLayer
4
- VERSION = '1.0.2'
4
+ VERSION = '1.0.3'
5
5
  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.2
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-01-05 00:00:00.000000000 Z
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.3
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