ember-es6_template 0.5.1 → 0.5.2

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: 4767d51dcfca91109c78fb8a1cb11e75fdb9675f
4
- data.tar.gz: 3969bc707633b3ce5a2a2623967f0a5330863542
3
+ metadata.gz: 26f50db1e55b9ffb0ad24f397150246460e1f338
4
+ data.tar.gz: 28c9ea9aa2a7e94c90e566af6a49c6eb74871c37
5
5
  SHA512:
6
- metadata.gz: 80700526177a4185c7e81918f06924e26adf8bdcc12947fa3fdf47a87c9411004632c9fcedb2f0cf5362db74540dbdea33c9cfccbca4b03f7be9d811ed8118f5
7
- data.tar.gz: ca3af93e133d8e124b42c3eb543cef4d0c0643780e275e26ee808615c7c1d2d3caa7afd258c6e9a075910afd467d460c139f87035569f0a1411b1e7d2fd08797
6
+ metadata.gz: 52ca031e6f7bd0ad4dc9b41b87f7e79701c0f07592ddcbf7e1d48519d01f283dcd93b83b8e056b6c3d536b45523e494756fbe5351738e3b8ddc61c53752e07c3
7
+ data.tar.gz: 80cc91874b45bb970fcdd845330f991136dcedb2389c3cf16d9aa01afa0329f251c531ed65842669e29f9cd3939bc618d1d9da588afbc9acdf3ab204290c7aef
@@ -17,7 +17,7 @@ module Ember
17
17
  private
18
18
 
19
19
  def es6?(filename)
20
- filename =~ /\.(?:module|es6)\.coffee/
20
+ File.basename(filename) =~ /\.(?:module|es6)\.coffee/
21
21
  end
22
22
  end
23
23
  end
@@ -25,7 +25,7 @@ module Ember
25
25
  private
26
26
 
27
27
  def module?(filename)
28
- filename =~ /\.module\.es6/
28
+ File.basename(filename) =~ /\.module\.es6/
29
29
  end
30
30
  end
31
31
  end
@@ -10,7 +10,7 @@ module Ember
10
10
  env.register_mime_type 'application/ecmascript-6', extensions: %w(.es6)
11
11
  env.register_mime_type 'application/ecmascript-6+module', extensions: %w(.module.es6)
12
12
  env.register_mime_type 'text/coffeescript', extensions: %w(.es6.coffee .coffee)
13
- env.register_mime_type 'text/coffeescript+module', extensions: %w(.es6.module.coffee .module.coffee)
13
+ env.register_mime_type 'text/coffeescript+module', extensions: %w(.module.es6.coffee .module.coffee)
14
14
 
15
15
  env.register_transformer 'application/ecmascript-6', 'application/javascript', ES6
16
16
  env.register_transformer 'application/ecmascript-6+module', 'application/javascript', ES6Module
@@ -1,5 +1,5 @@
1
1
  module Ember
2
2
  module ES6Template
3
- VERSION = '0.5.1'
3
+ VERSION = '0.5.2'
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.1
4
+ version: 0.5.2
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-04 00:00:00.000000000 Z
11
+ date: 2016-03-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: babel-transpiler