mack 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/sea_level/controller_base.rb +5 -2
  2. metadata +4 -4
@@ -236,23 +236,26 @@ module Mack
236
236
  public
237
237
  class << self
238
238
 
239
+ # See Mack::Controller::Filter for more information.
239
240
  def before_filter(meth, options = {})
240
241
  add_filter(:before, meth, options)
241
242
  end
242
243
 
244
+ # See Mack::Controller::Filter for more information.
243
245
  def after_filter(meth, options = {})
244
246
  add_filter(:after, meth, options)
245
247
  end
246
248
 
249
+ # See Mack::Controller::Filter for more information.
247
250
  def after_render_filter(meth, options = {})
248
251
  add_filter(:after_render, meth, options)
249
252
  end
250
253
 
251
- def add_filter(type, meth, options)
254
+ def add_filter(type, meth, options) # :nodoc:
252
255
  controller_filters[type.to_sym] << Mack::Controller::Filter.new(meth, options)
253
256
  end
254
257
 
255
- def controller_filters
258
+ def controller_filters # :nodoc:
256
259
  @controller_filters = {:before => [], :after => [], :after_render => []} unless @controller_filters
257
260
  @controller_filters
258
261
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - markbates
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-02-26 00:00:00 -05:00
12
+ date: 2008-02-27 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -19,7 +19,7 @@ dependencies:
19
19
  requirements:
20
20
  - - "="
21
21
  - !ruby/object:Gem::Version
22
- version: 0.2.0
22
+ version: 0.3.0
23
23
  version:
24
24
  - !ruby/object:Gem::Dependency
25
25
  name: ruby_extensions
@@ -28,7 +28,7 @@ dependencies:
28
28
  requirements:
29
29
  - - "="
30
30
  - !ruby/object:Gem::Version
31
- version: 1.0.10
31
+ version: 1.0.11
32
32
  version:
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: application_configuration