crunchbase-ruby-library 0.1.1 → 0.1.2

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: 50429f19d626ea589e14ca891a36f1433082697b
4
- data.tar.gz: 5b228ba00c4de77c36111bde57b764d23520b640
3
+ metadata.gz: 8d167711ec610ab1e1c81675df05e8aebc3119ae
4
+ data.tar.gz: de5728894ec3309d6cf30ea00a65715c135411a7
5
5
  SHA512:
6
- metadata.gz: 689955b6f2f7912cd06a2f98428eab1faa097fcee0eae750bdf893fed09ab68a214aa94c2b0352c3b6586d641bce01c7d2f2cc094b87b49b6ecf08bd1d5d62ef
7
- data.tar.gz: 055b603d5df5f9c4e6872f7d978a80b24e8708c29c79a8cfb62ddf33a9fcf6681ebac6a89fb2a8edaed17dd46b2e0bf72bbb9508085d076b54b4342bd54f8f5c
6
+ metadata.gz: 13086ad9d0774214e061e874187adccc18af476102ca466180cad8f8cf17e2aa9203d799dd45904ff3138960fc34ddec43ffa82c4da22f693ba18297c3cbbd79
7
+ data.tar.gz: cbc94e0d8d3dc18e8facda7f7336eaf3b7fa14a75d5a96bb421d1e57147b68b6d8fdcb53254caa6ad8ebe9606077f970531d4d0c54dc631b3432dd57f6ce637d
@@ -2,20 +2,20 @@
2
2
 
3
3
  module Crunchbase::Model
4
4
  class Person < Crunchbase::Model::Entity
5
-
5
+
6
6
  RESOURCE_LIST = RESOURCE_NAME = 'people'
7
-
8
- attr_reader :permalink, :api_path, :web_path, :first_name, :last_name, :also_known_as, :bio,
9
- :role_investor, :born_on, :born_on_trust_code, :is_deceased, :died_on, :died_on_trust_code,
7
+
8
+ attr_reader :permalink, :api_path, :web_path, :first_name, :last_name, :also_known_as, :bio, :profile_image_url,
9
+ :role_investor, :born_on, :born_on_trust_code, :is_deceased, :died_on, :died_on_trust_code,
10
10
  :created_at, :updated_at
11
11
 
12
- attr_reader :primary_affiliation, :primary_location, :primary_image, :websites, :degrees, :jobs,
12
+ attr_reader :primary_affiliation, :primary_location, :primary_image, :websites, :degrees, :jobs,
13
13
  :advisory_roles, :founded_companies, :investments, :memberships, :images, :videos, :news
14
14
 
15
- attr_reader :primary_affiliation_total_items, :primary_location_total_items,
15
+ attr_reader :primary_affiliation_total_items, :primary_location_total_items,
16
16
  :primary_image_total_items, :websites_total_items, :degrees_total_items, :jobs_total_items,
17
- :advisory_roles_total_items, :founded_companies_total_items,
18
- :investments_total_items, :memberships_total_items, :images_total_items, :videos_total_items,
17
+ :advisory_roles_total_items, :founded_companies_total_items,
18
+ :investments_total_items, :memberships_total_items, :images_total_items, :videos_total_items,
19
19
  :news_total_items
20
20
 
21
21
  def initialize(json)
@@ -40,8 +40,8 @@ module Crunchbase::Model
40
40
 
41
41
  def property_keys
42
42
  %w[
43
- permalink api_path web_path first_name last_name also_known_as bio
44
- role_investor born_on born_on_trust_code is_deceased died_on died_on_trust_code
43
+ permalink api_path web_path first_name last_name also_known_as bio profile_image_url
44
+ role_investor born_on born_on_trust_code is_deceased died_on died_on_trust_code
45
45
  created_at updated_at
46
46
  ]
47
47
  end
@@ -52,4 +52,4 @@ module Crunchbase::Model
52
52
 
53
53
 
54
54
  end
55
- end
55
+ end
@@ -5,13 +5,19 @@ module Crunchbase::Model
5
5
 
6
6
  RESOURCE_LIST = 'websites'
7
7
 
8
- attr_reader :website, :url, :created_at, :updated_at
8
+ attr_reader :url, :created_at, :updated_at
9
+
10
+ # TODO: 2015-11-03
11
+ attr_reader :website # already removed
12
+ attr_reader :website_type, :website_name # newly added
9
13
 
10
14
  def property_keys
11
15
  %w[
12
- website url created_at updated_at
16
+ website
17
+ url created_at updated_at
18
+ website_type website_name
13
19
  ]
14
20
  end
15
21
 
16
22
  end
17
- end
23
+ end
@@ -1,3 +1,3 @@
1
1
  module Crunchbase
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crunchbase-ruby-library
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Encore Shao