theme 0.1.4 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/theme/version.rb +1 -1
  3. data/lib/theme.rb +1 -4
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 02ff8e020356a442df18f5f5ccfb73459fe7759a
4
- data.tar.gz: efd3dad02f1a62a9f2a8fae78fd0dfe70a7d3243
3
+ metadata.gz: 87542d2ff3fb92e391ae045d482ea371030bbe80
4
+ data.tar.gz: c14a30cf34f323f484979fd0b047fc89442d186c
5
5
  SHA512:
6
- metadata.gz: f3736acc5bde2c4494e53b85c6e9d3512d7df2246d609276243fefdf49210ab7a910cde594adf6a46f0eedaf681bd6102e98088ae6d3e2e32123ca1cb276e43f
7
- data.tar.gz: f8d8827a2a1ed9bde685e8baef9185c0549a3b5a935e25dfa9c89bdb3a3acd371b70227112851441acf51228de1fcb36facabbea158f3842195c8d731ab934e8
6
+ metadata.gz: 2475480a66dfcd0dc52139848e781e4ed4fbc969e9bf81280e47733e7bbf73efca21d22a7d0caf61b579945b6e2481d157d3bf9fed5c02d057d436ab7b81ac52
7
+ data.tar.gz: b80243207f9cb8c6294154436f921756af8a92536bc5ae5bcbb0c3c3474536c0ef501a0b5392fd0ead94fc5c767575cb8aa71371bc5ceec17e196c94c3d9665a
data/lib/theme/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Theme
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - cj