rack-jwt-auth 1.1.0 → 1.1.1

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: a30126acfa855fa96bf9301d4141ab28e0b193a7
4
- data.tar.gz: 84d54966020a130732a478fb3d6c69281ec1896b
3
+ metadata.gz: 6aa0be491cb28e8fd5bb3d60392ee8321f547d24
4
+ data.tar.gz: 6326d7334e6419b94c26d3a8982ed0029395b73b
5
5
  SHA512:
6
- metadata.gz: d25d8914a8cf610d936cd39d8f37ab36ef44186cb03d2f965aa624933dfffcaaffdac68f92c4ba2ed6e470cb27273d2d7fb3b1b4933acb8259ca4df394a56185
7
- data.tar.gz: 4de4cfcb04045c6f23dccb5d2edadcc8352bd6964594f4f7745042df2014f2b89761cffbad3dc244b803438b2325c42d1eda3d042cae87d6bef1d0f5ce34b4d5
6
+ metadata.gz: a0ba6157ff1649cc3d652b48f5556b870e719d22894fb2a34e6c18d75fd056d6ac290ab0c4769c2501a7b6b5213811d33ab131eeaece467b73a9041e29ca2718
7
+ data.tar.gz: 6337f181f9fe2d58b3b23a0aacc8ad5db3747a03b0aabea2dbb05a923b2f92befb386f4bb182468ad58df373327617daa052ac1a89d0fadf22f8fe6ba4bc31c9
@@ -1,7 +1,7 @@
1
1
  module Rack
2
2
  module Jwt
3
3
  module Auth
4
- VERSION = "1.1.0"
4
+ VERSION = "1.1.1"
5
5
  end
6
6
  end
7
7
  end
@@ -11,7 +11,8 @@ describe Rack::Jwt::Auth::Authenticate do
11
11
  end
12
12
 
13
13
  it 'raises an exception if no secret if provided' do
14
- expect{ Rack::Jwt::Auth::Authenticate.new(main_app, {}) }.to raise_error
14
+ main_app = lambda { |env| [200, env, ['Hello']] }
15
+ expect{ Rack::Jwt::Auth::Authenticate.new(main_app, {}) }.to raise_error(RuntimeError)
15
16
  end
16
17
 
17
18
  it 'returns 200 ok if the request is authenticated' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rack-jwt-auth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - João Almeida