angellist_api 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md
CHANGED
@@ -25,18 +25,18 @@ describe AngellistApi::Client::StartupRoles,
|
|
25
25
|
let(:base_params) { { :v => 1 } }
|
26
26
|
|
27
27
|
it "gets a startup's outgoing relationships" do
|
28
|
-
params = { :startup_id => 1124 }.merge(base_params)
|
28
|
+
params = { :startup_id => 1124, :direction => 'outgoing' }.merge(base_params)
|
29
29
|
roles = client.get_startup_roles(params)
|
30
30
|
roles.startup_roles.each do |relationship|
|
31
31
|
ROLES.should include relationship.role
|
32
32
|
end
|
33
33
|
roles.startup_roles.first.should have_key :tagged
|
34
34
|
roles.startup_roles.first.tagged.should have_key :type
|
35
|
-
roles.startup_roles.first.tagged.type.should eq
|
35
|
+
roles.startup_roles.first.tagged.type.should eq 'Startup'
|
36
36
|
end
|
37
37
|
|
38
38
|
it "gets a startup's incoming relationships" do
|
39
|
-
params = { :startup_id => 1124
|
39
|
+
params = { :startup_id => 1124 }.merge(base_params)
|
40
40
|
roles = client.get_startup_roles(params)
|
41
41
|
roles.startup_roles.each do |relationship|
|
42
42
|
ROLES.should include relationship.role
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: angellist_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2013-03-
|
13
|
+
date: 2013-03-27 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: hashie
|
@@ -285,7 +285,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
285
285
|
version: '0'
|
286
286
|
segments:
|
287
287
|
- 0
|
288
|
-
hash:
|
288
|
+
hash: 704109515206394600
|
289
289
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
290
290
|
none: false
|
291
291
|
requirements:
|
@@ -294,7 +294,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
294
294
|
version: '0'
|
295
295
|
segments:
|
296
296
|
- 0
|
297
|
-
hash:
|
297
|
+
hash: 704109515206394600
|
298
298
|
requirements: []
|
299
299
|
rubyforge_project:
|
300
300
|
rubygems_version: 1.8.25
|