jets 0.8.6 → 0.8.8
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 +4 -4
- data/CHANGELOG.md +7 -1
- data/Gemfile.lock +1 -1
- data/lib/jets/application.rb +1 -0
- data/lib/jets/commands/help/console.md +8 -0
- data/lib/jets/commands/templates/skeleton/Gemfile.tt +1 -5
- data/lib/jets/dotenv.rb +6 -5
- data/lib/jets/job/dsl.rb +1 -1
- data/lib/jets/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 56dd075a80453ed4f7e6e684f64060915cfbb01cec7ccff68427507a403b5cf7
|
4
|
+
data.tar.gz: a0f48fffbdb695cff01a05494402013945d7a51cab62def79beee48722dd2964
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1f278333701df438a6e55db6a1b15999b00a4e5d41e0bea1df098920006eadf38eff02885ee93a7efaad9bf03bb04b847bf57151f06d306bd0235ff0cb0447c3
|
7
|
+
data.tar.gz: c17110bf29063c2e2256f20fa295b906857b7e9161884ba5635397cbba7ad73ec5949a1eec94ee97a158febd9516aabf876265f4503b6541e884a913d512fc54
|
data/CHANGELOG.md
CHANGED
@@ -3,12 +3,18 @@
|
|
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
|
+
## [0.8.8]
|
7
|
+
- fix cron expression
|
8
|
+
|
9
|
+
## [0.8.7]
|
10
|
+
- add JETS_ENV_REMOTE and fix database config load for jets console
|
11
|
+
|
6
12
|
## [0.8.6]
|
7
13
|
- fix local server
|
8
14
|
|
9
15
|
## [0.8.5]
|
10
16
|
- Rename to Camelizer PR #23
|
11
|
-
- Fix helpers PR #22
|
17
|
+
- Fix helpers PR #22
|
12
18
|
|
13
19
|
## [0.8.4]
|
14
20
|
- fix custom iam policies
|
data/Gemfile.lock
CHANGED
data/lib/jets/application.rb
CHANGED
@@ -8,3 +8,11 @@
|
|
8
8
|
>> Jets.env
|
9
9
|
=> "development"
|
10
10
|
>>
|
11
|
+
|
12
|
+
## Use .env.development.remote
|
13
|
+
|
14
|
+
To use the remote values also in the `jets console` you can use the `JETS_ENV_REMOTE=1` env variable. Example:
|
15
|
+
|
16
|
+
JETS_ENV_REMOTE=1 jets console
|
17
|
+
|
18
|
+
More info at [Env Files](http://rubyonjets.com/docs/env-files/)
|
@@ -1,10 +1,6 @@
|
|
1
1
|
source "https://rubygems.org"
|
2
2
|
|
3
|
-
|
4
|
-
gem "jets", path: "#{ENV['HOME']}/environment/jets"
|
5
|
-
else
|
6
|
-
gem "jets", git: "https://github.com/tongueroo/jets.git", submodules: true
|
7
|
-
end
|
3
|
+
gem "jets"
|
8
4
|
|
9
5
|
<% if @webpacker -%>
|
10
6
|
# Include webpacker if you are you are building html pages
|
data/lib/jets/dotenv.rb
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
require 'dotenv'
|
2
2
|
|
3
3
|
class Jets::Dotenv
|
4
|
-
def self.load!(
|
5
|
-
new(
|
4
|
+
def self.load!(remote=false)
|
5
|
+
new(remote).load!
|
6
6
|
end
|
7
7
|
|
8
|
-
def initialize(
|
9
|
-
@
|
8
|
+
def initialize(remote=false)
|
9
|
+
@remote = remote
|
10
|
+
@remote = ENV['JETS_ENV_REMOTE'] if ENV['JETS_ENV_REMOTE']
|
10
11
|
end
|
11
12
|
|
12
13
|
def load!
|
@@ -27,7 +28,7 @@ class Jets::Dotenv
|
|
27
28
|
root.join(".env.#{Jets.env}"),
|
28
29
|
root.join(".env.#{Jets.env}.local"),
|
29
30
|
]
|
30
|
-
files << root.join(".env.#{Jets.env}.remote") if @
|
31
|
+
files << root.join(".env.#{Jets.env}.remote") if @remote
|
31
32
|
files.compact
|
32
33
|
end
|
33
34
|
|
data/lib/jets/job/dsl.rb
CHANGED
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: 0.8.
|
4
|
+
version: 0.8.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tung Nguyen
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-09-
|
11
|
+
date: 2018-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|