wallaby-view 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wallaby/view/themeable.rb +2 -4
- data/lib/wallaby/view/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0d2aab2470fe5611b6727f1d2399be6f97ed9d79980b313355a7c7ddaac0977
|
4
|
+
data.tar.gz: ce8cc6dc73dcb0e9db4d8552c0c4f1d9b37059b9468c4c56e8772d86c4f55c4e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 943113b1e797a8f31305e88bcfeb22c33fb645b328fa5900ff5a7a16d113b69b91b3e1bf3680598a3e308bd54fa53f27397ad65e8e4e2ae794ad84e57fc2ad7f
|
7
|
+
data.tar.gz: 3c98eda9c75a5241b0b1f795cf3e36ebdda34cd3674f3f8c203181ea00cacd395cd228528b15a7e44c79e3d3784698e8cc365edf73edfa83c689eef08909fe66
|
@@ -61,11 +61,9 @@ module Wallaby
|
|
61
61
|
class_methods do
|
62
62
|
# (see .theme_name)
|
63
63
|
def theme_name=(theme_name, **options, &block)
|
64
|
-
return unless theme_name
|
65
|
-
|
66
64
|
layout theme_name, options, &block
|
67
|
-
@theme_path = theme_name && controller_path
|
68
|
-
@theme_name = theme_name
|
65
|
+
@theme_path = theme_name && controller_path || nil
|
66
|
+
@theme_name = theme_name || nil
|
69
67
|
end
|
70
68
|
|
71
69
|
# (see .theme_name)
|
data/lib/wallaby/view/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wallaby-view
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tian Chen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-02-
|
11
|
+
date: 2020-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activemodel
|