megatron 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/megatron/version.rb +1 -1
- metadata +2 -3
- data/app/controllers/megatron/errors_controller.rb +0 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f33013da827e8ce96af6c3986062cee63e0f38e0
|
4
|
+
data.tar.gz: eeddb40bf780a7514e6703a9787ce9e12f0cbb3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be5baec58c8479a5d1d32c529db15bfc67c423bd9e70bc0c69f5ccf577c2f52f71b5aa2713b93fa9f035c840ba8d67d6d087aa7af52d8f2b0e3089a852c8ba9d
|
7
|
+
data.tar.gz: c6eee6067c7871b49b308e42e38061303dabb9c7c525a7a508a39d5ffd7df434b1171afa4630d30a8574ca9a621ff66b6808ed41fbbb2062a7e389ee9955ee73
|
data/lib/megatron/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: megatron
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jerome Gravel-Niquet
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-08-
|
11
|
+
date: 2015-08-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: block_helpers
|
@@ -76,7 +76,6 @@ files:
|
|
76
76
|
- MIT-LICENSE
|
77
77
|
- README.rdoc
|
78
78
|
- Rakefile
|
79
|
-
- app/controllers/megatron/errors_controller.rb
|
80
79
|
- app/helpers/megatron/application_helper.rb
|
81
80
|
- app/helpers/megatron/breadcrumb_helper.rb
|
82
81
|
- app/helpers/megatron/button_helper.rb
|
@@ -1,11 +0,0 @@
|
|
1
|
-
class Megatron::ErrorsController < ApplicationController
|
2
|
-
include Gaffe::Errors
|
3
|
-
layout 'megatron/errors'
|
4
|
-
|
5
|
-
# Render the correct template based on the exception “standard” code.
|
6
|
-
# Eg. For a 404 error, the `errors/not_found` template will be rendered.
|
7
|
-
def show
|
8
|
-
# Here, the `@exception` variable contains the original raised error
|
9
|
-
render "megatron/errors/#{@rescue_response}", status: @status_code
|
10
|
-
end
|
11
|
-
end
|