omniauth-avvo 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +20 -0
- data/README.md +29 -0
- data/lib/omniauth/avvo/version.rb +1 -1
- data/omniauth-avvo.gemspec +1 -1
- metadata +11 -12
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 2c0a76cc9c9522dacfda83a535f7dba7abb37e0a
|
4
|
+
data.tar.gz: e0c2130864d8a14bef03ef33b01de16a09a18fdb
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 2770a79f21da8808130695994e173f9ab40e2c1e9fa045a728415e62aaf146754012b2dfa03d2701017675bcc14a638f455ac67c14709599855d6e16071c11d8
|
7
|
+
data.tar.gz: 553dfe7ca37becbce180d5fca507a39406e23802c4d5806db6d991b33931673ea97d4122d7728d61e6ed14eaf7f13c69393041f73a5cd0f2d653f83b2904a741
|
data/LICENSE
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) {{year}} {{fullname}}
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
6
|
+
this software and associated documentation files (the "Software"), to deal in
|
7
|
+
the Software without restriction, including without limitation the rights to
|
8
|
+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
9
|
+
the Software, and to permit persons to whom the Software is furnished to do so,
|
10
|
+
subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
17
|
+
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
18
|
+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
19
|
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
20
|
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,29 @@
|
|
1
|
+
Omniauth-Avvo
|
2
|
+
=============
|
3
|
+
|
4
|
+
[Avvo.com][avvo] strategy for [OmniAuth][omniauth]
|
5
|
+
|
6
|
+
## Usage
|
7
|
+
|
8
|
+
in your `omniauth.rb`:
|
9
|
+
|
10
|
+
```
|
11
|
+
provider :avvo, YOUR_APP_ID, YOUR_APP_SECRET
|
12
|
+
```
|
13
|
+
|
14
|
+
Your `request.env['omniauth.auth']` hash will contain:
|
15
|
+
|
16
|
+
* `name` - friendly name
|
17
|
+
* `email` - your login email address
|
18
|
+
* `permissions` - array of granted permissions on Avvo.com
|
19
|
+
|
20
|
+
See [OmniAuth docs][omniauthsetup] for more information on integrating with a standard OmniAuth strategy.
|
21
|
+
|
22
|
+
## Obtaining an API Key
|
23
|
+
|
24
|
+
Contact [Josh King][josh] to get set up.
|
25
|
+
|
26
|
+
[avvo]: http://www.avvo.com
|
27
|
+
[omniauth]: https://github.com/intridea/omniauth
|
28
|
+
[omniauthsetup]: https://github.com/intridea/omniauth#integrating-omniauth-into-your-application
|
29
|
+
[josh]: mailto:josh@avvo.com
|
data/omniauth-avvo.gemspec
CHANGED
@@ -11,7 +11,7 @@ Gem::Specification.new do |s|
|
|
11
11
|
s.author = "Jeff Ching"
|
12
12
|
s.email = "ching.jeff@gmail.com"
|
13
13
|
s.homepage = "http://github.com/chingor13/omniauth-avvo"
|
14
|
-
s.
|
14
|
+
s.license = "MIT"
|
15
15
|
|
16
16
|
s.files = `git ls-files`.split("\n")
|
17
17
|
s.test_files = Dir.glob('test/*_test.rb')
|
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-avvo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.0.2
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Jeff Ching
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-08-19 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: omniauth-oauth2
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ~>
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ~>
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -33,33 +30,35 @@ executables: []
|
|
33
30
|
extensions: []
|
34
31
|
extra_rdoc_files: []
|
35
32
|
files:
|
33
|
+
- LICENSE
|
34
|
+
- README.md
|
36
35
|
- lib/omniauth-avvo.rb
|
37
36
|
- lib/omniauth/avvo.rb
|
38
37
|
- lib/omniauth/avvo/version.rb
|
39
38
|
- lib/omniauth/strategies/avvo.rb
|
40
39
|
- omniauth-avvo.gemspec
|
41
40
|
homepage: http://github.com/chingor13/omniauth-avvo
|
42
|
-
licenses:
|
41
|
+
licenses:
|
42
|
+
- MIT
|
43
|
+
metadata: {}
|
43
44
|
post_install_message:
|
44
45
|
rdoc_options: []
|
45
46
|
require_paths:
|
46
47
|
- lib
|
47
48
|
required_ruby_version: !ruby/object:Gem::Requirement
|
48
|
-
none: false
|
49
49
|
requirements:
|
50
|
-
- -
|
50
|
+
- - '>='
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: '0'
|
53
53
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
54
|
-
none: false
|
55
54
|
requirements:
|
56
|
-
- -
|
55
|
+
- - '>='
|
57
56
|
- !ruby/object:Gem::Version
|
58
57
|
version: '0'
|
59
58
|
requirements: []
|
60
59
|
rubyforge_project:
|
61
|
-
rubygems_version:
|
60
|
+
rubygems_version: 2.0.3
|
62
61
|
signing_key:
|
63
|
-
specification_version:
|
62
|
+
specification_version: 4
|
64
63
|
summary: Avvo.com strategy for OmniAuth
|
65
64
|
test_files: []
|