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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b6f1ecfa7b10f43b47a13ba32488120646db7e4e
4
- data.tar.gz: 24f6c8380556baec9fe584b07a325154150b3466
3
+ metadata.gz: b9ebe9447a282f4d2c08c1c4fd374a753bc41a3e
4
+ data.tar.gz: e2086dd52187c9cc7baf2a76c4384ce3a3eb9202
5
5
  SHA512:
6
- metadata.gz: 586309531996485760e27515c587694ba551dd04d73d23e9bb0ec94f0716d95956c596d136dc8bfac347e32fe723b709a6ef955c631dab4d530ddf6d1d9d692e
7
- data.tar.gz: c68bdcebcbcf4af6c1f477041ca1b91a19b2b677d70d81ca1d2edffb000832165e34407990f01cb2a6f6eb5f879b191d6aea42165d1257ddf099ef9ef3675727
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 (if your build process requires
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
 
@@ -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 bower_json.exist? && (bower_path.blank? || !bower_path.executable?)
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
 
@@ -41,15 +41,13 @@ module EmberCli
41
41
  clean_ember_dependencies!
42
42
  end
43
43
 
44
- if paths.yarn.present? && Pathname.new(paths.yarn).executable?
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
- if paths.bower_json.exist?
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
@@ -1,3 +1,3 @@
1
1
  module EmberCli
2
- VERSION = "0.8.6".freeze
2
+ VERSION = "0.8.7".freeze
3
3
  end
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.6
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-09 00:00:00.000000000 Z
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