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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6a9a7180945c981aa7cd40061080728d0b3479ea
4
- data.tar.gz: d74ef9352b130fc0f4865ec79e68591eba9c8eb3
3
+ metadata.gz: bd9baba448c470a3fe86b56c3939493cf4ce2ad4
4
+ data.tar.gz: 4d4b6dff42876a6e69a2c445f963db08a5dd042f
5
5
  SHA512:
6
- metadata.gz: 015b3b7369a54946bb94f0bbb8f488a5eaaf80b1ce20ce6c9aee4126d048c07f15b41a1667fee4ac3896180a4116b0738af3eb061cc079bd5f86a8c59553229c
7
- data.tar.gz: 84671272943be7d029051112fa052e2bb7cdca22ff6bdf3a3ce0000c1f9d8676791f020143040c8a9a0225fcc5177a1045c83302cc0887e3e86e39b32e6b0b39
6
+ metadata.gz: 9c61768e7fa04cd8bec9eb17815c50cc675ca5d6bfc07a43d0e9bedcf85126f42fa18fc59438d77c89d98aa9df53802803ba5246bed0502b72cd0533626cbd68
7
+ data.tar.gz: 3c582d1b1a57ee397c2e81482a4909ee38eaaa9cbada45c3c057962d0df72aa8ef8c7fb39f31d6c0f5364f349797a999b06476ee1ffe86024acb8d92476e87a5
@@ -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` now inherits from `ActionController::Base` instead
29
- of `ApplicationController`. [#400]
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:precompilation` rake task.
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
@@ -1,3 +1,3 @@
1
1
  module EmberCli
2
- VERSION = "0.8.3".freeze
2
+ VERSION = "0.8.4".freeze
3
3
  end
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "scripts": {
3
- "postinstall": "./bin/heroku_install"
3
+ "postinstall": "sh bin/heroku_install"
4
4
  },
5
- "devDependencies": {
5
+ "dependencies": {
6
6
  "bower": "*"
7
7
  },
8
8
  "cacheDirectories": [
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.3
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: 2016-10-28 00:00:00.000000000 Z
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.0
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