public_rescue 0.2.5 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile CHANGED
@@ -7,6 +7,6 @@ gem "rails", "~> 3.0"
7
7
  group :development do
8
8
  gem "shoulda", ">= 0"
9
9
  gem "bundler", "~> 1.0.0"
10
- gem "jeweler", "~> 1.5.2"
10
+ gem "jeweler", "~> 1.6.0"
11
11
  gem "rcov", ">= 0"
12
12
  end
data/Gemfile.lock CHANGED
@@ -28,13 +28,13 @@ GEM
28
28
  activemodel (= 3.0.7)
29
29
  activesupport (= 3.0.7)
30
30
  activesupport (3.0.7)
31
- arel (2.0.9)
31
+ arel (2.0.10)
32
32
  builder (2.1.2)
33
33
  erubis (2.6.6)
34
34
  abstract (>= 1.0.0)
35
35
  git (1.2.5)
36
36
  i18n (0.5.0)
37
- jeweler (1.5.2)
37
+ jeweler (1.6.0)
38
38
  bundler (~> 1.0.0)
39
39
  git (>= 1.2.5)
40
40
  rake
@@ -63,7 +63,7 @@ GEM
63
63
  activesupport (= 3.0.7)
64
64
  rake (>= 0.8.7)
65
65
  thor (~> 0.14.4)
66
- rake (0.8.7)
66
+ rake (0.9.0)
67
67
  rcov (0.9.9)
68
68
  shoulda (2.11.3)
69
69
  thor (0.14.6)
@@ -76,7 +76,7 @@ PLATFORMS
76
76
 
77
77
  DEPENDENCIES
78
78
  bundler (~> 1.0.0)
79
- jeweler (~> 1.5.2)
79
+ jeweler (~> 1.6.0)
80
80
  rails (~> 3.0)
81
81
  rcov
82
82
  shoulda
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.5
1
+ 0.3.0
@@ -7,7 +7,7 @@ module PublicRescue
7
7
  config.public_rescue.controller = :public_errors
8
8
 
9
9
  initializer "devise.add_middleware" do |app|
10
- app.middleware.swap ActionDispatch::ShowExceptions, PublicRescue::ShowExceptions
10
+ app.middleware.swap ActionDispatch::ShowExceptions, PublicRescue::ShowExceptions, app.consider_all_requests_local
11
11
  end
12
12
 
13
13
 
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{public_rescue}
8
- s.version = "0.2.5"
8
+ s.version = "0.3.0"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
- s.authors = ["Cyril Picard"]
12
- s.date = %q{2011-05-12}
11
+ s.authors = [%q{Cyril Picard}]
12
+ s.date = %q{2011-07-27}
13
13
  s.description = %q{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
14
  s.email = %q{Cyril@picard.ch}
15
15
  s.extra_rdoc_files = [
@@ -39,14 +39,10 @@ Gem::Specification.new do |s|
39
39
  "test/test_public_rescue.rb"
40
40
  ]
41
41
  s.homepage = %q{http://github.com/cyrilpic/public_rescue}
42
- s.licenses = ["MIT"]
43
- s.require_paths = ["lib"]
44
- s.rubygems_version = %q{1.7.2}
42
+ s.licenses = [%q{MIT}]
43
+ s.require_paths = [%q{lib}]
44
+ s.rubygems_version = %q{1.8.5}
45
45
  s.summary = %q{Rails3 gem for displaying dynamic error pages.}
46
- s.test_files = [
47
- "test/helper.rb",
48
- "test/test_public_rescue.rb"
49
- ]
50
46
 
51
47
  if s.respond_to? :specification_version then
52
48
  s.specification_version = 3
@@ -55,20 +51,20 @@ Gem::Specification.new do |s|
55
51
  s.add_runtime_dependency(%q<rails>, ["~> 3.0"])
56
52
  s.add_development_dependency(%q<shoulda>, [">= 0"])
57
53
  s.add_development_dependency(%q<bundler>, ["~> 1.0.0"])
58
- s.add_development_dependency(%q<jeweler>, ["~> 1.5.2"])
54
+ s.add_development_dependency(%q<jeweler>, ["~> 1.6.0"])
59
55
  s.add_development_dependency(%q<rcov>, [">= 0"])
60
56
  else
61
57
  s.add_dependency(%q<rails>, ["~> 3.0"])
62
58
  s.add_dependency(%q<shoulda>, [">= 0"])
63
59
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
64
- s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
60
+ s.add_dependency(%q<jeweler>, ["~> 1.6.0"])
65
61
  s.add_dependency(%q<rcov>, [">= 0"])
66
62
  end
67
63
  else
68
64
  s.add_dependency(%q<rails>, ["~> 3.0"])
69
65
  s.add_dependency(%q<shoulda>, [">= 0"])
70
66
  s.add_dependency(%q<bundler>, ["~> 1.0.0"])
71
- s.add_dependency(%q<jeweler>, ["~> 1.5.2"])
67
+ s.add_dependency(%q<jeweler>, ["~> 1.6.0"])
72
68
  s.add_dependency(%q<rcov>, [">= 0"])
73
69
  end
74
70
  end
metadata CHANGED
@@ -1,107 +1,81 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: public_rescue
3
- version: !ruby/object:Gem::Version
4
- hash: 29
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.3.0
5
5
  prerelease:
6
- segments:
7
- - 0
8
- - 2
9
- - 5
10
- version: 0.2.5
11
6
  platform: ruby
12
- authors:
7
+ authors:
13
8
  - Cyril Picard
14
9
  autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
-
18
- date: 2011-05-12 00:00:00 Z
19
- dependencies:
20
- - !ruby/object:Gem::Dependency
12
+ date: 2011-07-27 00:00:00.000000000Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
21
15
  name: rails
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
16
+ requirement: &2166164880 !ruby/object:Gem::Requirement
24
17
  none: false
25
- requirements:
18
+ requirements:
26
19
  - - ~>
27
- - !ruby/object:Gem::Version
28
- hash: 7
29
- segments:
30
- - 3
31
- - 0
32
- version: "3.0"
20
+ - !ruby/object:Gem::Version
21
+ version: '3.0'
33
22
  type: :runtime
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: shoulda
37
23
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
24
+ version_requirements: *2166164880
25
+ - !ruby/object:Gem::Dependency
26
+ name: shoulda
27
+ requirement: &2166164360 !ruby/object:Gem::Requirement
39
28
  none: false
40
- requirements:
41
- - - ">="
42
- - !ruby/object:Gem::Version
43
- hash: 3
44
- segments:
45
- - 0
46
- version: "0"
29
+ requirements:
30
+ - - ! '>='
31
+ - !ruby/object:Gem::Version
32
+ version: '0'
47
33
  type: :development
48
- version_requirements: *id002
49
- - !ruby/object:Gem::Dependency
50
- name: bundler
51
34
  prerelease: false
52
- requirement: &id003 !ruby/object:Gem::Requirement
35
+ version_requirements: *2166164360
36
+ - !ruby/object:Gem::Dependency
37
+ name: bundler
38
+ requirement: &2166163760 !ruby/object:Gem::Requirement
53
39
  none: false
54
- requirements:
40
+ requirements:
55
41
  - - ~>
56
- - !ruby/object:Gem::Version
57
- hash: 23
58
- segments:
59
- - 1
60
- - 0
61
- - 0
42
+ - !ruby/object:Gem::Version
62
43
  version: 1.0.0
63
44
  type: :development
64
- version_requirements: *id003
65
- - !ruby/object:Gem::Dependency
66
- name: jeweler
67
45
  prerelease: false
68
- requirement: &id004 !ruby/object:Gem::Requirement
46
+ version_requirements: *2166163760
47
+ - !ruby/object:Gem::Dependency
48
+ name: jeweler
49
+ requirement: &2166163160 !ruby/object:Gem::Requirement
69
50
  none: false
70
- requirements:
51
+ requirements:
71
52
  - - ~>
72
- - !ruby/object:Gem::Version
73
- hash: 7
74
- segments:
75
- - 1
76
- - 5
77
- - 2
78
- version: 1.5.2
53
+ - !ruby/object:Gem::Version
54
+ version: 1.6.0
79
55
  type: :development
80
- version_requirements: *id004
81
- - !ruby/object:Gem::Dependency
82
- name: rcov
83
56
  prerelease: false
84
- requirement: &id005 !ruby/object:Gem::Requirement
57
+ version_requirements: *2166163160
58
+ - !ruby/object:Gem::Dependency
59
+ name: rcov
60
+ requirement: &2166162560 !ruby/object:Gem::Requirement
85
61
  none: false
86
- requirements:
87
- - - ">="
88
- - !ruby/object:Gem::Version
89
- hash: 3
90
- segments:
91
- - 0
92
- version: "0"
62
+ requirements:
63
+ - - ! '>='
64
+ - !ruby/object:Gem::Version
65
+ version: '0'
93
66
  type: :development
94
- version_requirements: *id005
95
- 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.
67
+ prerelease: false
68
+ version_requirements: *2166162560
69
+ description: PublicRescue is a gem for rails application who want to display dynamic
70
+ error pages. It creates a new Rack middleware which replaces ActionDispatch::ShowExceptions
71
+ and overwrites the rescue_action_in_public method.
96
72
  email: Cyril@picard.ch
97
73
  executables: []
98
-
99
74
  extensions: []
100
-
101
- extra_rdoc_files:
75
+ extra_rdoc_files:
102
76
  - LICENSE.txt
103
77
  - README.rdoc
104
- files:
78
+ files:
105
79
  - .document
106
80
  - Gemfile
107
81
  - Gemfile.lock
@@ -123,38 +97,31 @@ files:
123
97
  - test/helper.rb
124
98
  - test/test_public_rescue.rb
125
99
  homepage: http://github.com/cyrilpic/public_rescue
126
- licenses:
100
+ licenses:
127
101
  - MIT
128
102
  post_install_message:
129
103
  rdoc_options: []
130
-
131
- require_paths:
104
+ require_paths:
132
105
  - lib
133
- required_ruby_version: !ruby/object:Gem::Requirement
106
+ required_ruby_version: !ruby/object:Gem::Requirement
134
107
  none: false
135
- requirements:
136
- - - ">="
137
- - !ruby/object:Gem::Version
138
- hash: 3
139
- segments:
108
+ requirements:
109
+ - - ! '>='
110
+ - !ruby/object:Gem::Version
111
+ version: '0'
112
+ segments:
140
113
  - 0
141
- version: "0"
142
- required_rubygems_version: !ruby/object:Gem::Requirement
114
+ hash: 576363728652943548
115
+ required_rubygems_version: !ruby/object:Gem::Requirement
143
116
  none: false
144
- requirements:
145
- - - ">="
146
- - !ruby/object:Gem::Version
147
- hash: 3
148
- segments:
149
- - 0
150
- version: "0"
117
+ requirements:
118
+ - - ! '>='
119
+ - !ruby/object:Gem::Version
120
+ version: '0'
151
121
  requirements: []
152
-
153
122
  rubyforge_project:
154
- rubygems_version: 1.7.2
123
+ rubygems_version: 1.8.5
155
124
  signing_key:
156
125
  specification_version: 3
157
126
  summary: Rails3 gem for displaying dynamic error pages.
158
- test_files:
159
- - test/helper.rb
160
- - test/test_public_rescue.rb
127
+ test_files: []