strelka-fancyerrors 0.0.1.pre.14 → 0.0.1.pre.15

Sign up to get free protection for your applications and to get access to all the features.
data/ChangeLog CHANGED
@@ -1,36 +1,8 @@
1
- 2012-06-04 Michael Granger <ged@FaerieMUD.org>
2
-
3
- * Rakefile:
4
- Comment out strelka dependency until release
5
- [8474807402a8] [tip]
6
-
7
- 2012-05-18 Michael Granger <ged@FaerieMUD.org>
8
-
9
- * .rvm.gems:
10
- Bumping Loggability dependency for inheritance bugfix
11
- [dcaf0af15c07]
12
-
13
- 2012-05-11 Michael Granger <ged@FaerieMUD.org>
14
-
15
- * .rvm.gems, lib/strelka/app/fancyerrors.rb:
16
- Added Loggability and Configurability support.
17
- [fc2da6ad009a]
18
-
19
- 2012-05-03 Michael Granger <ged@FaerieMUD.org>
20
-
21
- * .rvm.gems, History.rdoc, Rakefile, data/strelka-
22
- fancyerrors/templates/client-error.tmpl, data/strelka-
23
- fancyerrors/templates/server-error.tmpl,
24
- lib/strelka/app/fancyerrors.rb,
25
- spec/strelka/app/fancyerrors_spec.rb:
26
- Finish specs, prep for release.
27
- [53d55407cba6]
28
-
29
1
  2012-04-25 Michael Granger <ged@FaerieMUD.org>
30
2
 
31
3
  * lib/strelka/app/fancyerrors.rb:
32
4
  Remove verbose debugging
33
- [abcce619f510]
5
+ [abcce619f510] [github/master, tip]
34
6
 
35
7
  * data/strelka-fancyerrors/templates/client-error.tmpl, data/strelka-
36
8
  fancyerrors/templates/server-error.tmpl:
data/Rakefile CHANGED
@@ -18,7 +18,7 @@ hoespec = Hoe.spec 'strelka-fancyerrors' do
18
18
 
19
19
  self.developer 'Michael Granger', 'ged@FaerieMUD.org'
20
20
 
21
- # self.dependency 'strelka', '~> 0.1'
21
+ self.dependency 'strelka', '~> 0.0.1.pre'
22
22
  self.dependency 'inversion', '~> 0.9'
23
23
  self.dependency 'hoe-deveiate', '~> 0.1', :developer
24
24
 
@@ -4,6 +4,7 @@
4
4
  <header>
5
5
  <hgroup>
6
6
  <h1><?call status_info[:status] ?></h1>
7
+ <h2><?escape status_info[:message] ?></h2>
7
8
  </hgroup>
8
9
  </header>
9
10
 
@@ -27,7 +27,7 @@ module Strelka::App::FancyErrors
27
27
  VERSION = '0.0.1'
28
28
 
29
29
  # Version-control revision constant
30
- REVISION = %q$Revision: fc2da6ad009a $
30
+ REVISION = %q$Revision: 533821d89627 $
31
31
 
32
32
 
33
33
  # Configurability API -- set the config section that affects this plugin
@@ -71,6 +71,16 @@ module Strelka::App::FancyErrors
71
71
  end
72
72
 
73
73
 
74
+ ### Inclusion callback -- add the plugin's templates directory right before activation
75
+ ### so loading the config doesn't clobber it.
76
+ def self::included( mod )
77
+ # Add the plugin's template directory to Inversion's template path
78
+ Inversion::Template.template_paths.push( self.templates_dir )
79
+
80
+ super
81
+ end
82
+
83
+
74
84
  # Class-level functionality
75
85
  module ClassMethods
76
86
  extend Loggability
@@ -81,9 +91,6 @@ module Strelka::App::FancyErrors
81
91
  super
82
92
  self.log.debug "Setting up fancy error responses."
83
93
 
84
- # Add the plugin's template directory to Inversion's template path
85
- Inversion::Template.template_paths.push( Strelka::App::FancyErrors.templates_dir )
86
-
87
94
  # Load the plugins this one depends on if they aren't already
88
95
  obj.plugins :errors, :templating
89
96
 
data.tar.gz.sig CHANGED
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: strelka-fancyerrors
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.pre.14
4
+ version: 0.0.1.pre.15
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -36,8 +36,24 @@ cert_chain:
36
36
  YUhDS0xaZFNLai9SSHVUT3QrZ2JsUmV4OEZBaDhOZUEKY21saFhlNDZwWk5K
37
37
  Z1dLYnhaYWg4NWpJang5NWhSOHZPSStOQU01aUg5a09xSzEzRHJ4YWNUS1Bo
38
38
  cWo1UGp3RgotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg==
39
- date: 2012-06-04 00:00:00.000000000 Z
39
+ date: 2012-08-10 00:00:00.000000000 Z
40
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
41
57
  - !ruby/object:Gem::Dependency
42
58
  name: inversion
43
59
  requirement: !ruby/object:Gem::Requirement
metadata.gz.sig CHANGED
Binary file