grape-jwt-authentication 2.0.0 → 2.0.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
  SHA256:
3
- metadata.gz: 30a5d4d0a29a146c657ef5452513e1ffd546fca42ee41c08ed6096537b4b454f
4
- data.tar.gz: ab6fc80154deca0a7c61b775678aa22965283cb1f9b528cca0db97c4ebdcc301
3
+ metadata.gz: 00a891189e6112551bcafe2469783cbb39c6fdd1f923fd0131a8e6be9d693405
4
+ data.tar.gz: 24b25986aa9a88e9f3f279554233c5e5e2e5a3de99abb5bc4525fa31eb097429
5
5
  SHA512:
6
- metadata.gz: 460a1222afd6240182b328f4bcc69fa44a4e2a18d9c63f478121e59853da3585265b589a50ebd8bdd0d67e483b44d8abfc743cdbfff04fef9c2b00357fc759b7
7
- data.tar.gz: a38e6870649e183a3329a8eb3b078c7254c6cb01dac1e704ef7d164d0ef8795999e7d7fe8ca6bdc3f3d192b628869c3a089702b06c6eb398d3c10acc82fffb63
6
+ metadata.gz: 17d674a6dd8fd413e5a565d12998b3d161a0dea5fecad9b9cb16532e35634750df7049a8ceed133726f351a0f4b084403e93866ef0d546ecd67bc738021a4554
7
+ data.tar.gz: 23ccc11a897827a771c50470d61142b46eb11b3ed90f0e7cb2a3bfba7021f456e8cb1317d1eca4ac2a6c283de02b956e3aafd679cfabbaad1adcebe606546794
@@ -1,3 +1,9 @@
1
+ ### 2.0.1
2
+
3
+ * Corrected a migration bug on the configuration which used the wrong namespace
4
+ for `RsaPublicKey` (resulted in `uninitialized constant
5
+ Grape::Jwt::Authentication::Configuration::RsaPublicKey`)
6
+
1
7
  ### 2.0.0
2
8
 
3
9
  * Extracted the JWT verification functionality into its own gem
@@ -118,11 +118,10 @@ module Grape
118
118
  # This way you can pass your HMAC secret or your ECDSA public key to
119
119
  # the JSON Web Token validation method. Here you need to pass a proc,
120
120
  # on the {Grape::Jwt::Authentication::Jwt} class it has to be a scalar
121
- # value. By default we use the
122
- # {Grape::Jwt::Authentication::RsaPublicKey} class to retrieve the RSA
123
- # public key.
121
+ # value. By default we use the {Keyless::RsaPublicKey} class to
122
+ # retrieve the RSA public key.
124
123
  config_accessor(:jwt_verification_key) do
125
- proc { RsaPublicKey.instance.fetch }
124
+ proc { Keyless::RsaPublicKey.instance.fetch }
126
125
  end
127
126
  end
128
127
  end
@@ -3,7 +3,7 @@
3
3
  module Grape
4
4
  module Jwt
5
5
  module Authentication
6
- VERSION = '2.0.0'.freeze
6
+ VERSION = '2.0.1'.freeze
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: grape-jwt-authentication
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hermann Mayer