rlayout 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +4 -0
- data/README +1 -1
- data/Rakefile +1 -1
- data/lib/rlayout/layout.rb +2 -0
- metadata +2 -2
data/CHANGELOG
CHANGED
data/README
CHANGED
data/Rakefile
CHANGED
data/lib/rlayout/layout.rb
CHANGED
@@ -30,7 +30,9 @@ module Rlayout
|
|
30
30
|
end
|
31
31
|
end
|
32
32
|
unless new_layout.nil? || new_layout.empty?
|
33
|
+
options ||= {}
|
33
34
|
options[:layout] = new_layout == 'none' || new_layout == 'false' ? false : new_layout
|
35
|
+
template_with_options = true
|
34
36
|
end
|
35
37
|
|
36
38
|
if apply_layout?(template_with_options, options) && (layout = pick_layout(template_with_options, options))
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rlayout
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Leon Li
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-05-
|
12
|
+
date: 2008-05-13 00:00:00 +08:00
|
13
13
|
default_executable:
|
14
14
|
dependencies: []
|
15
15
|
|