public_rescue 0.5.0 → 0.6.0

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: aaf03d43f610e14d975735e823c40f9024c3768f
4
- data.tar.gz: 06c354d4dd377e6d370d95e1eb2eeaae9251eb41
3
+ metadata.gz: 859dde98b6b2b66316befb6381ebb9689ee3d5f9
4
+ data.tar.gz: cdca52210d95761542a6c517e5d997202fe49234
5
5
  SHA512:
6
- metadata.gz: 15a7ef176e536524f4d6fe79e4b3d84f73be282a1e801863ca76b188a0af0e788880e87c564537cf37dec5420a4e567ab84ad54d91e5578521953b01366ef9c0
7
- data.tar.gz: 424b0feada24ef74093398558978543fd3b412bb0851dfe1adc13fa43b4b5f46adbe506c40656c0713e4b5177dd964e992dccfc2b747a443723124e38753a013
6
+ metadata.gz: f9cffcede939896d6b0651749c03044f8d9b67c4bd4503d0327b4edf03c5f4cb7dfc676e7e9dd440a544daebda1ce701c1a58ceb259a5aec242b9ca0d9728b8a
7
+ data.tar.gz: 789ab0a655874afa12d81fabe9f84da2eb45998aa930e4d8f25e9b90161a954a1ee327abe7b843ca5e754b6613027240005af36f278ee2f5165cb24592a0cb97
data/Gemfile CHANGED
@@ -6,7 +6,7 @@ gem "rails", ">= 3.0"
6
6
  # Include everything needed to run rake, tests, features, etc.
7
7
  group :development do
8
8
  gem "shoulda", ">= 0"
9
- gem "bundler", "~> 1.3.5"
10
- gem "jeweler", "~> 2.0.0"
9
+ gem "bundler", "~> 1.11.2"
10
+ gem "jeweler", "~> 2.1.0"
11
11
  gem "simplecov", ">= 0"
12
12
  end
data/Gemfile.lock CHANGED
@@ -1,55 +1,64 @@
1
1
  GEM
2
2
  remote: http://rubygems.org/
3
3
  specs:
4
- abstract (1.0.0)
5
- actionmailer (3.0.7)
6
- actionpack (= 3.0.7)
7
- mail (~> 2.2.15)
8
- actionpack (3.0.7)
9
- activemodel (= 3.0.7)
10
- activesupport (= 3.0.7)
11
- builder (~> 2.1.2)
12
- erubis (~> 2.6.6)
13
- i18n (~> 0.5.0)
14
- rack (~> 1.2.1)
15
- rack-mount (~> 0.6.14)
16
- rack-test (~> 0.5.7)
17
- tzinfo (~> 0.3.23)
18
- activemodel (3.0.7)
19
- activesupport (= 3.0.7)
20
- builder (~> 2.1.2)
21
- i18n (~> 0.5.0)
22
- activerecord (3.0.7)
23
- activemodel (= 3.0.7)
24
- activesupport (= 3.0.7)
25
- arel (~> 2.0.2)
26
- tzinfo (~> 0.3.23)
27
- activeresource (3.0.7)
28
- activemodel (= 3.0.7)
29
- activesupport (= 3.0.7)
30
- activesupport (3.0.7)
31
- addressable (2.3.5)
32
- arel (2.0.10)
33
- builder (2.1.2)
34
- descendants_tracker (0.0.3)
35
- docile (1.1.2)
36
- erubis (2.6.6)
37
- abstract (>= 1.0.0)
38
- faraday (0.9.0)
4
+ actionmailer (4.2.6)
5
+ actionpack (= 4.2.6)
6
+ actionview (= 4.2.6)
7
+ activejob (= 4.2.6)
8
+ mail (~> 2.5, >= 2.5.4)
9
+ rails-dom-testing (~> 1.0, >= 1.0.5)
10
+ actionpack (4.2.6)
11
+ actionview (= 4.2.6)
12
+ activesupport (= 4.2.6)
13
+ rack (~> 1.6)
14
+ rack-test (~> 0.6.2)
15
+ rails-dom-testing (~> 1.0, >= 1.0.5)
16
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
17
+ actionview (4.2.6)
18
+ activesupport (= 4.2.6)
19
+ builder (~> 3.1)
20
+ erubis (~> 2.7.0)
21
+ rails-dom-testing (~> 1.0, >= 1.0.5)
22
+ rails-html-sanitizer (~> 1.0, >= 1.0.2)
23
+ activejob (4.2.6)
24
+ activesupport (= 4.2.6)
25
+ globalid (>= 0.3.0)
26
+ activemodel (4.2.6)
27
+ activesupport (= 4.2.6)
28
+ builder (~> 3.1)
29
+ activerecord (4.2.6)
30
+ activemodel (= 4.2.6)
31
+ activesupport (= 4.2.6)
32
+ arel (~> 6.0)
33
+ activesupport (4.2.6)
34
+ i18n (~> 0.7)
35
+ json (~> 1.7, >= 1.7.7)
36
+ minitest (~> 5.1)
37
+ thread_safe (~> 0.3, >= 0.3.4)
38
+ tzinfo (~> 1.1)
39
+ addressable (2.4.0)
40
+ arel (6.0.3)
41
+ builder (3.2.2)
42
+ concurrent-ruby (1.0.2)
43
+ descendants_tracker (0.0.4)
44
+ thread_safe (~> 0.3, >= 0.3.1)
45
+ docile (1.1.5)
46
+ erubis (2.7.0)
47
+ faraday (0.9.2)
39
48
  multipart-post (>= 1.2, < 3)
