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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8cd23eec0f8295c872243d260290b34f21d43ec2145fc0b365a20eb3a0ff2580
4
- data.tar.gz: dfbbefc56fd77282ecd22f516eb00549e91952cf1f0c91b92d7e41aeb518f778
3
+ metadata.gz: c0d2aab2470fe5611b6727f1d2399be6f97ed9d79980b313355a7c7ddaac0977
4
+ data.tar.gz: ce8cc6dc73dcb0e9db4d8552c0c4f1d9b37059b9468c4c56e8772d86c4f55c4e
5
5
  SHA512:
6
- metadata.gz: db9196eebc15e9e47b34689b8cadc2b77105f6e1f6fbc1fa0779fd16fce3495c0b605c444f5fc67979f0f1280a2812ae099defb311fe13337207b894433d9aee
7
- data.tar.gz: 4917269b5e80693821fb5a08d3cbc7cd1c8789c4bf5e2a87e41389994ba5bc449f6e4ae420f8db5e2ef7c4c164d4d2b91401556738e36f15d1457a2caaee77fc
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)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Wallaby
4
4
  module View
5
- VERSION = '0.1.0' # :nodoc:
5
+ VERSION = '0.1.1' # :nodoc:
6
6
  end
7
7
  end
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.0
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-07 00:00:00.000000000 Z
11
+ date: 2020-02-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel