exception_handler 0.0.1 → 0.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d5bf16adaeef67e0807459705eca095488436d0f
4
- data.tar.gz: eb6a8530a6866a5c1d4b71aac07f0e7e1b38ea58
3
+ metadata.gz: 478dbbbe6e6490870752ca82e4db13ce327e5111
4
+ data.tar.gz: f6c8e74639bf6efdde8dbb6786b5e961ec9a5745
5
5
  SHA512:
6
- metadata.gz: 9c3cbfa5b35bf59dd5631583fb94c10d6dc9eed88b50f229f5108abfdda4c2c517abfd5e1e1240abfa12c15c04b603afb48f4a3d84bf6cec78c42877bd331fc9
7
- data.tar.gz: f79636ab9ac66f5e43cbf0cfb9670a9d93a5bd108c17b4c275d94a1baeaf03bf7a4ddc071a93e134b0585eb783a453f5952726b34f8b03e76d45729e7576049a
6
+ metadata.gz: caa25955e65a4794bd5c1f347ea78ae8823b2a471c123e020e8e1deec87a22bd5a6abd27111bf0da9e7096929fee8b11c30e8419486e5abd5efbe5555d800e76
7
+ data.tar.gz: 4d0dbad2d9702a6bb2745f23a20a9e8c2cdae10b894e715c240fb85a6524891398eb4b0ffc0e5f303541c01de3b75e233d6cf3d2c820f7cd4f984fa40aea2fb8
data/Gemfile CHANGED
@@ -1,4 +1,4 @@
1
1
  source 'https://rubygems.org'
2
2
 
3
3
  # Specify your gem's dependencies in exception_handler.gemspec
4
- gemspec
4
+ gemspec
@@ -6,18 +6,21 @@ require 'exception_handler/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "exception_handler"
8
8
  spec.version = ExceptionHandler::VERSION
9
- spec.authors = ["richpeck", "joe_hilton"]
9
+ spec.authors = ["Richard Peck", "Joe Hilton"]
10
10
  spec.email = ["rpeck@frontlineutilities.co.uk", "jhilton@frontlineutilities.co.uk"]
11
11
  spec.summary = %q{Middleware & Controller To Handle Errors In Production Rails Apps}
12
12
  spec.description = %q{Exception Handler gives you middleware & an exception controller, to both capture exceptions & store them in your db; and to have custom error pages.}
13
- spec.homepage = "http://frontlineutilities.co.uk/ruby-on-rails/exceiption-handler"
13
+ spec.homepage = "http://frontlineutilities.co.uk/ruby-on-rails/exception-handler"
14
14
  spec.license = "MIT"
15
+ spec.metadata = { "source" => "https://github.com/richpeck/exception_handler" }
15
16
 
16
17
  spec.files = `git ls-files -z`.split("\x0")
17
18
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
19
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
20
  spec.require_paths = ["lib"]
20
21
 
22
+ spec.post_install_message = "Thank you for installing!"
23
+
21
24
  spec.add_development_dependency "bundler", "~> 1.6"
22
25
  spec.add_development_dependency "rake"
23
26
  end
@@ -1,5 +1,7 @@
1
1
  require "exception_handler/version"
2
2
 
3
3
  module ExceptionHandler
4
- # Your code goes here...
5
- end
4
+ class Engine < ::Rails::Engine
5
+ config.exceptions_app = ->(env) { ExceptionController.action(:show).call(env) }
6
+ end
7
+ end
@@ -1,3 +1,3 @@
1
1
  module ExceptionHandler
2
- VERSION = "0.0.1"
3
- end
2
+ VERSION = "0.0.2"
3
+ end
metadata CHANGED
@@ -1,11 +1,11 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: exception_handler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
- - richpeck
8
- - joe_hilton
7
+ - Richard Peck
8
+ - Joe Hilton
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
@@ -56,11 +56,12 @@ files:
56
56
  - exception_handler.gemspec
57
57
  - lib/exception_handler.rb
58
58
  - lib/exception_handler/version.rb
59
- homepage: http://frontlineutilities.co.uk/ruby-on-rails/exceiption-handler
59
+ homepage: http://frontlineutilities.co.uk/ruby-on-rails/exception-handler
60
60
  licenses:
61
61
  - MIT
62
- metadata: {}
63
- post_install_message:
62
+ metadata:
63
+ source: https://github.com/richpeck/exception_handler
64
+ post_install_message: Thank you for installing!
64
65
  rdoc_options: []
65
66
  require_paths:
66
67
  - lib