ember-cli-rails 0.0.10 → 0.0.11
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +53 -0
- data/README.md +22 -7
- data/lib/ember-cli/app.rb +1 -1
- data/lib/ember-cli/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ecd4d7a01bfb470c905aeca7cd5c565ae070db9c
|
4
|
+
data.tar.gz: ba5632f28af21fa1491cd2f9c5fcb10df078ea70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5156a64561042fc9f1cd626805aac373e846d7b438f59212730a2b0bf489ae014ba29f38526a4a1662185da47231bef0adea190b0f9c8173a6204bffa064aca5
|
7
|
+
data.tar.gz: 7eeedb6c8976d488a1167e05e2acc4dc73459ee8b18bd66ee2ae1985873d05522089d7c97215ca39f124c40735ad30981dd92cd536f6564ef042cc325a7e56a7
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,53 @@
|
|
1
|
+
0.0.11
|
2
|
+
------
|
3
|
+
|
4
|
+
* Fix locking feature by bumping addon version to 0.0.5 [#31](https://github.com/rwz/ember-cli-rails/issues/31)
|
5
|
+
|
6
|
+
0.0.10
|
7
|
+
------
|
8
|
+
|
9
|
+
* Add locking feature to prevent stale code [#25](https://github.com/rwz/ember-cli-rails/pull/25)
|
10
|
+
|
11
|
+
0.0.9
|
12
|
+
-----
|
13
|
+
|
14
|
+
* Fix a bug when path provided as a string, not pathname [#24](https://github.com/rwz/ember-cli-rails/issues/24)
|
15
|
+
|
16
|
+
0.0.8
|
17
|
+
-----
|
18
|
+
|
19
|
+
* Add support for including Ember stylesheet link tags [#21](https://github.com/rwz/ember-cli-rails/pull/21)
|
20
|
+
* Fix an error when the symlink already exists [#22](https://github.com/rwz/ember-cli-rails/pull/22)
|
21
|
+
|
22
|
+
0.0.7
|
23
|
+
-----
|
24
|
+
|
25
|
+
* Add sprockets-rails to dependency list [commit](https://github.com/rwz/ember-cli-rails/commit/99a893030d6b754fe71363a396fd4515b93812b6)
|
26
|
+
* Add a flag to skip ember-cli integration [#17](https://github.com/rwz/ember-cli-rails/issues/17)
|
27
|
+
|
28
|
+
0.0.6
|
29
|
+
-----
|
30
|
+
|
31
|
+
* Fix compiling assets in test environment [#15](https://github.com/rwz/ember-cli-rails/pull/15)
|
32
|
+
* Use only development/production Ember environments [#16](https://github.com/rwz/ember-cli-rails/pull/16)
|
33
|
+
* Make the gem compatible with ruby 1.9.3 [#20](https://github.com/rwz/ember-cli-rails/issues/20)
|
34
|
+
|
35
|
+
0.0.5
|
36
|
+
-----
|
37
|
+
|
38
|
+
* Fix generator [commit](https://github.com/rwz/ember-cli-rails/commit/c1bb10c6a2ec5b24d55fe69b6919fdd415fd1cdc)
|
39
|
+
|
40
|
+
0.0.4
|
41
|
+
-----
|
42
|
+
|
43
|
+
* Add assets:precompile hook [#11](https://github.com/rwz/ember-cli-rails/issues/11)
|
44
|
+
|
45
|
+
0.0.3
|
46
|
+
-----
|
47
|
+
|
48
|
+
* Make gem Ruby 2.0 compatible [#12](https://github.com/rwz/ember-cli-rails/issues/12)
|
49
|
+
|
50
|
+
0.0.2
|
51
|
+
-----
|
52
|
+
|
53
|
+
* Do not assume ember-cli app name is equal to configured name [#5](https://github.com/rwz/ember-cli-rails/issues/5)
|
data/README.md
CHANGED
@@ -64,7 +64,7 @@ Once you've updated your initializer to taste, you need to install the
|
|
64
64
|
For each of your EmberCLI applications install the addon with:
|
65
65
|
|
66
66
|
```sh
|
67
|
-
npm install --save-dev ember-cli-rails-addon@0.0.
|
67
|
+
npm install --save-dev ember-cli-rails-addon@0.0.5
|
68
68
|
```
|
69
69
|
|
70
70
|
And that's it!
|
@@ -83,20 +83,35 @@ end
|
|
83
83
|
|
84
84
|
## Usage
|
85
85
|
|
86
|
-
|
87
|
-
|
86
|
+
You render your Ember CLI app by including the corresponding JS/CSS tags in whichever
|
87
|
+
Rails view you'd like the Ember app to appear.
|
88
88
|
|
89
|
-
|
90
|
-
|
89
|
+
For example, if you had the following Rails app
|
90
|
+
|
91
|
+
```rb
|
92
|
+
# /config/routes.rb
|
93
|
+
Rails.application.routes.draw do
|
94
|
+
root 'application#index'
|
95
|
+
end
|
96
|
+
|
97
|
+
# /app/controllers/application_controller.rb
|
98
|
+
class ApplicationController < ActionController::Base
|
99
|
+
def index
|
100
|
+
render :index
|
101
|
+
end
|
102
|
+
end
|
91
103
|
```
|
92
104
|
|
93
|
-
|
105
|
+
and if you had created an Ember app `:frontend` in your initializer, then you
|
106
|
+
could render your app at the `/` route with the following view:
|
94
107
|
|
95
108
|
```erb
|
109
|
+
<!-- /app/views/application/index.html.erb -->
|
110
|
+
<%= include_ember_script_tags :frontend %>
|
96
111
|
<%= include_ember_stylesheet_tags :frontend %>
|
97
112
|
```
|
98
113
|
|
99
|
-
Your Ember application will be served
|
114
|
+
Your Ember application will now be served at the `/` route.
|
100
115
|
|
101
116
|
## Additional Information
|
102
117
|
|
data/lib/ember-cli/app.rb
CHANGED
data/lib/ember-cli/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ember-cli-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Pravosud
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-12-
|
12
|
+
date: 2014-12-22 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: railties
|
@@ -47,6 +47,7 @@ executables: []
|
|
47
47
|
extensions: []
|
48
48
|
extra_rdoc_files: []
|
49
49
|
files:
|
50
|
+
- CHANGELOG.md
|
50
51
|
- LICENSE.txt
|
51
52
|
- README.md
|
52
53
|
- lib/ember-cli-rails.rb
|