lockdown 0.5.4 → 0.5.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,9 +4,9 @@ $:.unshift(File.dirname(__FILE__)) unless
4
4
  module Lockdown
5
5
  class << self
6
6
  def format_controller_action(url)
7
- url.split("/").delete_if{|p| p.to_i > 0 || p.length == 0}.join("/")
8
- url += "/index" unless url =~ /\//
9
- url
7
+ new_url = url.split("/").delete_if{|p| p.to_i > 0 || p.length == 0}.join("/")
8
+ new_url += "/index" unless new_url =~ /\//
9
+ new_url
10
10
  end
11
11
 
12
12
  def format_controller(ctr)
@@ -2,7 +2,7 @@ module Lockdown #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 5
5
- TINY = 4
5
+ TINY = 5
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -33,7 +33,7 @@
33
33
  <h1>Lockdown</h1>
34
34
  <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/lockdown"; return false'>
35
35
  <p>Get Version</p>
36
- <a href="http://rubyforge.org/projects/lockdown" class="numbers">0.5.4</a>
36
+ <a href="http://rubyforge.org/projects/lockdown" class="numbers">0.5.5</a>
37
37
  </div>
38
38
  <h2>What</h2>
39
39
 
@@ -33,7 +33,7 @@
33
33
  <h1>Lockdown</h1>
34
34
  <div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/lockdown"; return false'>
35
35
  <p>Get Version</p>
36
- <a href="http://rubyforge.org/projects/lockdown" class="numbers">0.5.4</a>
36
+ <a href="http://rubyforge.org/projects/lockdown" class="numbers">0.5.5</a>
37
37
  </div>
38
38
  <h2>What</h2>
39
39
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lockdown
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Stone