rlayout 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (5) hide show
  1. data/CHANGELOG +4 -0
  2. data/README +1 -1
  3. data/Rakefile +1 -1
  4. data/lib/rlayout/layout.rb +1 -1
  5. metadata +1 -1
data/CHANGELOG CHANGED
@@ -1,3 +1,7 @@
1
+ Changes in version 0.1.1 (2008-05-6)
2
+ -------------------------------------
3
+ add support of layout: false
4
+
1
5
  Changes in version 0.1.0 (2008-05-6)
2
6
  -------------------------------------
3
7
  initial release
data/README CHANGED
@@ -1,4 +1,4 @@
1
- Rails Layout Extension, release 0.1.0 (May. 2008)
1
+ Rails Layout Extension, release 0.1.1 (May. 2008)
2
2
 
3
3
  Feature
4
4
  =======
data/Rakefile CHANGED
@@ -1,7 +1,7 @@
1
1
  require 'rubygems'
2
2
  require 'rake/gempackagetask'
3
3
  PKG_NAME = "rlayout"
4
- PKG_VERSION = "0.1.0"
4
+ PKG_VERSION = "0.1.1"
5
5
  PKG_FILE_NAME = "#{PKG_NAME}-#{PKG_VERSION}"
6
6
  PKG_FILES = FileList[
7
7
  '[A-Z]*',
@@ -27,7 +27,7 @@ module Rlayout
27
27
  end
28
28
  end
29
29
  unless new_layout.nil? || new_layout.empty?
30
- options[:layout] = new_layout == 'none' ? false : new_layout
30
+ options[:layout] = new_layout == 'none' || new_layout == 'false' ? false : new_layout
31
31
  end
32
32
 
33
33
  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.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Leon Li