40
- git (1.2.6)
41
- github_api (0.11.1)
42
- addressable (~> 2.3)
43
- descendants_tracker (~> 0.0.1)
49
+ git (1.3.0)
50
+ github_api (0.14.0)
51
+ addressable (~> 2.4.0)
52
+ descendants_tracker (~> 0.0.4)
44
53
  faraday (~> 0.8, < 0.10)
45
- hashie (>= 1.2)
46
- multi_json (>= 1.7.5, < 2.0)
47
- nokogiri (~> 1.6.0)
54
+ hashie (>= 3.4)
48
55
  oauth2
49
- hashie (2.0.5)
50
- highline (1.6.20)
51
- i18n (0.5.0)
52
- jeweler (2.0.1)
56
+ globalid (0.3.6)
57
+ activesupport (>= 4.1.0)
58
+ hashie (3.4.4)
59
+ highline (1.7.8)
60
+ i18n (0.7.0)
61
+ jeweler (2.1.1)
53
62
  builder
54
63
  bundler (>= 1.0)
55
64
  git (>= 1.2.5)
@@ -58,66 +67,92 @@ GEM
58
67
  nokogiri (>= 1.5.10)
59
68
  rake
60
69
  rdoc
61
- json (1.8.1)
62
- jwt (0.1.11)
63
- multi_json (>= 1.5)
64
- mail (2.2.19)
65
- activesupport (>= 2.3.6)
66
- i18n (>= 0.4.0)
67
- mime-types (~> 1.16)
68
- treetop (~> 1.4.8)
69
- mime-types (1.16)
70
- mini_portile (0.5.2)
71
- multi_json (1.8.4)
70
+ semver
71
+ json (1.8.3)
72
+ jwt (1.5.1)
73
+ loofah (2.0.3)
74
+ nokogiri (>= 1.5.9)
75
+ mail (2.6.4)
76
+ mime-types (>= 1.16, < 4)
77
+ mime-types (3.1)
78
+ mime-types-data (~> 3.2015)
79
+ mime-types-data (3.2016.0521)
80
+ mini_portile2 (2.0.0)
81
+ minitest (5.9.0)
82
+ multi_json (1.12.1)
72
83
  multi_xml (0.5.5)
73
84
  multipart-post (2.0.0)
74
- nokogiri (1.6.1)
75
- mini_portile (~> 0.5.0)
76
- oauth2 (0.9.3)
85
+ nokogiri (1.6.7.2)
86
+ mini_portile2 (~> 2.0.0.rc2)
87
+ oauth2 (1.1.0)
77
88
  faraday (>= 0.8, < 0.10)
78
- jwt (~> 0.1.8)
89
+ jwt (~> 1.0, < 1.5.2)
79
90
  multi_json (~> 1.3)
80
91
  multi_xml (~> 0.5)
81
- rack (~> 1.2)
82
- polyglot (0.3.1)
83
- rack (1.2.2)
84
- rack-mount (0.6.14)
85
- rack (>= 1.0.0)
86
- rack-test (0.5.7)
92
+ rack (>= 1.2, < 3)
93
+ rack (1.6.4)
94
+ rack-test (0.6.3)
87
95
  rack (>= 1.0)
88
- rails (3.0.7)
89
- actionmailer (= 3.0.7)
90
- actionpack (= 3.0.7)
91
- activerecord (= 3.0.7)
92
- activeresource (= 3.0.7)
93
- activesupport (= 3.0.7)
94
- bundler (~> 1.0)
95
- railties (= 3.0.7)
96
- railties (3.0.7)
97
- actionpack (= 3.0.7)
98
- activesupport (= 3.0.7)
96
+ rails (4.2.6)
97
+ actionmailer (= 4.2.6)
98
+ actionpack (= 4.2.6)
99
+ actionview (= 4.2.6)
100
+ activejob (= 4.2.6)
101
+ activemodel (= 4.2.6)
102
+ activerecord (= 4.2.6)
103
+ activesupport (= 4.2.6)
104
+ bundler (>= 1.3.0, < 2.0)
105
+ railties (= 4.2.6)
106
+ sprockets-rails
107
+ rails-deprecated_sanitizer (1.0.3)
108
+ activesupport (>= 4.2.0.alpha)
109
+ rails-dom-testing (1.0.7)
110
+ activesupport (>= 4.2.0.beta, < 5.0)
111
+ nokogiri (~> 1.6.0)
112
+ rails-deprecated_sanitizer (>= 1.0.1)
113
+ rails-html-sanitizer (1.0.3)
114
+ loofah (~> 2.0)
115
+ railties (4.2.6)
116
+ actionpack (= 4.2.6)
117
+ activesupport (= 4.2.6)
99
118
  rake (>= 0.8.7)
100
- thor (~> 0.14.4)
101
- rake (0.9.0)
102
- rdoc (4.1.1)
119
+ thor (>= 0.18.1, < 2.0)
120
+ rake (11.1.2)
121
+ rdoc (4.2.2)
103
122
  json (~> 1.4)
104
- shoulda (2.11.3)
105
- simplecov (0.8.2)
123
+ semver (1.0.1)
124
+ shoulda (3.5.0)
125
+ shoulda-context (~> 1.0, >= 1.0.1)
126
+ shoulda-matchers (>= 1.4.1, < 3.0)
127
+ shoulda-context (1.2.1)
128
+ shoulda-matchers (2.8.0)
129
+ activesupport (>= 3.0.0)
130
+ simplecov (0.11.2)
106
131
  docile (~> 1.1.0)
107
- multi_json
108
- simplecov-html (~> 0.8.0)
109
- simplecov-html (0.8.0)
110
- thor (0.14.6)
111
- treetop (1.4.9)
112
- polyglot (>= 0.3.1)
113
- tzinfo (0.3.27)
132
+ json (~> 1.8)
133
+ simplecov-html (~> 0.10.0)
134
+ simplecov-html (0.10.0)
135
+ sprockets (3.6.0)
136
+ concurrent-ruby (~> 1.0)
137
+ rack (> 1, < 3)
138
+ sprockets-rails (3.0.4)
139
+ actionpack (>= 4.0)
140
+ activesupport (>= 4.0)
141
+ sprockets (>= 3.0.0)
142
+ thor (0.19.1)
143
+ thread_safe (0.3.5)
144
+ tzinfo (1.2.2)
145
+ thread_safe (~> 0.1)
114
146
 
