omniauth-vimeo 0.0.2 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +26 -3
- data/lib/omniauth-vimeo/version.rb +1 -1
- metadata +10 -10
data/README.md
CHANGED
@@ -2,20 +2,43 @@
|
|
2
2
|
|
3
3
|
This is an OmniAuth strategy for authenticating to Vimeo. To
|
4
4
|
use it, you'll need to sign up for an OAuth Application ID and Secret
|
5
|
-
on the [Vimeo Applications Page](
|
5
|
+
on the [Vimeo Applications Page](https://developer.vimeo.com/apps).
|
6
|
+
You can read more about Vimdeo's oauth over at their [developer page](https://developer.vimeo.com/apis/advanced#oauth)
|
6
7
|
|
7
8
|
## Basic Usage
|
8
9
|
|
10
|
+
add the following line to your Gemfile.
|
11
|
+
|
12
|
+
gem 'omniauth-vimeo'
|
13
|
+
|
14
|
+
If you finished running bundler and omniauth-vimeo is ready to go, you need to add the following lines to your `config/initializers/omniauth.rb`:
|
15
|
+
|
9
16
|
use OmniAuth::Builder do
|
10
17
|
provider :vimeo, ENV['VIMEO_KEY'], ENV['VIMEO_SECRET']
|
11
18
|
end
|
12
19
|
|
20
|
+
You need to replace the VIMEO_KEY and VIMEO_SECRET with your own credentials, you can get them at the Vimeo's developer page as mention above.
|
21
|
+
|
22
|
+
## Supported Rubies
|
23
|
+
|
24
|
+
OmniAuth Vimeo is tested under 1.8.7, 1.9.2, 1.9.3 and Ruby Enterprise Edition.
|
25
|
+
|
26
|
+
[![Build Status](https://secure.travis-ci.org/beanieboi/omniauth-vimeo.png?branch=master)](http://travis-ci.org/beanieboi/omniauth-vimeo)
|
27
|
+
|
28
|
+
## Note on Patches/Pull Requests
|
29
|
+
|
30
|
+
- Fork the project.
|
31
|
+
- Make your feature addition or bug fix.
|
32
|
+
- Add tests for it. This is important so I don’t break it in a future version unintentionally.
|
33
|
+
- Commit, do not mess with rakefile, version, or history. (if you want to have your own version, that is fine but bump version in a commit by itself I can ignore when I pull)
|
34
|
+
- Send me a pull request. Bonus points for topic branches.
|
35
|
+
|
13
36
|
## License
|
14
37
|
|
15
|
-
Copyright (c) 2011 Benjamin Fritsch
|
38
|
+
Copyright (c) 2011 Benjamin Fritsch.
|
16
39
|
|
17
40
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
18
41
|
|
19
42
|
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
20
43
|
|
21
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
44
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-vimeo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 1.0.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-06-23 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: multi_json
|
16
|
-
requirement: &
|
16
|
+
requirement: &70112880533600 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: '1.3'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *70112880533600
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: omniauth-oauth
|
27
|
-
requirement: &
|
27
|
+
requirement: &70112880533100 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ~>
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '1.0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *70112880533100
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: rspec
|
38
|
-
requirement: &
|
38
|
+
requirement: &70112880532640 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ~>
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '2.9'
|
44
44
|
type: :development
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *70112880532640
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: rake
|
49
|
-
requirement: &
|
49
|
+
requirement: &70112879383940 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ~>
|
@@ -54,7 +54,7 @@ dependencies:
|
|
54
54
|
version: '0.9'
|
55
55
|
type: :development
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *70112879383940
|
58
58
|
description: OmniAuth strategy for Vimeo
|
59
59
|
email:
|
60
60
|
- beanie@benle.de
|