{"id":13508621,"url":"https://github.com/pragdave/exlibris","last_synced_at":"2026-02-21T18:01:57.682Z","repository":{"id":22727461,"uuid":"26072128","full_name":"pragdave/exlibris","owner":"pragdave","description":null,"archived":false,"fork":false,"pushed_at":"2014-11-02T19:15:08.000Z","size":113,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T15:06:54.172Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"qwwqwwq/rails_d3_seed","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pragdave.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-02T04:59:21.000Z","updated_at":"2023-09-01T08:46:11.000Z","dependencies_parsed_at":"2022-08-21T11:30:57.582Z","dependency_job_id":null,"html_url":"https://github.com/pragdave/exlibris","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pragdave%2Fexlibris","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pragdave%2Fexlibris/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pragdave%2Fexlibris/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pragdave%2Fexlibris/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pragdave","download_url":"https://codeload.github.com/pragdave/exlibris/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246314011,"owners_count":20757450,"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-08-01T02:00:55.723Z","updated_at":"2025-10-21T14:42:47.260Z","avatar_url":"https://github.com/pragdave.png","language":"Elixir","funding_links":[],"categories":["Miscellaneous"],"sub_categories":[],"readme":"Exlibris\n========\n\nA collection of random functions that I've used in more than one project:\n\n* **pipe_while_ok**\n\n  Create pipelines that terminate early if any step fails to return a\n  tuple that starts `{:ok, ...}`\n\n* **before_returning**\n\n  Like Ruby's `returning`, it evaluates its first argument, then evaluates the\n  `do` block. It always returns the value of its first argument.\n\n  The `do` block is like the body of a `case`, in that it receives the value\n  of the first argument and patterns matches on it.\n\n      before_returning File.open(name) do\n        {:ok, _file} -\u003e Logger.debug(\"#{name} opened OK\")\n        {:error, reason} -\u003e Logger.error(\"Opening #{name}: #{:file.format_error(reason)}\")\n      end\n            \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpragdave%2Fexlibris","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpragdave%2Fexlibris","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpragdave%2Fexlibris/lists"}