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 +4 -4
- data/lib/flame/router.rb +2 -1
- data/lib/flame/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2e15b847e4fe635380de8382e20d0a2b279dde7b
|
4
|
+
data.tar.gz: '08512cc26beaa1f1f33b09c213afa8f4ebe42064'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de5ba814acd921154c0f8726b258dba673f319b7cefecbaddb1fde35328cecf005014f876166cc0fdf05879dbc418e14ec935690c9ef0c114ef1877734c192c2
|
7
|
+
data.tar.gz: 3b162cd50017f61d06f308c3808b0748bbd29e4ba8a75b173c82edd70a746e6c27b25cbb98a2e6689a42d5131d7b038c6df6eaf33836c206d36561601d5bddc0
|
data/lib/flame/router.rb
CHANGED
@@ -139,7 +139,8 @@ module Flame
|
|
139
139
|
|
140
140
|
## Execute block of refinings end sorting routes
|
141
141
|
def execute(&block)
|
142
|
-
|
142
|
+
instance_exec(&block) if block
|
143
|
+
defaults
|
143
144
|
@routes.sort! { |a, b| b.path <=> a.path }
|
144
145
|
end
|
145
146
|
|
data/lib/flame/version.rb
CHANGED