ember-es6_template 0.2.3 → 0.2.4

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: ace257e6e698fd347025a24e06d78fa567fe2465
4
- data.tar.gz: a46428a1e307ae0912fedb8d60417afbdfb89b88
3
+ metadata.gz: f5792670be73f6489e4dd4a650b8b05e6dd07076
4
+ data.tar.gz: 7b9f5e97d3f999e5432d5a83efeadb279a7074cb
5
5
  SHA512:
6
- metadata.gz: ed7ad6993b2575d1b743b1d86ee25235a71783b4df10fb3a6c8d8b7006f81e8df9640d14ac01eb92288317cb6ed6af45d0d6b88d7404a561f7b219c9ebc85d25
7
- data.tar.gz: 88fef67969f5446468c744c2630e5cf9a42285f362519fd71a3166fd3be50986daf847a7670b44cf63283b992d6ce76f5a9773aaafb140fcfbf7154747d36d9f
6
+ metadata.gz: 71b4134d59cad3ca89d3685f6d2e50c5eb42ba526eb10ddced26d8368239653a25b3ad78a4bc22f969625e76c3e1ef53841f1ff179e617d91331d5b04dd526bd
7
+ data.tar.gz: 0153120552fbee7754bb683bc7d3d8799a975dba90b4a239faa26ee01c55b7368bed57c4fa7a1a8c491f66a0329ac7c0c248f0b268efedb4996a459ff5936e2d
@@ -1,5 +1,3 @@
1
- require 'coffee_script'
2
-
3
1
  module Ember
4
2
  module ES6Template
5
3
  class ES6 < ::Tilt::Template
@@ -1,3 +1,9 @@
1
+ begin
2
+ require 'coffee_script'
3
+ rescue LoadError => e
4
+ raise e unless e.message == 'cannot load such file -- coffee_script'
5
+ end
6
+
1
7
  module Ember
2
8
  module ES6Template
3
9
  autoload :ES6, 'ember/es6_template/sprockets2/es6'
@@ -7,7 +13,7 @@ module Ember
7
13
  def self.setup(env)
8
14
  env.register_engine '.es6', ES6
9
15
  env.register_engine '.module', ES6Module
10
- env.register_engine '.coffee', CoffeeScript
16
+ env.register_engine '.coffee', CoffeeScript if defined?(::CoffeeScript)
11
17
  end
12
18
  end
13
19
  end
@@ -1,5 +1,5 @@
1
1
  module Ember
2
2
  module ES6Template
3
- VERSION = '0.2.3'
3
+ VERSION = '0.2.4'
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.2.3
4
+ version: 0.2.4
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-04-04 00:00:00.000000000 Z
11
+ date: 2015-04-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: babel-transpiler