flame 3.5.0 → 3.5.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/flame/dispatcher.rb +5 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: edd8f37ca2180414b5428f5d5bbb5cf146daa356
4
- data.tar.gz: 1f79bd46b74f82ac879c470dc2df4d59d2120adc
3
+ metadata.gz: ddfac9ca1683d37d1782db0a2d75a6ead827ad5f
4
+ data.tar.gz: 4e48da1837081b1e75b6cda68129a35afcb78bd7
5
5
  SHA512:
6
- metadata.gz: 907034532dbbd46fad3ecb8963579a4ec92f161b0aad1c798a663aea55b46e38efa1b6a4e549d6a1706b5cd42973fb130878ac7b56d96e491ff0e027ec742a87
7
- data.tar.gz: 19b1337d223b707b2ed27b692d718746f895fc7d439ee3bf296742889dcc19525ffe49b1f5a46943b2cadeb6e5d285d82bb80ca7fb9cf703d46ec6a6e01d9340
6
+ metadata.gz: 399fef3674ef559d1bf12de273a0ad922be1c5b490039af822b54fce6b2b9cc3304fef066506dda33d197a53cb60ea2e8dd26525f72a4bb8b5f098d0aef1a332
7
+ data.tar.gz: d10eb91b13908d53218b69152faf652ae0a834cea16ec2dd46894cd298d75a320c7a47777c4cf3691dca3313c3ab0be2c44e4764f7f1451302969e8c28f1053d
@@ -109,9 +109,12 @@ module Flame
109
109
  end
110
110
 
111
111
  def try_error(error_status = nil, exec_route = nil)
112
- exec_route = nearest_route_for_request.executable unless exec_route
113
112
  status error_status if error_status
114
- exec_route.execute_errors(status)
113
+ unless exec_route
114
+ route = nearest_route_for_request unless exec_route
115
+ exec_route = route.executable if route
116
+ end
117
+ exec_route.execute_errors(status) if exec_route
115
118
  halt
116
119
  end
117
120
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flame
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.0
4
+ version: 3.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Popov