ember-cli-rails 0.8.3 → 0.8.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -2
- data/README.md +14 -2
- data/lib/ember_cli/version.rb +1 -1
- data/lib/generators/ember/heroku/templates/package.json.erb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bd9baba448c470a3fe86b56c3939493cf4ce2ad4
|
4
|
+
data.tar.gz: 4d4b6dff42876a6e69a2c445f963db08a5dd042f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c61768e7fa04cd8bec9eb17815c50cc675ca5d6bfc07a43d0e9bedcf85126f42fa18fc59438d77c89d98aa9df53802803ba5246bed0502b72cd0533626cbd68
|
7
|
+
data.tar.gz: 3c582d1b1a57ee397c2e81482a4909ee38eaaa9cbada45c3c057962d0df72aa8ef8c7fb39f31d6c0f5364f349797a999b06476ee1ffe86024acb8d92476e87a5
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,14 @@
|
|
1
1
|
master
|
2
2
|
------
|
3
3
|
|
4
|
+
0.8.4
|
5
|
+
-----
|
6
|
+
|
7
|
+
* Execute `bin/heroku_install` through `sh` [#512]
|
8
|
+
* Generate `package.json` with `bower` as a `dependencies` value.
|
9
|
+
|
10
|
+
[#512]: https://github.com/thoughtbot/ember-cli-rails/pull/512
|
11
|
+
|
4
12
|
0.8.3
|
5
13
|
-----
|
6
14
|
|
@@ -25,8 +33,8 @@ master
|
|
25
33
|
0.8.0
|
26
34
|
-----
|
27
35
|
|
28
|
-
* `EmberCli::EmberController`
|
29
|
-
|
36
|
+
* `EmberCli::EmberController` no longer assumes `ApplicationController`
|
37
|
+
inherits from`ActionController::Base`. [#400]
|
30
38
|
* Remove support for Ruby 2.1.x. [#400]
|
31
39
|
* Don't route requests to `/rails/info` through the mounted Ember application.
|
32
40
|
|
data/README.md
CHANGED
@@ -132,6 +132,7 @@ end
|
|
132
132
|
`format: :html` requests. Additionally, this will handle child routes as well.
|
133
133
|
For instance, mounting `mount_ember_app :frontend, to: "/frontend"` will handle a
|
134
134
|
`format: :html` request to `/frontend/posts`.
|
135
|
+
*Note:* If you specify a custom path, you must also update the `rootURL` in `frontend/config/environment.js`. See [Mounting multiple Ember applications](#mounting-multiple-ember-applications) for more information.
|
135
136
|
* `controller` - Defaults to `"ember_cli/ember"`
|
136
137
|
* `action` - Defaults to `"index"`
|
137
138
|
|
@@ -172,6 +173,16 @@ task default: [:spec, "ember:test"]
|
|
172
173
|
|
173
174
|
## Deploy
|
174
175
|
|
176
|
+
When Rails is running in production mode, EmberCLI-Rails stops doing runtime
|
177
|
+
compilation. Instead, configured apps are built during `rake assets:precompile`.
|
178
|
+
This keeps things quick for end users, and extends the normal Rails asset
|
179
|
+
building process.
|
180
|
+
|
181
|
+
Configuration information, including instructions for Heroku and Capistrano,
|
182
|
+
can be found below.
|
183
|
+
|
184
|
+
### CDN
|
185
|
+
|
175
186
|
In production environments, assets should be served over a
|
176
187
|
Content Delivery Network.
|
177
188
|
|
@@ -265,7 +276,6 @@ To configure your EmberCLI-Rails applications for Heroku:
|
|
265
276
|
$ heroku buildpacks:clear
|
266
277
|
$ heroku buildpacks:add --index 1 heroku/nodejs
|
267
278
|
$ heroku buildpacks:add --index 2 heroku/ruby
|
268
|
-
$ heroku config:set NPM_CONFIG_PRODUCTION=false
|
269
279
|
$ heroku config:unset SKIP_EMBER
|
270
280
|
```
|
271
281
|
|
@@ -275,6 +285,8 @@ You are ready to deploy:
|
|
275
285
|
$ git push heroku master
|
276
286
|
```
|
277
287
|
|
288
|
+
EmberCLI compilation happens at deploy-time, triggered by the `asset:precompile` rake task.
|
289
|
+
|
278
290
|
**NOTE** Run the generator each time you introduce additional EmberCLI
|
279
291
|
applications into the project.
|
280
292
|
|
@@ -293,7 +305,7 @@ A build-pack solution for this is discussed in [Issue #491][#491].
|
|
293
305
|
### Capistrano
|
294
306
|
|
295
307
|
EmberCLI-Rails executes both `npm install` and `bower install` during EmberCLI's
|
296
|
-
compilation, triggered by the `asset:
|
308
|
+
compilation, triggered by the `asset:precompile` rake task.
|
297
309
|
|
298
310
|
The `npm` and `bower` executables are required to be defined in the deployment
|
299
311
|
SSH session's `$PATH`. It is not sufficient to modify the session's `$PATH` in
|
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.8.
|
4
|
+
version: 0.8.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Pravosud
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2017-01-27 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: ember-cli-rails-assets
|
@@ -126,7 +126,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
126
126
|
version: '0'
|
127
127
|
requirements: []
|
128
128
|
rubyforge_project:
|
129
|
-
rubygems_version: 2.5.
|
129
|
+
rubygems_version: 2.4.5.1
|
130
130
|
signing_key:
|
131
131
|
specification_version: 4
|
132
132
|
summary: Integration between Ember CLI and Rails
|