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 +4 -4
- data/lib/planvine/builders/events_builder.rb +2 -0
- data/lib/planvine/event.rb +12 -0
- data/lib/planvine/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 43646e86bb1b86fd98387aaf416b07eb45e79a51
|
4
|
+
data.tar.gz: 06b445842b46ec4a0085adb0d30c579212b93112
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
)
|
data/lib/planvine/event.rb
CHANGED
@@ -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
|
data/lib/planvine/version.rb
CHANGED
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
|
+
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-
|
11
|
+
date: 2013-05-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: httparty
|