jets_gem_layer 1.0.3 → 1.0.4

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: c2d3b4a38b917ab1d52dd171deb08f2cc4f1332903255abeda6ddcf4b6b877dd
4
- data.tar.gz: ad57e8cd72eaee7469fe25e6c014b228476a808f0d11c486d520ed04ee34f70a
3
+ metadata.gz: a4b51be7125e85344e0542ec777f71280613e6a42c660eba8209ba4d34d56234
4
+ data.tar.gz: a5503c800269ecae3de3555173b3c2d71e8194d1150b98824c55752b9aa5d530
5
5
  SHA512:
6
- metadata.gz: e8e1efadf231392752e7b1c924043963a4f45ce71b2f01eda526b078ff772f37e7a0cf0b52f96ccb0c295d41941155da24615eb8d184c9e4801ef79d3f2faf21
7
- data.tar.gz: 17ab507fa674b87d31cce2cbb6d0f4d57d941b4e2423d08166b921d891ccb724cb614e73dae38dcc0d1abad804ff5cd7befc5db2e9be7001eb642c7fec5668e9
6
+ metadata.gz: a12f3bdb0e1b7a0f4a346d753fd15f2d8a4f6ef83355bed5841c164128b4386860d82888b99ff6816689a67f815e7c1769d2b5acc9037a25ca5697ab71504016
7
+ data.tar.gz: 481d2f2352261090660f956732ab5ec707d42b81fca0edfc7161f0cbeaacd440aeda85c729d805c8c32b664946e0484d1c76e45919641b953677afbbc44200c8
data/README.md CHANGED
@@ -26,13 +26,22 @@ config.pro.disable = true
26
26
  is to add the included helper to your environment configuration.
27
27
 
28
28
  ```ruby
29
- # config/production.rb
29
+ # config/application.rb
30
+
31
+ require 'jets_gem_layer'
30
32
 
31
- # JetsGemLayer.arn will resolve to the latest version of the published Layer, also looking for a correct hash in the
32
- # layer description indicating the current Gemfile.lock and Gemfile are supported.
33
- # If a suitable layer is not found, the gem will log an error and resolve to 'error-fetching-gem-layer-arn' which will allow your
34
- # application to run locally but hopefully prevent an invalid deployment
35
- config.lambda.layers = [JetsGemLayer.arn]
33
+ module CrmBroker
34
+ class Application < Jets::Application
35
+
36
+ # JetsGemLayer.arn will resolve to the latest version of the published Layer, also looking for a correct hash in the
37
+ # layer description indicating the current Gemfile.lock and Gemfile are supported.
38
+ # If a suitable layer is not found, the gem will log an error and resolve to 'error-fetching-gem-layer-arn' which will allow your
39
+ # application to run locally but hopefully prevent an invalid deployment
40
+ config.lambda.layers = [JetsGemLayer.arn]
41
+
42
+ # ...
43
+ end
44
+ end
36
45
  ```
37
46
 
38
47
  3. Add this gem to your Gemfile:
@@ -46,7 +55,6 @@ gem 'jets_gem_layer'
46
55
  # Rakefile
47
56
 
48
57
  require 'jets'
49
- require 'jets_gem_layer'
50
58
  require_relative 'config/application'
51
59
 
52
60
  Jets.application.load_tasks
@@ -101,6 +101,9 @@ module JetsGemLayer
101
101
  def build_layer
102
102
  FileUtils.mkdir_p(inputs_dir)
103
103
  FileUtils.cp(INPUT_FILES.existing, inputs_dir)
104
+ puts 'Running docker to build layer'
105
+ command = docker_run_cmd
106
+ puts command.join(' ')
104
107
  system(*docker_run_cmd) or raise $CHILD_STATUS.to_s
105
108
  zip_layer
106
109
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module JetsGemLayer
4
- VERSION = '1.0.3'
4
+ VERSION = '1.0.4'
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.3
4
+ version: 1.0.4
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-02-09 00:00:00.000000000 Z
11
+ date: 2024-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jets