flatrack 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/flatrack/request.rb +1 -1
- data/lib/flatrack/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: e6b6329b9cbc9946acbb285840f6b1f76096fff0
|
4
|
+
data.tar.gz: bbdc13ec42463f6b37b9cb4870e5aadc4966c941
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3487d6fa4d5a361b2afb5b7fecd6689b98088054c79e3045c059761622814c784d38e77e3622ca7054b819bd2863ffef719fb33d646b9ffcbf18d77e66d774a
|
7
|
+
data.tar.gz: b7c071bfcbdd2d32af353095f9040085246ad09cbccda22eb22ba7fda652281af3def6012eb997025b1dadfe67bbf37cefbe5538ec03627ab2c3122aa67a0451
|
data/CHANGELOG.md
CHANGED
data/lib/flatrack/request.rb
CHANGED
@@ -42,7 +42,7 @@ class Flatrack
|
|
42
42
|
private
|
43
43
|
|
44
44
|
def respond_with_error(code)
|
45
|
-
Response.new(self).render(file:
|
45
|
+
Response.new(self).render(file: code, status: code)
|
46
46
|
rescue FileNotFound
|
47
47
|
file = File.join Flatrack.gem_root, '../error_pages', "#{code}.html"
|
48
48
|
Response.new(self).render(file: file, status: code)
|
data/lib/flatrack/version.rb
CHANGED