public_rescue 0.4.1 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +4 -4
- data/Gemfile.lock +49 -8
- data/Rakefile +7 -8
- data/VERSION +1 -1
- data/public_rescue.gemspec +17 -17
- metadata +44 -34
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: aaf03d43f610e14d975735e823c40f9024c3768f
|
4
|
+
data.tar.gz: 06c354d4dd377e6d370d95e1eb2eeaae9251eb41
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 15a7ef176e536524f4d6fe79e4b3d84f73be282a1e801863ca76b188a0af0e788880e87c564537cf37dec5420a4e567ab84ad54d91e5578521953b01366ef9c0
|
7
|
+
data.tar.gz: 424b0feada24ef74093398558978543fd3b412bb0851dfe1adc13fa43b4b5f46adbe506c40656c0713e4b5177dd964e992dccfc2b747a443723124e38753a013
|
data/Gemfile
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
source "http://rubygems.org"
|
2
2
|
|
3
|
-
gem "rails", "
|
3
|
+
gem "rails", ">= 3.0"
|
4
4
|
|
5
5
|
# Add dependencies to develop your gem here.
|
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.
|
10
|
-
gem "jeweler", "~>
|
11
|
-
gem "
|
9
|
+
gem "bundler", "~> 1.3.5"
|
10
|
+
gem "jeweler", "~> 2.0.0"
|
11
|
+
gem "simplecov", ">= 0"
|
12
12
|
end
|
data/Gemfile.lock
CHANGED
@@ -28,22 +28,57 @@ GEM
|
|
28
28
|
activemodel (= 3.0.7)
|
29
29
|
activesupport (= 3.0.7)
|
30
30
|
activesupport (3.0.7)
|
31
|
+
addressable (2.3.5)
|
31
32
|
arel (2.0.10)
|
32
33
|
builder (2.1.2)
|
34
|
+
descendants_tracker (0.0.3)
|
35
|
+
docile (1.1.2)
|
33
36
|
erubis (2.6.6)
|
34
37
|
abstract (>= 1.0.0)
|
35
|
-
|
38
|
+
faraday (0.9.0)
|
39
|
+
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)
|
44
|
+
faraday (~> 0.8, < 0.10)
|
45
|
+
hashie (>= 1.2)
|
46
|
+
multi_json (>= 1.7.5, < 2.0)
|
47
|
+
nokogiri (~> 1.6.0)
|
48
|
+
oauth2
|
49
|
+
hashie (2.0.5)
|
50
|
+
highline (1.6.20)
|
36
51
|
i18n (0.5.0)
|
37
|
-
jeweler (
|
38
|
-
|
52
|
+
jeweler (2.0.1)
|
53
|
+
builder
|
54
|
+
bundler (>= 1.0)
|
39
55
|
git (>= 1.2.5)
|
56
|
+
github_api
|
57
|
+
highline (>= 1.6.15)
|
58
|
+
nokogiri (>= 1.5.10)
|
40
59
|
rake
|
60
|
+
rdoc
|
61
|
+
json (1.8.1)
|
62
|
+
jwt (0.1.11)
|
63
|
+
multi_json (>= 1.5)
|
41
64
|
mail (2.2.19)
|
42
65
|
activesupport (>= 2.3.6)
|
43
66
|
i18n (>= 0.4.0)
|
44
67
|
mime-types (~> 1.16)
|
45
68
|
treetop (~> 1.4.8)
|
46
69
|
mime-types (1.16)
|
70
|
+
mini_portile (0.5.2)
|
71
|
+
multi_json (1.8.4)
|
72
|
+
multi_xml (0.5.5)
|
73
|
+
multipart-post (2.0.0)
|
74
|
+
nokogiri (1.6.1)
|
75
|
+
mini_portile (~> 0.5.0)
|
76
|
+
oauth2 (0.9.3)
|
77
|
+
faraday (>= 0.8, < 0.10)
|
78
|
+
jwt (~> 0.1.8)
|
79
|
+
multi_json (~> 1.3)
|
80
|
+
multi_xml (~> 0.5)
|
81
|
+
rack (~> 1.2)
|
47
82
|
polyglot (0.3.1)
|
48
83
|
rack (1.2.2)
|
49
84
|
rack-mount (0.6.14)
|
@@ -64,8 +99,14 @@ GEM
|
|
64
99
|
rake (>= 0.8.7)
|
65
100
|
thor (~> 0.14.4)
|
66
101
|
rake (0.9.0)
|
67
|
-
|
102
|
+
rdoc (4.1.1)
|
103
|
+
json (~> 1.4)
|
68
104
|
shoulda (2.11.3)
|
105
|
+
simplecov (0.8.2)
|
106
|
+
docile (~> 1.1.0)
|
107
|
+
multi_json
|
108
|
+
simplecov-html (~> 0.8.0)
|
109
|
+
simplecov-html (0.8.0)
|
69
110
|
thor (0.14.6)
|
70
111
|
treetop (1.4.9)
|
71
112
|
polyglot (>= 0.3.1)
|
@@ -75,8 +116,8 @@ PLATFORMS
|
|
75
116
|
ruby
|
76
117
|
|
77
118
|
DEPENDENCIES
|
78
|
-
bundler (~> 1.
|
79
|
-
jeweler (~>
|
80
|
-
rails (
|
81
|
-
rcov
|
119
|
+
bundler (~> 1.3.5)
|
120
|
+
jeweler (~> 2.0.0)
|
121
|
+
rails (>= 3.0)
|
82
122
|
shoulda
|
123
|
+
simplecov
|
data/Rakefile
CHANGED
@@ -15,7 +15,7 @@ Jeweler::Tasks.new do |gem|
|
|
15
15
|
gem.name = "public_rescue"
|
16
16
|
gem.homepage = "http://github.com/cyrilpic/public_rescue"
|
17
17
|
gem.license = "MIT"
|
18
|
-
gem.summary = %Q{
|
18
|
+
gem.summary = %Q{Rails gem for displaying dynamic error pages.}
|
19
19
|
gem.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.}
|
20
20
|
gem.email = "Cyril@picard.ch"
|
21
21
|
gem.authors = ["Cyril Picard"]
|
@@ -34,21 +34,20 @@ Rake::TestTask.new(:test) do |test|
|
|
34
34
|
test.verbose = true
|
35
35
|
end
|
36
36
|
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
test.verbose = true
|
37
|
+
desc "Code coverage detail"
|
38
|
+
task :simplecov do
|
39
|
+
ENV['COVERAGE'] = "true"
|
40
|
+
Rake::Task['test'].execute
|
42
41
|
end
|
43
42
|
|
44
43
|
task :default => :test
|
45
44
|
|
46
|
-
require '
|
45
|
+
require 'rdoc/task'
|
47
46
|
Rake::RDocTask.new do |rdoc|
|
48
47
|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
49
48
|
|
50
49
|
rdoc.rdoc_dir = 'rdoc'
|
51
|
-
rdoc.title = "
|
50
|
+
rdoc.title = "hello #{version}"
|
52
51
|
rdoc.rdoc_files.include('README*')
|
53
52
|
rdoc.rdoc_files.include('lib/**/*.rb')
|
54
53
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.5.0
|
data/public_rescue.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = "public_rescue"
|
8
|
-
s.version = "0.
|
8
|
+
s.version = "0.5.0"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Cyril Picard"]
|
12
|
-
s.date = "
|
12
|
+
s.date = "2014-01-30"
|
13
13
|
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
14
|
s.email = "Cyril@picard.ch"
|
15
15
|
s.extra_rdoc_files = [
|
@@ -42,31 +42,31 @@ Gem::Specification.new do |s|
|
|
42
42
|
s.homepage = "http://github.com/cyrilpic/public_rescue"
|
43
43
|
s.licenses = ["MIT"]
|
44
44
|
s.require_paths = ["lib"]
|
45
|
-
s.rubygems_version = "
|
46
|
-
s.summary = "
|
45
|
+
s.rubygems_version = "2.0.6"
|
46
|
+
s.summary = "Rails gem for displaying dynamic error pages."
|
47
47
|
|
48
48
|
if s.respond_to? :specification_version then
|
49
|
-
s.specification_version =
|
49
|
+
s.specification_version = 4
|
50
50
|
|
51
51
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
52
|
-
s.add_runtime_dependency(%q<rails>, ["
|
52
|
+
s.add_runtime_dependency(%q<rails>, [">= 3.0"])
|
53
53
|
s.add_development_dependency(%q<shoulda>, [">= 0"])
|
54
|
-
s.add_development_dependency(%q<bundler>, ["~> 1.
|
55
|
-
s.add_development_dependency(%q<jeweler>, ["~>
|
56
|
-
s.add_development_dependency(%q<
|
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<simplecov>, [">= 0"])
|
57
57
|
else
|
58
|
-
s.add_dependency(%q<rails>, ["
|
58
|
+
s.add_dependency(%q<rails>, [">= 3.0"])
|
59
59
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
60
|
-
s.add_dependency(%q<bundler>, ["~> 1.
|
61
|
-
s.add_dependency(%q<jeweler>, ["~>
|
62
|
-
s.add_dependency(%q<
|
60
|
+
s.add_dependency(%q<bundler>, ["~> 1.3.5"])
|
61
|
+
s.add_dependency(%q<jeweler>, ["~> 2.0.0"])
|
62
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
63
63
|
end
|
64
64
|
else
|
65
|
-
s.add_dependency(%q<rails>, ["
|
65
|
+
s.add_dependency(%q<rails>, [">= 3.0"])
|
66
66
|
s.add_dependency(%q<shoulda>, [">= 0"])
|
67
|
-
s.add_dependency(%q<bundler>, ["~> 1.
|
68
|
-
s.add_dependency(%q<jeweler>, ["~>
|
69
|
-
s.add_dependency(%q<
|
67
|
+
s.add_dependency(%q<bundler>, ["~> 1.3.5"])
|
68
|
+
s.add_dependency(%q<jeweler>, ["~> 2.0.0"])
|
69
|
+
s.add_dependency(%q<simplecov>, [">= 0"])
|
70
70
|
end
|
71
71
|
end
|
72
72
|
|
metadata
CHANGED
@@ -1,71 +1,85 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: public_rescue
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.5.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Cyril Picard
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-01-30 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: rails
|
16
|
-
requirement:
|
17
|
-
none: false
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
18
16
|
requirements:
|
19
|
-
- -
|
17
|
+
- - '>='
|
20
18
|
- !ruby/object:Gem::Version
|
21
19
|
version: '3.0'
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
|
-
version_requirements:
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.0'
|
25
27
|
- !ruby/object:Gem::Dependency
|
26
28
|
name: shoulda
|
27
|
-
requirement:
|
28
|
-
none: false
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
29
30
|
requirements:
|
30
|
-
- -
|
31
|
+
- - '>='
|
31
32
|
- !ruby/object:Gem::Version
|
32
33
|
version: '0'
|
33
34
|
type: :development
|
34
35
|
prerelease: false
|
35
|
-
version_requirements:
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
36
41
|
- !ruby/object:Gem::Dependency
|
37
42
|
name: bundler
|
38
|
-
requirement:
|
39
|
-
none: false
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
40
44
|
requirements:
|
41
45
|
- - ~>
|
42
46
|
- !ruby/object:Gem::Version
|
43
|
-
version: 1.
|
47
|
+
version: 1.3.5
|
44
48
|
type: :development
|
45
49
|
prerelease: false
|
46
|
-
version_requirements:
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ~>
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 1.3.5
|
47
55
|
- !ruby/object:Gem::Dependency
|
48
56
|
name: jeweler
|
49
|
-
requirement:
|
50
|
-
none: false
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
51
58
|
requirements:
|
52
59
|
- - ~>
|
53
60
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
61
|
+
version: 2.0.0
|
55
62
|
type: :development
|
56
63
|
prerelease: false
|
57
|
-
version_requirements:
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ~>
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 2.0.0
|
58
69
|
- !ruby/object:Gem::Dependency
|
59
|
-
name:
|
60
|
-
requirement:
|
61
|
-
none: false
|
70
|
+
name: simplecov
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
62
72
|
requirements:
|
63
|
-
- -
|
73
|
+
- - '>='
|
64
74
|
- !ruby/object:Gem::Version
|
65
75
|
version: '0'
|
66
76
|
type: :development
|
67
77
|
prerelease: false
|
68
|
-
version_requirements:
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '>='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
69
83
|
description: PublicRescue is a gem for rails application who want to display dynamic
|
70
84
|
error pages. It creates a new Rack middleware which replaces ActionDispatch::ShowExceptions
|
71
85
|
and overwrites the rescue_action_in_public method.
|
@@ -100,29 +114,25 @@ files:
|
|
100
114
|
homepage: http://github.com/cyrilpic/public_rescue
|
101
115
|
licenses:
|
102
116
|
- MIT
|
117
|
+
metadata: {}
|
103
118
|
post_install_message:
|
104
119
|
rdoc_options: []
|
105
120
|
require_paths:
|
106
121
|
- lib
|
107
122
|
required_ruby_version: !ruby/object:Gem::Requirement
|
108
|
-
none: false
|
109
123
|
requirements:
|
110
|
-
- -
|
124
|
+
- - '>='
|
111
125
|
- !ruby/object:Gem::Version
|
112
126
|
version: '0'
|
113
|
-
segments:
|
114
|
-
- 0
|
115
|
-
hash: -48674205423088361
|
116
127
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
117
|
-
none: false
|
118
128
|
requirements:
|
119
|
-
- -
|
129
|
+
- - '>='
|
120
130
|
- !ruby/object:Gem::Version
|
121
131
|
version: '0'
|
122
132
|
requirements: []
|
123
133
|
rubyforge_project:
|
124
|
-
rubygems_version:
|
134
|
+
rubygems_version: 2.0.6
|
125
135
|
signing_key:
|
126
|
-
specification_version:
|
127
|
-
summary:
|
136
|
+
specification_version: 4
|
137
|
+
summary: Rails gem for displaying dynamic error pages.
|
128
138
|
test_files: []
|