{"id":18937362,"url":"https://github.com/fetch/faraday_hal_middleware","last_synced_at":"2025-04-15T18:31:55.012Z","repository":{"id":23990660,"uuid":"27374053","full_name":"fetch/faraday_hal_middleware","owner":"fetch","description":"Faraday Middleware for JSON HAL requests and responses","archived":false,"fork":false,"pushed_at":"2024-02-01T15:58:18.000Z","size":40,"stargazers_count":2,"open_issues_count":0,"forks_count":5,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-29T00:51:15.327Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fetch.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-12-01T10:20:00.000Z","updated_at":"2024-02-01T00:23:56.000Z","dependencies_parsed_at":"2024-06-21T16:45:30.145Z","dependency_job_id":null,"html_url":"https://github.com/fetch/faraday_hal_middleware","commit_stats":{"total_commits":22,"total_committers":4,"mean_commits":5.5,"dds":"0.31818181818181823","last_synced_commit":"58102ec5373db14cd9d33e71b6f88bd89100bfce"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fetch%2Ffaraday_hal_middleware","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fetch%2Ffaraday_hal_middleware/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fetch%2Ffaraday_hal_middleware/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fetch%2Ffaraday_hal_middleware/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fetch","download_url":"https://codeload.github.com/fetch/faraday_hal_middleware/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248813803,"owners_count":21165634,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T12:10:53.148Z","updated_at":"2025-04-15T18:31:50.002Z","avatar_url":"https://github.com/fetch.png","language":"Ruby","readme":"# FaradayHalMiddleware\n\n[Faraday](https://github.com/lostisland/faraday) Middleware for JSON HAL requests and responses with `application/hal+json` content-type.\n\n[![test](https://github.com/fetch/faraday_hal_middleware/actions/workflows/test.yml/badge.svg)](https://github.com/fetch/faraday_hal_middleware/actions/workflows/test.yml)\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'faraday_hal_middleware'\n```\n\nUse version 0.1.1 for Faraday 1.x, and \u003e= 0.2.0 for newer versions of Faraday.\n\n## Usage\n\nUse `faraday_hal_middleware`.\n\n```ruby\nrequire 'faraday_hal_middleware'\n\nconnection = Faraday.new 'http://example.com/api' do |conn|\n  conn.request :hal_json\n  conn.response :hal_json, content_type: /\\bjson$/\n\n  conn.adapter Faraday.default_adapter\nend\n```\n\nThis gem is notably used in [Hyperclient](https://github.com/codegram/hyperclient), see [hyperclient#81](https://github.com/codegram/hyperclient/pull/81) for details.\n\n## Contributing\n\nSee [CONTRIBUTING](CONTRIBUTING.md).\n\n## Copyright \u0026 License\n\nCopyright (c) 2014-2018 Koen Punt \u003ckoen@fetch.nl\u003e and contributors.\n\nMIT License, see [LICENSE.txt](LICENSE.txt) for details.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffetch%2Ffaraday_hal_middleware","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffetch%2Ffaraday_hal_middleware","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffetch%2Ffaraday_hal_middleware/lists"}