warden-basic_auth 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 147298349c88dfbfa236d64d3cfd52ad7b246ee1
4
- data.tar.gz: 124497e328e194661efca9c1bad987655818228c
3
+ metadata.gz: 3391602e57851fc54c01e41eac7199c7152ec823
4
+ data.tar.gz: 3513135691fc54213b495ba0835a56648940854a
5
5
  SHA512:
6
- metadata.gz: e9b82ea83c7eed4edce1e386c19622f3284ffd602f55b0312d57da8bb654549460f0e8edc90de0e57c83b2577b9c27497411f21017fe4ace3fe3ba1a99670e06
7
- data.tar.gz: 48a40dc9fd664fe7726c343b5687ab125d0abdd7f3d8ce66878e435f0eed82dff90e8b9c5816b023151c004fa2f3a43ba9071a327c046c4332fefc56a0998f31
6
+ metadata.gz: 6f6a66b735a718bf8043ea2e3de270d850c4784db7b48926c1f001ec14f1f4e0498d2d3a1a3fe73bca67037ad0e733a757908ebb5943f64b361c4c39ed19135a
7
+ data.tar.gz: f985e4c237e47c2f495f2609cf7109e280ac4267540e47a9c22259911973ce387f0b8399bdb682c286766494232a8957f877deeb940c27ef45d9b01e1e92ffc0
data/.travis.yml CHANGED
@@ -1,3 +1,3 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.1.1
3
+ - 2.1.5
data/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  # Warden::BasicAuth
2
2
 
3
+ [![Build Status](https://travis-ci.org/opf/warden-basic_auth.svg?branch=master)](https://travis-ci.org/opf/warden-basic_auth)
3
4
  [![Code Climate](https://codeclimate.com/github/opf/warden-basic_auth/badges/gpa.svg)](https://codeclimate.com/github/opf/warden-basic_auth)
4
5
 
5
6
  Provides a Warden base strategy for basic auth.
@@ -9,7 +10,7 @@ Provides a Warden base strategy for basic auth.
9
10
  Add this line to your application's Gemfile:
10
11
 
11
12
  ```ruby
12
- gem 'warden-basic_auth', git: 'https://github.com/opf/warden-basic_auth.git'
13
+ gem 'warden-basic_auth', '~> 0.1.0'
13
14
  ```
14
15
 
15
16
  And then execute:
data/Rakefile CHANGED
@@ -1 +1,11 @@
1
1
  require "bundler/gem_tasks"
2
+
3
+ begin
4
+ require 'rspec/core/rake_task'
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ task :default => :spec
9
+ rescue LoadError
10
+ # no rspec available
11
+ end
@@ -1,5 +1,5 @@
1
1
  module Warden
2
2
  module BasicAuth
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
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
+ custom! [401, headers, ['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.0
4
+ version: 0.1.1
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-05 00:00:00.000000000 Z
11
+ date: 2015-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: warden