forward-calendar 0.3.0 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/forward-calendar.gemspec +2 -2
- data/lib/forward_calendar/location.rb +2 -0
- data/lib/forward_calendar/meeting_type.rb +14 -0
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfa5fbf546ed31d4156ed77d5df65b5b12850229
|
4
|
+
data.tar.gz: 6e8a654f3107a1ae98f58aee5140f3454a59f5cb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b68a5b062c01107dc09498e414db9b32d7588869e0b7d996d79c0268ef4209933425f9f57dac694d58477c7f3951e0089b9a6c39fbeba875930c6241f587c5c
|
7
|
+
data.tar.gz: da6bbc2a5830acb2274f0f9c7dca06c4e2dfe8acd9214e08a8e03522d1ef1056608f89f237373bb270d0c3887fc106c7cfc62765402d0f3da0d013570b02769d
|
data/forward-calendar.gemspec
CHANGED
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = 'forward-calendar'
|
5
|
-
s.version = '0.
|
6
|
-
s.date = '2018-
|
5
|
+
s.version = '0.4.0'
|
6
|
+
s.date = '2018-04-10'
|
7
7
|
s.summary = 'Forward Calendar XML parser'
|
8
8
|
s.description = 'Parser for Forward Calendar XML files'
|
9
9
|
s.homepage = 'https://github.com/AlphaExchange/forward-calendar-rb'
|
@@ -5,6 +5,7 @@ require_relative 'node'
|
|
5
5
|
require_relative './location_start_time'
|
6
6
|
require_relative './location_end_time'
|
7
7
|
require_relative './address'
|
8
|
+
require_relative './meeting_type'
|
8
9
|
require_relative './helper/normalized_string'
|
9
10
|
|
10
11
|
module ForwardCalendar
|
@@ -15,6 +16,7 @@ module ForwardCalendar
|
|
15
16
|
has_one :start_time, LocationStartTime, tag: 'locationStartTime', xpath: './'
|
16
17
|
has_one :end_time, LocationEndTime, tag: 'locationEndTime', xpath: './'
|
17
18
|
has_one :address, Address, tag: 'address', xpath: './'
|
19
|
+
has_many :meeting_types_offered, MeetingType, tag: 'meetingType'
|
18
20
|
|
19
21
|
element :id, Integer, tag: 'locationID'
|
20
22
|
element :name, String, tag: 'locationEventName'
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'happymapper'
|
4
|
+
require_relative 'node'
|
5
|
+
require_relative './helper/normalized_string'
|
6
|
+
|
7
|
+
module ForwardCalendar
|
8
|
+
class MeetingType < Node
|
9
|
+
include HappyMapper
|
10
|
+
tag 'meetingType'
|
11
|
+
|
12
|
+
content :code, Helper::NormalizedString
|
13
|
+
end
|
14
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forward-calendar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- João Simões
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-04-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -194,6 +194,7 @@ files:
|
|
194
194
|
- lib/forward_calendar/location_end_time.rb
|
195
195
|
- lib/forward_calendar/location_start_time.rb
|
196
196
|
- lib/forward_calendar/location_time.rb
|
197
|
+
- lib/forward_calendar/meeting_type.rb
|
197
198
|
- lib/forward_calendar/node.rb
|
198
199
|
- lib/forward_calendar/updated.rb
|
199
200
|
- release
|
@@ -217,7 +218,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
217
218
|
version: '0'
|
218
219
|
requirements: []
|
219
220
|
rubyforge_project:
|
220
|
-
rubygems_version: 2.5.
|
221
|
+
rubygems_version: 2.5.2
|
221
222
|
signing_key:
|
222
223
|
specification_version: 4
|
223
224
|
summary: Forward Calendar XML parser
|