doozer 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.4.1
1
+ 0.4.2
data/doozer.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{doozer}
8
- s.version = "0.4.1"
8
+ s.version = "0.4.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["grippy"]
12
- s.date = %q{2010-01-03}
12
+ s.date = %q{2010-02-01}
13
13
  s.default_executable = %q{doozer}
14
14
  s.description = %q{This GEM provides a small, barebones framework for creating MVC Rack applications.}
15
15
  s.email = %q{gmelton@whorde.com}
data/lib/doozer/app.rb CHANGED
@@ -111,7 +111,7 @@ module Doozer
111
111
  end
112
112
 
113
113
  # pass the app through route.middleware_after if defined
114
- app = route.middleware_after.new(app, {:config=>Doozer::Configs, :route=>route}).call(env) if route.middleware_after
114
+ app = route.middleware_after.new(app, {:config=>Doozer::Configs, :route=>route}).call(env) if route and route.middleware_after
115
115
 
116
116
  return app
117
117
  end
@@ -44,6 +44,8 @@ module Doozer
44
44
 
45
45
  # This class method lazily loads and caches the erb templates of the requested partials
46
46
  def self.partial(file=nil, locals={}, route=route)
47
+ puts " Partial: #{file}"
48
+
47
49
  #p "Class method: Doozer::Partial#partial"
48
50
  if file.index("/").nil?
49
51
  name = "#{route.controller}/_#{file}"
@@ -53,7 +55,6 @@ module Doozer
53
55
  load_partial(name) if @@partials[name].nil?
54
56
  erb = @@partials[name]
55
57
  if erb
56
- puts " Partial: #{name}" if Doozer::Configs.rack_env == :development
57
58
  partial = Doozer::Partial.new(erb, locals, route)
58
59
  partial.bind()
59
60
  else
@@ -3,7 +3,7 @@ module Doozer
3
3
  module Version
4
4
  MAJOR=0
5
5
  MINOR=4
6
- PATCH=1
6
+ PATCH=2
7
7
  STRING=[MAJOR, MINOR, PATCH].join('.')
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doozer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - grippy
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2010-01-03 00:00:00 -08:00
12
+ date: 2010-02-01 00:00:00 -08:00
13
13
  default_executable: doozer
14
14
  dependencies: []
15
15