Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 8476

Show
Ignore:
Timestamp:
12/22/07 02:49:32 (1 year ago)
Author:
bitsweat
Message:

Ruby 1.9 compat: case syntax

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/open_id_authentication/lib/open_id_authentication.rb

    r7263 r8476  
    123123    def open_id_store 
    124124      case store 
    125       when :db  : OpenIdAuthentication::DbStore.new 
    126       when :file: OpenID::FilesystemStore.new(OPEN_ID_AUTHENTICATION_DIR) 
     125      when :db 
     126        OpenIdAuthentication::DbStore.new 
     127      when :file 
     128        OpenID::FilesystemStore.new(OPEN_ID_AUTHENTICATION_DIR) 
    127129      else 
    128130        raise "Unknown store: #{store}"