strelka-fancyerrors 0.0.1.pre.11
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.
- data/.gemtest +0 -0
- data/ChangeLog +60 -0
- data/History.rdoc +4 -0
- data/Manifest.txt +10 -0
- data/README.rdoc +71 -0
- data/Rakefile +50 -0
- data/data/strelka-fancyerrors/templates/client-error.tmpl +9 -0
- data/data/strelka-fancyerrors/templates/error-layout.tmpl +12 -0
- data/data/strelka-fancyerrors/templates/server-error.tmpl +36 -0
- data/lib/strelka/app/fancyerrors.rb +104 -0
- data/spec/strelka/app/fancyerrors_spec.rb +111 -0
- data.tar.gz.sig +0 -0
- metadata +206 -0
- metadata.gz.sig +0 -0
data/.gemtest
ADDED
File without changes
|
data/ChangeLog
ADDED
@@ -0,0 +1,60 @@
|
|
1
|
+
2012-04-25 Michael Granger <ged@FaerieMUD.org>
|
2
|
+
|
3
|
+
* lib/strelka/app/fancyerrors.rb:
|
4
|
+
Remove verbose debugging
|
5
|
+
[abcce619f510] [github/master, tip]
|
6
|
+
|
7
|
+
* data/strelka-fancyerrors/templates/client-error.tmpl, data/strelka-
|
8
|
+
fancyerrors/templates/server-error.tmpl:
|
9
|
+
Inversion prettyprint is pp
|
10
|
+
[5e6bbe182053]
|
11
|
+
|
12
|
+
* lib/strelka/app/fancyerrors.rb:
|
13
|
+
Fix template map dump log message
|
14
|
+
[8d1dc405f9b7]
|
15
|
+
|
16
|
+
* lib/strelka/app/fancyerrors.rb:
|
17
|
+
Add some log statements to track down a problem
|
18
|
+
[200b2f4d87ef]
|
19
|
+
|
20
|
+
* Manifest.txt:
|
21
|
+
Fix the manifest
|
22
|
+
[5167760aeda7]
|
23
|
+
|
24
|
+
* data/strelka-fancyerrors/templates/client-error.tmpl, data/strelka-
|
25
|
+
fancyerrors/templates/client.tmpl, data/strelka-
|
26
|
+
fancyerrors/templates/error-layout.tmpl, data/strelka-
|
27
|
+
fancyerrors/templates/layout.tmpl, data/strelka-
|
28
|
+
fancyerrors/templates/server-error.tmpl, data/strelka-
|
29
|
+
fancyerrors/templates/server.tmpl, lib/strelka/app/fancyerrors.rb:
|
30
|
+
Rename templates more uniquely, fix the referenced path
|
31
|
+
[5d489461ecd8]
|
32
|
+
|
33
|
+
* Manifest.txt:
|
34
|
+
Update the manifest
|
35
|
+
[98061557f002]
|
36
|
+
|
37
|
+
* Rakefile:
|
38
|
+
Fix the Rakefile
|
39
|
+
[fd388cf6a4ec]
|
40
|
+
|
41
|
+
2012-04-24 Michael Granger <ged@FaerieMUD.org>
|
42
|
+
|
43
|
+
* Rakefile, data/strelka-fancyerrors/templates/client.tmpl, data
|
44
|
+
/strelka-fancyerrors/templates/layout.tmpl, data/strelka-
|
45
|
+
fancyerrors/templates/server.tmpl, data/strelka-
|
46
|
+
fancyerrors/templates/top.tmpl:
|
47
|
+
Start work on the templates
|
48
|
+
[5d3af66aa9a8]
|
49
|
+
|
50
|
+
* README.rdoc, lib/strelka/app/fancyerrors.rb:
|
51
|
+
Add package metadata
|
52
|
+
[8fe8d311cb5c]
|
53
|
+
|
54
|
+
* .hgignore, .rvm.gems, .rvmrc, History.rdoc, Manifest.txt,
|
55
|
+
README.rdoc, Rakefile, data/strelka-
|
56
|
+
fancyerrors/templates/layout.tmpl, data/strelka-
|
57
|
+
fancyerrors/templates/top.tmpl, lib/strelka/app/fancyerrors.rb,
|
58
|
+
spec/strelka/app/fancyerrors_spec.rb:
|
59
|
+
Initial commit
|
60
|
+
[d0b09bcf95b7]
|
data/History.rdoc
ADDED
data/Manifest.txt
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
ChangeLog
|
2
|
+
History.rdoc
|
3
|
+
Manifest.txt
|
4
|
+
README.rdoc
|
5
|
+
Rakefile
|
6
|
+
data/strelka-fancyerrors/templates/client-error.tmpl
|
7
|
+
data/strelka-fancyerrors/templates/error-layout.tmpl
|
8
|
+
data/strelka-fancyerrors/templates/server-error.tmpl
|
9
|
+
lib/strelka/app/fancyerrors.rb
|
10
|
+
spec/strelka/app/fancyerrors_spec.rb
|
data/README.rdoc
ADDED
@@ -0,0 +1,71 @@
|
|
1
|
+
= Strelka-FancyErrors
|
2
|
+
|
3
|
+
home :: http://deveiate.org/projects/strelka/fancyerrors.html
|
4
|
+
code :: http://bitbucket.org/ged/strelka-fancyerrors
|
5
|
+
github :: http://github.com/ged/strelka-fancyerrors
|
6
|
+
docs :: http://deveiate.org/code/strelka-fancyerrors/
|
7
|
+
|
8
|
+
|
9
|
+
== Description
|
10
|
+
|
11
|
+
Strelka-FancyErrors is a Strelka plugin for rendering a bunch of useful
|
12
|
+
information on error responses suitable for developers.
|
13
|
+
|
14
|
+
|
15
|
+
== Installation
|
16
|
+
|
17
|
+
gem install strelka-fancyerrors
|
18
|
+
|
19
|
+
|
20
|
+
== Usage
|
21
|
+
|
22
|
+
Load the plugin in your application:
|
23
|
+
|
24
|
+
class MyApp < Strelka::App
|
25
|
+
plugin :fancyerrors
|
26
|
+
end
|
27
|
+
|
28
|
+
That's it!
|
29
|
+
|
30
|
+
=== Customization
|
31
|
+
|
32
|
+
You can also customize the output in a couple of different ways.
|
33
|
+
|
34
|
+
[:TODO:]
|
35
|
+
- Configurability
|
36
|
+
- Template overrides
|
37
|
+
- CSS
|
38
|
+
|
39
|
+
|
40
|
+
== License
|
41
|
+
|
42
|
+
Copyright © 2012, Michael Granger
|
43
|
+
All rights reserved.
|
44
|
+
|
45
|
+
Redistribution and use in source and binary forms, with or without
|
46
|
+
modification, are permitted provided that the following conditions are met:
|
47
|
+
|
48
|
+
* Redistributions of source code must retain the above copyright notice,
|
49
|
+
this list of conditions and the following disclaimer.
|
50
|
+
|
51
|
+
* Redistributions in binary form must reproduce the above copyright notice,
|
52
|
+
this list of conditions and the following disclaimer in the documentation
|
53
|
+
and/or other materials provided with the distribution.
|
54
|
+
|
55
|
+
* Neither the name of the author/s, nor the names of the project's
|
56
|
+
contributors may be used to endorse or promote products derived from this
|
57
|
+
software without specific prior written permission.
|
58
|
+
|
59
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
60
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
61
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
62
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE
|
63
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
64
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
65
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
66
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
67
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
68
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
69
|
+
|
70
|
+
|
71
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
#!/usr/bin/env rake
|
2
|
+
|
3
|
+
begin
|
4
|
+
require 'hoe'
|
5
|
+
rescue LoadError
|
6
|
+
abort "This Rakefile requires 'hoe' (gem install hoe)"
|
7
|
+
end
|
8
|
+
|
9
|
+
# Sign gems
|
10
|
+
Hoe.plugin :signing
|
11
|
+
Hoe.plugin :mercurial
|
12
|
+
Hoe.plugin :deveiate
|
13
|
+
|
14
|
+
hoespec = Hoe.spec 'strelka-fancyerrors' do
|
15
|
+
self.readme_file = 'README.rdoc'
|
16
|
+
self.history_file = 'History.rdoc'
|
17
|
+
self.extra_rdoc_files = FileList[ '*.rdoc' ]
|
18
|
+
|
19
|
+
self.developer 'Michael Granger', 'ged@FaerieMUD.org'
|
20
|
+
|
21
|
+
self.dependency 'strelka', '~> 0.0.1.pre'
|
22
|
+
self.dependency 'inversion', '~> 0.9'
|
23
|
+
self.dependency 'hoe-deveiate', '~> 0.1', :developer
|
24
|
+
|
25
|
+
self.spec_extras[:licenses] = ["BSD"]
|
26
|
+
self.spec_extras[:rdoc_options] = ['-f', 'fivefish', '-t', 'Strelka Web Application Toolkit']
|
27
|
+
self.require_ruby_version( '>=1.9.2' )
|
28
|
+
self.hg_sign_tags = true if self.respond_to?( :hg_sign_tags= )
|
29
|
+
self.check_history_on_release = true if self.respond_to?( :check_history_on_release= )
|
30
|
+
|
31
|
+
self.rdoc_locations << "deveiate:/usr/local/www/public/code/#{remote_rdoc_dir}"
|
32
|
+
end
|
33
|
+
|
34
|
+
ENV['VERSION'] ||= hoespec.spec.version.to_s
|
35
|
+
|
36
|
+
# Ensure the specs pass before checking in
|
37
|
+
task 'hg:precheckin' => [:check_manifest, :check_history, :spec]
|
38
|
+
|
39
|
+
# Rebuild the ChangeLog immediately before release
|
40
|
+
task :prerelease => [:check_manifest, :check_history, 'ChangeLog']
|
41
|
+
|
42
|
+
task :check_manifest => 'ChangeLog'
|
43
|
+
|
44
|
+
|
45
|
+
desc "Build a coverage report"
|
46
|
+
task :coverage do
|
47
|
+
ENV["COVERAGE"] = 'yes'
|
48
|
+
Rake::Task[:spec].invoke
|
49
|
+
end
|
50
|
+
|
@@ -0,0 +1,36 @@
|
|
1
|
+
<!-- Server Error Template -->
|
2
|
+
<?import request ?>
|
3
|
+
|
4
|
+
<header>
|
5
|
+
<hgroup>
|
6
|
+
<h1><?call status_info[:status] ?></h1>
|
7
|
+
</hgroup>
|
8
|
+
</header>
|
9
|
+
|
10
|
+
<section id="backtrace">
|
11
|
+
<ol>
|
12
|
+
<?for frame in status_info[:backtrace] ?>
|
13
|
+
<li><?escape frame ?></li>
|
14
|
+
<?end for ?>
|
15
|
+
</ol>
|
16
|
+
</section>
|
17
|
+
|
18
|
+
<section id="request">
|
19
|
+
<pre><code>
|
20
|
+
<?pp request ?>
|
21
|
+
</code></pre>
|
22
|
+
</section>
|
23
|
+
|
24
|
+
<section id="headers">
|
25
|
+
<table>
|
26
|
+
<tbody>
|
27
|
+
<?for name,val in request.header.each ?>
|
28
|
+
<tr><th><?escape name ?></th><td><?escape val ?></td></tr>
|
29
|
+
<?end for ?>
|
30
|
+
</tbody>
|
31
|
+
</table>
|
32
|
+
</section>
|
33
|
+
|
34
|
+
<section id="stack">
|
35
|
+
|
36
|
+
</section>
|
@@ -0,0 +1,104 @@
|
|
1
|
+
# -*- ruby -*-
|
2
|
+
# vim: set nosta noet ts=4 sw=4:
|
3
|
+
# encoding: utf-8
|
4
|
+
|
5
|
+
require 'inversion'
|
6
|
+
|
7
|
+
require 'strelka' unless defined?( Strelka )
|
8
|
+
require 'strelka/app' unless defined?( Strelka::App )
|
9
|
+
|
10
|
+
|
11
|
+
# Fancy/useful error output for Strelka appliation development. This plugin
|
12
|
+
# uses the Strelka default :errors and :templating plugins.
|
13
|
+
module Strelka::App::FancyErrors
|
14
|
+
extend Configurability,
|
15
|
+
Strelka::Plugin
|
16
|
+
|
17
|
+
|
18
|
+
# Library version constant
|
19
|
+
VERSION = '0.0.1'
|
20
|
+
|
21
|
+
# Version-control revision constant
|
22
|
+
REVISION = %q$Revision: 53d55407cba6 $
|
23
|
+
|
24
|
+
|
25
|
+
# Configurability API -- set the config section that affects this plugin
|
26
|
+
config_key :fancyerrors
|
27
|
+
|
28
|
+
# Strelka::Plugin API -- ensure this plugin sees requests before it's routed
|
29
|
+
run_before :routing, :errors
|
30
|
+
run_after :templating
|
31
|
+
|
32
|
+
|
33
|
+
# The data directory in the project if that exists, otherwise the gem datadir
|
34
|
+
DEFAULT_DATADIR = if ENV['FANCYERRORS_DATADIR']
|
35
|
+
Pathname( ENV['FANCYERRORS_DATADIR'] )
|
36
|
+
elsif File.directory?( 'data/strelka-fancyerrors' )
|
37
|
+
Pathname( 'data/strelka-fancyerrors' )
|
38
|
+
elsif path = Gem.datadir('strelka-fancyerrors')
|
39
|
+
Pathname( path )
|
40
|
+
else
|
41
|
+
raise ScriptError, "can't find the data directory!"
|
42
|
+
end
|
43
|
+
|
44
|
+
|
45
|
+
# Class-level functionality
|
46
|
+
module ClassMethods
|
47
|
+
|
48
|
+
### Extension callback -- overridden to also install dependencies.
|
49
|
+
def self::extended( obj )
|
50
|
+
super
|
51
|
+
Strelka.log.debug "Setting up fancy error responses."
|
52
|
+
|
53
|
+
# Add the plugin's template directory to Inversion's template path
|
54
|
+
templatedir = DEFAULT_DATADIR + 'templates'
|
55
|
+
Inversion::Template.template_paths.push( templatedir )
|
56
|
+
|
57
|
+
# Load the plugins this one depends on if they aren't already
|
58
|
+
obj.plugins :errors, :templating
|
59
|
+
|
60
|
+
# Set up templates for error views
|
61
|
+
obj.templates \
|
62
|
+
fancy_error_layout: 'error-layout.tmpl',
|
63
|
+
fancy_server_error: 'server-error.tmpl',
|
64
|
+
fancy_client_error: 'client-error.tmpl'
|
65
|
+
|
66
|
+
obj.on_status( 400..499 ) {|res,info| self.fancy_error_template(:fancy_client_error, res, info) }
|
67
|
+
obj.on_status( 500..599 ) {|res,info| self.fancy_error_template(:fancy_server_error, res, info) }
|
68
|
+
|
69
|
+
end
|
70
|
+
|
71
|
+
end # module ClassMethods
|
72
|
+
|
73
|
+
|
74
|
+
### Load the template that corresponds to +key+ and populate it with the given
|
75
|
+
### +status_info+. If the application has a layout template, wrap it in that.
|
76
|
+
### Otherwise, use a simple default layout template.
|
77
|
+
def fancy_error_template( key, response, status_info )
|
78
|
+
self.log.info "[:fancyerrors] Handling %d status response." % [ status_info[:status] ]
|
79
|
+
content = self.template( key )
|
80
|
+
content.status_info = status_info
|
81
|
+
self.log.debug " error content template loaded from %s" % [ content.source_file || 'memory' ]
|
82
|
+
|
83
|
+
# If there's a layout template, just return the template as-is so
|
84
|
+
# templating will wrap it correctly
|
85
|
+
return content if self.layout
|
86
|
+
self.log.debug " using the fancyerrors layout template."
|
87
|
+
|
88
|
+
# Otherwise, wrap it in a simple layout of our own
|
89
|
+
layout = self.template( :fancy_error_layout )
|
90
|
+
layout.body = content
|
91
|
+
layout.status_info = status_info
|
92
|
+
|
93
|
+
self.log.debug " error layout template loaded from %s" % [ layout.source_file || 'memory' ]
|
94
|
+
|
95
|
+
# :templating method
|
96
|
+
self.set_common_attributes( layout, response.request )
|
97
|
+
|
98
|
+
return layout
|
99
|
+
end
|
100
|
+
|
101
|
+
end # module Strelka::App::Errors
|
102
|
+
|
103
|
+
|
104
|
+
|
@@ -0,0 +1,111 @@
|
|
1
|
+
#!/usr/bin/env rspec -cfd -b
|
2
|
+
|
3
|
+
BEGIN {
|
4
|
+
require 'pathname'
|
5
|
+
basedir = Pathname( __FILE__ ).dirname.parent
|
6
|
+
libdir = basedir + 'lib'
|
7
|
+
|
8
|
+
$LOAD_PATH.unshift( libdir.to_s ) unless $LOAD_PATH.include?( libdir.to_s )
|
9
|
+
}
|
10
|
+
|
11
|
+
require 'rspec'
|
12
|
+
require 'mongrel2/testing'
|
13
|
+
require 'strelka'
|
14
|
+
require 'strelka/app'
|
15
|
+
require 'strelka/logging'
|
16
|
+
require 'strelka/app/fancyerrors'
|
17
|
+
require 'strelka/behavior/plugin'
|
18
|
+
|
19
|
+
|
20
|
+
class ArrayLogger
|
21
|
+
### Create a new ArrayLogger that will append content to +array+.
|
22
|
+
def initialize( array )
|
23
|
+
@array = array
|
24
|
+
end
|
25
|
+
|
26
|
+
### Write the specified +message+ to the array.
|
27
|
+
def write( message )
|
28
|
+
@array << message
|
29
|
+
end
|
30
|
+
|
31
|
+
### No-op -- this is here just so Logger doesn't complain
|
32
|
+
def close; end
|
33
|
+
|
34
|
+
end # class ArrayLogger
|
35
|
+
|
36
|
+
|
37
|
+
class FancyErrorTestingApp < Strelka::App
|
38
|
+
include Strelka::Constants
|
39
|
+
|
40
|
+
plugins :routing, :fancyerrors
|
41
|
+
|
42
|
+
|
43
|
+
# Set defaults for all arguments to avoid having to provide them every time
|
44
|
+
def initialize( appid='fancyerrors-test', sspec=TEST_SEND_SPEC, rspec=TEST_RECV_SPEC )
|
45
|
+
super
|
46
|
+
end
|
47
|
+
|
48
|
+
get 'server' do |req|
|
49
|
+
finish_with HTTP::SERVER_ERROR, "This response intentionally left blank."
|
50
|
+
end
|
51
|
+
|
52
|
+
get 'client' do |req|
|
53
|
+
finish_with HTTP::BAD_REQUEST, "You call that a request?!"
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
|
58
|
+
describe Strelka::App::FancyErrors do
|
59
|
+
|
60
|
+
TEST_SEND_SPEC = 'tcp://127.0.0.1:9997'
|
61
|
+
TEST_RECV_SPEC = 'tcp://127.0.0.1:9996'
|
62
|
+
|
63
|
+
before( :all ) do
|
64
|
+
Strelka.log.level = Logger::FATAL
|
65
|
+
|
66
|
+
# Only do this when executing from a spec in TextMate
|
67
|
+
if ENV['HTML_LOGGING'] || (ENV['TM_FILENAME'] && ENV['TM_FILENAME'] =~ /_spec\.rb/)
|
68
|
+
Thread.current['logger-output'] = []
|
69
|
+
logdevice = ArrayLogger.new( Thread.current['logger-output'] )
|
70
|
+
Strelka.logger = Logger.new( logdevice )
|
71
|
+
# Strelka.logger.level = level
|
72
|
+
Strelka.logger.formatter = Strelka::Logging::HtmlFormatter.new( Strelka.logger )
|
73
|
+
Mongrel2.logger = Strelka.logger
|
74
|
+
end
|
75
|
+
|
76
|
+
@request_factory = Mongrel2::RequestFactory.new( route: '' )
|
77
|
+
end
|
78
|
+
|
79
|
+
before( :each ) do
|
80
|
+
@app = FancyErrorTestingApp.new
|
81
|
+
end
|
82
|
+
|
83
|
+
|
84
|
+
it_should_behave_like( "A Strelka::App Plugin" )
|
85
|
+
|
86
|
+
|
87
|
+
it "renders server errors using the server error template" do
|
88
|
+
req = @request_factory.get( '/server' )
|
89
|
+
res = @app.handle( req )
|
90
|
+
|
91
|
+
res.body.should =~ /server error template/i
|
92
|
+
end
|
93
|
+
|
94
|
+
it "renders client errors using the client error template" do
|
95
|
+
req = @request_factory.get( '/client' )
|
96
|
+
res = @app.handle( req )
|
97
|
+
|
98
|
+
res.body.should =~ /client error template/i
|
99
|
+
end
|
100
|
+
|
101
|
+
it "renders errors using the existing layout template if one is set" do
|
102
|
+
@app.layout = Inversion::Template.new( '<!-- common layout --><?attr body ?>' )
|
103
|
+
|
104
|
+
req = @request_factory.get( '/client' )
|
105
|
+
res = @app.handle( req )
|
106
|
+
|
107
|
+
res.body.should =~ /common layout/i
|
108
|
+
end
|
109
|
+
|
110
|
+
end
|
111
|
+
|
data.tar.gz.sig
ADDED
Binary file
|
metadata
ADDED
@@ -0,0 +1,206 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: strelka-fancyerrors
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1.pre.11
|
5
|
+
prerelease:
|
6
|
+
platform: ruby
|
7
|
+
authors:
|
8
|
+
- Michael Granger
|
9
|
+
autorequire:
|
10
|
+
bindir: bin
|
11
|
+
cert_chain:
|
12
|
+
- !binary |-
|
13
|
+
LS0tLS1CRUdJTiBDRVJUSUZJQ0FURS0tLS0tCk1JSURMRENDQWhTZ0F3SUJB
|
14
|
+
Z0lCQURBTkJna3Foa2lHOXcwQkFRVUZBREE4TVF3d0NnWURWUVFEREFOblpX
|
15
|
+
UXgKRnpBVkJnb0praWFKay9Jc1pBRVpGZ2RmWVdWeWFXVmZNUk13RVFZS0Na
|
16
|
+
SW1pWlB5TEdRQkdSWURiM0puTUI0WApEVEV3TURreE5qRTBORGcxTVZvWERU
|
17
|
+
RXhNRGt4TmpFME5EZzFNVm93UERFTU1Bb0dBMVVFQXd3RFoyVmtNUmN3CkZR
|
18
|
+
WUtDWkltaVpQeUxHUUJHUllIWDJGbGNtbGxYekVUTUJFR0NnbVNKb21UOGl4
|
19
|
+
a0FSa1dBMjl5WnpDQ0FTSXcKRFFZSktvWklodmNOQVFFQkJRQURnZ0VQQURD
|
20
|
+
Q0FRb0NnZ0VCQUx5Ly9CRnhDMWYvY1BTbnd0SkJXb0ZpRnJpcgpoN1JpY0kr
|
21
|
+
am9xL29jVlhRcUk0VERXUHlGLzh0cWt2dCtyRDk5WDlxczJZZVI4Q1UvWWlJ
|
22
|
+
cExXclFPWVNUNzBKCnZEbjdVdmhiMm11RlZxcTYrdm9iZVRrSUxCRU82cGlv
|
23
|
+
bldERzhqU2JvM3FLbTFSaktKRHdnOXA0d05LaFB1dTgKS0d1ZS9CRmI2N0tm
|
24
|
+
bHF5QXBQbVBlYjNWZGQ5Y2xzcHpxZUZxcDdjVUJNRXBGUzZMV3h5NEdrK3F2
|
25
|
+
RkZKQkpMQgpCVUhFL0xaVkpNVnpmcEM1VXErUW1ZN0IrRkgvUXFObmRuM3RP
|
26
|
+
SGdzUGFkTFROaW11QjFzQ3VMMWE0ejNQZXBkClRlTEJFRm1FYW81RGszSy9R
|
27
|
+
OG84dmxiSUIvakJEVFV4NkRqYmd4dzc3OTA5eDZnSTlkb1U0TEQ1WE1jQ0F3
|
28
|
+
RUEKQWFNNU1EY3dDUVlEVlIwVEJBSXdBREFMQmdOVkhROEVCQU1DQkxBd0hR
|
29
|
+
WURWUjBPQkJZRUZKZW9Ha09yOWw0Qgorc2FNa1cvWlhUNFVlU3ZWTUEwR0NT
|
30
|
+
cUdTSWIzRFFFQkJRVUFBNElCQVFCRzJLT2J2WUkyZUh5eUJVSlNKM2pOCnZF
|
31
|
+
blUzZDYwem5BWGJyU2QycWIzcjFsWTFFUEREM2JjeTBNZ2dDZkdkZzNYdTU0
|
32
|
+
ejIxb3F5SWRrOHVHdFdCUEwKSElhOUVnZkZHU1VFZ3ZjSXZhWXFpTjRqVFV0
|
33
|
+
aWRmRUZ3K0x0anM4QVA5Z1dnU0lZUzZHcjM4VjBXR0ZGTnpJSAphT0Qyd211
|
34
|
+
OW9vL1JmZlc0aFMvOEd1dmZNemN3N0NRMzU1d0ZSNEtCL255emUrRXNaMVk1
|
35
|
+
RGVyQ0FhZ01WdURRClUwQkxtV0RGelBHR1dsUGVRQ3JZSENyK0FjSnorTlJu
|
36
|
+
YUhDS0xaZFNLai9SSHVUT3QrZ2JsUmV4OEZBaDhOZUEKY21saFhlNDZwWk5K
|
37
|
+
Z1dLYnhaYWg4NWpJang5NWhSOHZPSStOQU01aUg5a09xSzEzRHJ4YWNUS1Bo
|
38
|
+
cWo1UGp3RgotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
|
39
|
+
date: 2012-05-04 00:00:00.000000000 Z
|
40
|
+
dependencies:
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: strelka
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
none: false
|
45
|
+
requirements:
|
46
|
+
- - ~>
|
47
|
+
- !ruby/object:Gem::Version
|
48
|
+
version: 0.0.1.pre
|
49
|
+
type: :runtime
|
50
|
+
prerelease: false
|
51
|
+
version_requirements: !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
53
|
+
requirements:
|
54
|
+
- - ~>
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 0.0.1.pre
|
57
|
+
- !ruby/object:Gem::Dependency
|
58
|
+
name: inversion
|
59
|
+
requirement: !ruby/object:Gem::Requirement
|
60
|
+
none: false
|
61
|
+
requirements:
|
62
|
+
- - ~>
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: '0.9'
|
65
|
+
type: :runtime
|
66
|
+
prerelease: false
|
67
|
+
version_requirements: !ruby/object:Gem::Requirement
|
68
|
+
none: false
|
69
|
+
requirements:
|
70
|
+
- - ~>
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: '0.9'
|
73
|
+
- !ruby/object:Gem::Dependency
|
74
|
+
name: hoe-mercurial
|
75
|
+
requirement: !ruby/object:Gem::Requirement
|
76
|
+
none: false
|
77
|
+
requirements:
|
78
|
+
- - ~>
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: 1.4.0
|
81
|
+
type: :development
|
82
|
+
prerelease: false
|
83
|
+
version_requirements: !ruby/object:Gem::Requirement
|
84
|
+
none: false
|
85
|
+
requirements:
|
86
|
+
- - ~>
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: 1.4.0
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: hoe-highline
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
none: false
|
93
|
+
requirements:
|
94
|
+
- - ~>
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: 0.1.0
|
97
|
+
type: :development
|
98
|
+
prerelease: false
|
99
|
+
version_requirements: !ruby/object:Gem::Requirement
|
100
|
+
none: false
|
101
|
+
requirements:
|
102
|
+
- - ~>
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: 0.1.0
|
105
|
+
- !ruby/object:Gem::Dependency
|
106
|
+
name: rdoc
|
107
|
+
requirement: !ruby/object:Gem::Requirement
|
108
|
+
none: false
|
109
|
+
requirements:
|
110
|
+
- - ~>
|
111
|
+
- !ruby/object:Gem::Version
|
112
|
+
version: '3.10'
|
113
|
+
type: :development
|
114
|
+
prerelease: false
|
115
|
+
version_requirements: !ruby/object:Gem::Requirement
|
116
|
+
none: false
|
117
|
+
requirements:
|
118
|
+
- - ~>
|
119
|
+
- !ruby/object:Gem::Version
|
120
|
+
version: '3.10'
|
121
|
+
- !ruby/object:Gem::Dependency
|
122
|
+
name: hoe-deveiate
|
123
|
+
requirement: !ruby/object:Gem::Requirement
|
124
|
+
none: false
|
125
|
+
requirements:
|
126
|
+
- - ~>
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: '0.1'
|
129
|
+
type: :development
|
130
|
+
prerelease: false
|
131
|
+
version_requirements: !ruby/object:Gem::Requirement
|
132
|
+
none: false
|
133
|
+
requirements:
|
134
|
+
- - ~>
|
135
|
+
- !ruby/object:Gem::Version
|
136
|
+
version: '0.1'
|
137
|
+
- !ruby/object:Gem::Dependency
|
138
|
+
name: hoe
|
139
|
+
requirement: !ruby/object:Gem::Requirement
|
140
|
+
none: false
|
141
|
+
requirements:
|
142
|
+
- - ~>
|
143
|
+
- !ruby/object:Gem::Version
|
144
|
+
version: '3.0'
|
145
|
+
type: :development
|
146
|
+
prerelease: false
|
147
|
+
version_requirements: !ruby/object:Gem::Requirement
|
148
|
+
none: false
|
149
|
+
requirements:
|
150
|
+
- - ~>
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '3.0'
|
153
|
+
description: ! 'Strelka-FancyErrors is a Strelka plugin for rendering a bunch of useful
|
154
|
+
|
155
|
+
information on error responses suitable for developers.'
|
156
|
+
email:
|
157
|
+
- ged@FaerieMUD.org
|
158
|
+
executables: []
|
159
|
+
extensions: []
|
160
|
+
extra_rdoc_files:
|
161
|
+
- History.rdoc
|
162
|
+
- Manifest.txt
|
163
|
+
- README.rdoc
|
164
|
+
files:
|
165
|
+
- ChangeLog
|
166
|
+
- History.rdoc
|
167
|
+
- Manifest.txt
|
168
|
+
- README.rdoc
|
169
|
+
- Rakefile
|
170
|
+
- data/strelka-fancyerrors/templates/client-error.tmpl
|
171
|
+
- data/strelka-fancyerrors/templates/error-layout.tmpl
|
172
|
+
- data/strelka-fancyerrors/templates/server-error.tmpl
|
173
|
+
- lib/strelka/app/fancyerrors.rb
|
174
|
+
- spec/strelka/app/fancyerrors_spec.rb
|
175
|
+
- .gemtest
|
176
|
+
homepage: http://deveiate.org/projects/strelka/fancyerrors.html
|
177
|
+
licenses:
|
178
|
+
- BSD
|
179
|
+
post_install_message:
|
180
|
+
rdoc_options:
|
181
|
+
- -f
|
182
|
+
- fivefish
|
183
|
+
- -t
|
184
|
+
- Strelka Web Application Toolkit
|
185
|
+
require_paths:
|
186
|
+
- lib
|
187
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
188
|
+
none: false
|
189
|
+
requirements:
|
190
|
+
- - ! '>='
|
191
|
+
- !ruby/object:Gem::Version
|
192
|
+
version: 1.9.2
|
193
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
194
|
+
none: false
|
195
|
+
requirements:
|
196
|
+
- - ! '>='
|
197
|
+
- !ruby/object:Gem::Version
|
198
|
+
version: '0'
|
199
|
+
requirements: []
|
200
|
+
rubyforge_project: strelka-fancyerrors
|
201
|
+
rubygems_version: 1.8.24
|
202
|
+
signing_key:
|
203
|
+
specification_version: 3
|
204
|
+
summary: Strelka-FancyErrors is a Strelka plugin for rendering a bunch of useful information
|
205
|
+
on error responses suitable for developers.
|
206
|
+
test_files: []
|
metadata.gz.sig
ADDED
Binary file
|