tumbling 0.0.3 → 0.0.4

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.
@@ -50,8 +50,8 @@ module Tumbling
50
50
  query.merge!({ :type => type }) unless type.nil?
51
51
 
52
52
  results = get '/api/read', :query => query
53
- # return results
54
- if results['tumblr']
53
+
54
+ if results['tumblr'] && results['tumblr']['posts'] && results['tumblr']['posts']['post']
55
55
  return export_type_to_native_objects(results['tumblr']['posts']['post'])
56
56
  else
57
57
  []
Binary file
data/tumbling.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{tumbling}
5
- s.version = "0.0.3"
5
+ s.version = "0.0.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Cameron Cox"]
@@ -16,4 +16,4 @@ Gem::Specification.new do |s|
16
16
  s.summary = %q{Tumblr API Gem}
17
17
 
18
18
  s.add_runtime_dependency(%q<httparty>, [">= 0.4.5"])
19
- end
19
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tumbling
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cameron Cox
@@ -45,6 +45,7 @@ files:
45
45
  - script/console
46
46
  - tumbling-0.0.1.gem
47
47
  - tumbling-0.0.2.gem
48
+ - tumbling-0.0.3.gem
48
49
  - tumbling.gemspec
49
50
  has_rdoc: true
50
51
  homepage: http://github.com/cameroncox/tumbling