ember-es6_template 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -0
- data/lib/ember/es6_template/version.rb +1 -1
- data/lib/ember/es6_template.rb +10 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd613dd4dcf0ae1b845e7607ef53215cc6ab0365
|
4
|
+
data.tar.gz: 9fb96c167792f7ac45f7d799356760caf4456a51
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d660ebae0ac00d4da1bdef550b4d0b220035edbc3ab6c422fced93a9a79af7d4418cd06f42a4c9489867a69329277c42986addbfa17ff8be96d606461e214d8f
|
7
|
+
data.tar.gz: 7c9e791bb5de9dfb46973274e9cd838cc2c1386250e49283a0af7a5833bd0dc1bb4f9a28843cb0119a5e01bb76efb952c837202e38e502f8c864cfe28f75732f
|
data/.travis.yml
CHANGED
data/lib/ember/es6_template.rb
CHANGED
@@ -9,9 +9,19 @@ module Ember
|
|
9
9
|
when /^2\./
|
10
10
|
autoload :ES6, 'ember/es6_template/es6_sprockets2'
|
11
11
|
autoload :ES6Module, 'ember/es6_template/es6module_sprockets2'
|
12
|
+
|
13
|
+
def self.setup(env)
|
14
|
+
env.register_engine '.es6', ES6
|
15
|
+
env.register_engine '.es6module', ES6Module
|
16
|
+
end
|
12
17
|
when /^3\./
|
13
18
|
autoload :ES6, 'ember/es6_template/es6'
|
14
19
|
autoload :ES6Module, 'ember/es6_template/es6module'
|
20
|
+
|
21
|
+
def self.setup(env)
|
22
|
+
env.register_engine '.es6', ES6, mime_type: 'application/javascript'
|
23
|
+
env.register_engine '.es6module', ES6Module, mime_type: 'application/javascript'
|
24
|
+
end
|
15
25
|
else
|
16
26
|
raise "Unsupported sprockets version: #{Sprockets::VERSION}"
|
17
27
|
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.0.
|
4
|
+
version: 0.0.3
|
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-03-
|
11
|
+
date: 2015-03-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: babel-transpiler
|