jets 1.4.7 → 1.4.8

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: c6ba0d2a9d73d6630c90dd66f30c7e10b21fb92780f2de13b1b0fc2d46bff9e9
4
- data.tar.gz: 39bc8ac742e75b1aaa14cec8e4c397797dcb21e39103547d9fbc0f3b504f85b9
3
+ metadata.gz: 28851f57737b507e7220fb461b5cf66a286d97a1787e20bbe49d4bde773b0206
4
+ data.tar.gz: 9f1acc78bb91be8d82023667d8b30dc0d2722fde639c1ec32651e2ea17b445ee
5
5
  SHA512:
6
- metadata.gz: f56ecaec491e205f9b9cafe42d492ae21bf052f6799a70153b1add5ea23f69b3cd3a01df7f6700dfa43e2217a188391cff88b06cb723bfe0ae5c3b4b2c8bdd18
7
- data.tar.gz: a424c99102d8f20ff2a76030d49b6d366a5e14e19ec5c8186bd148b1902ff027ed72fd546c210ea6c74b051c5aa409f6e64ce65475bc37d3762c3c31b1675278
6
+ metadata.gz: 712ef50748cbc8dc623e9f05d7caca13655a5ecd746615af30be68dbd003486ba1bade84fde43655f011bdc0b307bbdf9deda3861306653ba98b47d0e5c21bdb
7
+ data.tar.gz: 7975a4e04113419199b59d2489b2e4e9c87311a5e2ab016d01af54197d0e10913bb51b4e03318978328b94a7ff2b19f72143bdea86cdb04aae392685dc378dd8
data/CHANGELOG.md CHANGED
@@ -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.8]
7
+ - disable prewarm in `jets new` job mode
8
+
6
9
  ## [1.4.7]
7
10
  - only create preheat job if prewarm.enable
8
11
 
data/Gemfile.lock CHANGED
@@ -11,7 +11,7 @@ GIT
11
11
  PATH
12
12
  remote: .
13
13
  specs:
14
- jets (1.4.7)
14
+ jets (1.4.8)
15
15
  actionpack (>= 5.2.1)
16
16
  actionview (>= 5.2.1)
17
17
  activerecord (>= 5.2.1)
@@ -127,7 +127,7 @@ GEM
127
127
  mini_portile2 (2.4.0)
128
128
  minitest (5.11.3)
129
129
  mysql2 (0.5.2)
130
- nokogiri (1.9.1)
130
+ nokogiri (1.10.0)
131
131
  mini_portile2 (~> 2.4.0)
132
132
  rack (2.0.6)
133
133
  rack-proxy (0.6.5)
data/README.md CHANGED
@@ -195,6 +195,4 @@ For more documentation, check out the official docs: [Ruby on Jets](http://rubyo
195
195
  * [Jets Tutorial Extra Environments Part 7](https://blog.boltops.com/2018/09/13/jets-tutorial-extra-environments-part-7)
196
196
  * [Jets Tutorial Different Environments Part 8](https://blog.boltops.com/2018/09/26/jets-tutorial-different-environments-part-8)
197
197
  * [Jets Tutorial Polymorphic Support Part 9](https://blog.boltops.com/2018/09/27/jets-tutorial-polymorphic-support-part-9)
198
- * [Jets Tutorial Polymorphic Support Part 9](https://blog.boltops.com/2018/09/27/jets-tutorial-polymorphic-support-part-9)
199
- * [Jets Tutorial Polymorphic Support Part 9](https://blog.boltops.com/2018/09/27/jets-tutorial-polymorphic-support-part-9)
200
198
  * [Jets Delete Tutorial](https://blog.boltops.com/2018/11/12/jets-tutorial-jets-delete)
@@ -2,10 +2,14 @@ Jets.application.configure do
2
2
  config.project_name = "<%= @project_name %>"
3
3
  config.mode = "<%= @options[:mode] %>"
4
4
 
5
- # config.prewarm.enable = true # default is true
5
+ <% if @options[:mode] == 'job' -%>
6
+ config.prewarm.enable = false
7
+ <% else -%>
8
+ config.prewarm.enable = true # default is true
6
9
  # config.prewarm.rate = '30 minutes' # default is '30 minutes'
7
10
  # config.prewarm.concurrency = 2 # default is 2
8
11
  # config.prewarm.public_ratio = 3 # default is 3
12
+ <% end -%>
9
13
 
10
14
  # config.env_extra = 2 # can also set this with JETS_ENV_EXTRA
11
15
  # config.extra_autoload_paths = []
data/lib/jets/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Jets
2
- VERSION = "1.4.7"
2
+ VERSION = "1.4.8"
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.7
4
+ version: 1.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen