omniauth-eventful 0.0.1.pre
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 +7 -0
- data/.gitignore +17 -0
- data/.travis.yml +10 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +56 -0
- data/Rakefile +8 -0
- data/lib/omniauth/strategies/eventful.rb +54 -0
- data/lib/omniauth-eventful/version.rb +5 -0
- data/lib/omniauth-eventful.rb +2 -0
- data/omniauth-eventful.gemspec +31 -0
- data/spec/omniauth/strategies/eventful_spec.rb +143 -0
- data/spec/spec_helper.rb +13 -0
- metadata +198 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 8f4b320d53a37dc6113b4a9a9697a05e4eec48f6
|
4
|
+
data.tar.gz: a637e3c696fe5cb8e343c1de6f1b26c039e3c6b5
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 43a7e260f016eda736b7013f1a5de6e1201fdb6d683b7275db268106f4a86355c9a37b31253f7fb279db762818faad1eab1acfe49d563c6eccd6c9b7ad691455
|
7
|
+
data.tar.gz: 1d155516b5023502c140d7fcbf1faab0e5e59e7580693bb275d34b8577e18980093f6f5832323074510e5631d88aa206cca3f5696fd65339dff43b1ff150e801
|
data/.gitignore
ADDED
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2014 Kelley Stephens
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
# Omniauth::Eventful
|
2
|
+
|
3
|
+
This gem is an OmniAuth Strategy for the Eventful API. Eventful uses OAuth 1.0,
|
4
|
+
you can read about their authentication process here:
|
5
|
+
|
6
|
+
>[Eventful Authentication Docs](http://api.eventful.com/)
|
7
|
+
|
8
|
+
## Installation
|
9
|
+
|
10
|
+
Add this line to your application's Gemfile:
|
11
|
+
|
12
|
+
gem 'omniauth-eventful'
|
13
|
+
|
14
|
+
And then execute:
|
15
|
+
|
16
|
+
$ bundle
|
17
|
+
|
18
|
+
Or install it yourself as:
|
19
|
+
|
20
|
+
$ gem install omniauth-eventful
|
21
|
+
|
22
|
+
## Usage
|
23
|
+
|
24
|
+
Tell OmniAuth about this provider. For a Rails app, your config/initializers/omniauth.rb file should look like this:
|
25
|
+
|
26
|
+
Rails.application.config.middleware.use OmniAuth::Builder do
|
27
|
+
provider :eventful, "CONSUMER_KEY", "CONSUMER_SECRET", "APP_KEY"
|
28
|
+
end
|
29
|
+
|
30
|
+
Replace "CONSUMER_KEY", "CONSUMER_SECRET" and "APP_KEY" with the appropriate values you obtain
|
31
|
+
from [Requesting an App Key](http://api.eventful.com/keys/new).
|
32
|
+
|
33
|
+
Make sure to set a route in your config/routes.rb file to handle the callback.
|
34
|
+
For example:
|
35
|
+
|
36
|
+
`get '/auth/:provider/callback', to: 'sessions#create'`
|
37
|
+
|
38
|
+
Then, access the returned data in your Sessions Controller.
|
39
|
+
For example:
|
40
|
+
|
41
|
+
`omniauth_hash = request.env['omniauth.auth'].to_hash`<br>
|
42
|
+
`name = omniauth['info']['name']`
|
43
|
+
|
44
|
+
See an example of the Auth Hash available in request.env['omniauth.auth'] at:
|
45
|
+
> [OmniAuth Auth Hash Schema](https://github.com/intridea/omniauth/wiki/Auth-Hash-Schema)
|
46
|
+
|
47
|
+
To see the output parameters for the Eventful User check out:
|
48
|
+
> [User Data](http://api.eventful.com/docs/users/get)
|
49
|
+
|
50
|
+
## Contributing
|
51
|
+
|
52
|
+
1. Fork it ( http://github.com/<my-github-username>/omniauth-eventful/fork )
|
53
|
+
2. Create your feature branch (`git checkout -b my-new-feature`)
|
54
|
+
3. Commit your changes (`git commit -am 'Add some feature'`)
|
55
|
+
4. Push to the branch (`git push origin my-new-feature`)
|
56
|
+
5. Create new Pull Request
|
data/Rakefile
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
require 'omniauth-oauth'
|
2
|
+
require "multi_xml"
|
3
|
+
|
4
|
+
module OmniAuth
|
5
|
+
module Strategies
|
6
|
+
class Eventful < OmniAuth::Strategies::OAuth
|
7
|
+
|
8
|
+
args [:consumer_key, :consumer_secret, :app_key]
|
9
|
+
|
10
|
+
option :name, "eventful"
|
11
|
+
option :consumer_key, nil
|
12
|
+
option :consumer_secret, nil
|
13
|
+
option :app_key, nil
|
14
|
+
|
15
|
+
option :client_options, {
|
16
|
+
site: "http://api.eventful.com",
|
17
|
+
request_token_url: "http://eventful.com/oauth/request_token",
|
18
|
+
authorize_url: "http://eventful.com/oauth/authorize",
|
19
|
+
access_token_url: "http://eventful.com/oauth/access_token"
|
20
|
+
}
|
21
|
+
|
22
|
+
uid{ info[:username] }
|
23
|
+
|
24
|
+
info do
|
25
|
+
# If eventful returns a nil response, re-call the omniauth callback
|
26
|
+
if raw_info["user"].nil?
|
27
|
+
callback_phase
|
28
|
+
else
|
29
|
+
{
|
30
|
+
name: [@raw_info["user"]["first_name"], @raw_info["user"]["last_name"]].compact.join(' ').strip,
|
31
|
+
username: @raw_info["user"]["username"],
|
32
|
+
bio: @raw_info["user"]["bio"],
|
33
|
+
hometown: @raw_info["user"]["hometown"],
|
34
|
+
first_name: @raw_info["user"]["first_name"],
|
35
|
+
last_name: @raw_info["user"]["last_name"],
|
36
|
+
interests: @raw_info["user"]["interests"],
|
37
|
+
images: @raw_info["user"]["images"],
|
38
|
+
links: @raw_info["user"]["links"],
|
39
|
+
locales: @raw_info["user"]["locales"],
|
40
|
+
going: @raw_info["user"]["going"]
|
41
|
+
}
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
extra do
|
46
|
+
{ raw_info: raw_info }
|
47
|
+
end
|
48
|
+
|
49
|
+
def raw_info
|
50
|
+
@raw_info ||= MultiXml.parse(access_token.get("http://api.eventful.com/rest/users/get?app_key=#{options.app_key}&oath_consumer_key=#{options.consumer_key}").body)
|
51
|
+
end
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
@@ -0,0 +1,31 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'omniauth-eventful/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "omniauth-eventful"
|
8
|
+
spec.version = Omniauth::Eventful::VERSION
|
9
|
+
spec.authors = ["Kelley Stephens"]
|
10
|
+
spec.email = ["kelley@kelleystephens.com"]
|
11
|
+
spec.summary = %q{An Eventful strategy for OmniAuth}
|
12
|
+
spec.description = %q{An Eventful strategy for OmniAuth}
|
13
|
+
spec.homepage = "https://github.com/kelleystephens/omniauth-eventful"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_dependency 'omniauth', '~> 1.0'
|
22
|
+
spec.add_dependency 'omniauth-oauth', '~> 1.0'
|
23
|
+
spec.add_dependency "multi_xml", "~> 0.5"
|
24
|
+
spec.add_dependency 'multi_json', '~> 1.0'
|
25
|
+
spec.add_development_dependency "bundler", "~> 1.5"
|
26
|
+
spec.add_development_dependency "rake"
|
27
|
+
spec.add_development_dependency 'rspec', '~> 2.7'
|
28
|
+
spec.add_development_dependency 'rack-test'
|
29
|
+
spec.add_development_dependency 'webmock'
|
30
|
+
spec.add_development_dependency 'pry'
|
31
|
+
end
|
@@ -0,0 +1,143 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe "OmniAuth::Strategies::Eventful" do
|
4
|
+
class Eventful < OmniAuth::Strategies::OAuth
|
5
|
+
uid{ access_token.token }
|
6
|
+
info{ {'name' => access_token.token} }
|
7
|
+
end
|
8
|
+
|
9
|
+
def app
|
10
|
+
Rack::Builder.new {
|
11
|
+
use OmniAuth::Test::PhonySession
|
12
|
+
use OmniAuth::Builder do
|
13
|
+
provider Eventful, 'abc', 'def', :client_options => {:site => 'https://api.eventful.com'}, :name => 'eventful.com'
|
14
|
+
provider Eventful, 'abc', 'def', :client_options => {:site => 'https://api.eventful.com'}, :authorize_params => {:abc => 'def'}, :name => 'eventful.com_with_authorize_params'
|
15
|
+
provider Eventful, 'abc', 'def', :client_options => {:site => 'https://api.eventful.com'}, :request_params => {:scope => 'http://foobar.eventful.com'}, :name => 'eventful.com_with_request_params'
|
16
|
+
end
|
17
|
+
run lambda { |env| [404, {'Content-Type' => 'text/plain'}, [env.key?('omniauth.auth').to_s]] }
|
18
|
+
}.to_app
|
19
|
+
end
|
20
|
+
|
21
|
+
def session
|
22
|
+
last_request.env['rack.session']
|
23
|
+
end
|
24
|
+
|
25
|
+
before do
|
26
|
+
stub_request(:post, 'https://api.eventful.com/oauth/request_token').
|
27
|
+
to_return(:body => "oauth_token=yourtoken&oauth_token_secret=yoursecret&oauth_callback_confirmed=true")
|
28
|
+
end
|
29
|
+
|
30
|
+
describe '/auth/{name}' do
|
31
|
+
context 'successful' do
|
32
|
+
before do
|
33
|
+
get '/auth/eventful.com'
|
34
|
+
end
|
35
|
+
|
36
|
+
it 'should redirect to authorize_url' do
|
37
|
+
last_response.should be_redirect
|
38
|
+
last_response.headers['Location'].should == 'https://api.eventful.com/oauth/authorize?oauth_token=yourtoken'
|
39
|
+
end
|
40
|
+
|
41
|
+
it 'should redirect to authorize_url with authorize_params when set' do
|
42
|
+
get '/auth/eventful.com_with_authorize_params'
|
43
|
+
last_response.should be_redirect
|
44
|
+
[
|
45
|
+
'https://api.eventful.com/oauth/authorize?abc=def&oauth_token=yourtoken',
|
46
|
+
'https://api.eventful.com/oauth/authorize?oauth_token=yourtoken&abc=def'
|
47
|
+
].should be_include(last_response.headers['Location'])
|
48
|
+
end
|
49
|
+
|
50
|
+
it 'should set appropriate session variables' do
|
51
|
+
session['oauth'].should == {"eventful.com" => {'callback_confirmed' => true, 'request_token' => 'yourtoken', 'request_secret' => 'yoursecret'}}
|
52
|
+
end
|
53
|
+
|
54
|
+
it 'should pass request_params to get_request_token' do
|
55
|
+
get '/auth/eventful.com_with_request_params'
|
56
|
+
WebMock.should have_requested(:post, 'https://api.eventful.com/oauth/request_token').
|
57
|
+
with {|req| req.body == "scope=http%3A%2F%2Ffoobar.eventful.com" }
|
58
|
+
end
|
59
|
+
end
|
60
|
+
|
61
|
+
context 'unsuccessful' do
|
62
|
+
before do
|
63
|
+
stub_request(:post, 'https://api.eventful.com/oauth/request_token').
|
64
|
+
to_raise(::Net::HTTPFatalError.new(%Q{502 "Bad Gateway"}, nil))
|
65
|
+
get '/auth/eventful.com'
|
66
|
+
end
|
67
|
+
|
68
|
+
it 'should call fail! with :service_unavailable' do
|
69
|
+
last_request.env['omniauth.error'].should be_kind_of(::Net::HTTPFatalError)
|
70
|
+
last_request.env['omniauth.error.type'] = :service_unavailable
|
71
|
+
end
|
72
|
+
|
73
|
+
context "SSL failure" do
|
74
|
+
before do
|
75
|
+
stub_request(:post, 'https://api.eventful.com/oauth/request_token').
|
76
|
+
to_raise(::OpenSSL::SSL::SSLError.new("SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed"))
|
77
|
+
get '/auth/eventful.com'
|
78
|
+
end
|
79
|
+
|
80
|
+
it 'should call fail! with :service_unavailable' do
|
81
|
+
last_request.env['omniauth.error'].should be_kind_of(::OpenSSL::SSL::SSLError)
|
82
|
+
last_request.env['omniauth.error.type'] = :service_unavailable
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
87
|
+
|
88
|
+
describe '/auth/{name}/callback' do
|
89
|
+
before do
|
90
|
+
stub_request(:post, 'https://api.eventful.com/oauth/access_token').
|
91
|
+
to_return(:body => "oauth_token=yourtoken&oauth_token_secret=yoursecret")
|
92
|
+
get '/auth/eventful.com/callback', {:oauth_verifier => 'dudeman'}, {'rack.session' => {'oauth' => {"eventful.com" => {'callback_confirmed' => true, 'request_token' => 'yourtoken', 'request_secret' => 'yoursecret'}}}}
|
93
|
+
end
|
94
|
+
|
95
|
+
it 'should exchange the request token for an access token' do
|
96
|
+
last_request.env['omniauth.auth']['provider'].should == 'eventful.com'
|
97
|
+
last_request.env['omniauth.auth']['extra']['access_token'].should be_kind_of(OAuth::AccessToken)
|
98
|
+
end
|
99
|
+
|
100
|
+
it 'should call through to the master app' do
|
101
|
+
last_response.body.should == 'true'
|
102
|
+
end
|
103
|
+
|
104
|
+
context "bad gateway (or any 5xx) for access_token" do
|
105
|
+
before do
|
106
|
+
stub_request(:post, 'https://api.eventful.com/oauth/access_token').
|
107
|
+
to_raise(::Net::HTTPFatalError.new(%Q{502 "Bad Gateway"}, nil))
|
108
|
+
get '/auth/eventful.com/callback', {:oauth_verifier => 'dudeman'}, {'rack.session' => {'oauth' => {"eventful.com" => {'callback_confirmed' => true, 'request_token' => 'yourtoken', 'request_secret' => 'yoursecret'}}}}
|
109
|
+
end
|
110
|
+
|
111
|
+
it 'should call fail! with :service_unavailable' do
|
112
|
+
last_request.env['omniauth.error'].should be_kind_of(::Net::HTTPFatalError)
|
113
|
+
last_request.env['omniauth.error.type'] = :service_unavailable
|
114
|
+
end
|
115
|
+
end
|
116
|
+
|
117
|
+
context "SSL failure" do
|
118
|
+
before do
|
119
|
+
stub_request(:post, 'https://api.eventful.com/oauth/access_token').
|
120
|
+
to_raise(::OpenSSL::SSL::SSLError.new("SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed"))
|
121
|
+
get '/auth/eventful.com/callback', {:oauth_verifier => 'dudeman'}, {'rack.session' => {'oauth' => {"eventful.com" => {'callback_confirmed' => true, 'request_token' => 'yourtoken', 'request_secret' => 'yoursecret'}}}}
|
122
|
+
end
|
123
|
+
|
124
|
+
it 'should call fail! with :service_unavailable' do
|
125
|
+
last_request.env['omniauth.error'].should be_kind_of(::OpenSSL::SSL::SSLError)
|
126
|
+
last_request.env['omniauth.error.type'] = :service_unavailable
|
127
|
+
end
|
128
|
+
end
|
129
|
+
end
|
130
|
+
|
131
|
+
describe '/auth/{name}/callback with expired session' do
|
132
|
+
before do
|
133
|
+
stub_request(:post, 'https://api.eventful.com/oauth/access_token').
|
134
|
+
to_return(:body => "oauth_token=yourtoken&oauth_token_secret=yoursecret")
|
135
|
+
get '/auth/eventful.com/callback', {:oauth_verifier => 'dudeman'}, {'rack.session' => {}}
|
136
|
+
end
|
137
|
+
|
138
|
+
it 'should call fail! with :session_expired' do
|
139
|
+
last_request.env['omniauth.error'].should be_kind_of(::OmniAuth::NoSessionError)
|
140
|
+
last_request.env['omniauth.error.type'] = :session_expired
|
141
|
+
end
|
142
|
+
end
|
143
|
+
end
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
$:.unshift File.expand_path('..', __FILE__)
|
2
|
+
$:.unshift File.expand_path('../../lib', __FILE__)
|
3
|
+
require 'rspec'
|
4
|
+
require 'rack/test'
|
5
|
+
require 'webmock/rspec'
|
6
|
+
require 'omniauth'
|
7
|
+
require 'omniauth-eventful'
|
8
|
+
|
9
|
+
RSpec.configure do |config|
|
10
|
+
config.include WebMock::API
|
11
|
+
config.include Rack::Test::Methods
|
12
|
+
config.extend OmniAuth::Test::StrategyMacros, :type => :strategy
|
13
|
+
end
|
metadata
ADDED
@@ -0,0 +1,198 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: omniauth-eventful
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1.pre
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Kelley Stephens
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2014-09-22 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: omniauth
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '1.0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: omniauth-oauth
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: multi_xml
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0.5'
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0.5'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: multi_json
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.0'
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: bundler
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - "~>"
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '1.5'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - "~>"
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '1.5'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: rake
|
85
|
+
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirements:
|
87
|
+
- - ">="
|
88
|
+
- !ruby/object:Gem::Version
|
89
|
+
version: '0'
|
90
|
+
type: :development
|
91
|
+
prerelease: false
|
92
|
+
version_requirements: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: '0'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rspec
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - "~>"
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '2.7'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - "~>"
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '2.7'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: rack-test
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: '0'
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: webmock
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
- !ruby/object:Gem::Dependency
|
140
|
+
name: pry
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
142
|
+
requirements:
|
143
|
+
- - ">="
|
144
|
+
- !ruby/object:Gem::Version
|
145
|
+
version: '0'
|
146
|
+
type: :development
|
147
|
+
prerelease: false
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
149
|
+
requirements:
|
150
|
+
- - ">="
|
151
|
+
- !ruby/object:Gem::Version
|
152
|
+
version: '0'
|
153
|
+
description: An Eventful strategy for OmniAuth
|
154
|
+
email:
|
155
|
+
- kelley@kelleystephens.com
|
156
|
+
executables: []
|
157
|
+
extensions: []
|
158
|
+
extra_rdoc_files: []
|
159
|
+
files:
|
160
|
+
- ".gitignore"
|
161
|
+
- ".travis.yml"
|
162
|
+
- Gemfile
|
163
|
+
- LICENSE.txt
|
164
|
+
- README.md
|
165
|
+
- Rakefile
|
166
|
+
- lib/omniauth-eventful.rb
|
167
|
+
- lib/omniauth-eventful/version.rb
|
168
|
+
- lib/omniauth/strategies/eventful.rb
|
169
|
+
- omniauth-eventful.gemspec
|
170
|
+
- spec/omniauth/strategies/eventful_spec.rb
|
171
|
+
- spec/spec_helper.rb
|
172
|
+
homepage: https://github.com/kelleystephens/omniauth-eventful
|
173
|
+
licenses:
|
174
|
+
- MIT
|
175
|
+
metadata: {}
|
176
|
+
post_install_message:
|
177
|
+
rdoc_options: []
|
178
|
+
require_paths:
|
179
|
+
- lib
|
180
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
181
|
+
requirements:
|
182
|
+
- - ">="
|
183
|
+
- !ruby/object:Gem::Version
|
184
|
+
version: '0'
|
185
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
186
|
+
requirements:
|
187
|
+
- - ">"
|
188
|
+
- !ruby/object:Gem::Version
|
189
|
+
version: 1.3.1
|
190
|
+
requirements: []
|
191
|
+
rubyforge_project:
|
192
|
+
rubygems_version: 2.2.2
|
193
|
+
signing_key:
|
194
|
+
specification_version: 4
|
195
|
+
summary: An Eventful strategy for OmniAuth
|
196
|
+
test_files:
|
197
|
+
- spec/omniauth/strategies/eventful_spec.rb
|
198
|
+
- spec/spec_helper.rb
|