forward-calendar 0.8.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5f1a1c68b4b8e8ae772fe79905bf9cfb9032bd89
4
- data.tar.gz: 7d13afabec7864e0482688f950eeaaa5d11d9406
3
+ metadata.gz: 2c7e4ae93d33106f9bd7d1e4ea89652015aac4a4
4
+ data.tar.gz: 2d9b3bd45ef5e7934f700506e88d11e7e1cc9f44
5
5
  SHA512:
6
- metadata.gz: 57d1bd77b47cb68070a7e9e4ef20898a438c8454022083d5399dcd8c0c54953b5d334bb01e4697f60976bbf379ba3d3c1944ca6496648c5ab31d51e914b23b06
7
- data.tar.gz: bdd0e15484d43e9c674d3b49ace937aad2ce6ba4d1adb5d0dce36013e3c985016a6af9ea99d5944a78f265c340d69e63715782e57bbe17b9c9dd17205c82f5dd
6
+ metadata.gz: 414511106ad0b7b0a8c08e283fb6b67dc7c8927a04301ab0bb84494b08b0b75c7ea358f58e6de146711e1bd004c42b800841750e95c15d8148f5abfed027998e
7
+ data.tar.gz: 36831c7c43df105a69354c2bfc17b44fdef1257a18fad7a4bdf56900dc5f074b0d1458df460a437a7a43231219620c4e159d4e7ca350a2f7f91c8bf5e8d216e3
@@ -2,8 +2,8 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = 'forward-calendar'
5
- s.version = '0.8.0'
6
- s.date = '2018-09-07'
5
+ s.version = '0.8.1'
6
+ s.date = '2018-09-24'
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'
@@ -6,6 +6,7 @@ require_relative './location'
6
6
  require_relative './company'
7
7
  require_relative './sector'
8
8
  require_relative './entitlement_group'
9
+ require_relative './product_group'
9
10
  require_relative './participant'
10
11
  require_relative './helper/normalized_string'
11
12
 
@@ -16,6 +17,7 @@ module ForwardCalendar
16
17
 
17
18
  has_many :locations, Location, tag: 'eventLocation'
18
19
  has_many :entitlement_groups, EntitlementGroup, tag: 'entitlementGroup'
20
+ has_many :product_groups, ProductGroup, tag: 'productGroup'
19
21
  has_many :companies, Company, tag: 'company', xpath: 'companies'
20
22
  has_many :broker_participants, Participant, tag: 'participant', xpath: 'brokerParticipants'
21
23
  has_many :third_party_participants, Participant, tag: 'participant', xpath: 'thirdPartyParticipants'
@@ -0,0 +1,13 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'happymapper'
4
+ require_relative 'node'
5
+
6
+ module ForwardCalendar
7
+ class ProductGroup < Node
8
+ include HappyMapper
9
+ tag 'productGroup'
10
+
11
+ content :id, Integer
12
+ end
13
+ 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.8.0
4
+ version: 0.8.1
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-09-07 00:00:00.000000000 Z
11
+ date: 2018-09-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -212,6 +212,7 @@ files:
212
212
  - lib/forward_calendar/node.rb
213
213
  - lib/forward_calendar/participant.rb
214
214
  - lib/forward_calendar/person.rb
215
+ - lib/forward_calendar/product_group.rb
215
216
  - lib/forward_calendar/sector.rb
216
217
  - lib/forward_calendar/updated.rb
217
218
  - release