keratin-authn 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: cd721f9643e56fe9e7f8a79594c2a517fff1b98d
4
- data.tar.gz: c6c3d8da3e3e5042ceb3d2d0c6ea7fdca13c8107
3
+ metadata.gz: 42fc6f727891054b77a0e1b4e456d3f436206de8
4
+ data.tar.gz: d890d883753d1a44ddaaf868c9ca0f6a1445cfcf
5
5
  SHA512:
6
- metadata.gz: 6208ff81103201526dc98410d29b14a389115c5375a7e8ad1a83c89101147b0627b49a82f861f22e093ef3b877860476d13ff983b901f0ab56921d03147720d0
7
- data.tar.gz: 37c75b814f22d5af864bfcfd3d0e78c3431c2671c67d0f1ff0ebb7f095d86327166ac440cba9b5536ee8fb0b9f4332a73243e07c0b27f5d55f0bd9d36fd27a2a
6
+ metadata.gz: ec8ecab45a116040c1163032d8b5bd01e2815e6391fcddfb9ad0b3463025f17c1820eee498d3f6a4a5c00f9aacc6218dd209768272f692c1e28791eb865cdc73
7
+ data.tar.gz: 8bf4b09aa819d05f7cdf42aa124c09fa94f1825b55803d334d8abd673ed3318563f96d7c2990e98870be0315696519c14bba39459835ed60e9d2e76a3ba98635
data/README.md CHANGED
@@ -4,6 +4,8 @@ Keratin AuthN is an authentication service that keeps you in control of the expe
4
4
 
5
5
  This gem provides utilities to help integrate with a Ruby application. You may also be interested in keratin/authn-js for frontend integration.
6
6
 
7
+ [![Gem Version](https://badge.fury.io/rb/keratin-authn.svg)](http://badge.fury.io/rb/keratin-authn) [![Build Status](https://travis-ci.org/keratin/authn-rb.svg?branch=master)](https://travis-ci.org/keratin/authn-rb)
8
+
7
9
  ## Installation
8
10
 
9
11
  Add this line to your application's Gemfile:
@@ -1,7 +1,7 @@
1
1
  module Keratin::AuthN
2
2
  class Engine < ::Rails::Engine
3
- initializer 'auth.testing' do
4
- require 'auth/testing' if Rails.env.test?
3
+ initializer 'keratin.authn.testing' do
4
+ require 'keratin/authn/testing' if Rails.env.test?
5
5
  end
6
6
  end
7
7
  end
@@ -25,6 +25,7 @@ module Keratin::AuthN
25
25
 
26
26
  # stubs the endpoints necessary to validate a signed JWT
27
27
  private def stub_auth_server
28
+ Keratin::AuthN.keychain.clear
28
29
  stub_request(:get, "#{Keratin::AuthN.config.issuer}#{Keratin::AuthN.config.configuration_path}").to_return(
29
30
  status: 200,
30
31
  body: {'jwks_uri' => "#{Keratin::AuthN.config.issuer}/jwks"}.to_json
@@ -1,5 +1,5 @@
1
1
  module Keratin
2
2
  module AuthN
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: keratin-authn
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
  - Lance Ivy
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-11-17 00:00:00.000000000 Z
11
+ date: 2016-11-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json-jwt