ember-es6_template 0.2.3 → 0.2.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5792670be73f6489e4dd4a650b8b05e6dd07076
|
4
|
+
data.tar.gz: 7b9f5e97d3f999e5432d5a83efeadb279a7074cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71b4134d59cad3ca89d3685f6d2e50c5eb42ba526eb10ddced26d8368239653a25b3ad78a4bc22f969625e76c3e1ef53841f1ff179e617d91331d5b04dd526bd
|
7
|
+
data.tar.gz: 0153120552fbee7754bb683bc7d3d8799a975dba90b4a239faa26ee01c55b7368bed57c4fa7a1a8c491f66a0329ac7c0c248f0b268efedb4996a459ff5936e2d
|
@@ -1,3 +1,9 @@
|
|
1
|
+
begin
|
2
|
+
require 'coffee_script'
|
3
|
+
rescue LoadError => e
|
4
|
+
raise e unless e.message == 'cannot load such file -- coffee_script'
|
5
|
+
end
|
6
|
+
|
1
7
|
module Ember
|
2
8
|
module ES6Template
|
3
9
|
autoload :ES6, 'ember/es6_template/sprockets2/es6'
|
@@ -7,7 +13,7 @@ module Ember
|
|
7
13
|
def self.setup(env)
|
8
14
|
env.register_engine '.es6', ES6
|
9
15
|
env.register_engine '.module', ES6Module
|
10
|
-
env.register_engine '.coffee', CoffeeScript
|
16
|
+
env.register_engine '.coffee', CoffeeScript if defined?(::CoffeeScript)
|
11
17
|
end
|
12
18
|
end
|
13
19
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ember-es6_template
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryunosuke SATO
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: babel-transpiler
|