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 +4 -4
- data/lib/ember/emblem/config.rb +1 -1
- data/lib/ember/emblem/template.rb +5 -1
- data/lib/ember/emblem/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3272d3d758a92c549577d0827495a8210a564456
|
4
|
+
data.tar.gz: e73f94ee61d446ba99b112c892b717af6062e10d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f4eb07b217d2b92894e57f2fdb695d8de68839951bd34965c3abe3a0998d30252dff36c0884bf67f9bef87c44dee63ac3e197f1d16b1dc77c9859b4beac2d315
|
7
|
+
data.tar.gz: af7d2bff4dc1f2ee656cd9345f2f2ced58681e0a82ad3d84221f4c19b91b14e3deac0193b63eca4f42ce958fe167c6fce1cadba144ead7e0e9cae4d9ee9b25a6
|
data/lib/ember/emblem/config.rb
CHANGED
@@ -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 ||=
|
69
|
+
@config ||= self.class.config.dup
|
66
70
|
end
|
67
71
|
end
|
68
72
|
end
|
data/lib/ember/emblem/version.rb
CHANGED
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.
|
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.
|
133
|
+
rubygems_version: 2.4.5
|
134
134
|
signing_key:
|
135
135
|
specification_version: 4
|
136
136
|
summary: The sprockets template for Ember Emblem.
|