flame 4.7.4 → 4.8.0

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
  SHA1:
3
- metadata.gz: db65a3c8ddcc20b17eba7c861d4e3312c50c4de3
4
- data.tar.gz: 0dedc0d40dd716a783d7f8902f72b7850de4413c
3
+ metadata.gz: 2e15b847e4fe635380de8382e20d0a2b279dde7b
4
+ data.tar.gz: '08512cc26beaa1f1f33b09c213afa8f4ebe42064'
5
5
  SHA512:
6
- metadata.gz: 67a398ed323183b5d49750ed8f7220993b2dd607e6ce6a2d3004716eb1928b71a7cb18256d3f7dee063913447d1f8df3397751c85293934bd487302fc2090510
7
- data.tar.gz: c357eeb4004523028079a6ef602449e0d92751fd408b83e5b9c3bc04ad6679e3b0cadd4744911dc5a4c5d85c02a501129a9e493ff0d9576ac3f77b7e50c6fc02
6
+ metadata.gz: de5ba814acd921154c0f8726b258dba673f319b7cefecbaddb1fde35328cecf005014f876166cc0fdf05879dbc418e14ec935690c9ef0c114ef1877734c192c2
7
+ data.tar.gz: 3b162cd50017f61d06f308c3808b0748bbd29e4ba8a75b173c82edd70a746e6c27b25cbb98a2e6689a42d5131d7b038c6df6eaf33836c206d36561601d5bddc0
@@ -139,7 +139,8 @@ module Flame
139
139
 
140
140
  ## Execute block of refinings end sorting routes
141
141
  def execute(&block)
142
- block.nil? ? defaults : instance_exec(&block)
142
+ instance_exec(&block) if block
143
+ defaults
143
144
  @routes.sort! { |a, b| b.path <=> a.path }
144
145
  end
145
146
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Flame
4
- VERSION = '4.7.4'.freeze
4
+ VERSION = '4.8.0'.freeze
5
5
  end
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: 4.7.4
4
+ version: 4.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Popov