flickraw 0.4.2 → 0.4.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/flickraw.rb +3 -2
  2. metadata +3 -3
@@ -26,7 +26,7 @@ require 'yaml'
26
26
  require 'cgi'
27
27
 
28
28
  module FlickRaw
29
- VERSION='0.4.2'
29
+ VERSION='0.4.3'
30
30
 
31
31
  FLICKR_HOST='api.flickr.com'.freeze
32
32
 
@@ -62,7 +62,8 @@ module FlickRaw
62
62
  list.extend SimpleOStruct
63
63
  list.instance_eval { obj.each {|kv, vv| __attr_define kv, vv } }
64
64
  list
65
- elsif content = obj['_content']
65
+ elsif obj['_content']
66
+ content = obj['_content'].to_s
66
67
  content.extend SimpleOStruct
67
68
  content.instance_eval { obj.each {|kv, vv| __attr_define kv, vv } }
68
69
  content
metadata CHANGED
@@ -1,10 +1,10 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.2
2
+ rubygems_version: 0.9.4
3
3
  specification_version: 1
4
4
  name: flickraw
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.4.2
7
- date: 2007-04-09 00:00:00 +02:00
6
+ version: 0.4.3
7
+ date: 2007-08-04 00:00:00 +02:00
8
8
  summary: Flickr library with a syntax close to the syntax described on http://www.flickr.com/services/api
9
9
  require_paths:
10
10
  - lib