jets 1.4.4 → 1.4.5

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: b42f210be712ede74491d7b1b377d5e742405e2a4f226b07e4dd6709cc76f191
4
- data.tar.gz: 97d7f47d8d600d9b86ecf19390c055101e887fc2afe30d004b4e17b61f62bd57
3
+ metadata.gz: 2ee1fb12f1e6271e22fca7680fc8f47c117fc4c6a81ea43f5890790dfad0d10d
4
+ data.tar.gz: f74fbb708e6fe7dc7d46840c7fc5823175bda8fa288b48d68d8f62147d69b700
5
5
  SHA512:
6
- metadata.gz: 6368f3cca7ffd7303e5b1bbbf055e4b0aab97f29dad3e4e4f79c77980260ff6bfcea91248481068ca0a8962623da4d4db9a5c4ba04b0142dd46cc67184843ed2
7
- data.tar.gz: e17af44278ad7ed8f7f6a65f88d3aef0c3bfa465389bf07e6463d5e1c42cd3701bb20538ced03f15d10efc69bcdca008f9f0cbf4a13021311f83f0183b9b3467
6
+ metadata.gz: bce25cb0b17ab514ac8afaebdca5743ef8f2251f2818b8e8bb2f64497adbb8a03fa72db233d6dba2b8e628fd4fde2c1052608a04ac81072de683eb74e644fed7
7
+ data.tar.gz: 874e792ef63a0da0c64f6b1afdff355d799385134e66dbd273542c90f28b83b2748e1afe3e450e31c9226727fbdb1a79e06754bf0f713a4335481ef7e6cc68af
@@ -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
+ ## [1.4.5]
7
+ - include JETS_PROJECT_NAME as jets_env function var when set
8
+
6
9
  ## [1.4.4]
7
10
  - #116 from tongueroo/assets: fix public assets folders to serve directly from s3
8
11
 
@@ -11,7 +11,7 @@ GIT
11
11
  PATH
12
12
  remote: .
13
13
  specs:
14
- jets (1.4.4)
14
+ jets (1.4.5)
15
15
  actionpack (>= 5.2.1)
16
16
  actionview (>= 5.2.1)
17
17
  activerecord (>= 5.2.1)
@@ -11,11 +11,12 @@ class Jets::Resource::Lambda::Function
11
11
  env.deep_merge(jets_env)
12
12
  end
13
13
 
14
- # These jets env variables are always included
14
+ # These jets env variables are special variables that get included to keeps some state
15
15
  def jets_env
16
16
  env = {}
17
17
  env[:JETS_ENV] = Jets.env.to_s
18
18
  env[:JETS_ENV_EXTRA] = Jets.config.env_extra if Jets.config.env_extra
19
+ env[:JETS_PROJECT_NAME] = ENV['JETS_PROJECT_NAME'] if ENV['JETS_PROJECT_NAME']
19
20
  env[:JETS_STAGE] = Jets::Resource::ApiGateway::Deployment.stage_name
20
21
  env
21
22
  end
@@ -1,3 +1,3 @@
1
1
  module Jets
2
- VERSION = "1.4.4"
2
+ VERSION = "1.4.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jets
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.4
4
+ version: 1.4.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen