{"id":19692267,"url":"https://github.com/aesthetikx/core_foundation","last_synced_at":"2025-02-27T09:51:32.543Z","repository":{"id":226810990,"uuid":"767270570","full_name":"Aesthetikx/core_foundation","owner":"Aesthetikx","description":"An FFI wrapper around a subset of CoreFoundation","archived":false,"fork":false,"pushed_at":"2024-03-09T20:10:38.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-24T04:12:42.910Z","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/Aesthetikx.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"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}},"created_at":"2024-03-05T01:43:37.000Z","updated_at":"2024-03-05T01:44:09.000Z","dependencies_parsed_at":"2024-03-10T12:00:30.541Z","dependency_job_id":null,"html_url":"https://github.com/Aesthetikx/core_foundation","commit_stats":null,"previous_names":["aesthetikx/core_foundation"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aesthetikx%2Fcore_foundation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aesthetikx%2Fcore_foundation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aesthetikx%2Fcore_foundation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aesthetikx%2Fcore_foundation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aesthetikx","download_url":"https://codeload.github.com/Aesthetikx/core_foundation/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241001078,"owners_count":19891924,"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-11T19:12:49.427Z","updated_at":"2025-02-27T09:51:32.520Z","avatar_url":"https://github.com/Aesthetikx.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CoreFoundation\n\nThis is an FFI wrapper around a subset of CoreFoundation. Currently, only UUID is implemented.\n\n## Installation\n\nInstall the gem and add to the application's Gemfile by executing:\n\n    $ bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG\n\nIf bundler is not being used to manage dependencies, install the gem by executing:\n\n    $ gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG\n\n## Usage\n\n### UUID\n\n```ruby\nallocator = nil\n\nsixteen_bytes = [\n  0x00, 0x11, 0x22, 0x33,\n  0x44, 0x55, 0x66, 0x77,\n  0x88, 0x99, 0xAA, 0xBB,\n  0xCC, 0xDD, 0xEE, 0xFF\n]\n\nuuid_ref = CoreFoundation::CFUUIDCreateWithBytes(allocator, *sixteen_bytes)\n\ncf_uuid_bytes = CoreFoundation::CFUUIDGetUUIDBytes(uuid_ref)\n\ncf_uuid_bytes[:byte15] # =\u003e 0xFF\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/Aesthetikx/core_foundation.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faesthetikx%2Fcore_foundation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faesthetikx%2Fcore_foundation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faesthetikx%2Fcore_foundation/lists"}