jets 2.2.4 → 2.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/jets/commands/dotenv.rb +9 -0
- data/lib/jets/dotenv/show.rb +11 -0
- data/lib/jets/dotenv/ssm.rb +1 -1
- data/lib/jets/spec_helpers.rb +1 -1
- data/lib/jets/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f191f33dde592fc0b2aaa7b5959d2955c277ac428ebce5041e1e37133555f6be
|
4
|
+
data.tar.gz: 195760363e6602d1d983d361371455b2085987fe10255889b410ea72d7e0a173
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8e191c328450dd8b50fce323579ce9fe1859fcb688188eb26b01e48d67117a62f0bf0b29f50b2782bc1f1805bd151453ac904e81c36d95f2c9e05124e442b38
|
7
|
+
data.tar.gz: 408768c1d40e76ea4a40a6c5cbaf7447c5c5900ce429b91de626b8f8afac2d83ffe36fa79a13252d4c64bfb7979b5ca94f90422872577cfdeb78f0bd0b02d769
|
data/CHANGELOG.md
CHANGED
@@ -3,6 +3,10 @@
|
|
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
|
+
## [2.2.5]
|
7
|
+
- #374 fix rspec execution for projects with no database
|
8
|
+
- #375 add jets dotenv:show command
|
9
|
+
|
6
10
|
## [2.2.4]
|
7
11
|
- #346 Check that migrations have been ran as part of running project specs. If migrations haven't ran, exit and report an error.
|
8
12
|
|
data/lib/jets/dotenv/ssm.rb
CHANGED
@@ -23,7 +23,7 @@ class Jets::Dotenv
|
|
23
23
|
end
|
24
24
|
|
25
25
|
if @missing.empty?
|
26
|
-
interpolated_variables.to_h # success
|
26
|
+
interpolated_variables.to_h.sort_by { |k,_| k }.to_h # success
|
27
27
|
else
|
28
28
|
message = "Error loading .env variables. No matching SSM parameters found for:\n".color(:red)
|
29
29
|
message += @missing.map { |k,v,n| " #{k}=ssm:#{v} # ssm name: #{n}"}.join("\n")
|
data/lib/jets/spec_helpers.rb
CHANGED
@@ -9,7 +9,7 @@ module Jets
|
|
9
9
|
end
|
10
10
|
end
|
11
11
|
|
12
|
-
|
12
|
+
if File.exist?("#{Jets.root}/config/database.yml") && !ENV["SKIP_MIGRATION_CHECK"]
|
13
13
|
ActiveRecord::Tasks::DatabaseTasks.db_dir = "#{Jets.root}/db"
|
14
14
|
ActiveRecord::Migration.extend ActiveRecord::MigrationChecker
|
15
15
|
ActiveRecord::Migration.prepare_test_db
|
data/lib/jets/version.rb
CHANGED
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: 2.2.
|
4
|
+
version: 2.2.5
|
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-09-
|
11
|
+
date: 2019-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: actionmailer
|
@@ -660,6 +660,7 @@ files:
|
|
660
660
|
- lib/jets/commands/dbconsole.rb
|
661
661
|
- lib/jets/commands/delete.rb
|
662
662
|
- lib/jets/commands/deploy.rb
|
663
|
+
- lib/jets/commands/dotenv.rb
|
663
664
|
- lib/jets/commands/dynamodb.rb
|
664
665
|
- lib/jets/commands/dynamodb/migrate.rb
|
665
666
|
- lib/jets/commands/dynamodb/migrator.rb
|
@@ -781,6 +782,7 @@ files:
|
|
781
782
|
- lib/jets/core_ext/kernel.rb
|
782
783
|
- lib/jets/db.rb
|
783
784
|
- lib/jets/dotenv.rb
|
785
|
+
- lib/jets/dotenv/show.rb
|
784
786
|
- lib/jets/dotenv/ssm.rb
|
785
787
|
- lib/jets/erb.rb
|
786
788
|
- lib/jets/generator.rb
|