theme 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/theme/version.rb +1 -1
- data/lib/theme.rb +1 -4
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 87542d2ff3fb92e391ae045d482ea371030bbe80
|
4
|
+
data.tar.gz: c14a30cf34f323f484979fd0b047fc89442d186c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2475480a66dfcd0dc52139848e781e4ed4fbc969e9bf81280e47733e7bbf73efca21d22a7d0caf61b579945b6e2481d157d3bf9fed5c02d057d436ab7b81ac52
|
7
|
+
data.tar.gz: b80243207f9cb8c6294154436f921756af8a92536bc5ae5bcbb0c3c3474536c0ef501a0b5392fd0ead94fc5c767575cb8aa71371bc5ceec17e196c94c3d9665a
|
data/lib/theme/version.rb
CHANGED
data/lib/theme.rb
CHANGED
@@ -107,7 +107,7 @@ module Theme
|
|
107
107
|
template
|
108
108
|
}
|
109
109
|
|
110
|
-
if defined? cache.render
|
110
|
+
if defined? cache.respond_to?(:render, true)
|
111
111
|
cache.render instance, c.to_h
|
112
112
|
else
|
113
113
|
cache.to_s
|
@@ -121,9 +121,6 @@ module Theme
|
|
121
121
|
alias :comp :component
|
122
122
|
|
123
123
|
def theme_components
|
124
|
-
# Dir.glob("#{Theme.config.component_path}/**/*.rb").each do |c|
|
125
|
-
# load c
|
126
|
-
# end
|
127
124
|
req.env[:_theme_components] ||= begin
|
128
125
|
components = {}
|
129
126
|
|