forward-calendar 0.2.0 → 0.3.0

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: b3fbf5afb2a097ae21d89820a69d0ae447d7134f
4
- data.tar.gz: 23826644a7f02affeaf8c07bb1aad879b9623045
3
+ metadata.gz: b98aaa208b9296631349419344c931d1c56a2106
4
+ data.tar.gz: 05bdc8d7d7ae58260bb7dab8a560dea4c6b5584d
5
5
  SHA512:
6
- metadata.gz: 260bb35bbb6b3eddd3371f27877482d09def272a4760d20db8f5b9d102f5150799c3e35f2224f99fd617edb65ac2ffc2684cbdaa856f0f00e5051c3cdcb5f054
7
- data.tar.gz: 0aa0d660058654226e3a37862d1d89622426025f8dba0d08b33e87ab47cc365f98e1d35173ab91d823e8ffaac10ece933d6e2faa960f5c74a2e39599a5270235
6
+ metadata.gz: f015c586666bba85056967b417480261b40be54355d80db46763a8cc4c16158cf8b882e33d577a3bcfa0c103d306e865080a37ed5da74f70658bb26f097c87bb
7
+ data.tar.gz: a536f3303dc194b9d98ef1ce604704d13828d083f7efa1240595012ede05819f8a278b0b16d0c4b9604b0b2e7a6bd3cef3277dd21bc2027697efbda3e6060ca9
@@ -2,8 +2,8 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'forward-calendar'
5
- s.version = '0.2.0'
6
- s.date = '2018-01-10'
5
+ s.version = '0.3.0'
6
+ s.date = '2018-02-20'
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'
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'happymapper'
4
+ require_relative 'node'
5
+
6
+ module ForwardCalendar
7
+ class EntitlementGroup < Node
8
+ include HappyMapper
9
+ tag 'entitlementGroup'
10
+
11
+ content :id, Integer
12
+ end
13
+ end
@@ -4,6 +4,7 @@ require 'happymapper'
4
4
  require_relative 'node'
5
5
  require_relative './location'
6
6
  require_relative './company'
7
+ require_relative './entitlement_group'
7
8
  require_relative './helper/normalized_string'
8
9
 
9
10
  module ForwardCalendar
@@ -12,7 +13,7 @@ module ForwardCalendar
12
13
  tag 'event'
13
14
 
14
15
  has_many :locations, Location, tag: 'eventLocation'
15
-
16
+ has_many :entitlement_groups, EntitlementGroup, tag: 'entitlementGroup'
16
17
  has_many :companies, Company, tag: 'company'
17
18
 
18
19
  element :id, Integer, tag: 'eventID'
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.2.0
4
+ version: 0.3.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-01-10 00:00:00.000000000 Z
11
+ date: 2018-02-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -184,6 +184,7 @@ files:
184
184
  - lib/forward_calendar.rb
185
185
  - lib/forward_calendar/address.rb
186
186
  - lib/forward_calendar/company.rb
187
+ - lib/forward_calendar/entitlement_group.rb
187
188
  - lib/forward_calendar/event.rb
188
189
  - lib/forward_calendar/forward_calendar.rb
189
190
  - lib/forward_calendar/helper/normalized_string.rb