jsRender-rails 0.9.2 → 0.9.3

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.
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "jsRender-rails"
5
- s.version = "0.9.2"
5
+ s.version = "0.9.3"
6
6
  s.authors = ["Sebastian Pape"]
7
7
  s.email = ["email@sebastianpape.com"]
8
8
  s.homepage = "https://github.com/spape/jsRender-rails"
@@ -16,7 +16,7 @@ module JsRenderRails
16
16
  end
17
17
 
18
18
  def evaluate(scope, locals, &block)
19
- %{jQuery.templates("#{template_name(scope)}", "#{escape_javascript(data)}");}
19
+ %{$.templates("#{template_name(scope)}", "#{escape_javascript(data)}");}
20
20
  end
21
21
 
22
22
  private
@@ -1,6 +1,6 @@
1
1
  module JsRender
2
2
  module Rails
3
- VERSION = "0.9.2"
3
+ VERSION = "0.9.3"
4
4
  JS_RENDER_VERSION = "v1.0pre"
5
5
  end
6
6
  end
@@ -9,7 +9,7 @@ describe JsRenderRails::JsRender do
9
9
 
10
10
  it "compiles templates with the .tmpl extension" do
11
11
  template = Rails.application.assets["views/user"]
12
- template.to_s.should == %{jQuery.templates("views/user", "<div class=\\\"user\\\">{{>name}}<\\/div>\\n");}
12
+ template.to_s.should == %{$.templates("views/user", "<div class=\\\"user\\\">{{>name}}<\\/div>\\n");}
13
13
  end
14
14
 
15
15
  context "when prefix is set" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jsRender-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: