microengine 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +1 -1
  2. data/lib/admin_page.rb +2 -1
  3. metadata +2 -2
data/Rakefile CHANGED
@@ -3,7 +3,7 @@ require 'rake/rdoctask'
3
3
  require 'rake/gempackagetask'
4
4
 
5
5
  PKG_NAME = "microengine"
6
- PKG_VERSION = "0.2.1"
6
+ PKG_VERSION = "0.2.2"
7
7
 
8
8
  RUBY_FORGE_PROJECT = "microengine"
9
9
 
@@ -24,7 +24,8 @@ module Microengine
24
24
  @http = http
25
25
  @path = '/' + path
26
26
  @admin = admin
27
- @show_password = http.cookie['password'].nil?
27
+ password = http.cookie['password']
28
+ @show_password = password.nil? or password.empty?
28
29
 
29
30
  if not @http.post['layout'].nil?
30
31
  @layout = @http.post['default_layout']
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: microengine
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.2.1
7
- date: 2008-03-11 00:00:00 +03:00
6
+ version: 0.2.2
7
+ date: 2008-04-06 00:00:00 +04:00
8
8
  summary: MicroEngine is a fast, simple and minimalistic site engine.
9
9
  require_paths:
10
10
  - lib