oneaccess 0.1.2 → 0.1.3

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: e7ae1428a99e8896caba2a79ad34a7593a2ce156
4
- data.tar.gz: 81b2d2137a1461398794b72f51afc682502a3a4b
3
+ metadata.gz: 7be4f855aec4b0bd8540d94fae6068e4c691d725
4
+ data.tar.gz: 2d7de3e913bfcd0915706a18180feb581f776ccc
5
5
  SHA512:
6
- metadata.gz: c9e78607b5a269a5fae9be54dc1d01aa5e9abf4d444c85f2e3ea7b582be37d96cfd5db0989239a05d0c3236cb3f7d7be26ba90cea3b8ceabdde8b52212fb4e1c
7
- data.tar.gz: 1769369a86740bba393a98ad1d04812c7828565cb62bebbc4f2702df127b43754910bb54e28b1d14f7e816241c81b8cd9c3b1255cba47a010056793f6bbb1612
6
+ metadata.gz: bdc66efc284b1cdfe8f3b9456cc0ed263c4dca9e3d1332c98c1915d762f90c248fa56ee4218e770c370b468d74daeddbcd3958c9ff0bade43faf11dc3555f444
7
+ data.tar.gz: 0802f43c609e2e50126c07e61ebec9e05bec18bb9ef807c8a98ed6861bbd5b6a5b4c3c78a8785e968e65cc16c573ec4fc895c3bc841b0506c7140f4390cfebb0
@@ -12,6 +12,7 @@ module ONEAccess
12
12
  attr_accessor :ticker
13
13
  attr_accessor :website
14
14
  attr_accessor :address
15
+ attr_accessor :industry
15
16
  attr_accessor :sub_industry
16
17
  attr_accessor :perm_id
17
18
 
@@ -1,10 +1,10 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative "./representer/sub_industry"
3
+ require_relative "./representer/industry"
4
4
 
5
5
  module ONEAccess
6
6
  module DataObject
7
- class SubIndustry
7
+ class Industry
8
8
  attr_accessor :id
9
9
  attr_accessor :name
10
10
  attr_accessor :code
@@ -15,8 +15,10 @@ module ONEAccess
15
15
  property :website, as: :Website, type: String
16
16
  property :address, as: :Address,
17
17
  decorator: Representer::Address, class: DataObject::Address
18
+ property :industry, as: :Industry,
19
+ decorator: Representer::Industry, class: DataObject::Industry
18
20
  property :sub_industry, as: :SubIndustry,
19
- decorator: Representer::SubIndustry, class: DataObject::SubIndustry
21
+ decorator: Representer::Industry, class: DataObject::Industry
20
22
  end
21
23
  end
22
24
  end
@@ -3,7 +3,7 @@
3
3
  module ONEAccess
4
4
  module DataObject
5
5
  module Representer
6
- class SubIndustry < Representable::Decorator
6
+ class Industry < Representable::Decorator
7
7
  include Representable::JSON
8
8
 
9
9
  property :id, as: :Id, type: Integer
@@ -1,6 +1,6 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative "../../data_object/sub_industry"
3
+ require_relative "../../data_object/industry"
4
4
  require_relative "../../data_object/company"
5
5
 
6
6
  module ONEAccess
data/oneaccess.gemspec CHANGED
@@ -1,8 +1,8 @@
1
1
  # frozen_string_literal: true
2
2
  Gem::Specification.new do |s|
3
3
  s.name = "oneaccess"
4
- s.version = "0.1.2"
5
- s.date = "2017-11-29"
4
+ s.version = "0.1.3"
5
+ s.date = "2017-12-05"
6
6
  s.summary = "ONEAccess API wrapper"
7
7
  s.description = "Easily communicate with ONEAccess API"
8
8
  s.homepage = "https://github.com/AlphaExchange/rixml"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oneaccess
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Correia Santos
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-29 00:00:00.000000000 Z
11
+ date: 2017-12-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -195,6 +195,7 @@ files:
195
195
  - lib/oneaccess/data_object/company_light.rb
196
196
  - lib/oneaccess/data_object/country.rb
197
197
  - lib/oneaccess/data_object/global_region.rb
198
+ - lib/oneaccess/data_object/industry.rb
198
199
  - lib/oneaccess/data_object/organization.rb
199
200
  - lib/oneaccess/data_object/organization_light.rb
200
201
  - lib/oneaccess/data_object/product_group.rb
@@ -205,17 +206,16 @@ files:
205
206
  - lib/oneaccess/data_object/representer/company_light.rb
206
207
  - lib/oneaccess/data_object/representer/country.rb
207
208
  - lib/oneaccess/data_object/representer/global_region.rb
209
+ - lib/oneaccess/data_object/representer/industry.rb
208
210
  - lib/oneaccess/data_object/representer/organization.rb
209
211
  - lib/oneaccess/data_object/representer/organization_light.rb
210
212
  - lib/oneaccess/data_object/representer/product_group.rb
211
213
  - lib/oneaccess/data_object/representer/region.rb
212
214
  - lib/oneaccess/data_object/representer/research_document_info.rb
213
215
  - lib/oneaccess/data_object/representer/saml_info.rb
214
- - lib/oneaccess/data_object/representer/sub_industry.rb
215
216
  - lib/oneaccess/data_object/representer/user.rb
216
217
  - lib/oneaccess/data_object/research_document_info.rb
217
218
  - lib/oneaccess/data_object/saml_info.rb
218
- - lib/oneaccess/data_object/sub_industry.rb
219
219
  - lib/oneaccess/data_object/user.rb
220
220
  - lib/oneaccess/enum/api_status_code.rb
221
221
  - lib/oneaccess/enum/product_group_status.rb