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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 86db4eb2a5854bd44a33b7278a96f93840fc856d
4
- data.tar.gz: 60c0f71270a55e39c4385e339db91aa4651e4b1d
3
+ metadata.gz: fd613dd4dcf0ae1b845e7607ef53215cc6ab0365
4
+ data.tar.gz: 9fb96c167792f7ac45f7d799356760caf4456a51
5
5
  SHA512:
6
- metadata.gz: 2d35450b30b74463f271687cd17f7e6f7d17002b4ef8345fa3b4e56f528d31838fc244ee896e62b3df10e38a8d18db6993a0c07243231977e32c836004e02575
7
- data.tar.gz: b591ea35778aa767208a0022cec84b716c2ce05c30129251f6e2892182625c3c4058c62cba824041540138f2cd7c99b3e30c28b95da55879cbb70e5ac5265657
6
+ metadata.gz: d660ebae0ac00d4da1bdef550b4d0b220035edbc3ab6c422fced93a9a79af7d4418cd06f42a4c9489867a69329277c42986addbfa17ff8be96d606461e214d8f
7
+ data.tar.gz: 7c9e791bb5de9dfb46973274e9cd838cc2c1386250e49283a0af7a5833bd0dc1bb4f9a28843cb0119a5e01bb76efb952c837202e38e502f8c864cfe28f75732f
data/.travis.yml CHANGED
@@ -9,5 +9,6 @@ rvm:
9
9
 
10
10
  env:
11
11
  matrix:
12
+ - SPROCKETS_VERSION="~> 2.1.0"
12
13
  - SPROCKETS_VERSION="~> 2.12.0"
13
14
  - SPROCKETS_VERSION="~> 3.0.0.beta.10"
@@ -1,5 +1,5 @@
1
1
  module Ember
2
2
  module ES6Template
3
- VERSION = '0.0.2'
3
+ VERSION = '0.0.3'
4
4
  end
5
5
  end
@@ -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.2
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-23 00:00:00.000000000 Z
11
+ date: 2015-03-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: babel-transpiler