flame 4.0.7.1 → 4.0.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/flame/route.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: 9321147aff3df22a9bb2b87150e51c7399299660
|
4
|
+
data.tar.gz: 54a8172fe1dda218fe68723b3d2ee1c0352ec5f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b6468b13a0dc138a44b662897026b27105671be32d2109b8a02ef6261cb53982e8319c7982cb71614585cbd08c954507e9cf186b7ce53397f5f8c22752c5eb2b
|
7
|
+
data.tar.gz: f025e272406a3ee31e6d898f16fcad395da8a4d4d4fcf25fd256a0065f7b810a04cb05a44214b184be4b58949db9a2f43fa8ec8a3265d9bf5bb80032b5ff12ed
|
data/lib/flame/route.rb
CHANGED
@@ -94,7 +94,8 @@ module Flame
|
|
94
94
|
## Required argument
|
95
95
|
param = args[path_part[1..-1].to_sym]
|
96
96
|
## Required argument is nil
|
97
|
-
|
97
|
+
error = Errors::ArgumentNotAssignedError.new(self[:path], path_part)
|
98
|
+
fail error if param.nil?
|
98
99
|
## All is ok
|
99
100
|
param
|
100
101
|
end
|
data/lib/flame/version.rb
CHANGED