open_id_authentication 1.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/open_id_authentication/middleware.rb +2 -2
- data/lib/open_id_authentication/version.rb +1 -1
- metadata +8 -15
- data/.gitignore +0 -1
- data/Gemfile +0 -6
- data/Gemfile.lock +0 -34
- data/Rakefile +0 -7
- data/open_id_authentication.gemspec +0 -18
- data/spec/open_id_authentication_spec.rb +0 -17
- data/spec/spec_helper.rb +0 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b89e52ae5caf97fc2a2687a9cc341849f6e2da5
|
4
|
+
data.tar.gz: 86e49811d54c507ef03a301788b9bafc9da0026f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c75103ac8b0693a07a2c1bc35aa5abb6aca0aedace203d746583b54c573a3d19ae4a6f3c9140d7c09a1213ea03e16e1c4e58246e27239775fea3eb0a6a41008
|
7
|
+
data.tar.gz: 0c7b8f087127412094ac21cf2bafdca8ae6b6837a0d03c4526535107bebe1ff9d68e330656264b509d9d706b49cd71037133d7a374beac2a6b32d2a3af25f6e3
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
OpenIdAuthentication
|
1
|
+
OpenIdAuthentication [![Build Status](https://travis-ci.org/grosser/open_id_authentication.png)](https://travis-ci.org/grosser/open_id_authentication)
|
2
2
|
====================
|
3
3
|
|
4
4
|
Provides a thin wrapper around the excellent ruby-openid gem from JanRan.
|
@@ -28,9 +28,9 @@ module OpenIdAuthentication
|
|
28
28
|
require 'openid/store/filesystem'
|
29
29
|
OpenID::Store::Filesystem.new(Rails.root.join('tmp/openids'))
|
30
30
|
when :memcache
|
31
|
-
require '
|
31
|
+
require 'dalli'
|
32
32
|
require 'openid/store/memcache'
|
33
|
-
OpenID::Store::Memcache.new(
|
33
|
+
OpenID::Store::Memcache.new(Dalli::Client.new(args))
|
34
34
|
else
|
35
35
|
store
|
36
36
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: open_id_authentication
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Patrick Robertson
|
@@ -9,20 +9,20 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2016-11-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rack-openid
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - ~>
|
18
|
+
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
20
|
version: '1.3'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- - ~>
|
25
|
+
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
27
|
version: '1.3'
|
28
28
|
description:
|
@@ -31,20 +31,13 @@ executables: []
|
|
31
31
|
extensions: []
|
32
32
|
extra_rdoc_files: []
|
33
33
|
files:
|
34
|
-
- .gitignore
|
35
|
-
- Gemfile
|
36
|
-
- Gemfile.lock
|
37
34
|
- README.md
|
38
|
-
- Rakefile
|
39
35
|
- lib/open_id_authentication.rb
|
40
36
|
- lib/open_id_authentication/controller_methods.rb
|
41
37
|
- lib/open_id_authentication/middleware.rb
|
42
38
|
- lib/open_id_authentication/railtie.rb
|
43
39
|
- lib/open_id_authentication/result.rb
|
44
40
|
- lib/open_id_authentication/version.rb
|
45
|
-
- open_id_authentication.gemspec
|
46
|
-
- spec/open_id_authentication_spec.rb
|
47
|
-
- spec/spec_helper.rb
|
48
41
|
homepage: https://github.com/grosser/open_id_authentication
|
49
42
|
licenses:
|
50
43
|
- MIT
|
@@ -55,17 +48,17 @@ require_paths:
|
|
55
48
|
- lib
|
56
49
|
required_ruby_version: !ruby/object:Gem::Requirement
|
57
50
|
requirements:
|
58
|
-
- -
|
51
|
+
- - ">="
|
59
52
|
- !ruby/object:Gem::Version
|
60
|
-
version:
|
53
|
+
version: 2.0.0
|
61
54
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
62
55
|
requirements:
|
63
|
-
- -
|
56
|
+
- - ">="
|
64
57
|
- !ruby/object:Gem::Version
|
65
58
|
version: '0'
|
66
59
|
requirements: []
|
67
60
|
rubyforge_project:
|
68
|
-
rubygems_version: 2.
|
61
|
+
rubygems_version: 2.5.1
|
69
62
|
signing_key:
|
70
63
|
specification_version: 4
|
71
64
|
summary: open_id_authentication provides a thin wrapper around the excellent rack-openid
|
data/.gitignore
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
*.gem
|
data/Gemfile
DELETED
data/Gemfile.lock
DELETED
@@ -1,34 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
open_id_authentication (1.2.0)
|
5
|
-
rack-openid (~> 1.3)
|
6
|
-
|
7
|
-
GEM
|
8
|
-
remote: https://rubygems.org/
|
9
|
-
specs:
|
10
|
-
bump (0.4.2)
|
11
|
-
diff-lcs (1.2.4)
|
12
|
-
rack (1.5.2)
|
13
|
-
rack-openid (1.3.1)
|
14
|
-
rack (>= 1.1.0)
|
15
|
-
ruby-openid (>= 2.1.8)
|
16
|
-
rake (10.1.0)
|
17
|
-
rspec (2.14.1)
|
18
|
-
rspec-core (~> 2.14.0)
|
19
|
-
rspec-expectations (~> 2.14.0)
|
20
|
-
rspec-mocks (~> 2.14.0)
|
21
|
-
rspec-core (2.14.5)
|
22
|
-
rspec-expectations (2.14.2)
|
23
|
-
diff-lcs (>= 1.1.3, < 2.0)
|
24
|
-
rspec-mocks (2.14.3)
|
25
|
-
ruby-openid (2.3.0)
|
26
|
-
|
27
|
-
PLATFORMS
|
28
|
-
ruby
|
29
|
-
|
30
|
-
DEPENDENCIES
|
31
|
-
bump
|
32
|
-
open_id_authentication!
|
33
|
-
rake
|
34
|
-
rspec (~> 2)
|
data/Rakefile
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
|
2
|
-
name = "open_id_authentication"
|
3
|
-
require "#{name}/version"
|
4
|
-
|
5
|
-
Gem::Specification.new name, OpenIdAuthentication::VERSION do |s|
|
6
|
-
s.summary = "open_id_authentication provides a thin wrapper around the excellent rack-openid gem."
|
7
|
-
s.authors = ["Patrick Robertson", "Michael Grosser"]
|
8
|
-
s.email = "michael@grosser.it"
|
9
|
-
s.homepage = "https://github.com/grosser/#{name}"
|
10
|
-
s.files = `git ls-files`.split("\n")
|
11
|
-
s.license = "MIT"
|
12
|
-
key = File.expand_path("~/.ssh/gem-private_key.pem")
|
13
|
-
if File.exist?(key)
|
14
|
-
s.signing_key = key
|
15
|
-
s.cert_chain = ["gem-public_cert.pem"]
|
16
|
-
end
|
17
|
-
s.add_runtime_dependency "rack-openid", "~> 1.3"
|
18
|
-
end
|
@@ -1,17 +0,0 @@
|
|
1
|
-
require 'spec_helper'
|
2
|
-
|
3
|
-
describe OpenIdAuthentication do
|
4
|
-
before do
|
5
|
-
OpenIdAuthentication.store = :memory
|
6
|
-
end
|
7
|
-
|
8
|
-
it "has a version" do
|
9
|
-
OpenIdAuthentication::VERSION.should =~ /^\d+\.\d+\.\d+$/
|
10
|
-
end
|
11
|
-
|
12
|
-
describe ".new" do
|
13
|
-
it "creates a Rack::OpenID" do
|
14
|
-
OpenIdAuthentication::Middleware.new({}).class.should == Rack::OpenID
|
15
|
-
end
|
16
|
-
end
|
17
|
-
end
|
data/spec/spec_helper.rb
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
require 'open_id_authentication'
|