planvine 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7cb71984105f169ce3cb002840f3717b010818b0
4
- data.tar.gz: 4af76a673a07c2e15967bfcc59c8b2c1e67443ba
3
+ metadata.gz: b9f36fc737f030f9c7c173f1bb2a99adaab88e92
4
+ data.tar.gz: 8408e0c868f7b034520b0d4548dafa8202a8d2f3
5
5
  SHA512:
6
- metadata.gz: c6d344768be56cc44c7437e16ed754a96452f4babe05198739df5b617c404ddb6faee5d2ccd86fdeba9eeba08938cfa2132f45006738d07909f37cb412e9244b
7
- data.tar.gz: 757685a5e587e33808062e7944bc9fe0b2e1019d8590e75b44ffda8893f791d5eedbb557e8602749df3ec4236423a875d7a3e298dc5727cbaec58069e6ffb263
6
+ metadata.gz: 0042c3208b8b3a25c6b92697b12472ea39b4cddc0b706cbb6222b32fd35a52458554b5f7b6eeee943696c43534360f7a54b44c28df5e1c835e29eaff612c1f2e
7
+ data.tar.gz: 062968ce0652fe3233e3d4e655d46c079d4cdd7db7e2ce5061685c1d98faf2f9d0ccad8752686efe80f96e7bb0b57bda5a6f14db45d91d85bcf638a6f3607092
@@ -17,6 +17,7 @@ module Planvine
17
17
  end
18
18
 
19
19
  def events
20
+ return [] if api.category_events(id).nil?
20
21
  api.category_events(id).map do |event|
21
22
  EventsBuilder.build(event)
22
23
  end
@@ -1,3 +1,3 @@
1
1
  module Planvine
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: planvine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Patching
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-04-26 00:00:00.000000000 Z
11
+ date: 2013-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty