Sha256: 00cfb3f338adc7203bdb388e0a399048616debe36def84edcbc03ec38380a45e

Contents?: true

Size: 194 Bytes

Versions: 6

Compression:

Stored size: 194 Bytes

Contents

Warden::Strategies.add(:failz) do
  
  def authenticate!
    request.env['warden.spec.strategies'] ||= []
    request.env['warden.spec.strategies'] << :failz
    fail!("You Fail!")
  end
  
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
hassox-warden-0.2.1 spec/warden/strategies/failz.rb
hassox-warden-0.2.2 spec/warden/strategies/failz.rb
hassox-warden-0.2.3 spec/warden/strategies/failz.rb
warden-0.2.2 spec/warden/strategies/failz.rb
warden-0.2.3 spec/warden/strategies/failz.rb
warden-0.2.1 spec/warden/strategies/failz.rb