{"id":18722455,"url":"https://github.com/halfdan/ruby-bitfield","last_synced_at":"2025-04-12T14:51:52.066Z","repository":{"id":59151114,"uuid":"2646348","full_name":"halfdan/ruby-bitfield","owner":"halfdan","description":"This Ruby C extension wraps boost::dynamic_bitset and makes it available as a native Ruby class. The bitset behaves like an an array allowing only values of 0 and 1","archived":false,"fork":false,"pushed_at":"2020-09-29T14:33:37.000Z","size":12,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-25T15:41:33.649Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/halfdan.png","metadata":{"files":{"readme":"README.rdoc","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-10-25T20:20:30.000Z","updated_at":"2020-09-29T14:33:40.000Z","dependencies_parsed_at":"2022-09-13T11:00:49.328Z","dependency_job_id":null,"html_url":"https://github.com/halfdan/ruby-bitfield","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/halfdan%2Fruby-bitfield","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halfdan%2Fruby-bitfield/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halfdan%2Fruby-bitfield/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/halfdan%2Fruby-bitfield/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/halfdan","download_url":"https://codeload.github.com/halfdan/ruby-bitfield/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248492871,"owners_count":21113163,"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-07T13:41:30.577Z","updated_at":"2025-04-12T14:51:52.049Z","avatar_url":"https://github.com/halfdan.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"= BitField\n\nThis C extension wraps boost::dynamic_bitset and makes it available\nas a native Ruby class. The bitset behaves like an array allowing\nonly values of 0 and 1. Using this extension is easy:\n\n    b = BitField.new 10 # Initializes BitField with size 10\n    puts b              # Prints '0000000000' where the last bit is b[0]\n    b[0..3] = Array.new(4) {1}  # Sets bits 0 to 3 to 1\n    \nNote that in contrast to the Ruby Array behaviour the BitField does not\nautomatically grow in size.\n\n= Licence\nCopyright(c) 2011 Fabian Becker, released under 2-clause BSD licence.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalfdan%2Fruby-bitfield","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhalfdan%2Fruby-bitfield","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhalfdan%2Fruby-bitfield/lists"}