forked from richpeck/exception_handler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
exception_handler.gemspec
64 lines (48 loc) · 2.6 KB
/
exception_handler.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
########################################################################################
########################################################################################
# => Version
require_relative 'lib/exception_handler/version'
##############################################################
##############################################################
## Specs ##
Gem::Specification.new do |s|
## General ##
s.name = "exception_handler"
s.authors = ["R.Peck"]
s.email = ["[email protected]"]
s.version = ExceptionHandler::VERSION::STRING
s.platform = Gem::Platform::RUBY
## Details ##
s.summary = %q{Rails gem to show custom error pages in production. Also logs errors in db & sends notification emails}
s.description = %q{Rails gem to create custom error pages. Captures exceptions using "exception_app" callback, routing to "Exception" controller, rendering the view as required.}
s.post_install_message = %q{ExceptionHandler 0.8.0.0 → New "config" (config.exception_handler = {exceptions: {layout: 'x', notification: true, action: {redirect_to root_path} }} ). https://www.github.com/richpeck/exception_handler#config for more info. }
s.homepage = "https://github.com/richpeck/exception_handler"
## License ##
s.license = "MIT"
##############################################################
##############################################################
## Files ##
s.files = `git ls-files -z`.split("\x0")
s.files.reject! { |fn| fn.include? "readme" } #-> https://github.com/gauntlt/gauntlt/blob/master/gauntlt.gemspec#L16
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
s.test_files = s.files.grep(%r{^(test|spec|features)/}) unless RUBY_VERSION >= "2.2.0" #-> deprecated in Ruby 2.2.0
s.require_paths = ["lib"]
##############################################################
##############################################################
## Ruby ##
s.required_ruby_version = ">= 2.1.0"
## Runtime
s.add_dependency "bundler"
s.add_dependency "rails", ">= 4.2.0"
s.add_dependency "responders"
## Extras ##
s.add_development_dependency "autoprefixer-rails"
## Dev ##
s.add_development_dependency "rake"
s.add_development_dependency "rspec"
s.add_development_dependency "rspec-rails"
s.add_development_dependency "coveralls"
s.add_development_dependency "sqlite3", ">= 1.3.10"
##############################################################
##############################################################
end