ember-cli-rails 0.1.4 → 0.1.5

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: 592eaa565d9482c142264043629914fc8bf7400a
4
- data.tar.gz: 36baec660011ab03cdf1fc3c2c949d0fc803d637
3
+ metadata.gz: cf2e33d142612da5f350fd3e2c5485b91655b13e
4
+ data.tar.gz: 2129b69228ea81c517036b91c321a27acdb283aa
5
5
  SHA512:
6
- metadata.gz: 29c2aedc202234f829785691ce6610ffdd98829199d712c995337f3264b576fb6e44c9e3747cba4c107226faeea57dabf1837e85e00bb351a232b86b4a9a5fe7
7
- data.tar.gz: 9c438cd9b309588f33ebe6585eb987da378467d28fde957cde86554ca6651ab05570be3796c165a038d2af4bae8855e28eb3cc2665bb4094ed13a245e2842147
6
+ metadata.gz: 68ca6fb42d0228394855838337b9e9a75749cedf9bf82898cc5c574a572597b7941542824782a1c973317654bf5551be1f508ea8dfc4666d84c2c1bbc49b1417
7
+ data.tar.gz: 93897168ded00864768d3cb1db00c45e230b713f05de4106b806005c6f4b4ddfa7205dac0a850c7f54efb65f7d78a3110b1f3e65f08c310bc60d791d6ea9b1c8
@@ -1,3 +1,8 @@
1
+ 0.1.5
2
+ -----
3
+
4
+ * Compilation and dependencies Rake tasks improved [#79](https://github.com/rwz/ember-cli-rails/pull/79)
5
+
1
6
  0.1.4
2
7
  -----
3
8
 
@@ -37,15 +37,5 @@ module EmberCLI
37
37
  config = Rails.configuration
38
38
  config.respond_to?(key) ? config.public_send(key) : default
39
39
  end
40
-
41
- def override_assets_precompile_task!
42
- Rake.application.instance_eval do
43
- @tasks["assets:precompile:original"] = @tasks.delete("assets:precompile")
44
- dependencies = ["ember-cli:install_dependencies", "ember-cli:compile"]
45
- Rake::Task.define_task "assets:precompile", [:assets, :precompile] => dependencies do
46
- Rake::Task["assets:precompile:original"].execute
47
- end
48
- end
49
- end
50
40
  end
51
41
  end
@@ -15,9 +15,7 @@ module EmberCLI
15
15
  end
16
16
 
17
17
  rake_tasks do
18
- require "sprockets/rails/task"
19
18
  load "tasks/ember-cli.rake"
20
- Helpers.override_assets_precompile_task!
21
19
  end
22
20
  end
23
21
  end
@@ -1,3 +1,3 @@
1
1
  module EmberCLI
2
- VERSION = "0.1.4".freeze
2
+ VERSION = "0.1.5".freeze
3
3
  end
@@ -1,6 +1,6 @@
1
1
  namespace "ember-cli" do
2
2
  desc "Runs `ember build` for each App"
3
- task compile: :environment do
3
+ task compile: :install_dependencies do
4
4
  EmberCLI.compile!
5
5
  end
6
6
 
@@ -14,3 +14,5 @@ namespace "ember-cli" do
14
14
  EmberCLI.install_dependencies!
15
15
  end
16
16
  end
17
+
18
+ task "assets:precompile" => "ember-cli:compile"
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.1.4
4
+ version: 0.1.5
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: 2015-01-30 00:00:00.000000000 Z
12
+ date: 2015-02-10 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties