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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f21ee8f1e6437df4c54c9e9fe96b615e85ca9e68
4
- data.tar.gz: dab9c47b22a574333d3ebc52d67e600f3e4bfefc
3
+ metadata.gz: f069259e97d6d07ff081d576b62efb73e8e42e0d
4
+ data.tar.gz: 2dfc231f737ee28f91e865b5486d949b67102dc4
5
5
  SHA512:
6
- metadata.gz: 099ce05bbd868a3daa6150d868622eaab00ed12638d299f1a1a7354eabceb502f17ec5cfcef8ed1715b85da519f8fef517baf9d50fe05196f550744cca32cf7a
7
- data.tar.gz: dd6f5cb17fc457119d4ffc4e871c374729fce037cbd05ab8c0de125befd387c9a299d19862b0a14bbf8040d7f97a1a1121ed959620231446813ed2d8f4380e3c
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
- For more information see the following:
3
+ ## Basic setup example
4
4
 
5
- * https://github.com/intridea/omniauth/wiki/List-of-Strategies
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
- Release notes:
12
+ ## For more information see the following:
8
13
 
9
- * Version 0.0.14
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
 
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Flickr
3
- VERSION = "0.0.15"
3
+ VERSION = "0.0.16"
4
4
  end
5
5
  end
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.15
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: 2014-06-06 00:00:00.000000000 Z
11
+ date: 2015-03-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: omniauth-oauth