ember-cli-rails 0.1.12 → 0.1.13

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: 920844b60c35dace25586f39105ced9eaa3147c1
4
- data.tar.gz: 9942330ac3d0f92315c7baf9c698716af9f2c8c4
3
+ metadata.gz: be18e685e2f0fd4283834765c0cd56694908f3d5
4
+ data.tar.gz: 2a41cce40c3702d9bf1211abe9297e449db9625a
5
5
  SHA512:
6
- metadata.gz: a5d354e6593df4604fd1790eae97c4cc5dcdfac41590c16e79e228ebe7227513fc8d8658c34597858f8d541a93ef0672e2236fa526c76299bfa30b1e27d7ae6d
7
- data.tar.gz: dc30824fc0b5c6a1724dbee8aa680d0dc7a1e4a20697276f68ee73ce7fa36f9c27ddb48cf939c866feb66a26e6379ab89c4e93ee5ea35dbd5667fa34060d6c4d
6
+ metadata.gz: 30dfb8b4c37b172c65476c7a67fc08f648c4f85124f072f810897b80135158248ba945c37ade3a706154aee7220e71abb370c682415932bdebf9b71056bd3332
7
+ data.tar.gz: 09b6593d5205cb5590cb23e9eeecac57d40916f7578e900fefd9dfca67b51959f5923d121351315d6dd10c7b9604ea8fea6d23954e7be95a0db7849b4c63c0a6
@@ -1,3 +1,8 @@
1
+ 0.1.13
2
+ ------
3
+
4
+ * Don't Compile Assets if `SKIP_EMBER` set [#122](https://github.com/rwz/ember-cli-rails/pull/122) [@seanpdoyle](https://twitter.com/seanpdoyle)
5
+
1
6
  0.1.12
2
7
  ------
3
8
 
@@ -21,6 +21,10 @@ module EmberCLI
21
21
  configuration.apps[name]
22
22
  end
23
23
 
24
+ def skip?
25
+ ENV["SKIP_EMBER"]
26
+ end
27
+
24
28
  def prepare!
25
29
  @prepared ||= begin
26
30
  Rails.configuration.assets.paths << root.join("assets").to_s
@@ -11,7 +11,7 @@ module EmberCLI
11
11
  end
12
12
 
13
13
  initializer "ember-cli-rails.enable" do
14
- EmberCLI.enable! unless ENV["SKIP_EMBER"]
14
+ EmberCLI.enable! unless EmberCLI.skip?
15
15
  end
16
16
  end
17
17
  end
@@ -1,3 +1,3 @@
1
1
  module EmberCLI
2
- VERSION = "0.1.12".freeze
2
+ VERSION = "0.1.13".freeze
3
3
  end
@@ -15,4 +15,4 @@ namespace "ember-cli" do
15
15
  end
16
16
  end
17
17
 
18
- task "assets:precompile" => "ember-cli:compile"
18
+ task "assets:precompile" => "ember-cli:compile" unless EmberCLI.skip?
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.12
4
+ version: 0.1.13
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: 2015-03-20 00:00:00.000000000 Z
13
+ date: 2015-03-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: railties