jets 1.9.25 → 1.9.26

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: 492314e608aecf3c82eef82638155a31d60292b5a5e8869a89fd2a0c3d8c1f29
4
- data.tar.gz: 2d6c132a9b4b8880377af0768d4b41e3d24847c0a8238d7a1cdf674c1c439b7b
3
+ metadata.gz: b1dcf93cf4fff3d829dca0d8ca2275f036a3526b13ac2be7f2e1c68ca8962701
4
+ data.tar.gz: b3485b076525dffa685c95bc9f3092d20ae326ef82230d14ef978f585f0c74fc
5
5
  SHA512:
6
- metadata.gz: 1cfe26fdc493988af4f88575dd4ad3d878f59ad0b0801fc2c069a52123bce401b7bb7ed855693687a89eafcd6ae580ebb73d5e1905c21d95882a40672a005b00
7
- data.tar.gz: e6e14848e74946603b628bbf4e6ba2ad5ec5802b6ca8c8516978a4425320b4a75035a9d5ee34100780b19d84dddf5a9ead18b57d5916a5873d2a4d7748baa20b
6
+ metadata.gz: 4889e61fbfc286aa3ad42f97303a7625f95bcf18970e7fd678a982ac5ae959d1e7460d19cfa23365522fb6b37dccc2267fc1bba6fa9bda52d534107e5eddfcdb
7
+ data.tar.gz: ef13c0df766c7c45015224fabe37c594d328bb5fdc5932b22e7b5bc93fa4fdd97cf9489fd204732349f98797e57eb7d0c2a55e70280ec423b35febce38672b95
@@ -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/).
5
5
 
6
+ ## [1.9.26]
7
+ - fix ssm dotenv support: ensure Jets.config.project_name is set
8
+
6
9
  ## [1.9.25]
7
10
  - load dotenv earlier so can use in config/application.rb
8
11
 
@@ -68,10 +68,11 @@ class Jets::Application
68
68
  end
69
69
 
70
70
  def load_default_config
71
- @config = default_config
71
+ @config = default_config # sets Jets.config.project_name by calling parse_project_name
72
72
  set_computed_configs! # things like project_namespace that need project_name
73
- load_config_application # this overwrites Jets.config.project_name
73
+ Jets::Dotenv.load! # needs Jets.config.project_name when using ssm in dotenv files
74
74
  Jets.config.project_name = parse_project_name # Must set again because JETS_PROJECT_NAME is possible
75
+ load_config_application # this overwrites Jets.config.project_name
75
76
  end
76
77
 
77
78
  def load_config_application
@@ -9,7 +9,6 @@ class Jets::Booter
9
9
  confirm_jets_project!
10
10
  Jets::Bundle.require
11
11
 
12
- Jets::Dotenv.load! # needs Jets.config.project_name when using ssm in dotenv files
13
12
  Jets.application.setup!
14
13
 
15
14
  # Turbines are loaded after setup_auto_load_paths in Jets.application.setup! Some Turbine options are defined
@@ -138,8 +138,6 @@ class Jets::Commands::Base < Thor
138
138
  def eager_load!
139
139
  return if Jets::Turbo.afterburner?
140
140
 
141
- # Jets::Dotenv.load! - so ENV vars can be used in class definitions.
142
- Jets::Dotenv.load!
143
141
  Jets.application.setup_auto_load_paths # in case an app/extension is defined
144
142
  Jets::Autoloaders.once.eager_load
145
143
  end
@@ -1,3 +1,3 @@
1
1
  module Jets
2
- VERSION = "1.9.25"
2
+ VERSION = "1.9.26"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jets
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.25
4
+ version: 1.9.26
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-07-04 00:00:00.000000000 Z
11
+ date: 2019-07-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionmailer