warden-basic_auth 0.1.1 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3391602e57851fc54c01e41eac7199c7152ec823
4
- data.tar.gz: 3513135691fc54213b495ba0835a56648940854a
3
+ metadata.gz: 440afcdd777cb808dc93ae4997ef03fb9e2c545e
4
+ data.tar.gz: 117be555a793ad89fff3cc257bb92e08687a3900
5
5
  SHA512:
6
- metadata.gz: 6f6a66b735a718bf8043ea2e3de270d850c4784db7b48926c1f001ec14f1f4e0498d2d3a1a3fe73bca67037ad0e733a757908ebb5943f64b361c4c39ed19135a
7
- data.tar.gz: f985e4c237e47c2f495f2609cf7109e280ac4267540e47a9c22259911973ce387f0b8399bdb682c286766494232a8957f877deeb940c27ef45d9b01e1e92ffc0
6
+ metadata.gz: 144c40f50318fca1fb4cc3df225375331e918d7174cb6752f78954b03d3e60e9e8ed9778a3c51d9231f2f4bd5053a798d0862a6fb8290c33662e3d4c6cf421a1
7
+ data.tar.gz: c8891b909fdff8c566e421cf0b1d37e23dcda6b1cc35a3d99d389d0d4c2c9a9641f4c33563ac55bb90537d464e1b0cec146740a11e6124cda90bde387a420e15
@@ -1,5 +1,5 @@
1
1
  module Warden
2
2
  module BasicAuth
3
- VERSION = "0.1.1"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
@@ -29,7 +29,7 @@ module Warden
29
29
  def authentication_failed
30
30
  headers 'WWW-Authenticate' => %(Basic realm="#{realm}")
31
31
 
32
- custom! [401, headers, ['unauthorized']]
32
+ fail! 'unauthorized'
33
33
  end
34
34
 
35
35
  def store?
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: warden-basic_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Finn GmbH
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-05-11 00:00:00.000000000 Z
11
+ date: 2015-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: warden