ember-cli-rails 0.8.6 → 0.8.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/README.md +3 -9
- data/lib/ember_cli/path_set.rb +1 -5
- data/lib/ember_cli/shell.rb +2 -4
- data/lib/ember_cli/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b9ebe9447a282f4d2c08c1c4fd374a753bc41a3e
|
4
|
+
data.tar.gz: e2086dd52187c9cc7baf2a76c4384ce3a3eb9202
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f7031cc499fdc978795be3c7dd4f570149f9f4412e02df6d4aeff86f78433beb3cf1ceca3ad32bcdd731496869dfd6594f637f907d32b9359c2bb3e31642f27
|
7
|
+
data.tar.gz: 1bcf390dfb8923794cfd4f17d135754d7d51acf8f7661b82db16ded3b6354593643df82cacffc86b7dac1341234da7013139dfd63a58f080b2b986e33a82f5ea
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,15 @@
|
|
1
1
|
master
|
2
2
|
------
|
3
3
|
|
4
|
+
0.8.7
|
5
|
+
-----
|
6
|
+
|
7
|
+
* Revert [`34ff6dd`][reverted-commit] so that it can be reintroduced as a
|
8
|
+
breaking change, [requiring a major version bump][#532-comment]
|
9
|
+
|
10
|
+
[reverted-commit]: https://github.com/thoughtbot/ember-cli-rails/commit/34ff6dd
|
11
|
+
[#532-comment]: https://github.com/thoughtbot/ember-cli-rails/pull/532#issuecomment-308141408
|
12
|
+
|
4
13
|
0.8.6
|
5
14
|
-----
|
6
15
|
|
data/README.md
CHANGED
@@ -270,8 +270,7 @@ To configure your EmberCLI-Rails applications for Heroku:
|
|
270
270
|
1. Execute `rails generate ember:heroku`.
|
271
271
|
1. Commit the newly generated files.
|
272
272
|
1. [Add the NodeJS buildpack][buildpack] and configure NPM to include the
|
273
|
-
`bower` dependency's executable file
|
274
|
-
`bower`).
|
273
|
+
`bower` dependency's executable file.
|
275
274
|
|
276
275
|
```sh
|
277
276
|
$ heroku buildpacks:clear
|
@@ -329,16 +328,11 @@ contains the directory or directories that contain the `bower` and `npm`
|
|
329
328
|
executables.
|
330
329
|
|
331
330
|
#### For faster deployments
|
332
|
-
|
333
|
-
Place the following in your `deploy/<environment>.rb`
|
334
|
-
|
331
|
+
Place the following in your deploy/<environment>.rb
|
335
332
|
```ruby
|
336
333
|
set :linked_dirs, %w{<ember-app-name>/node_modules <ember-app-name>/bower_components}
|
337
334
|
```
|
338
|
-
|
339
|
-
to avoid rebuilding all the node modules and bower components with every deploy.
|
340
|
-
Replace `<ember-app-name>` with the name of your ember app (default is
|
341
|
-
`frontend`).
|
335
|
+
to avoid rebuilding all the node modules and bower components with every deploy. Replace `<ember-app-name>` with the name of your ember app (default is `frontend`).
|
342
336
|
|
343
337
|
## Override
|
344
338
|
|
data/lib/ember_cli/path_set.rb
CHANGED
@@ -35,10 +35,6 @@ module EmberCli
|
|
35
35
|
@gemfile ||= root.join("Gemfile")
|
36
36
|
end
|
37
37
|
|
38
|
-
def bower_json
|
39
|
-
ember_cli_root.join("bower.json")
|
40
|
-
end
|
41
|
-
|
42
38
|
def ember
|
43
39
|
@ember ||= begin
|
44
40
|
root.join("node_modules", "ember-cli", "bin", "ember").tap do |path|
|
@@ -68,7 +64,7 @@ module EmberCli
|
|
68
64
|
def bower
|
69
65
|
@bower ||= begin
|
70
66
|
path_for_executable("bower").tap do |bower_path|
|
71
|
-
if
|
67
|
+
if bower_path.blank? || !bower_path.executable?
|
72
68
|
fail DependencyError.new <<-MSG.strip_heredoc
|
73
69
|
Bower is required by EmberCLI
|
74
70
|
|
data/lib/ember_cli/shell.rb
CHANGED
@@ -41,15 +41,13 @@ module EmberCli
|
|
41
41
|
clean_ember_dependencies!
|
42
42
|
end
|
43
43
|
|
44
|
-
if paths.yarn
|
44
|
+
if paths.yarn
|
45
45
|
run! "#{paths.yarn} install"
|
46
46
|
else
|
47
47
|
run! "#{paths.npm} prune && #{paths.npm} install"
|
48
48
|
end
|
49
49
|
|
50
|
-
|
51
|
-
run! "#{paths.bower} prune && #{paths.bower} install"
|
52
|
-
end
|
50
|
+
run! "[ -f bower.json ] && #{paths.bower} prune && #{paths.bower} install"
|
53
51
|
end
|
54
52
|
|
55
53
|
def test
|
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.7
|
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: 2017-06-
|
13
|
+
date: 2017-06-14 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: ember-cli-rails-assets
|