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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 26f50db1e55b9ffb0ad24f397150246460e1f338
4
- data.tar.gz: 28c9ea9aa2a7e94c90e566af6a49c6eb74871c37
3
+ metadata.gz: 678cc60ede95c2df8949531e046b471a28a74d5c
4
+ data.tar.gz: 9aa07f1f098b492ee65865cc4d01437d0867867b
5
5
  SHA512:
6
- metadata.gz: 52ca031e6f7bd0ad4dc9b41b87f7e79701c0f07592ddcbf7e1d48519d01f283dcd93b83b8e056b6c3d536b45523e494756fbe5351738e3b8ddc61c53752e07c3
7
- data.tar.gz: 80cc91874b45bb970fcdd845330f991136dcedb2389c3cf16d9aa01afa0329f251c531ed65842669e29f9cd3939bc618d1d9da588afbc9acdf3ab204290c7aef
6
+ metadata.gz: bbc619aed0ee5d8eb47b64c116b1642a70a7ef285d32b292e59f0dd72d6c68eef6975973bb151baa6c1d7b9c08bfdbcefa3ab84e58d140a990616c9b9ea17cda
7
+ data.tar.gz: f2ae2314358c2a47b27decec4b08236ad13b0397a8a0fdbb04ed78570f74cc394080061f73b1c8269d4a6b760832395c7429948d7ce478c7b5b29319c6394651
data/.travis.yml CHANGED
@@ -17,4 +17,5 @@ env:
17
17
  - SPROCKETS_VERSION="~> 3.3.0"
18
18
  - SPROCKETS_VERSION="~> 3.4.0"
19
19
  - SPROCKETS_VERSION="~> 3.5.0"
20
- - SPROCKETS_VERSION="~> 4.0.0.beta1"
20
+ - SPROCKETS_VERSION="~> 3.6.0"
21
+ - SPROCKETS_VERSION="~> 4.0.0.beta2"
@@ -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)
@@ -1,3 +1,5 @@
1
+ require 'ember/es6_template/sprockets/coffee_script_helper'
2
+
1
3
  module Ember
2
4
  module ES6Template
3
5
  class CoffeeScript < ES6
@@ -1,3 +1,5 @@
1
+ require 'ember/es6_template/sprockets/coffee_script_helper'
2
+
1
3
  module Ember
2
4
  module ES6Template
3
5
  class CoffeeScriptModule < ES6Module
@@ -1,5 +1,5 @@
1
1
  module Ember
2
2
  module ES6Template
3
- VERSION = '0.5.2'
3
+ VERSION = '0.5.3'
4
4
  end
5
5
  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.5.2
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-03-07 00:00:00.000000000 Z
11
+ date: 2016-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: babel-transpiler