flay-actionpack 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = "flay-actionpack"
7
- spec.version = '0.0.1'
7
+ spec.version = '0.0.2'
8
8
  spec.authors = ["Eugene Kalenkovich"]
9
9
  spec.email = ["rubify@softover.com"]
10
10
  spec.description = "Flay plugin for Rails ERB templates"
@@ -9,7 +9,7 @@ class Flay
9
9
  # Process erb template and parse the result. Returns the sexp of the parsed
10
10
  # ruby.
11
11
 
12
- def actionpack_erb file
12
+ def process_erb file
13
13
  erb = File.read file
14
14
  src = Struct.new(:source, :mime_type, :type).new(erb, 'text/html', 'text/html')
15
15
  ruby = ActionView::Template::Handlers::ERB.call src
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flay-actionpack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: