planvine 0.0.7 → 0.0.8

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: 0b11a440b8fe2cb4509db9d4242e1d8f40344ba4
4
- data.tar.gz: 59d2d1433aa784a6453ad5d6cd5be621a4a9d69d
3
+ metadata.gz: 43646e86bb1b86fd98387aaf416b07eb45e79a51
4
+ data.tar.gz: 06b445842b46ec4a0085adb0d30c579212b93112
5
5
  SHA512:
6
- metadata.gz: 2c7d69bc98250afd4aea87bb07952764227ae2d31921d9fc1f5c611a2630d1369e3fb8f8958ced22dfa15a38ede7c346bd348ab135672b25e3cc6c7e4b8d8a82
7
- data.tar.gz: 40621b692686083b7c34d3ce064e74b9f3c7e3f1334817456bec8b1bafa55c85e9406e254a6126ae648be0427dd11144937ba0d2f76f928c23e80d07ef91cf0b
6
+ metadata.gz: d7118689625ecae51d2498d1caca20281ea2f46f19a8315a41f5dff88218a335499e215dd935dffa40aa17b662df1caff9b715757d9a8b4fd86e541b083288c9
7
+ data.tar.gz: dd723c609b01c8bffb72f720c9755416a1035efaabe70bc12e303e4c643cb74552b63d710bd96e65326357c99b33939c4a351b51a57dedec3a4a293ac6da9e64
@@ -7,6 +7,8 @@ module Planvine
7
7
  :url => event["url"],
8
8
  :photo => (event["photo"].nil? ? "" : event["photo"]["url"]),
9
9
  :start_date => event["start_date"],
10
+ :description => event["description"],
11
+ :source => event["source"],
10
12
  :venue => Venue.new(event["venue"]),
11
13
  :id => event["id"]
12
14
  )
@@ -8,6 +8,18 @@ module Planvine
8
8
  @params.fetch(:venue)
9
9
  end
10
10
 
11
+ def description
12
+ @params.fetch(:description, '')
13
+ end
14
+
15
+ def source
16
+ @params.fetch(:source, '')
17
+ end
18
+
19
+ def url
20
+ @params.fetch(:url, '')
21
+ end
22
+
11
23
  def end_date
12
24
  @params.fetch(:end_date, '')
13
25
  end
@@ -1,3 +1,3 @@
1
1
  module Planvine
2
- VERSION = "0.0.7"
2
+ VERSION = "0.0.8"
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.7
4
+ version: 0.0.8
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-05-02 00:00:00.000000000 Z
11
+ date: 2013-05-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty