ember-emblem-template 0.2.1 → 0.2.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: 65c9ce9dac3fb4b44d4d8390bd7b2d6321e1d19a
4
- data.tar.gz: d82824910a3f26e2f5eb8a912bbee9beb2f474dd
3
+ metadata.gz: 3272d3d758a92c549577d0827495a8210a564456
4
+ data.tar.gz: e73f94ee61d446ba99b112c892b717af6062e10d
5
5
  SHA512:
6
- metadata.gz: 789b88a3e8dc849f9bde59ef4d3ce958d2944f74fd07b933b7841c46bb0b121fc0e45f2ec84de6910c613f37b096e8b597001bd859b32a320fd7bfc3e8f22e81
7
- data.tar.gz: 27823510e020bb61dac7185a4e9333ec0b67c3b0cfebac3c2f8e03e4937fee6b035d370145f8fd3c47662f084d95874441a765086389fa54330191c7ba3e0b19
6
+ metadata.gz: f4eb07b217d2b92894e57f2fdb695d8de68839951bd34965c3abe3a0998d30252dff36c0884bf67f9bef87c44dee63ac3e197f1d16b1dc77c9859b4beac2d315
7
+ data.tar.gz: af7d2bff4dc1f2ee656cd9345f2f2ced58681e0a82ad3d84221f4c19b91b14e3deac0193b63eca4f42ce958fe167c6fce1cadba144ead7e0e9cae4d9ee9b25a6
@@ -10,7 +10,7 @@ module Ember
10
10
 
11
11
  def initialize
12
12
  self.precompile = true
13
- self.ember_template = 'Handlebars'
13
+ self.ember_template = 'HTMLBars'
14
14
  self.output_type = :global
15
15
  self.amd_namespace = nil
16
16
  self.templates_root = 'templates'
@@ -14,6 +14,10 @@ module Ember
14
14
  env.register_engine '.emblem', self
15
15
  end
16
16
 
17
+ def self.config
18
+ @config ||= Config.new
19
+ end
20
+
17
21
  def evaluate(scope, locals, &block)
18
22
  template = data
19
23
 
@@ -62,7 +66,7 @@ module Ember
62
66
  end
63
67
 
64
68
  def config
65
- @config ||= Config.new
69
+ @config ||= self.class.config.dup
66
70
  end
67
71
  end
68
72
  end
@@ -1,5 +1,5 @@
1
1
  module Ember
2
2
  module Emblem
3
- VERSION = '0.2.1'
3
+ VERSION = '0.2.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ember-emblem-template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryunosuke SATO
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
130
130
  version: '0'
131
131
  requirements: []
132
132
  rubyforge_project:
133
- rubygems_version: 2.2.2
133
+ rubygems_version: 2.4.5
134
134
  signing_key:
135
135
  specification_version: 4
136
136
  summary: The sprockets template for Ember Emblem.