kiss 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION +1 -1
  2. data/lib/kiss.rb +12 -0
  3. metadata +2 -2
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.9.2
1
+ 0.9.3
data/lib/kiss.rb CHANGED
@@ -407,6 +407,18 @@ class Kiss
407
407
  # setup session storage, if session class specified in config
408
408
  @session_class.setup_storage(self) if @session_class
409
409
 
410
+ # prepare authenticate_exclude
411
+ if @options[:authenticate_all]
412
+ if @options[:authenticate_exclude].is_a?(Array)
413
+ @options[:authenticate_exclude] = @options[:authenticate_exclude].map do |action|
414
+ action = '/'+action unless action =~ /\A\//
415
+ action
416
+ end
417
+ else
418
+ @options[:authenticate_exclude] = []
419
+ end
420
+ end
421
+
410
422
  self
411
423
  end
412
424
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kiss
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.2
4
+ version: 0.9.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shawn Van Ittersum
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-08-18 00:00:00 -07:00
12
+ date: 2008-08-19 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency