escher-rack_middleware 0.3.1 → 0.3.2

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: be0496a2d9fffdce4c6390d4e6d21994dccdcda2
4
- data.tar.gz: a2ca061cbb91af559d81d39a14b7a4685bb0866a
3
+ metadata.gz: cfad60887d6a084b17a134e42f4e4fde7cefc25a
4
+ data.tar.gz: 597957a9e2961ede5cab78fee6f9f1af5abafe70
5
5
  SHA512:
6
- metadata.gz: cc25a4f9901ec663bd4b0e54bc12a67fc623a498ea3b17e49606b66ddef5f5e3c28e84829de0914738b6085c3048f89933167a6458179dbdd37e035a1709ff90
7
- data.tar.gz: d9beafe02fd7f23a4d225a28913e4340df0139ddb64267b05b4cfde4fcbcb03bacf3c5d5d8d1cff4f0b3bea01b62fa0e2ec02e847915855f532fca961f10703b
6
+ metadata.gz: bca6aa4c805acd6695e7f6109ffca85b8042c0132b2323f08b5fb796641a4d372f4c7096c588e273fbb4847af9fbcea1b1a2c116bcbe235d858486dd807a82e2
7
+ data.tar.gz: f439b5a4f4e1bbdf6de0a4cbb91d429f02ab0bd07069708c9990d239177467a4f1eb45338d20964a815b87fc49b5e3bb26dfd84ae7404082cf1a926d46b5a283
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.1
1
+ 0.3.2
@@ -5,6 +5,7 @@ module Escher::RackMiddleware::Authenticator::Helper
5
5
  end
6
6
 
7
7
  def authorized?(request_env)
8
+ logger.warn('No Escher authenticator was found. Check your config!') if escher_authenticators.empty?
8
9
  escher_authenticators.any? { |instance_init| authorized_with?(instance_init.call, request_env) }
9
10
  end
10
11
 
@@ -27,4 +28,4 @@ module Escher::RackMiddleware::Authenticator::Helper
27
28
 
28
29
  end
29
30
 
30
- end
31
+ end
@@ -2,8 +2,6 @@ module Escher::RackMiddleware::DefaultOptions
2
2
 
3
3
  protected
4
4
 
5
-
6
-
7
5
  def default_options
8
6
  {
9
7
  :logger => Escher::RackMiddleware.logger,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: escher-rack_middleware
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Luzsi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-05-12 00:00:00.000000000 Z
11
+ date: 2016-07-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler