merb-core 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/lib/merb-core.rb CHANGED
@@ -780,6 +780,9 @@ module Merb
780
780
  RUBY_PLATFORM =~ Merb::Const::WIN_PLATFORM_REGEXP
781
781
  end
782
782
 
783
+ def run_later(&blk)
784
+ Merb::Dispatcher.work_queue << blk
785
+ end
783
786
  end
784
787
  end
785
788
 
@@ -82,7 +82,7 @@ class Merb::Controller < Merb::AbstractController
82
82
  #
83
83
  # :api: public
84
84
  def self.override!(*names)
85
- self._overrride_bang.push(*names)
85
+ self._override_bang.push(*names)
86
86
  end
87
87
 
88
88
  # Hide each of the given methods from being callable as actions.
@@ -15,7 +15,7 @@ module Merb
15
15
  #
16
16
  # :api: public
17
17
  def run_later(&blk)
18
- Merb::Dispatcher.work_queue << blk
18
+ Merb.run_later(&blk)
19
19
  end
20
20
 
21
21
  # Renders the block given as a parameter using chunked encoding.
@@ -122,7 +122,7 @@ module Merb::RenderMixin
122
122
  # Raise an error if there's no template
123
123
  unless template_method && self.respond_to?(template_method)
124
124
  template_files = Merb::Template.template_extensions.map { |ext| "#{template_location}.#{ext}" }
125
- raise TemplateNotFound, "Oops! No template found. Merb was looking for #{template_files.join(', ')}" +
125
+ raise TemplateNotFound, "Oops! No template found. Merb was looking for #{template_files.join(', ')} " +
126
126
  "for content type '#{content_type}'. You might have mispelled the template or file name. " +
127
127
  "Registered template extensions: #{Merb::Template.template_extensions.join(', ')}. " +
128
128
  "If you use Haml or some other template plugin, make sure you required Merb plugin dependency " +
@@ -1,4 +1,4 @@
1
1
  module Merb
2
- VERSION = '1.0.2' unless defined?(Merb::VERSION)
2
+ VERSION = '1.0.3' unless defined?(Merb::VERSION)
3
3
  DM_VERSION = '0.9.7' unless defined?(Merb::DM_VERSION)
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: merb-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ezra Zygmuntowicz
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-11-24 00:00:00 -08:00
12
+ date: 2008-11-25 00:00:00 -08:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency