ember-cli-rails 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ember-cli/railtie.rb +9 -2
- data/lib/ember-cli/version.rb +1 -1
- metadata +15 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70de2db30c3a569a3de223a66d4333cd381797b0
|
4
|
+
data.tar.gz: 03da59f19c3738116943f847e0a4c9dd02ad3c97
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 28d438311ffa4570d3ab8fbac42e8c267f5f4e93e07ac76d3d8b31f91e157db803ef36b6aa30c150774e35ec066f24f49df1f3fc8364627af8d4e55ac438daa6
|
7
|
+
data.tar.gz: bc214bc7bd4e8a320a3574539d9893d4852690e581d1bf4c848f8986c6e71ce3d9da62f7c0e314ecfa8137ccf20b7346e8266992d103e0170768078f4f8f227c
|
data/lib/ember-cli/railtie.rb
CHANGED
@@ -11,13 +11,20 @@ module EmberCLI
|
|
11
11
|
end
|
12
12
|
|
13
13
|
initializer "ember-cli-rails.enable" do
|
14
|
-
EmberCLI.enable! if
|
14
|
+
EmberCLI.enable! if enable?
|
15
15
|
end
|
16
16
|
|
17
17
|
rake_tasks do
|
18
18
|
require "sprockets/rails/task"
|
19
|
-
|
19
|
+
Helpers.override_assets_precompile_task!
|
20
20
|
end
|
21
21
|
|
22
|
+
def enable?
|
23
|
+
!skip_ember_cli_init? && Helpers.non_production?
|
24
|
+
end
|
25
|
+
|
26
|
+
def skip_ember_cli_init?
|
27
|
+
ENV.fetch("SKIP_EMBER", false)
|
28
|
+
end
|
22
29
|
end
|
23
30
|
end
|
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.0.
|
4
|
+
version: 0.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pavel Pravosud
|
@@ -25,6 +25,20 @@ dependencies:
|
|
25
25
|
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '4.0'
|
28
|
+
- !ruby/object:Gem::Dependency
|
29
|
+
name: sprockets-rails
|
30
|
+
requirement: !ruby/object:Gem::Requirement
|
31
|
+
requirements:
|
32
|
+
- - "~>"
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: '2.0'
|
35
|
+
type: :runtime
|
36
|
+
prerelease: false
|
37
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
|
+
requirements:
|
39
|
+
- - "~>"
|
40
|
+
- !ruby/object:Gem::Version
|
41
|
+
version: '2.0'
|
28
42
|
description:
|
29
43
|
email:
|
30
44
|
- pavel@pravosud.com
|