{"id":18837077,"url":"https://github.com/bkuhlmann/core","last_synced_at":"2025-07-30T16:05:21.100Z","repository":{"id":65610613,"uuid":"586309955","full_name":"bkuhlmann/core","owner":"bkuhlmann","description":"A collection of foundational objects.","archived":false,"fork":false,"pushed_at":"2025-03-25T02:10:10.000Z","size":134,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-13T09:48:43.519Z","etag":null,"topics":["core","gem","ruby"],"latest_commit_sha":null,"homepage":"https://alchemists.io/projects/core","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bkuhlmann.png","metadata":{"files":{"readme":"README.adoc","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.adoc","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":["bkuhlmann"]}},"created_at":"2023-01-07T17:23:27.000Z","updated_at":"2025-03-25T02:10:14.000Z","dependencies_parsed_at":"2024-04-21T17:14:41.895Z","dependency_job_id":"694b9c86-9445-4de9-b905-4ac4d98dbb36","html_url":"https://github.com/bkuhlmann/core","commit_stats":{"total_commits":12,"total_committers":1,"mean_commits":12.0,"dds":0.0,"last_synced_commit":"8d582b74f165be86256b9eaaec4ee93de845a28e"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkuhlmann%2Fcore","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkuhlmann%2Fcore/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkuhlmann%2Fcore/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bkuhlmann%2Fcore/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bkuhlmann","download_url":"https://codeload.github.com/bkuhlmann/core/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248830904,"owners_count":21168368,"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":["core","gem","ruby"],"created_at":"2024-11-08T02:33:53.531Z","updated_at":"2025-04-14T06:22:09.490Z","avatar_url":"https://github.com/bkuhlmann.png","language":"Ruby","funding_links":["https://github.com/sponsors/bkuhlmann"],"categories":[],"sub_categories":[],"readme":":toc: macro\n:toclevels: 5\n:figure-caption!:\n\n= Core\n\nProvides a collection of core objects missing from the standard Ruby distribution. This is meant to provide common objects for engineering advanced architctures in order to reduce duplication, improve performance, and improve memory usage.\n\ntoc::[]\n\n== Features\n\n* Provides commonly needed core objects.\n\n== Requirements\n\n. link:https://www.ruby-lang.org[Ruby].\n\n== Setup\n\nTo set up the project, run:\n\n[source,bash]\n----\nbin/setup\n----\n\n== Usage\n\nThe following details what is currently available for use.\n\n=== Constants\n\nThe following _empty_ constants are frozen by default and available for use as core objects for use throughout your application.\n\n* `Core::EMPTY_ARRAY`: Provides an empty link:https://rubyapi.org/o/array[Array] instance.\n* `Core::EMPTY_DATA`: Provides an empty link:https://alchemists.io/articles/ruby_data[Data] instance.\n* `Core::EMPTY_HASH`: Provides an empty link:https://rubyapi.org/o/hash[Hash] instance.\n* `Core::EMPTY_SET`: Provides an empty link:https://rubyapi.org/o/set[Set] instance.\n* `Core::EMPTY_STRING`: Provides an empty link:https://rubyapi.org/o/string[String] instance.\n* `Core::EMPTY_STRUCT`: Provides an empty link:https://alchemists.io/articles/ruby_structs[Struct] instance.\n\n=== Functions\n\nThe following identity function (lambda) is available as a neutral value in link:https://alchemists.io/articles/ruby_function_composition[function composition]:\n\n[source,ruby]\n----\nCore::Identity.call \"example\"  # \"example\"\n----\n\n== Development\n\nTo contribute, run:\n\n[source,bash]\n----\ngit clone https://github.com/bkuhlmann/core\ncd core\nbin/setup\n----\n\nYou can also use the IRB console for direct access to all objects:\n\n[source,bash]\n----\nbin/console\n----\n\n== Tests\n\nTo test, run:\n\n[source,bash]\n----\nbin/rake\n----\n\n== link:https://alchemists.io/policies/license[License]\n\n== link:https://alchemists.io/policies/security[Security]\n\n== link:https://alchemists.io/policies/code_of_conduct[Code of Conduct]\n\n== link:https://alchemists.io/policies/contributions[Contributions]\n\n== link:https://alchemists.io/policies/developer_certificate_of_origin[Developer Certificate of Origin]\n\n== link:https://alchemists.io/projects/core/versions[Versions]\n\n== link:https://alchemists.io/community[Community]\n\n== Credits\n\n* Built with link:https://alchemists.io/projects/gemsmith[Gemsmith].\n* Engineered by link:https://alchemists.io/team/brooke_kuhlmann[Brooke Kuhlmann].\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbkuhlmann%2Fcore","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbkuhlmann%2Fcore","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbkuhlmann%2Fcore/lists"}