RubyGems
npm
Organizations
Log in
Sign up
RubyGems
dustin-r2flickr
Versions diffs
0.1.1.2 → 0.1.1.3
dustin-r2flickr 0.1.1.2 → 0.1.1.3
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (2)
hide
show
data/lib/flickr/token_cache.rb
+2
-0
metadata
+1
-1
data/lib/flickr/token_cache.rb
CHANGED
Viewed
@@ -22,6 +22,8 @@ class Flickr::FileTokenCache < Flickr::BaseTokenCache
22
22
token = nil
23
23
File.open(@cache_file,'r'){ |f| token = f.read }
24
24
@token = Flickr::Token.from_xml(REXML::Document.new(token))
25
+
rescue Errno::ENOENT
26
+
nil
25
27
end
26
28
27
29
def cache_token(token)
metadata
CHANGED
Viewed
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: dustin-r2flickr
3
3
version: !ruby/object:Gem::Version
4
-
version: 0.1.1.
2
4
+
version: 0.1.1.
3
5
5
platform: ruby
6
6
authors:
7
7
- Marko Anastasov