ember-es6_template 0.5.2 → 0.5.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 +2 -1
- data/lib/ember/es6_template.rb +1 -2
- data/lib/ember/es6_template/sprockets-legacy.rb +4 -4
- data/lib/ember/es6_template/sprockets.rb +5 -6
- data/lib/ember/es6_template/sprockets/coffee_script.rb +2 -0
- data/lib/ember/es6_template/sprockets/coffee_script_module.rb +2 -0
- data/lib/ember/es6_template/version.rb +1 -1
- 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: 678cc60ede95c2df8949531e046b471a28a74d5c
|
4
|
+
data.tar.gz: 9aa07f1f098b492ee65865cc4d01437d0867867b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bbc619aed0ee5d8eb47b64c116b1642a70a7ef285d32b292e59f0dd72d6c68eef6975973bb151baa6c1d7b9c08bfdbcefa3ab84e58d140a990616c9b9ea17cda
|
7
|
+
data.tar.gz: f2ae2314358c2a47b27decec4b08236ad13b0397a8a0fdbb04ed78570f74cc394080061f73b1c8269d4a6b760832395c7429948d7ce478c7b5b29319c6394651
|
data/.travis.yml
CHANGED
data/lib/ember/es6_template.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
require 'ember/es6_template/version'
|
2
|
+
require 'ember/es6_template/config'
|
2
3
|
|
3
4
|
require 'sprockets'
|
4
5
|
require 'babel/transpiler'
|
@@ -14,8 +15,6 @@ module Ember
|
|
14
15
|
raise "Unsupported sprockets version: #{Sprockets::VERSION}"
|
15
16
|
end
|
16
17
|
|
17
|
-
autoload :Config, 'ember/es6_template/config'
|
18
|
-
|
19
18
|
def self.configure
|
20
19
|
yield config if block_given?
|
21
20
|
end
|
@@ -4,12 +4,12 @@ rescue LoadError => e
|
|
4
4
|
raise e unless ['cannot load such file -- coffee_script', 'no such file to load -- coffee_script'].include?(e.message)
|
5
5
|
end
|
6
6
|
|
7
|
+
require 'ember/es6_template/sprockets-legacy/es6'
|
8
|
+
require 'ember/es6_template/sprockets-legacy/es6module'
|
9
|
+
require 'ember/es6_template/sprockets-legacy/coffee_script'
|
10
|
+
|
7
11
|
module Ember
|
8
12
|
module ES6Template
|
9
|
-
autoload :ES6, 'ember/es6_template/sprockets-legacy/es6'
|
10
|
-
autoload :ES6Module, 'ember/es6_template/sprockets-legacy/es6module'
|
11
|
-
autoload :CoffeeScript, 'ember/es6_template/sprockets-legacy/coffee_script'
|
12
|
-
|
13
13
|
def self.setup(env)
|
14
14
|
env.register_engine '.es6', ES6
|
15
15
|
env.register_engine '.module', ES6Module
|
@@ -1,11 +1,10 @@
|
|
1
|
+
require 'ember/es6_template/sprockets/es6'
|
2
|
+
require 'ember/es6_template/sprockets/es6module'
|
3
|
+
require 'ember/es6_template/sprockets/coffee_script'
|
4
|
+
require 'ember/es6_template/sprockets/coffee_script_module'
|
5
|
+
|
1
6
|
module Ember
|
2
7
|
module ES6Template
|
3
|
-
autoload :ES6, 'ember/es6_template/sprockets/es6'
|
4
|
-
autoload :ES6Module, 'ember/es6_template/sprockets/es6module'
|
5
|
-
autoload :CoffeeScript, 'ember/es6_template/sprockets/coffee_script'
|
6
|
-
autoload :CoffeeScriptModule, 'ember/es6_template/sprockets/coffee_script_module'
|
7
|
-
autoload :CoffeeScriptHelper, 'ember/es6_template/sprockets/coffee_script_helper'
|
8
|
-
|
9
8
|
def self.setup(env)
|
10
9
|
env.register_mime_type 'application/ecmascript-6', extensions: %w(.es6)
|
11
10
|
env.register_mime_type 'application/ecmascript-6+module', extensions: %w(.module.es6)
|
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.5.
|
4
|
+
version: 0.5.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: 2016-
|
11
|
+
date: 2016-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: babel-transpiler
|