omniauth-flickr 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +15 -5
- data/lib/omniauth-flickr/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f069259e97d6d07ff081d576b62efb73e8e42e0d
|
4
|
+
data.tar.gz: 2dfc231f737ee28f91e865b5486d949b67102dc4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e83d56bc50cfb57d85d90de664d188ade506170f9738a6fc6903975a6fa560d48c97f0d5c25d234f5176bfcdb8b104ebcdc8ee69a9fc776cfd945ec265afb94e
|
7
|
+
data.tar.gz: 1ec8ea37e3421028f8e66f9e7f3b5db509f56fa9b2c053076ce2e335d5b3c8fa7d46ba9293e721cbb5bd763b4dd522fc7612b7a2552519862b046ea0292deb0a
|
data/README.md
CHANGED
@@ -1,12 +1,22 @@
|
|
1
|
-
An Omniauth 1.0 Strategy for Flickr
|
1
|
+
# An Omniauth 1.0 Strategy for Flickr
|
2
2
|
|
3
|
-
|
3
|
+
## Basic setup example
|
4
4
|
|
5
|
-
|
5
|
+
```RUBY
|
6
|
+
Rails.application.config.middleware.use OmniAuth::Builder do
|
7
|
+
provider :flickr, ENV['FLICKR_KEY'], ENV['FLICKR_SECRET'], scope: 'read'
|
8
|
+
end
|
9
|
+
```
|
10
|
+
A scope must be set, which translate to the `perms` parameter in the request url. Valid perms (scopes) are `read`, `write` and `delete`.
|
6
11
|
|
7
|
-
|
12
|
+
## For more information see the following:
|
8
13
|
|
9
|
-
*
|
14
|
+
* https://github.com/intridea/omniauth/wiki/List-of-Strategies
|
15
|
+
* https://www.flickr.com/services/api/auth.howto.web.html
|
16
|
+
|
17
|
+
## Release notes:
|
18
|
+
|
19
|
+
* Version 0.0.15
|
10
20
|
|
11
21
|
- Use HTTPS for default icon (see://www.flickr.com/services/api/misc.buddyicons.html)
|
12
22
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: omniauth-flickr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tim Breitkreutz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-03-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: omniauth-oauth
|