ember-cli-rails 0.1.3 → 0.1.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: 030d5f1596ebae3fecc96c480954a9e4cb4e3151
4
- data.tar.gz: f677b7c8673737370c96f354af72a7b6db07df61
3
+ metadata.gz: 592eaa565d9482c142264043629914fc8bf7400a
4
+ data.tar.gz: 36baec660011ab03cdf1fc3c2c949d0fc803d637
5
5
  SHA512:
6
- metadata.gz: 377903d80e5ee92956235ecc98fa4337b81ace80869d44ec8627adcba014e33ec433e523b0c5fdfa1c651c3f47d995fd4e3e8a6a280344360ad32d8d40dafb75
7
- data.tar.gz: 0b0fa9d57c95603281445df2ab1e8e3db21b0471c9103dac625e18b61e03a77e5a2c4b72f20b93b9b312fd88626944399b56f4a63f566a141b02db6931f6c282
6
+ metadata.gz: 29c2aedc202234f829785691ce6610ffdd98829199d712c995337f3264b576fb6e44c9e3747cba4c107226faeea57dabf1837e85e00bb351a232b86b4a9a5fe7
7
+ data.tar.gz: 9c438cd9b309588f33ebe6585eb987da378467d28fde957cde86554ca6651ab05570be3796c165a038d2af4bae8855e28eb3cc2665bb4094ed13a245e2842147
data/CHANGELOG.md CHANGED
@@ -1,3 +1,8 @@
1
+ 0.1.4
2
+ -----
3
+
4
+ * Expose `ember-cli:compile` rake task [#73](https://github.com/rwz/ember-cli-rails/pull/73)
5
+
1
6
  0.1.3
2
7
  -----
3
8
 
data/lib/ember-cli/app.rb CHANGED
@@ -91,8 +91,8 @@ module EmberCLI
91
91
  private
92
92
 
93
93
  delegate :match_version?, :non_production?, to: Helpers
94
+ delegate :configuration, to: EmberCLI
94
95
  delegate :tee_path, :npm_path, to: :configuration
95
- delegate :configuration, to: :EmberCLI
96
96
 
97
97
  def build_timeout
98
98
  options.fetch(:build_timeout){ configuration.build_timeout }
@@ -41,8 +41,8 @@ module EmberCLI
41
41
  def override_assets_precompile_task!
42
42
  Rake.application.instance_eval do
43
43
  @tasks["assets:precompile:original"] = @tasks.delete("assets:precompile")
44
- Rake::Task.define_task "assets:precompile", [:assets, :precompile] => "ember-cli:install_dependencies" do
45
- EmberCLI.compile!
44
+ dependencies = ["ember-cli:install_dependencies", "ember-cli:compile"]
45
+ Rake::Task.define_task "assets:precompile", [:assets, :precompile] => dependencies do
46
46
  Rake::Task["assets:precompile:original"].execute
47
47
  end
48
48
  end
@@ -1,3 +1,3 @@
1
1
  module EmberCLI
2
- VERSION = "0.1.3".freeze
2
+ VERSION = "0.1.4".freeze
3
3
  end
@@ -1,4 +1,9 @@
1
1
  namespace "ember-cli" do
2
+ desc "Runs `ember build` for each App"
3
+ task compile: :environment do
4
+ EmberCLI.compile!
5
+ end
6
+
2
7
  desc "Runs `ember test` for each App"
3
8
  task test: :environment do
4
9
  EmberCLI.run_tests!
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.3
4
+ version: 0.1.4
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-28 00:00:00.000000000 Z
12
+ date: 2015-01-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties