mack-markaby 0.7.1.1 → 0.8.0

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.
@@ -4,6 +4,9 @@ module Mack
4
4
  class Markaby < Mack::Rendering::Engine::Base
5
5
 
6
6
  def render(io, binding)
7
+ if io.is_a?(File)
8
+ io = io.read
9
+ end
7
10
  @_markaby = ::Markaby::Builder.new({}, self.view_template)
8
11
  self.view_template.instance_variable_set("@_markaby", @_markaby)
9
12
  eval(io, binding)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mack-markaby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1.1
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Darsono Sutedja
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-09-14 00:00:00 -04:00
12
+ date: 2008-10-06 00:00:00 -04:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -57,7 +57,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
57
57
  requirements: []
58
58
 
59
59
  rubyforge_project: magrathea
60
- rubygems_version: 1.2.0
60
+ rubygems_version: 1.3.0
61
61
  signing_key:
62
62
  specification_version: 2
63
63
  summary: Rendering Engine