115
147
  PLATFORMS
116
148
  ruby
117
149
 
118
150
  DEPENDENCIES
119
- bundler (~> 1.3.5)
120
- jeweler (~> 2.0.0)
151
+ bundler (~> 1.11.2)
152
+ jeweler (~> 2.1.0)
121
153
  rails (>= 3.0)
122
154
  shoulda
123
155
  simplecov
156
+
157
+ BUNDLED WITH
158
+ 1.11.2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.5.0
1
+ 0.6.0
data/lib/public_rescue.rb CHANGED
@@ -7,7 +7,8 @@ module PublicRescue
7
7
  extend ActiveSupport::Autoload
8
8
  autoload :ShowExceptions
9
9
  autoload :PublicErrorsController
10
+ autoload :PublicExceptions3
10
11
  autoload :PublicExceptions
11
12
  end
12
13
 
13
- require 'public_rescue/rails'
14
+ require 'public_rescue/rails'
@@ -1,13 +1,22 @@
1
1
  module PublicRescue
2
- class PublicExceptions
3
-
2
+ class PublicExceptions < ActionDispatch::PublicExceptions
3
+
4
+ def initialize
5
+ end
6
+
4
7
  def call(env)
5
-
6
- exception = env["action_dispatch.exception"]
7
- wrapper = ActionDispatch::ExceptionWrapper.new(env, exception)
8
-
9
- request = ActionDispatch::Request.new(env)
10
- status = wrapper.status_code
8
+ @env = env
9
+ super(env)
10
+ end
11
+
12
+ private
13
+
14
+ def render_html(status)
15
+ exception = @env["action_dispatch.exception"]
16
+ wrapper = ActionDispatch::ExceptionWrapper.new(@env, exception)
17
+
18
+ request = ActionDispatch::Request.new(@env)
19
+
11
20
  exception_details = {
12
21
  :request => request, :exception => exception,
13
22
  :status => status,
@@ -24,13 +33,8 @@ module PublicRescue
24
33
  controller = PublicErrorsController
25
34
  end
26
35
  response = controller.action(action).call(request.env).last
27
- render(status, response.body)
28
- end
29
-
30
- private
31
-
32
- def render(status, body)
33
- [status, {'Content-Type' => "text/html; charset=#{ActionDispatch::Response.default_charset}", 'Content-Length' => body.bytesize.to_s}, [body]]
36
+ render_format(status, 'text/html', response.body)
34
37
  end
38
+
35
39
  end
36
- end
40
+ end
@@ -0,0 +1,36 @@
1
+ module PublicRescue
2
+ class PublicExceptions3
3
+
4
+ def call(env)
5
+
6
+ exception = env["action_dispatch.exception"]
7
+ wrapper = ActionDispatch::ExceptionWrapper.new(env, exception)
8
+
9
+ request = ActionDispatch::Request.new(env)
10
+ status = wrapper.status_code
11
+ exception_details = {
12
+ :request => request, :exception => exception,
13
+ :status => status,
14
+ :application_trace => wrapper.application_trace,
15
+ :framework_trace => wrapper.framework_trace,
16
+ :full_trace => wrapper.full_trace
17
+ }
18
+ request.env['public_rescue.exception_details'] = exception_details
19
+ action = ActionDispatch::ExceptionWrapper.rescue_responses[exception.class.name]
20
+ controller_name = Rails.configuration.public_rescue.controller.to_s.camelize << 'Controller'
21
+ begin
22
+ controller = Rails.const_get(controller_name)
23
+ rescue NameError => n_E
24
+ controller = PublicErrorsController
25
+ end
26
+ response = controller.action(action).call(request.env).last
27
+ render(status, response.body)
28
+ end
29
+
30
+ private
31
+
32
+ def render(status, body)
33
+ [status, {'Content-Type' => "text/html; charset=#{ActionDispatch::Response.default_charset}", 'Content-Length' => body.bytesize.to_s}, [body]]
34
+ end
35
+ end
36
+ end
@@ -2,20 +2,24 @@ require 'public_rescue'
2
2
 
3
3
  module PublicRescue
4
4
  class Engine < Rails::Engine
5
-
5
+
6
6
  config.public_rescue = ActiveSupport::OrderedOptions.new
7
7
  config.public_rescue.controller = :public_errors
8
-
9
- if Rails::VERSION::MINOR == 2
10
- initializer "public_rescue.set_exceptions_app" do |app|
11
- app.config.exceptions_app = PublicRescue::PublicExceptions.new
12
- end
8
+
9
+ if Rails::VERSION::MAJOR >= 4
10
+ initializer "public_rescue.set_exceptions_app" do |app|
11
+ app.config.exceptions_app = PublicRescue::PublicExceptions.new
12
+ end
13
+ elsif (Rails::VERSION::MINOR == 3 && Rails::VERSION::MINOR == 2)
14
+ initializer "public_rescue.set_exceptions_app" do |app|
15
+ app.config.exceptions_app = PublicRescue::PublicExceptions3.new
16
+ end
13
17
  else
14
- initializer "public_rescue.add_middleware" do |app|
15
- app.middleware.swap ActionDispatch::ShowExceptions, PublicRescue::ShowExceptions, app.config.consider_all_requests_local
16
- end
18
+ initializer "public_rescue.add_middleware" do |app|
19
+ app.middleware.swap ActionDispatch::ShowExceptions, PublicRescue::ShowExceptions, app.config.consider_all_requests_local
20
+ end
17
21
  end
18
-
19
-
22
+
23
+
20
24
  end
21
- end
25
+ end
@@ -2,14 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
+ # stub: public_rescue 0.6.0 ruby lib
5
6
 
6
7
  Gem::Specification.new do |s|
7
8
  s.name = "public_rescue"
8
- s.version = "0.5.0"
9
+ s.version = "0.6.0"
9
10
 
10
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
+ s.require_paths = ["lib"]
11
13
  s.authors = ["Cyril Picard"]
12
- s.date = "2014-01-30"
14
+ s.date = "2016-05-30"
13
15
  s.description = "PublicRescue is a gem for rails application who want to display dynamic error pages. It creates a new Rack middleware which replaces ActionDispatch::ShowExceptions and overwrites the rescue_action_in_public method."
14
16
  s.email = "Cyril@picard.ch"
15
17
  s.extra_rdoc_files = [
@@ -33,6 +35,7 @@ Gem::Specification.new do |s|
33
35
  "lib/generators/template/controller.rb",
34
36
  "lib/public_rescue.rb",
35
37
  "lib/public_rescue/public_exceptions.rb",
38
+ "lib/public_rescue/public_exceptions3.rb",
36
39
  "lib/public_rescue/rails.rb",
37
40
  "lib/public_rescue/show_exceptions.rb",
38
41
  "public_rescue.gemspec",
@@ -41,8 +44,7 @@ Gem::Specification.new do |s|
41
44
  ]
42
45
  s.homepage = "http://github.com/cyrilpic/public_rescue"
43
46
  s.licenses = ["MIT"]
44
- s.require_paths = ["lib"]
45
- s.rubygems_version = "2.0.6"
47
+ s.rubygems_version = "2.5.1"
46
48
  s.summary = "Rails gem for displaying dynamic error pages."
47
49
 
48
50
  if s.respond_to? :specification_version then
@@ -51,21 +53,21 @@ Gem::Specification.new do |s|
51
53
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
52
54
  s.add_runtime_dependency(%q<rails>, [">= 3.0"])
53
55
  s.add_development_dependency(%q<shoulda>, [">= 0"])
54
- s.add_development_dependency(%q<bundler>, ["~> 1.3.5"])
55
- s.add_development_dependency(%q<jeweler>, ["~> 2.0.0"])
56
+ s.add_development_dependency(%q<bundler>, ["~> 1.11.2"])
57
+ s.add_development_dependency(%q<jeweler>, ["~> 2.1.0"])
56
58
  s.add_development_dependency(%q<simplecov>, [">= 0"])
57
59
  else
58
60
  s.add_dependency(%q<rails>, [">= 3.0"])
59
61
  s.add_dependency(%q<shoulda>, [">= 0"])
60
- s.add_dependency(%q<bundler>, ["~> 1.3.5"])
61
- s.add_dependency(%q<jeweler>, ["~> 2.0.0"])
62
+ s.add_dependency(%q<bundler>, ["~> 1.11.2"])
63
+ s.add_dependency(%q<jeweler>, ["~> 2.1.0"])
62
64
  s.add_dependency(%q<simplecov>, [">= 0"])
63
65
  end
64
66
  else
65
67
  s.add_dependency(%q<rails>, [">= 3.0"])
66
68
  s.add_dependency(%q<shoulda>, [">= 0"])
67
- s.add_dependency(%q<bundler>, ["~> 1.3.5"])
68
- s.add_dependency(%q<jeweler>, ["~> 2.0.0"])
69
+ s.add_dependency(%q<bundler>, ["~> 1.11.2"])
70
+ s.add_dependency(%q<jeweler>, ["~> 2.1.0"])
69
71
  s.add_dependency(%q<simplecov>, [">= 0"])
70
72
  end
71
73
  end
metadata CHANGED
@@ -1,83 +1,83 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: public_rescue
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cyril Picard
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-30 00:00:00.000000000 Z
11
+ date: 2016-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - '>='
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
19
  version: '3.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - '>='
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
26
  version: '3.0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: shoulda
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - '>='
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
33
  version: '0'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - '>='
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
40
  version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: bundler
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ~>
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: 1.3.5
47
+ version: 1.11.2
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ~>
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: 1.3.5
54
+ version: 1.11.2
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: jeweler
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - ~>
59
+ - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 2.0.0
61
+ version: 2.1.0
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - ~>
66
+ - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 2.0.0
68
+ version: 2.1.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: simplecov
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
- - - '>='
73
+ - - ">="
74
74
  - !ruby/object:Gem::Version
75
75
  version: '0'
76
76
  type: :development
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
- - - '>='
80
+ - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
83
  description: PublicRescue is a gem for rails application who want to display dynamic
@@ -90,7 +90,7 @@ extra_rdoc_files:
90
90
  - LICENSE.txt
91
91
  - README.rdoc
92
92
  files:
93
- - .document
93
+ - ".document"
94
94
  - Gemfile
95
95
  - Gemfile.lock
96
96
  - LICENSE.txt
@@ -106,6 +106,7 @@ files:
106
106
  - lib/generators/template/controller.rb
107
107
  - lib/public_rescue.rb
108
108
  - lib/public_rescue/public_exceptions.rb
109
+ - lib/public_rescue/public_exceptions3.rb
109
110
  - lib/public_rescue/rails.rb
110
111
  - lib/public_rescue/show_exceptions.rb
111
112
  - public_rescue.gemspec
@@ -121,17 +122,17 @@ require_paths:
121
122
  - lib
122
123
  required_ruby_version: !ruby/object:Gem::Requirement
123
124
  requirements:
124
- - - '>='
125
+ - - ">="
125
126
  - !ruby/object:Gem::Version
126
127
  version: '0'
127
128
  required_rubygems_version: !ruby/object:Gem::Requirement
128
129
  requirements:
129
- - - '>='
130
+ - - ">="
130
131
  - !ruby/object:Gem::Version
131
132
  version: '0'
132
133
  requirements: []
133
134
  rubyforge_project:
134
- rubygems_version: 2.0.6
135
+ rubygems_version: 2.5.1
135
136
  signing_key:
136
137
  specification_version: 4
137
138
  summary: Rails gem for displaying dynamic error pages.