rack-simple_auth 1.0.2 → 1.0.3

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: c2d819a55046690cef0f3dc5c307cd89a1002f43
4
- data.tar.gz: 25953f020b66e9eb68edd681ffa4a7248bc4d312
3
+ metadata.gz: 185f4e18284df3e3d9a0a54d91ab5d6f44efa43d
4
+ data.tar.gz: 170edd2a83ad1b31c9f9b84fd554592bc5695e91
5
5
  SHA512:
6
- metadata.gz: c428e0a51a3cf8db0fb264700ba4d2c36792197eba1f53a1481620161fff90bcb62740ea7533baa29434d14ef2e9900fd8b74bd41b89dc1996f3f5ce0eb204bd
7
- data.tar.gz: 98f9526d6f080fb4c48333968db758d5d9575da584b804fecb6813994fc963206375a2ec167019b3201f9b46f0aa3d892e7e3dffbbd1666294e70a4c1df560fd
6
+ metadata.gz: 625d216c440cbb2d84448d7652f23e4f4b45b00ffdd427ae8571a5e974f1873fcca41fc67dae4496c82950c3e82aeb9496f70cbc0255f8f94a01e53a6dcab2f2
7
+ data.tar.gz: 2fa968ad1e8e9489a9fc636da5f4a0f249c76f1166cda18e8070ad5454165c0b6d7f76e72cbee1db8e6f4bc04c48d96412bb4b3955cf11af19eda675a67769d9
@@ -30,23 +30,6 @@ module Rack
30
30
  # run Rack::Lobster.new"
31
31
  #
32
32
  class Middleware
33
- ##
34
- # Throw NoMethodError and give hint if method who was called is Rack::SimpleAuth::Middleware.call
35
- #
36
- # @param [Symbol] name
37
- # @param [Array] args
38
- #
39
- # @raise [NoMethodError] if the method isn't defined
40
- # and outputs additional hint for calling Rack::SimpleAuth::Middleware.call
41
- def self.method_missing(name, *args)
42
- msg = "Did you try to use HMAC Middleware as Rack Application via 'run'?\n" if name.eql?(:call)
43
- msg << "method: #{name}\n"
44
- msg << "args: #{args.inspect}\n" unless name.eql?(:call)
45
- msg << "on: #{self}"
46
-
47
- fail NoMethodError, msg
48
- end
49
-
50
33
  ##
51
34
  # Constructor for Rack Middleware (passing the rack stack)
52
35
  #
@@ -2,6 +2,6 @@ module Rack
2
2
  # Module which Contains different Authorization / Authentication Classes (HMAC, ..)
3
3
  module SimpleAuth
4
4
  # Current Gem Version
5
- VERSION = '1.0.2'
5
+ VERSION = '1.0.3'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-simple_auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benny1992
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-12 00:00:00.000000000 Z
11
+ date: 2014-05-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rack