thorax-rails 0.1.8 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,3 +1,4 @@
1
+
1
2
  #thorax-rails
2
3
 
3
4
  The thorax gem includes Thorax.js and its dependencies (backbone, underscore, and handlebars) in your Rails asset pipeline. A few handy generators take care the boilerplate code so you don't have to. Enjoy!
@@ -7,9 +8,10 @@ This gem requires the use of rails 3.1 and greater, coffeescript and the new rai
7
8
 
8
9
  ### Installation
9
10
 
10
- In your Gemfile, add this line:
11
+ In your Gemfile, add the following lines:
11
12
 
12
- gem "thorax-rails", "~> 0.1.0"
13
+ gem "thorax-rails", "~> 1.0.0"
14
+ gem "handlebars_assets"
13
15
 
14
16
  Then run the following commands:
15
17
 
@@ -15,7 +15,7 @@ module Thorax
15
15
 
16
16
  def inject_thorax
17
17
  inject_into_file "app/assets/javascripts/application.js", :before => "//= require_tree" do
18
- "//= require underscore\n//= require backbone\n//= require handlebars.runtime\n//= require thorax\n//= require #{application_name.underscore}\n//= require view\n//= require collection-view\n//= require layout-view\n//= require model\n//= require collection\n//= require_tree ./templates\n//= require_tree ./models\n//= require_tree ./collections\n//= require_tree ./views\n//= require_tree ./routers\n//= require ./templates/root\n"
18
+ "//= require underscore\n//= require backbone\n//= require handlebars.runtime\n//= require thorax\n//= require #{application_name.underscore}\n//= require view\n//= require collection-view\n//= require layout-view\n//= require model\n//= require collection\n//= require_tree ./templates\n//= require_tree ./models\n//= require_tree ./collections\n//= require_tree ./views\n//= require_tree ./routers\n"
19
19
  end
20
20
  end
21
21
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: thorax-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.8
4
+ version: 1.0.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2013-10-14 00:00:00.000000000 Z
14
+ date: 2013-10-15 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: railties