reddit_api 0.3.4 → 0.3.5

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 508b91f7157f989c25e8c35e061d2efa46288158
4
- data.tar.gz: ac10dda05702a5103e47620c55e89ecbc4c9ca98
3
+ metadata.gz: 6f86e4544f1d1d47db2ed282a9f31ed7934a4762
4
+ data.tar.gz: c0bec668f4318d3f19383bae8b5f43338abdeb57
5
5
  SHA512:
6
- metadata.gz: 8970f71215edb331f27ab82e6b9aa0f5a1896ca61dc43a1f397e71f14e8dbc0ca66f5c78a4f8f38646ec7308af35890662c4e1b3cedc5b1c9c3f9f3adbbf463d
7
- data.tar.gz: 3909e6dc5939f889aa5224658c728d0da4ae9d0cdf7a897270747328d9f5458c5b37564f73243f523f0baa55a24c3fc2b07d4a8344595be89bcc8afd536db0e8
6
+ metadata.gz: 075cdd44d44133c32641c29cd958d80cac474d037deb4440ffff461bb22204a795f0a3ad7195e471087982d30d53e0e45a10138de6d16bffa31736e9465b9a6a
7
+ data.tar.gz: 99b61cd2d850187e2ef5c49d40977389d5cc99fd12c6561a3903ede7f51435a376d68600207af5968f92a9c10738f61615368d2f6e30ccedc541f6da16a873fb
@@ -53,7 +53,9 @@ module RedditApi
53
53
  end
54
54
 
55
55
  def build_post(post_data)
56
- post_factory.new(post_data["data"])
56
+ if post_data["data"]
57
+ post_factory.new(post_data["data"])
58
+ end
57
59
  end
58
60
 
59
61
  end
@@ -1,3 +1,3 @@
1
1
  module RedditApi
2
- VERSION = "0.3.4"
2
+ VERSION = "0.3.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reddit_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anthony Fuentes