jets 1.9.3 → 1.9.4

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: 7e4df296b5e913ebf9840025c5c594825300384d58af8b65f7eb97a7a69a92dc
4
- data.tar.gz: 21b331d9ffc40ef87f8486cec4154badbe817d67c8f440de6e007730787af701
3
+ metadata.gz: cd13418c26d5609f1581c7e3ba1a042ab6ca76b96071fd05551b4b135a26781f
4
+ data.tar.gz: 5d33c3cbf1e8dfd40d9f6c5dc1b0cbb1c9e33ebdfdede41ebabb8221f8219ada
5
5
  SHA512:
6
- metadata.gz: f7098adf3105e2b8028f8587ee9b0a6282ba23ab7ba7df9d0d12a21ff9a535f6517802706d0f51e4ed7a3d6490da67a5773f2f608abb35465d93812973e7e095
7
- data.tar.gz: a434cddda46495faf5e48efdbc8b92cff8abc3c26acacf7004b4d25c7bb466ff1c535553bb7ad9841c8f7fad0a9acbe08b8046b05818019d8fced6f0673ce2af
6
+ metadata.gz: a28a39674af5b4e000fd3bbbb41c497cdcd7f95b543971f8f5fcc292788ea81425faa837f78d44e663d67e8d243e86ea25e22e9ab244096f66a75e96c4414032
7
+ data.tar.gz: 4254ee9ae21fa4f77c06cdd49a38724081bd0d958f8fcf04894b14237ea1496cb3b2edb87c5a5322a925554c5223b7d06b3b32e32fff1d24aa73a3a82bbf5f05
@@ -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.4]
7
+ - #265 bug fix: show jets url at the end of a jets deploy
8
+
6
9
  ## [1.9.3]
7
10
  - #264 auto reload routes for development
8
11
 
@@ -336,12 +336,11 @@ class Jets::Application
336
336
  @router ||= Jets::Router.new
337
337
  end
338
338
 
339
- def load_routes
340
- reload = Jets.env.development?
341
- @router = nil if reload # clear_routes
339
+ def load_routes(refresh: false)
340
+ @router = nil if refresh # clear_routes
342
341
 
343
342
  routes_file = "#{Jets.root}/config/routes.rb"
344
- if reload
343
+ if refresh
345
344
  load routes_file # always evaluate
346
345
  else
347
346
  require routes_file # evaluate once
@@ -24,7 +24,7 @@ class Jets::Controller::Middleware::Local
24
24
  return unless Jets.env.development?
25
25
 
26
26
  Jets::Router.clear!
27
- Jets.application.load_routes
27
+ Jets.application.load_routes(refresh: true)
28
28
  end
29
29
 
30
30
  def route_found?(route)
@@ -1,3 +1,3 @@
1
1
  module Jets
2
- VERSION = "1.9.3"
2
+ VERSION = "1.9.4"
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.9.3
4
+ version: 1.9.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen