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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aeb92ed8375597715f099798076360100171fd3d
4
- data.tar.gz: e4eb7e564ee857784c67e0952001821cc3abaadb
3
+ metadata.gz: e6b6329b9cbc9946acbb285840f6b1f76096fff0
4
+ data.tar.gz: bbdc13ec42463f6b37b9cb4870e5aadc4966c941
5
5
  SHA512:
6
- metadata.gz: 350ed50f84bcc2d115b9223e2ce5bff5a41d36d679ff7002b358fc0dd8e59178bac1e180cc713ee04dcd450c2066e7fa54f755d57bfcaeea4369cd08b19196ef
7
- data.tar.gz: d5c093b73c97259debe0941bb544948dcae572d62148598f7fdc620462a6d045b3f82c5f02bd9b522f3bfe7ddf83a75dc60d5b6a440cf6dc5120386b525caf27
6
+ metadata.gz: a3487d6fa4d5a361b2afb5b7fecd6689b98088054c79e3045c059761622814c784d38e77e3622ca7054b819bd2863ffef719fb33d646b9ffcbf18d77e66d774a
7
+ data.tar.gz: b7c071bfcbdd2d32af353095f9040085246ad09cbccda22eb22ba7fda652281af3def6012eb997025b1dadfe67bbf37cefbe5538ec03627ab2c3122aa67a0451
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ # Flatrack 1.3.1 (March 30, 2014)
2
+
3
+ * Fix bug with rendering custom error pages.
4
+
5
+ # Flatrack 1.3.0 (March 30, 2014)
6
+
7
+ * Support #use_layout in order to switch between layouts.
8
+
1
9
  # Flatrack 1.2.1 (March 25, 2014)
2
10
 
3
11
  * Fully Documented Flatrack.
@@ -42,7 +42,7 @@ class Flatrack
42
42
  private
43
43
 
44
44
  def respond_with_error(code)
45
- Response.new(self).render(file: "#{code}.html", status: code)
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)
@@ -1,5 +1,5 @@
1
1
  # Version
2
2
  class Flatrack
3
3
  # @private
4
- VERSION = '1.3.0'
4
+ VERSION = '1.3.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flatrack
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Waldrip