crunchbase_v2 1.1.3 → 1.1.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -9,7 +9,8 @@ module Crunchbase
9
9
 
10
10
  attr_reader :announced_on, :announced_on_trust_code, :price_currency_code,
11
11
  :permalink, :name, :payment_type, :price, :disposition_of_acquired,
12
- :acquisition_type, :acquisition_status, :price_usd, :created_at, :updated_at
12
+ :acquisition_type, :acquisition_status, :price_usd, :created_at, :updated_at,
13
+ :announced_on_year, :announced_on_day, :announced_on_month
13
14
 
14
15
  attr_reader :acquirers, :acquirees, :new_items
15
16
 
@@ -31,6 +32,9 @@ module Crunchbase
31
32
  @acquisition_type = properties['acquisition_type']
32
33
  @acquisition_status = properties['acquisition_status']
33
34
  @price_usd = properties['price_usd']
35
+ @announced_on_year = properties['announced_on_year']
36
+ @announced_on_day = properties['announced_on_day']
37
+ @announced_on_month = properties['announced_on_month']
34
38
  @created_at = Time.at(properties['created_at']).utc
35
39
  @updated_at = Time.at(properties['updated_at']).utc
36
40
 
@@ -8,7 +8,7 @@ module Crunchbase
8
8
  RESOURCE_LIST = 'board_members_and_advisors'
9
9
 
10
10
  attr_reader :type_name, :name, :first_name, :last_name, :title, :started_on, :ended_on,
11
- :path, :permalink, :created_at, :updated_at
11
+ :path, :permalink, :created_at, :updated_at, :started_on_trust_code
12
12
 
13
13
  def initialize(json)
14
14
  @type_name = json['type']
@@ -22,6 +22,7 @@ module Crunchbase
22
22
  @ended_on = json['ended_on'] && DateTime.parse(json['ended_on'])
23
23
  @created_at = Time.at(json['created_at']).utc
24
24
  @updated_at = Time.at(json['updated_at']).utc
25
+ @started_on_trust_code = json['started_on_trust_code']
25
26
  end
26
27
  end
27
28
  end
@@ -8,7 +8,7 @@ module Crunchbase
8
8
  RESOURCE_LIST = 'current_team'
9
9
 
10
10
  attr_reader :type_name, :name, :first_name, :last_name, :path, :permalink, :title,
11
- :started_on, :ended_on, :created_at, :updated_at
11
+ :started_on, :ended_on, :created_at, :updated_at, :started_on_trust_code
12
12
 
13
13
  def initialize(json)
14
14
  @type_name = json['type']
@@ -22,6 +22,7 @@ module Crunchbase
22
22
  @ended_on = json['ended_on']
23
23
  @created_at = Time.at(json['created_at']).utc
24
24
  @updated_at = Time.at(json['updated_at']).utc
25
+ @started_on_trust_code = json['started_on_trust_code']
25
26
  end
26
27
 
27
28
  end
@@ -11,7 +11,7 @@ module Crunchbase
11
11
  attr_reader :type_name, :name, :post_money_valuation_currency_code, :permalink, :funding_type,
12
12
  :money_raised_usd, :announced_on_trust_code, :money_raised,
13
13
  :money_raised_currency_code, :series, :announced_on, :canonical_currency_code,
14
- :created_at, :updated_at
14
+ :created_at, :updated_at, :announced_on_year, :announced_on_day, :announced_on_month
15
15
 
16
16
  attr_reader :investments, :funded_organizations, :new_items
17
17
 
@@ -33,6 +33,10 @@ module Crunchbase
33
33
  else
34
34
  @announced_on = DateTime.parse(properties['announced_on'])
35
35
  end
36
+ @announced_on_year = properties['announced_on_year']
37
+ @announced_on_month = properties['announced_on_month']
38
+ @announced_on_day = properties['announced_on_day']
39
+
36
40
  @announced_on_trust_code = properties['announced_on_trust_code']
37
41
  @canonical_currency_code = properties['canonical_currency_code']
38
42
  @money_raised = properties['money_raised']
@@ -10,7 +10,8 @@ module Crunchbase
10
10
  RESOURCE_LIST = 'past_team'
11
11
 
12
12
  attr_reader :type_name, :name, :first_name, :last_name, :path, :permalink, :title,
13
- :started_on, :ended_on, :created_at, :updated_at
13
+ :started_on, :ended_on, :created_at, :updated_at, :started_on_trust_code,
14
+ :ended_on_trust_code
14
15
 
15
16
  def initialize(json)
16
17
  @type_name = json['type']
@@ -24,6 +25,8 @@ module Crunchbase
24
25
  @ended_on = json['ended_on'] && DateTime.parse(json['ended_on'])
25
26
  @created_at = Time.at(json['created_at']).utc
26
27
  @updated_at = Time.at(json['updated_at']).utc
28
+ @started_on_trust_code = json['started_on_trust_code']
29
+ @ended_on_trust_code = json['ended_on_trust_code']
27
30
  end
28
31
 
29
32
  end
@@ -12,7 +12,7 @@ module Crunchbase
12
12
 
13
13
  attr_reader :type_name, :lifecycle_stage, :owner_id, :short_description, :permalink, :name,
14
14
  :homepage_url, :description, :launched_on, :launched_on_trust_code,
15
- :created_at, :updated_at
15
+ :created_at, :updated_at, :owner_name, :owner_path
16
16
 
17
17
  attr_reader :primary_images, :images, :websites, :new_items
18
18
  attr_reader :primary_images_total_items, :images_total_items, :websites_total_items,
@@ -25,7 +25,9 @@ module Crunchbase
25
25
 
26
26
  @name = properties['name']
27
27
  @lifecycle_stage = properties['lifecycle_stage']
28
- @owner_id = properties['owner_id']
28
+ @owner_id = properties['owner_id'] # Maybe removed
29
+ @owner_name = properties['owner_name']
30
+ @owner_path = properties['owner_path']
29
31
  @short_description = properties['short_description']
30
32
  @permalink = properties['permalink']
31
33
  @homepage_url = properties['homepage_url']
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module Crunchbase
4
- VERSION = "1.1.3"
4
+ VERSION = "1.1.4"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crunchbase_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.3
4
+ version: 1.1.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2015-04-13 00:00:00.000000000 Z
14
+ date: 2015-04-14 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler
@@ -208,7 +208,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
208
208
  version: '0'
209
209
  segments:
210
210
  - 0
211
- hash: 3545074420670242910
211
+ hash: 3072465323467249702
212
212
  required_rubygems_version: !ruby/object:Gem::Requirement
213
213
  none: false
214
214
  requirements:
@@ -217,7 +217,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
217
217
  version: '0'
218
218
  segments:
219
219
  - 0
220
- hash: 3545074420670242910
220
+ hash: 3072465323467249702
221
221
  requirements: []
222
222
  rubyforge_project:
223
223
  rubygems_version: 1.8.23.2