mosaic-errors 2.0.1 → 2.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/config/routes.rb +1 -1
- data/lib/generators/USAGE +9 -0
- data/lib/generators/errors_generator.rb +8 -0
- data/lib/mosaic/errors/engine.rb +4 -2
- data/lib/mosaic/errors/version.rb +1 -1
- metadata +4 -2
data/config/routes.rb
CHANGED
@@ -0,0 +1,9 @@
|
|
1
|
+
Usage:
|
2
|
+
rails generate errors setup
|
3
|
+
|
4
|
+
This will create:
|
5
|
+
- A routing entry in config/routes.rb for "mount Mosaic::Errors::Engine => '/'"
|
6
|
+
- A config entry in config/application.rb for "config.exceptions_app = self.routes"
|
7
|
+
|
8
|
+
Description:
|
9
|
+
This will generate an entry in Routing table and update Application.rb to load MosaicErros engine
|
data/lib/mosaic/errors/engine.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mosaic-errors
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-05-
|
12
|
+
date: 2013-05-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: haml
|
@@ -83,6 +83,8 @@ files:
|
|
83
83
|
- app/views/errors/layouts/application.html
|
84
84
|
- config/routes.rb
|
85
85
|
- install.rb
|
86
|
+
- lib/generators/USAGE
|
87
|
+
- lib/generators/errors_generator.rb
|
86
88
|
- lib/mosaic-errors.rb
|
87
89
|
- lib/mosaic/errors.rb
|
88
90
|
- lib/mosaic/errors/engine.rb
|