ember-rails 0.2.1 → 0.2.2

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.
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # ember-rails
1
+ # ember-rails [![Build Status](https://secure.travis-ci.org/keithpitt/ember-rails.png)](http://travis-ci.org/keithpitt/ember-rails)
2
2
 
3
3
  ember-rails allows you to include [Ember.JS](http://emberjs.com/) into your Rails 3.1 application.
4
4
 
@@ -29,8 +29,8 @@ can switch out your require statements to use the dev copies like so:
29
29
  //= require ember-datetime-dev
30
30
 
31
31
  Ask Rails to serve HandlebarsJS and pre-compile templates to Ember
32
- by putting each template in a dedicated ".js.hjs" file
33
- (e.g. `app/assets/javascripts/templates/admin_panel.js.hjs`)
32
+ by putting each template in a dedicated ".js.hjs" or ".handlebars" file
33
+ (e.g. `app/assets/javascripts/templates/admin_panel.handlebars`)
34
34
  and including the assets in your layout:
35
35
 
36
36
  <%= javascript_include_tag "templates/admin_panel" %>
@@ -54,4 +54,4 @@ ember-rails is based on https://github.com/kiskolabs/sproutcore-rails.
54
54
  2. Make your feature addition or bug fix.
55
55
  3. Add tests for it. This is important so I don't break it in a future version unintentionally.
56
56
  4. Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
57
- 5. Send me a pull request. Bonus points for topic branches.
57
+ 5. Send me a pull request. Bonus points for topic branches.
data/lib/ember-rails.rb CHANGED
@@ -9,4 +9,5 @@ module EmberRails
9
9
  # an asset file having the extension ".hjs" is processed
10
10
  # by the asset pipeline and converted to javascript code.
11
11
  Sprockets.register_engine '.hjs', HjsTemplate
12
+ Sprockets.register_engine '.handlebars', HjsTemplate
12
13
  end
@@ -1,3 +1,3 @@
1
1
  module EmberRails
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ember-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,11 +11,11 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-01-04 00:00:00.000000000Z
14
+ date: 2012-01-13 00:00:00.000000000Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: execjs
18
- requirement: &70360263443720 !ruby/object:Gem::Requirement
18
+ requirement: &70256279849040 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ~>
@@ -23,10 +23,10 @@ dependencies:
23
23
  version: 1.2.11
24
24
  type: :development
25
25
  prerelease: false
26
- version_requirements: *70360263443720
26
+ version_requirements: *70256279849040
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rails
29
- requirement: &70360263443200 !ruby/object:Gem::Requirement
29
+ requirement: &70256279848520 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ~>
@@ -34,7 +34,7 @@ dependencies:
34
34
  version: '3.1'
35
35
  type: :development
36
36
  prerelease: false
37
- version_requirements: *70360263443200
37
+ version_requirements: *70256279848520
38
38
  description:
39
39
  email:
40
40
  - me@keithpitt.com