Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix require

  • Loading branch information...
commit 74bf348c29d2076f726b785863ead3cf56c6df6d 1 parent d2bf854
@xinuc xinuc authored
View
2  VERSION
@@ -1 +1 @@
-0.3.2
+0.3.7
View
3  ekuseru.gemspec
@@ -5,7 +5,7 @@
Gem::Specification.new do |s|
s.name = %q{ekuseru}
- s.version = "0.3.2"
+ s.version = "0.3.7"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Nugroho Herucahyono", "Jacob Rothstein"]
@@ -22,7 +22,6 @@ Gem::Specification.new do |s|
"Rakefile",
"VERSION",
"ekuseru.gemspec",
- "init.rb",
"install.rb",
"lib/ekuseru.rb",
"lib/template_handler/eku.rb",
View
3  lib/ekuseru.rb
@@ -4,9 +4,6 @@
require 'spreadsheet'
require 'template_handler/eku'
require 'template_handler/options'
-require 'action_view/base'
-
-require 'action_view/template/handler'
ActionView::Template.register_template_handler 'eku', Ekuseru::TemplateHandler::Eku
View
6 lib/template_handler/eku.rb
@@ -1,9 +1,9 @@
-require 'action_view/template/handler'
+require 'action_view'
module Ekuseru
module TemplateHandler
- class Eku < ActionView::Template::Handler
- include ActionView::Template::Handlers::Compilable
+ class Eku < ActionView::TemplateHandler
+ include ActionView::TemplateHandlers::Compilable
def compile template
%{

0 comments on commit 74bf348

Please sign in to comment.
Something went wrong with that request. Please try again.