handlebars-rails 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -7,6 +7,11 @@ both server- and client-side.
7
7
 
8
8
  DRY. That's why.
9
9
 
10
+ ## Getting Handlebars ##
11
+
12
+ The easiest way to get a current distribution of handlebars is to
13
+ download it from https://github.com/wycats/handlebars.js/downloads.
14
+
10
15
  ## How ##
11
16
 
12
17
  First, grab the copy of handlebars you are using and copy it into
@@ -37,7 +37,7 @@ module Handlebars
37
37
  %{
38
38
  js = ::Handlebars::TemplateHandler.js
39
39
  js['actionview'] = self
40
- js.eval("Templates['#{template.identifier}']").call(assigns)
40
+ js.eval("Templates['#{template.identifier}']").call(assigns).force_encoding(Encoding.default_external)
41
41
  }
42
42
  end
43
43
 
@@ -1,3 +1,3 @@
1
1
  module Handlebars
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 0
9
- version: 0.1.0
8
+ - 1
9
+ version: 0.1.1
10
10
  platform: ruby
11
11
  authors:
12
12
  - James A. Rosen
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-05 00:00:00 -08:00
18
+ date: 2011-01-06 00:00:00 -08:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency