crunchbase_academic 0.0.3 → 0.0.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 845e45d0fe3e8b533a266c41cbfdca0cf6f598fc
4
- data.tar.gz: 1382f02f4f6134f17b4bba35065bf6f00635f817
3
+ metadata.gz: 1f3acde2bd73d2f10bef29fea087397c17d81d96
4
+ data.tar.gz: 1120caa3bfebf04a8bd3283f6d62591407e6d509
5
5
  SHA512:
6
- metadata.gz: ceca48a02d1420e1c4d5c5156720a7082fdcccf20ff1e24ed7f146a52dfa9472708971a25a0850ee3f1aa47f29930bfef12a5616ae7bf5fb0501ef36abc143a5
7
- data.tar.gz: 9662ee8140b18119f585da364d3a5164a9b533c079f582c6a57977e71d6265d840c61889762cc0caac913cf680ae699aba311153689803c70f795bf1d4b24bae
6
+ metadata.gz: f94e45260c48718a530003ad5c799438088f071e08c1791b0edf1c9a38f84b9cf06ab080c7e107300b594610f5fce51fc12bab2e052b7df021ab1912b27d4a4a
7
+ data.tar.gz: 2b3e02fb49918853a8f68bc7638a118d192fd58cdb8bc5c62c4eecf10b289ed70097b08912e28e5cefe43bb44e2ebe7af9db559d82d411926dabfbdcc6e46f51
@@ -1,7 +1,7 @@
1
1
  module CrunchbaseAcademic
2
2
  class Organization < Common
3
3
  OBJECT_NAME = 'organization'
4
- attr_reader :total_funding_usd, :products, :news, :founded_on, :founded_on_year
4
+ attr_reader :total_funding_usd, :products, :news, :founded_on, :founded_on_year, :funding_rounds
5
5
 
6
6
  def initialize(json)
7
7
  @founded_on ||= json['data']['properties']['founded_on']
@@ -9,6 +9,7 @@ module CrunchbaseAcademic
9
9
  @total_funding_usd ||= json['data']['properties']['total_funding_usd']
10
10
  @products ||= json['data']['relationships']['products']
11
11
  @news ||= json['data']['relationships']['news']
12
+ @funding_rounds ||= json['data']['relationships']['funding_rounds']
12
13
  end
13
14
  end
14
15
  end
@@ -1,3 +1,3 @@
1
1
  module CrunchbaseAcademic
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crunchbase_academic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - timakin