ruby-fs-stack 0.4.12 → 0.5.0
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.
- data/README.rdoc +25 -1
- data/VERSION +1 -1
- data/lib/ruby-fs-stack/familytree.rb +13 -1435
- data/lib/ruby-fs-stack/familytree/characteristic.rb +12 -0
- data/lib/ruby-fs-stack/familytree/communicator.rb +412 -0
- data/lib/ruby-fs-stack/familytree/event.rb +49 -0
- data/lib/ruby-fs-stack/familytree/exist.rb +8 -0
- data/lib/ruby-fs-stack/familytree/gender.rb +9 -0
- data/lib/ruby-fs-stack/familytree/match.rb +3 -0
- data/lib/ruby-fs-stack/familytree/name.rb +69 -0
- data/lib/ruby-fs-stack/familytree/note.rb +48 -0
- data/lib/ruby-fs-stack/familytree/ordinance.rb +70 -0
- data/lib/ruby-fs-stack/familytree/pedigree.rb +103 -0
- data/lib/ruby-fs-stack/familytree/person.rb +495 -0
- data/lib/ruby-fs-stack/familytree/relationship.rb +209 -0
- data/lib/ruby-fs-stack/familytree/search.rb +27 -0
- data/lib/ruby-fs-stack/identity.rb +1 -37
- data/lib/ruby-fs-stack/identity/communicator.rb +41 -0
- data/ruby-fs-stack.gemspec +59 -43
- data/spec/{familytree_v2/familytree_communicator_spec.rb → ruby-fs-stack/familytree/communicator_spec.rb} +91 -1
- data/spec/{familytree_v2 → ruby-fs-stack/familytree}/json/combine_request.js +0 -0
- data/spec/{familytree_v2 → ruby-fs-stack/familytree}/json/combine_response.js +0 -0
- data/spec/{familytree_v2 → ruby-fs-stack/familytree}/json/fakeweb_contributor.txt +0 -0
- data/spec/{familytree_v2 → ruby-fs-stack/familytree}/json/fakeweb_pedigree.txt +0 -0
- data/spec/{familytree_v2 → ruby-fs-stack/familytree}/json/fakeweb_pedigree2.txt +0 -0
- data/spec/{familytree_v2 → ruby-fs-stack/familytree}/json/fakeweb_properties.txt +0 -0
- data/spec/{familytree_v2 → ruby-fs-stack/familytree}/json/match_KW3B-NNM.js +0 -0
- data/spec/{familytree_v2 → ruby-fs-stack/familytree}/json/note_create_response.js +0 -0
- data/spec/{familytree_v2 → ruby-fs-stack/familytree}/json/person/KJ86-3VD_all.js +0 -0
- data/spec/{familytree_v2 → ruby-fs-stack/familytree}/json/person/KJ86-3VD_parents_families.js +0 -0
- data/spec/{familytree_v2 → ruby-fs-stack/familytree}/json/person/KJ86-3VD_version.js +0 -0
- data/spec/{familytree_v2 → ruby-fs-stack/familytree}/json/person/fakeweb_10_batch.txt +0 -0
- data/spec/{familytree_v2 → ruby-fs-stack/familytree}/json/person/fakeweb_6_batch.txt +0 -0
- data/spec/{familytree_v2 → ruby-fs-stack/familytree}/json/person/multiple_version_read.js +0 -0
- data/spec/{familytree_v2 → ruby-fs-stack/familytree}/json/person/post_response.js +0 -0
- data/spec/{familytree_v2 → ruby-fs-stack/familytree}/json/person/relationship_not_found.js +0 -0
- data/spec/{familytree_v2 → ruby-fs-stack/familytree}/json/person/relationship_read.js +0 -0
- data/spec/{familytree_v2 → ruby-fs-stack/familytree}/json/person/relationship_update.js +0 -0
- data/spec/{familytree_v2 → ruby-fs-stack/familytree}/json/person/spouse_read.js +0 -0
- data/spec/{familytree_v2 → ruby-fs-stack/familytree}/json/search.js +0 -0
- data/spec/{familytree_v2/match_results_spec.rb → ruby-fs-stack/familytree/match_spec.rb} +1 -1
- data/spec/{familytree_v2 → ruby-fs-stack/familytree}/note_spec.rb +1 -1
- data/spec/{familytree_v2 → ruby-fs-stack/familytree}/pedigree_spec.rb +1 -1
- data/spec/{familytree_v2 → ruby-fs-stack/familytree}/person_spec.rb +1 -3
- data/spec/{familytree_v2/relationships_spec.rb → ruby-fs-stack/familytree/relationship_spec.rb} +1 -3
- data/spec/{familytree_v2/search_results_spec.rb → ruby-fs-stack/familytree/search_spec.rb} +1 -1
- data/spec/ruby-fs-stack/familytree/spec_helper.rb +2 -0
- data/spec/{communicator_spec.rb → ruby-fs-stack/fs_communicator_spec.rb} +5 -5
- data/spec/{fs_utils_spec.rb → ruby-fs-stack/fs_utils_spec.rb} +1 -1
- data/spec/ruby-fs-stack/identity/communicator_spec.rb +82 -0
- data/spec/{identity_v1 → ruby-fs-stack/identity}/json/login.js +0 -0
- metadata +61 -45
- data/spec/identity_v1/identity_spec.rb +0 -50
@@ -1,4 +1,4 @@
|
|
1
|
-
require File.dirname(__FILE__) + '
|
1
|
+
require File.dirname(__FILE__) + '/../../spec_helper'
|
2
2
|
|
3
3
|
describe FamilytreeV2::Communicator do
|
4
4
|
FamilyTreeV2 = Org::Familysearch::Ws::Familytree::V2::Schema
|
@@ -74,6 +74,22 @@ describe FamilytreeV2::Communicator do
|
|
74
74
|
@ft_v2_com.person(:me, :names => 'none')
|
75
75
|
end
|
76
76
|
|
77
|
+
describe "passing a block" do
|
78
|
+
it "should execute the block given" do
|
79
|
+
mock = mock('FixNum')
|
80
|
+
mock.should_receive(:call!).once.and_return(nil)
|
81
|
+
@ft_v2_com.person :me do |person|
|
82
|
+
mock.call!
|
83
|
+
end
|
84
|
+
end
|
85
|
+
|
86
|
+
it "should pass the person to the block" do
|
87
|
+
@ft_v2_com.person :me do |person|
|
88
|
+
person.id.should == 'KJ86-3VD'
|
89
|
+
end
|
90
|
+
end
|
91
|
+
end
|
92
|
+
|
77
93
|
end
|
78
94
|
|
79
95
|
describe "person read w/ multiple IDs" do
|
@@ -125,6 +141,80 @@ describe FamilytreeV2::Communicator do
|
|
125
141
|
results = @com.familytree_v2.person ['KWCZ-1WL','KWCH-DGY','KWZR-RPD','KWCH-DPM','KWCH-DP9','KN1H-HBK','KLYL-KPZ','2794-46L','279W-NDV','KWJJ-5Y3','26KN-QTT','KWCV-7F7','2NQ9-FGV','K2WM-SHZ','KCR4-MBW','KWZR-RPX']
|
126
142
|
results.should have(16).things
|
127
143
|
end
|
144
|
+
|
145
|
+
describe "sending a block callback" do
|
146
|
+
before(:each) do
|
147
|
+
@ids = ['KWCZ-1WL','KWCH-DGY','KWZR-RPD','KWCH-DPM','KWCH-DP9','KN1H-HBK','KLYL-KPZ','2794-46L','279W-NDV','KWJJ-5Y3','26KN-QTT','KWCV-7F7','2NQ9-FGV','K2WM-SHZ','KCR4-MBW','KWZR-RPX']
|
148
|
+
end
|
149
|
+
|
150
|
+
it "should call the block for each slice of the persons requested" do
|
151
|
+
mock = mock('FixNum')
|
152
|
+
mock.should_receive(:call!).exactly(2).times.and_return(nil)
|
153
|
+
@com.familytree_v2.person @ids do |persons|
|
154
|
+
mock.call!
|
155
|
+
end
|
156
|
+
end
|
157
|
+
|
158
|
+
it "should pass the person or persons to the block" do
|
159
|
+
count = 0
|
160
|
+
@com.familytree_v2.person @ids do |persons|
|
161
|
+
count += persons.size
|
162
|
+
end
|
163
|
+
count.should == 16
|
164
|
+
end
|
165
|
+
end
|
166
|
+
end
|
167
|
+
|
168
|
+
describe "reading multiple persons when 500 errors are returned" do
|
169
|
+
before(:each) do
|
170
|
+
@fs_com_mock = mock("FsCommunicator")
|
171
|
+
@res = mock("HTTP::Response")
|
172
|
+
@json = read_file('multiple_version_read.js')
|
173
|
+
@res.stub!(:body).and_return(@json)
|
174
|
+
@fs_com_mock.stub!(:get).and_return(@res)
|
175
|
+
@ft_v2_com = FamilytreeV2::Communicator.new @fs_com_mock
|
176
|
+
@props = {'person.max.ids' => 10}
|
177
|
+
@ft_v2_com.stub!(:properties).and_return(@props)
|
178
|
+
|
179
|
+
@single_response = mock('HTTP::Response')
|
180
|
+
single_json = read_file('KJ86-3VD_all.js')
|
181
|
+
@single_response.stub!(:body).and_return(single_json)
|
182
|
+
end
|
183
|
+
|
184
|
+
it "should read each person separately" do
|
185
|
+
error = RubyFsStack::ServerError.new "Nullpointer Exception", @res
|
186
|
+
@fs_com_mock.should_receive(:get).with('/familytree/v2/person/KW3B-VCY,KW3B-VCB,KW3B-VC1?names=none').and_raise(error)
|
187
|
+
@fs_com_mock.should_receive(:get).with('/familytree/v2/person/KW3B-VCY?names=none').and_return(@single_response)
|
188
|
+
@fs_com_mock.should_receive(:get).with('/familytree/v2/person/KW3B-VCB?names=none').and_return(@single_response)
|
189
|
+
@fs_com_mock.should_receive(:get).with('/familytree/v2/person/KW3B-VC1?names=none').and_return(@single_response)
|
190
|
+
results = @ft_v2_com.person ["KW3B-VCY", "KW3B-VCB", "KW3B-VC1"], :names => 'none'
|
191
|
+
results.should be_a_kind_of(Array)
|
192
|
+
results.size.should == 3
|
193
|
+
end
|
194
|
+
|
195
|
+
it "should ignore a single failure and return an empty person record (with only an ID)" do
|
196
|
+
error = RubyFsStack::ServerError.new "Nullpointer Exception", @res
|
197
|
+
@fs_com_mock.should_receive(:get).with('/familytree/v2/person/KW3B-VCY,KW3B-VCB,KW3B-VC1?names=none').and_raise(error)
|
198
|
+
@fs_com_mock.should_receive(:get).with('/familytree/v2/person/KW3B-VCY?names=none').and_return(@single_response)
|
199
|
+
@fs_com_mock.should_receive(:get).with('/familytree/v2/person/KW3B-VCB?names=none').and_raise(error)
|
200
|
+
@fs_com_mock.should_receive(:get).with('/familytree/v2/person/KW3B-VC1?names=none').and_return(@single_response)
|
201
|
+
results = @ft_v2_com.person ["KW3B-VCY", "KW3B-VCB", "KW3B-VC1"], :names => 'none'
|
202
|
+
results.size.should == 3
|
203
|
+
results[1].requestedId.should == 'KW3B-VCB'
|
204
|
+
results[1].full_name.should be_nil
|
205
|
+
end
|
206
|
+
|
207
|
+
it "should always pass an array of persons to the block" do
|
208
|
+
error = RubyFsStack::ServerError.new "Nullpointer Exception", @res
|
209
|
+
@fs_com_mock.should_receive(:get).with('/familytree/v2/person/KW3B-VCY,KW3B-VCB,KW3B-VC1?names=none').and_raise(error)
|
210
|
+
@fs_com_mock.should_receive(:get).with('/familytree/v2/person/KW3B-VCY?names=none').and_return(@single_response)
|
211
|
+
@fs_com_mock.should_receive(:get).with('/familytree/v2/person/KW3B-VCB?names=none').and_raise(error)
|
212
|
+
@fs_com_mock.should_receive(:get).with('/familytree/v2/person/KW3B-VC1?names=none').and_return(@single_response)
|
213
|
+
results = @ft_v2_com.person ["KW3B-VCY", "KW3B-VCB", "KW3B-VC1"], :names => 'none' do |persons|
|
214
|
+
persons.should be_instance_of(Array)
|
215
|
+
persons.size.should == 3
|
216
|
+
end
|
217
|
+
end
|
128
218
|
end
|
129
219
|
|
130
220
|
describe "save_person" do
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/spec/{familytree_v2 → ruby-fs-stack/familytree}/json/person/KJ86-3VD_parents_families.js
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,9 +1,7 @@
|
|
1
|
-
require File.dirname(__FILE__) + '
|
1
|
+
require File.dirname(__FILE__) + '/spec_helper'
|
2
2
|
require 'ruby-fs-stack/familytree'
|
3
3
|
|
4
|
-
|
5
4
|
describe Org::Familysearch::Ws::Familytree::V2::Schema::Person do
|
6
|
-
FamTreeV2 = Org::Familysearch::Ws::Familytree::V2::Schema
|
7
5
|
|
8
6
|
def new_person
|
9
7
|
Org::Familysearch::Ws::Familytree::V2::Schema::Person.new
|
data/spec/{familytree_v2/relationships_spec.rb → ruby-fs-stack/familytree/relationship_spec.rb}
RENAMED
@@ -1,9 +1,7 @@
|
|
1
|
-
require File.dirname(__FILE__) + '
|
1
|
+
require File.dirname(__FILE__) + '/spec_helper'
|
2
2
|
require 'ruby-fs-stack/familytree'
|
3
3
|
|
4
|
-
|
5
4
|
describe Org::Familysearch::Ws::Familytree::V2::Schema::PersonRelationships do
|
6
|
-
FamTreeV2 = Org::Familysearch::Ws::Familytree::V2::Schema
|
7
5
|
|
8
6
|
describe "add_relationship" do
|
9
7
|
before(:each) do
|
@@ -1,4 +1,4 @@
|
|
1
|
-
require File.dirname(__FILE__) + '
|
1
|
+
require File.dirname(__FILE__) + '/../spec_helper'
|
2
2
|
require 'ruby-fs-stack/fs_communicator'
|
3
3
|
require 'fakeweb'
|
4
4
|
require 'logger'
|
@@ -94,7 +94,7 @@ describe FsCommunicator do
|
|
94
94
|
end
|
95
95
|
|
96
96
|
it "should set the ca file to the entrust certificate (for FamilySearch systems)" do
|
97
|
-
@http.should_receive(:ca_file=).with(
|
97
|
+
@http.should_receive(:ca_file=).with(/entrust-ca\.crt/)
|
98
98
|
do_get(@url)
|
99
99
|
end
|
100
100
|
|
@@ -191,7 +191,7 @@ describe FsCommunicator do
|
|
191
191
|
end
|
192
192
|
|
193
193
|
it "should set the ca file to the entrust certificate (for FamilySearch systems)" do
|
194
|
-
@http.should_receive(:ca_file=).with(
|
194
|
+
@http.should_receive(:ca_file=).with(/entrust-ca\.crt/)
|
195
195
|
do_post(@url)
|
196
196
|
end
|
197
197
|
|
@@ -403,7 +403,7 @@ describe FsCommunicator do
|
|
403
403
|
end
|
404
404
|
|
405
405
|
it "should log each GET request URL and headers" do
|
406
|
-
response = File.join(File.dirname(__FILE__),'fixtures','fakeweb_response.txt')
|
406
|
+
response = File.join(File.dirname(__FILE__),'..','fixtures','fakeweb_response.txt')
|
407
407
|
FakeWeb.register_uri(:get, "https://api.familysearch.org/familytree/v2/person/KWQS-BBQ?sessionId=SESSID&dataFormat=application/json",
|
408
408
|
:response => response)
|
409
409
|
@com.logger.should_receive(:info).with(/GET \/familytree\/v2\/person/)
|
@@ -423,7 +423,7 @@ describe FsCommunicator do
|
|
423
423
|
end
|
424
424
|
|
425
425
|
it "should log each POST request URL and headers" do
|
426
|
-
response = File.join(File.dirname(__FILE__),'fixtures','fakeweb_response.txt')
|
426
|
+
response = File.join(File.dirname(__FILE__),'..','fixtures','fakeweb_response.txt')
|
427
427
|
FakeWeb.register_uri(:post, "https://api.familysearch.org/familytree/v2/person/KWQS-BBQ?sessionId=SESSID&dataFormat=application/json",
|
428
428
|
:response => response)
|
429
429
|
@com.logger.should_receive(:info).with(/POST \/familytree\/v2\/person/)
|
@@ -0,0 +1,82 @@
|
|
1
|
+
require File.dirname(__FILE__) + '/../../spec_helper'
|
2
|
+
require 'ruby-fs-stack/identity'
|
3
|
+
|
4
|
+
describe IdentityV1::Communicator do
|
5
|
+
include HttpCommunicatorHelper # found in the spec_helper
|
6
|
+
|
7
|
+
def do_get(url, credentials = {})
|
8
|
+
@com.get(url, credentials)
|
9
|
+
end
|
10
|
+
|
11
|
+
before(:each) do
|
12
|
+
stub_net_objects
|
13
|
+
@com = FsCommunicator.new :domain => 'http://www.dev.usys.org', :key => 'KEY'
|
14
|
+
end
|
15
|
+
|
16
|
+
it "should have an extended identity_v1 method on the communicator" do
|
17
|
+
@com.identity_v1.should be_instance_of(IdentityV1::Communicator)
|
18
|
+
end
|
19
|
+
|
20
|
+
describe "authenticate" do
|
21
|
+
before(:each) do
|
22
|
+
filename = File.join(File.dirname(__FILE__),'json','login.js')
|
23
|
+
@body = File.read(filename)
|
24
|
+
@mock_response = mock('HTTP::Response', :body => @body, :code => '200')
|
25
|
+
@http.should_receive(:start).and_return(@mock_response)
|
26
|
+
@request.should_receive(:basic_auth).with('user','pass')
|
27
|
+
@request.should_receive(:[]=).with('User-Agent',@com.user_agent)
|
28
|
+
end
|
29
|
+
|
30
|
+
it "should make a call to /identity/v1/login" do
|
31
|
+
url = "/identity/v1/login?key=KEY"
|
32
|
+
Net::HTTP::Get.should_receive(:new).with(url+"&dataFormat=application/json").and_return(@request)
|
33
|
+
response = @com.identity_v1.authenticate(:username => 'user', :password => 'pass')
|
34
|
+
end
|
35
|
+
|
36
|
+
it "should return true if successful" do
|
37
|
+
success = @com.identity_v1.authenticate(:username => 'user', :password => 'pass')
|
38
|
+
success.should == true
|
39
|
+
end
|
40
|
+
|
41
|
+
it "should set the communicator's session to the logged in session" do
|
42
|
+
@com.identity_v1.authenticate(:username => 'user', :password => 'pass')
|
43
|
+
@com.session.should == 'USYS6325F49E7E47C181EA7E73E897F9A8ED.ptap009-034'
|
44
|
+
end
|
45
|
+
|
46
|
+
it "should raise RubyFsStack::Unauthorized if the login was not successful" do
|
47
|
+
@mock_response.stub!(:code).and_return('401')
|
48
|
+
@mock_response.stub!(:message).and_return('Invalid name or password.')
|
49
|
+
lambda{
|
50
|
+
@com.identity_v1.authenticate(:username => 'user', :password => 'pass')
|
51
|
+
}.should raise_error(RubyFsStack::Unauthorized)
|
52
|
+
end
|
53
|
+
|
54
|
+
describe "login" do
|
55
|
+
it "should accept the login method and behave the same way" do
|
56
|
+
url = "/identity/v1/login?key=KEY"
|
57
|
+
Net::HTTP::Get.should_receive(:new).with(url+"&dataFormat=application/json").and_return(@request)
|
58
|
+
response = @com.identity_v1.login(:username => 'user', :password => 'pass')
|
59
|
+
end
|
60
|
+
|
61
|
+
it "should return true if successful" do
|
62
|
+
success = @com.identity_v1.login(:username => 'user', :password => 'pass')
|
63
|
+
success.should == true
|
64
|
+
end
|
65
|
+
|
66
|
+
it "should set the communicator's session to the logged in session" do
|
67
|
+
@com.identity_v1.login(:username => 'user', :password => 'pass')
|
68
|
+
@com.session.should == 'USYS6325F49E7E47C181EA7E73E897F9A8ED.ptap009-034'
|
69
|
+
end
|
70
|
+
|
71
|
+
it "should raise RubyFsStack::Unauthorized if the login was not successful" do
|
72
|
+
@mock_response.stub!(:code).and_return('401')
|
73
|
+
@mock_response.stub!(:message).and_return('Invalid name or password.')
|
74
|
+
lambda{
|
75
|
+
@com.identity_v1.login(:username => 'user', :password => 'pass')
|
76
|
+
}.should raise_error(RubyFsStack::Unauthorized)
|
77
|
+
end
|
78
|
+
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
82
|
+
end
|
File without changes
|
metadata
CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease: false
|
5
5
|
segments:
|
6
6
|
- 0
|
7
|
-
-
|
8
|
-
-
|
9
|
-
version: 0.
|
7
|
+
- 5
|
8
|
+
- 0
|
9
|
+
version: 0.5.0
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Jimmy Zimmerman
|
@@ -14,7 +14,7 @@ autorequire:
|
|
14
14
|
bindir: bin
|
15
15
|
cert_chain: []
|
16
16
|
|
17
|
-
date: 2010-05-
|
17
|
+
date: 2010-05-15 00:00:00 -06:00
|
18
18
|
default_executable:
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
@@ -67,43 +67,58 @@ files:
|
|
67
67
|
- lib/ruby-fs-stack/enunciate/identity.rb
|
68
68
|
- lib/ruby-fs-stack/errors.rb
|
69
69
|
- lib/ruby-fs-stack/familytree.rb
|
70
|
+
- lib/ruby-fs-stack/familytree/characteristic.rb
|
71
|
+
- lib/ruby-fs-stack/familytree/communicator.rb
|
72
|
+
- lib/ruby-fs-stack/familytree/event.rb
|
73
|
+
- lib/ruby-fs-stack/familytree/exist.rb
|
74
|
+
- lib/ruby-fs-stack/familytree/gender.rb
|
75
|
+
- lib/ruby-fs-stack/familytree/match.rb
|
76
|
+
- lib/ruby-fs-stack/familytree/name.rb
|
77
|
+
- lib/ruby-fs-stack/familytree/note.rb
|
78
|
+
- lib/ruby-fs-stack/familytree/ordinance.rb
|
79
|
+
- lib/ruby-fs-stack/familytree/pedigree.rb
|
80
|
+
- lib/ruby-fs-stack/familytree/person.rb
|
81
|
+
- lib/ruby-fs-stack/familytree/relationship.rb
|
82
|
+
- lib/ruby-fs-stack/familytree/search.rb
|
70
83
|
- lib/ruby-fs-stack/fs_communicator.rb
|
71
84
|
- lib/ruby-fs-stack/fs_utils.rb
|
72
85
|
- lib/ruby-fs-stack/identity.rb
|
86
|
+
- lib/ruby-fs-stack/identity/communicator.rb
|
73
87
|
- lib/ruby-fs-stack/warning_suppressor.rb
|
74
88
|
- ruby-fs-stack.gemspec
|
75
|
-
- spec/communicator_spec.rb
|
76
|
-
- spec/familytree_v2/familytree_communicator_spec.rb
|
77
|
-
- spec/familytree_v2/json/combine_request.js
|
78
|
-
- spec/familytree_v2/json/combine_response.js
|
79
|
-
- spec/familytree_v2/json/fakeweb_contributor.txt
|
80
|
-
- spec/familytree_v2/json/fakeweb_pedigree.txt
|
81
|
-
- spec/familytree_v2/json/fakeweb_pedigree2.txt
|
82
|
-
- spec/familytree_v2/json/fakeweb_properties.txt
|
83
|
-
- spec/familytree_v2/json/match_KW3B-NNM.js
|
84
|
-
- spec/familytree_v2/json/note_create_response.js
|
85
|
-
- spec/familytree_v2/json/person/KJ86-3VD_all.js
|
86
|
-
- spec/familytree_v2/json/person/KJ86-3VD_parents_families.js
|
87
|
-
- spec/familytree_v2/json/person/KJ86-3VD_version.js
|
88
|
-
- spec/familytree_v2/json/person/fakeweb_10_batch.txt
|
89
|
-
- spec/familytree_v2/json/person/fakeweb_6_batch.txt
|
90
|
-
- spec/familytree_v2/json/person/multiple_version_read.js
|
91
|
-
- spec/familytree_v2/json/person/post_response.js
|
92
|
-
- spec/familytree_v2/json/person/relationship_not_found.js
|
93
|
-
- spec/familytree_v2/json/person/relationship_read.js
|
94
|
-
- spec/familytree_v2/json/person/relationship_update.js
|
95
|
-
- spec/familytree_v2/json/person/spouse_read.js
|
96
|
-
- spec/familytree_v2/json/search.js
|
97
|
-
- spec/familytree_v2/match_results_spec.rb
|
98
|
-
- spec/familytree_v2/note_spec.rb
|
99
|
-
- spec/familytree_v2/pedigree_spec.rb
|
100
|
-
- spec/familytree_v2/person_spec.rb
|
101
|
-
- spec/familytree_v2/relationships_spec.rb
|
102
|
-
- spec/familytree_v2/search_results_spec.rb
|
103
89
|
- spec/fixtures/fakeweb_response.txt
|
104
|
-
- spec/
|
105
|
-
- spec/
|
106
|
-
- spec/
|
90
|
+
- spec/ruby-fs-stack/familytree/communicator_spec.rb
|
91
|
+
- spec/ruby-fs-stack/familytree/json/combine_request.js
|
92
|
+
- spec/ruby-fs-stack/familytree/json/combine_response.js
|
93
|
+
- spec/ruby-fs-stack/familytree/json/fakeweb_contributor.txt
|
94
|
+
- spec/ruby-fs-stack/familytree/json/fakeweb_pedigree.txt
|
95
|
+
- spec/ruby-fs-stack/familytree/json/fakeweb_pedigree2.txt
|
96
|
+
- spec/ruby-fs-stack/familytree/json/fakeweb_properties.txt
|
97
|
+
- spec/ruby-fs-stack/familytree/json/match_KW3B-NNM.js
|
98
|
+
- spec/ruby-fs-stack/familytree/json/note_create_response.js
|
99
|
+
- spec/ruby-fs-stack/familytree/json/person/KJ86-3VD_all.js
|
100
|
+
- spec/ruby-fs-stack/familytree/json/person/KJ86-3VD_parents_families.js
|
101
|
+
- spec/ruby-fs-stack/familytree/json/person/KJ86-3VD_version.js
|
102
|
+
- spec/ruby-fs-stack/familytree/json/person/fakeweb_10_batch.txt
|
103
|
+
- spec/ruby-fs-stack/familytree/json/person/fakeweb_6_batch.txt
|
104
|
+
- spec/ruby-fs-stack/familytree/json/person/multiple_version_read.js
|
105
|
+
- spec/ruby-fs-stack/familytree/json/person/post_response.js
|
106
|
+
- spec/ruby-fs-stack/familytree/json/person/relationship_not_found.js
|
107
|
+
- spec/ruby-fs-stack/familytree/json/person/relationship_read.js
|
108
|
+
- spec/ruby-fs-stack/familytree/json/person/relationship_update.js
|
109
|
+
- spec/ruby-fs-stack/familytree/json/person/spouse_read.js
|
110
|
+
- spec/ruby-fs-stack/familytree/json/search.js
|
111
|
+
- spec/ruby-fs-stack/familytree/match_spec.rb
|
112
|
+
- spec/ruby-fs-stack/familytree/note_spec.rb
|
113
|
+
- spec/ruby-fs-stack/familytree/pedigree_spec.rb
|
114
|
+
- spec/ruby-fs-stack/familytree/person_spec.rb
|
115
|
+
- spec/ruby-fs-stack/familytree/relationship_spec.rb
|
116
|
+
- spec/ruby-fs-stack/familytree/search_spec.rb
|
117
|
+
- spec/ruby-fs-stack/familytree/spec_helper.rb
|
118
|
+
- spec/ruby-fs-stack/fs_communicator_spec.rb
|
119
|
+
- spec/ruby-fs-stack/fs_utils_spec.rb
|
120
|
+
- spec/ruby-fs-stack/identity/communicator_spec.rb
|
121
|
+
- spec/ruby-fs-stack/identity/json/login.js
|
107
122
|
- spec/ruby-fs-stack_spec.rb
|
108
123
|
- spec/spec_helper.rb
|
109
124
|
has_rdoc: true
|
@@ -137,16 +152,17 @@ signing_key:
|
|
137
152
|
specification_version: 3
|
138
153
|
summary: Ruby wrapper for all FamilySearch APIs.
|
139
154
|
test_files:
|
140
|
-
- spec/communicator_spec.rb
|
141
|
-
- spec/
|
142
|
-
- spec/
|
143
|
-
- spec/
|
144
|
-
- spec/
|
145
|
-
- spec/
|
146
|
-
- spec/
|
147
|
-
- spec/
|
148
|
-
- spec/
|
149
|
-
- spec/
|
155
|
+
- spec/ruby-fs-stack/familytree/communicator_spec.rb
|
156
|
+
- spec/ruby-fs-stack/familytree/match_spec.rb
|
157
|
+
- spec/ruby-fs-stack/familytree/note_spec.rb
|
158
|
+
- spec/ruby-fs-stack/familytree/pedigree_spec.rb
|
159
|
+
- spec/ruby-fs-stack/familytree/person_spec.rb
|
160
|
+
- spec/ruby-fs-stack/familytree/relationship_spec.rb
|
161
|
+
- spec/ruby-fs-stack/familytree/search_spec.rb
|
162
|
+
- spec/ruby-fs-stack/familytree/spec_helper.rb
|
163
|
+
- spec/ruby-fs-stack/fs_communicator_spec.rb
|
164
|
+
- spec/ruby-fs-stack/fs_utils_spec.rb
|
165
|
+
- spec/ruby-fs-stack/identity/communicator_spec.rb
|
150
166
|
- spec/ruby-fs-stack_spec.rb
|
151
167
|
- spec/spec_helper.rb
|
152
168
|
- examples/familytree_example.rb
|