omniauth-flickr 0.0.11 → 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d84c1dde3c819369d01840416e30c9b075fbafc6
4
+ data.tar.gz: acbfb631dcbb426fd145c63a9c8fb27d50484a22
5
+ SHA512:
6
+ metadata.gz: 3d4bad7b92e15f04fd6ff68342c039bdf7e6d3ddbce18065b4102cf8f18e9da95c5412ccfe0c45048d71c38e6d191e4d1fc0cad407fb778a6c4391e1d130f758
7
+ data.tar.gz: b2cefdd44eb06b7bc18d38ec71250e3ed7567a7a8c384bcd227eb559fca291bd41c6398c78e247a50562d8dea6f5662676d1f917b4c7db6b28ee40e71f54a8e2
data/README.md CHANGED
@@ -5,38 +5,42 @@ For more information see the following:
5
5
  * https://github.com/intridea/omniauth/wiki/List-of-Strategies
6
6
 
7
7
  Release notes:
8
+ * Version 0.0.13
9
+
10
+ - better default avatar, thanks to Brainimus
8
11
 
9
12
  * Version 0.0.11
10
-
13
+
11
14
  - Fix bugs for users without avatars (thanks viseztrance)
12
15
 
13
16
  * Version 0.0.9
14
17
 
15
18
  - Allow :scope => 'read' in omniauth setup options
16
-
19
+
17
20
  * Version 0.0.8
18
-
19
- - Use authenticated version of flickr.people.getInfo (contrary to flickr docs, api_key must not be specified on url)
21
+
22
+ - Use authenticated version of flickr.people.getInfo (contrary to flickr docs, api_key must not be specified on
23
+ url)
20
24
 
21
25
  * Version 0.0.7
22
-
23
- - Documentation and comment change only
24
26
 
25
- * Version 0.0.6
27
+ - Documentation and comment change only
26
28
 
27
- - Comply more closely to published Auth Hash Schema
28
- (https://github.com/intridea/omniauth/wiki/Auth-Hash-Schema)
29
+ * Version 0.0.6
29
30
 
30
- * Version 0.0.5
31
-
32
- - Most available user information should now be available in the info hash
33
- - Still needs some testing and documentation--to come
34
- - Fixed a rescue so it is more contained
31
+ - Comply more closely to published Auth Hash Schema (https://github.com/intridea/omniauth/wiki/Auth-Hash-Schema)
32
+
33
+ * Version 0.0.5
34
+
35
+ - Most available user information should now be available in the info hash - Still needs some testing and
36
+ documentation--to come - Fixed a rescue so it is more contained
35
37
 
36
38
  * Version 0.0.4
37
39
 
38
- - Added more user info explicitly into the info hash
40
+ - Added more user info explicitly into the info hash
39
41
 
40
42
  * Version 0.0.1
41
43
 
42
- - First cut
44
+ - First cut
45
+
46
+
@@ -62,8 +62,10 @@ module OmniAuth
62
62
  end
63
63
 
64
64
  def image_info
65
- if user_info["iconfarm"] > 0
65
+ if user_info["iconfarm"] && user_info["iconfarm"] > 0
66
66
  "http://farm#{user_info["iconfarm"]}.static.flickr.com/#{user_info["iconserver"]}/buddyicons/#{uid}.jpg"
67
+ else
68
+ "http://www.flickr.com/images/buddyicon.gif"
67
69
  end
68
70
  end
69
71
 
@@ -1,5 +1,5 @@
1
1
  module Omniauth
2
2
  module Flickr
3
- VERSION = "0.0.11"
3
+ VERSION = "0.0.13"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniauth-flickr
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.11
5
- prerelease:
4
+ version: 0.0.13
6
5
  platform: ruby
7
6
  authors:
8
7
  - Tim Breitkreutz
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2012-11-14 00:00:00.000000000 Z
11
+ date: 2013-11-18 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: omniauth-oauth
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
@@ -46,26 +43,25 @@ files:
46
43
  - omniauth-flickr.gemspec
47
44
  homepage: https://github.com/timbreitkreutz/omniauth-flickr
48
45
  licenses: []
46
+ metadata: {}
49
47
  post_install_message:
50
48
  rdoc_options: []
51
49
  require_paths:
52
50
  - lib
53
51
  required_ruby_version: !ruby/object:Gem::Requirement
54
- none: false
55
52
  requirements:
56
- - - ! '>='
53
+ - - '>='
57
54
  - !ruby/object:Gem::Version
58
55
  version: '0'
59
56
  required_rubygems_version: !ruby/object:Gem::Requirement
60
- none: false
61
57
  requirements:
62
- - - ! '>='
58
+ - - '>='
63
59
  - !ruby/object:Gem::Version
64
60
  version: '0'
65
61
  requirements: []
66
62
  rubyforge_project: omniauth-flickr
67
- rubygems_version: 1.8.24
63
+ rubygems_version: 2.0.6
68
64
  signing_key:
69
- specification_version: 3
65
+ specification_version: 4
70
66
  summary: OmniAuth strategy for Flickr
71
67
  test_files: []