rixml 0.5.3 → 0.5.4
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 +4 -4
- data/lib/rixml_document/asset_type.rb +13 -0
- data/lib/rixml_document/product_classifications.rb +2 -0
- data/lib/rixml_document/security.rb +2 -0
- data/rixml.gemspec +2 -2
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebbded7cbdb62e413f76130fd4d4cd1ca3fbcfed
|
4
|
+
data.tar.gz: 3c3ba137664645aff7947bfe7b280041d41cae70
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb6c64ce0056718094de58b6f96d588fff135ccf59188a9a6c7bc5a35302032f1364686e9ef91c71c4464bd58b1bdc1fb5523179fb1a6a76357a515949713c43
|
7
|
+
data.tar.gz: ac0bb3301d256bb0c9598ca6845d25cbd78666df5cf1ebbe47292abb55dee61d3ac8bd266852936deaf66f764b3560499b124c3b9ce112ce9368358f91b69955
|
@@ -0,0 +1,13 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
require 'happymapper'
|
3
|
+
require_relative './node'
|
4
|
+
require_relative './rixml_type/normalized_string'
|
5
|
+
|
6
|
+
module RixmlDocument
|
7
|
+
class AssetType < Node
|
8
|
+
include HappyMapper
|
9
|
+
tag 'AssetType'
|
10
|
+
|
11
|
+
attribute :asset_type, RixmlType::NormalizedString, tag: 'assetType'
|
12
|
+
end
|
13
|
+
end
|
@@ -2,6 +2,7 @@
|
|
2
2
|
require 'happymapper'
|
3
3
|
require_relative './node'
|
4
4
|
require_relative './asset_class'
|
5
|
+
require_relative './asset_type'
|
5
6
|
require_relative './country'
|
6
7
|
|
7
8
|
module RixmlDocument
|
@@ -10,6 +11,7 @@ module RixmlDocument
|
|
10
11
|
tag 'ProductClassifications'
|
11
12
|
|
12
13
|
has_many :asset_classes, AssetClass, tag: 'AssetClass', xpath: './'
|
14
|
+
has_many :asset_types, AssetType, tag: 'AssetType', xpath: './'
|
13
15
|
has_many :countries, Country, tag: 'Country', xpath: './'
|
14
16
|
end
|
15
17
|
end
|
@@ -3,6 +3,7 @@ require 'happymapper'
|
|
3
3
|
require_relative './node'
|
4
4
|
require_relative './security_id'
|
5
5
|
require_relative './asset_class'
|
6
|
+
require_relative './asset_type'
|
6
7
|
require_relative './security_type'
|
7
8
|
require_relative './rixml_type/yes_no_boolean'
|
8
9
|
|
@@ -13,6 +14,7 @@ module RixmlDocument
|
|
13
14
|
|
14
15
|
has_many :security_ids, SecurityId, tag: 'SecurityID', xpath: './'
|
15
16
|
has_one :asset_class, AssetClass, tag: 'AssetClass', xpath: './'
|
17
|
+
has_one :asset_type, AssetType, tag: 'AssetType', xpath: './'
|
16
18
|
has_one :security_type, SecurityType, tag: 'SecurityType', xpath: './'
|
17
19
|
|
18
20
|
element :security_name, String, tag: 'SecurityName'
|
data/rixml.gemspec
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
Gem::Specification.new do |s|
|
3
3
|
s.name = 'rixml'
|
4
|
-
s.version = '0.5.
|
5
|
-
s.date = '2017-10-
|
4
|
+
s.version = '0.5.4'
|
5
|
+
s.date = '2017-10-19'
|
6
6
|
s.summary = 'RIXML Parser'
|
7
7
|
s.description = 'Parse RIXML files'
|
8
8
|
s.homepage = 'https://github.com/AlphaExchange/rixml'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rixml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Correia Santos
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-10-
|
12
|
+
date: 2017-10-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -156,6 +156,7 @@ files:
|
|
156
156
|
- lib/rixml.rb
|
157
157
|
- lib/rixml_document.rb
|
158
158
|
- lib/rixml_document/asset_class.rb
|
159
|
+
- lib/rixml_document/asset_type.rb
|
159
160
|
- lib/rixml_document/contact.rb
|
160
161
|
- lib/rixml_document/content.rb
|
161
162
|
- lib/rixml_document/context.rb
|