jimmyz / familysearch-rb Goto Github PK
View Code? Open in Web Editor NEWA Ruby Gem for the FamilySearch Platform.
License: MIT License
A Ruby Gem for the FamilySearch Platform.
License: MIT License
Hi,
I am getting the following error while attempting to get a person resource. This is a very basic usage example, and I believe the FamilySearch API must have changed since the last update of this gem, because I am sure this worked before.
client.get(client.discover!['links']['current-user-person']['href'])
NoMethodError - undefined method `new' for [FamilySearch::Gedcomx::Identifier]:Array:
familysearch-gedcomx (1.0.1) lib/familysearch/gedcomx/super_coercion.rb:66:in `[]='
hashie (2.0.5) lib/hashie/dash.rb:141:in `block in initialize_attributes'
hashie (2.0.5) lib/hashie/dash.rb:140:in `initialize_attributes'
hashie (2.0.5) lib/hashie/dash.rb:100:in `initialize'
familysearch-gedcomx (1.0.1) lib/familysearch/gedcomx/super_coercion.rb:49:in `block in []='
familysearch-gedcomx (1.0.1) lib/familysearch/gedcomx/super_coercion.rb:45:in `[]='
hashie (2.0.5) lib/hashie/dash.rb:141:in `block in initialize_attributes'
hashie (2.0.5) lib/hashie/dash.rb:140:in `initialize_attributes'
hashie (2.0.5) lib/hashie/dash.rb:100:in `initialize'
familysearch-gedcomx (1.0.1) lib/familysearch/gedcomx/data_model.rb:614:in `initialize'
familysearch (0.4.1) lib/familysearch/middleware/response/familysearch_gedcomx.rb:20:in `parse'
familysearch (0.4.1) lib/familysearch/middleware/response/familysearch_gedcomx.rb:10:in `on_complete'
faraday (0.8.8) lib/faraday/response.rb:9:in `block in call'
faraday (0.8.8) lib/faraday/response.rb:63:in `on_complete'
faraday (0.8.8) lib/faraday/response.rb:8:in `call'
faraday (0.8.8) lib/faraday/response.rb:8:in `call'
faraday (0.8.8) lib/faraday/connection.rb:253:in `run_request'
faraday (0.8.8) lib/faraday/connection.rb:106:in `get'
...
Any idea what the problem could be? Is this project still active? (I see the last commit was 8 months ago)
This gem does not work at all because some dependencies are off:
Unable to activate familysearch-0.4.2, because multi_json-1.11.2 conflicts with multi_json (~> 1.5.0) (Gem::LoadError)
One of them was fixed in a fork: https://github.com/acpk/familysearch-rb.git
I just discovered that the FamilySearch URI Templates conform to RFC 6570, which means I could be using another library for parsing and expanding the URI Templates provided by the Discovery Resource.
I need to update tests, update documentation, and push a new version of the Gem with the added HEAD method.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.