Active 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/services/activity.rb +5 -4
- data/version.txt +1 -1
- metadata +4 -4
data/lib/services/activity.rb
CHANGED
@@ -10,11 +10,12 @@ module Active
|
|
10
10
|
@url = @data[:url]
|
11
11
|
|
12
12
|
unless @data[:meta].nil?
|
13
|
-
|
13
|
+
@url = @data[:meta][:seourl]
|
14
|
+
self.asset_id = @data[:meta][:assetId]
|
14
15
|
self.asset_type_id = @data[:meta][:assetTypeId]
|
15
|
-
@start_date
|
16
|
-
@end_date
|
17
|
-
self.categories
|
16
|
+
@start_date = Date.parse(@data[:meta][:startDate])
|
17
|
+
@end_date = Date.parse(@data[:meta][:endDate]) if @data[:meta][:endDate]
|
18
|
+
self.categories = @data[:meta][:channel]
|
18
19
|
|
19
20
|
@desc = @data[:meta][:description] ||= ""
|
20
21
|
@start_time = @data[:meta][:startTime] ||= ""
|
data/version.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.8
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: Active
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 15
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 8
|
10
|
+
version: 0.0.8
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Jonathan Spooner, Brian Levine
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2010-09-
|
18
|
+
date: 2010-09-12 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|