{"id":16054455,"url":"https://github.com/yujideveloper/struct_cast","last_synced_at":"2025-09-13T08:47:41.134Z","repository":{"id":55127415,"uuid":"298608912","full_name":"yujideveloper/struct_cast","owner":"yujideveloper","description":"StructCast provides the refinement module that defines the method for casting to a Struct object","archived":false,"fork":false,"pushed_at":"2021-01-08T04:16:42.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-18T09:49:24.459Z","etag":null,"topics":["refinement","ruby","struct"],"latest_commit_sha":null,"homepage":"","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/yujideveloper.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}},"created_at":"2020-09-25T15:18:45.000Z","updated_at":"2021-01-08T04:16:43.000Z","dependencies_parsed_at":"2022-08-14T12:50:33.517Z","dependency_job_id":null,"html_url":"https://github.com/yujideveloper/struct_cast","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/yujideveloper/struct_cast","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yujideveloper%2Fstruct_cast","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yujideveloper%2Fstruct_cast/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yujideveloper%2Fstruct_cast/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yujideveloper%2Fstruct_cast/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yujideveloper","download_url":"https://codeload.github.com/yujideveloper/struct_cast/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yujideveloper%2Fstruct_cast/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274941634,"owners_count":25378204,"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","status":"online","status_checked_at":"2025-09-13T02:00:10.085Z","response_time":70,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["refinement","ruby","struct"],"created_at":"2024-10-09T02:01:52.504Z","updated_at":"2025-09-13T08:47:41.111Z","avatar_url":"https://github.com/yujideveloper.png","language":"Ruby","readme":"# StructCast\n\n[![Gem Version](https://badge.fury.io/rb/struct_cast.svg)](https://badge.fury.io/rb/struct_cast)\n[![Build](https://github.com/yujideveloper/struct_cast/workflows/Build/badge.svg)](https://github.com/yujideveloper/struct_cast/actions?query=workflow%3ABuild)\n[![Maintainability](https://api.codeclimate.com/v1/badges/71ddeac3ead5a224e9ed/maintainability)](https://codeclimate.com/github/yujideveloper/struct_cast/maintainability)\n\nStructCast provides the refinement module that defines the method for casting to a Struct object.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'struct_cast'\n```\n\nAnd then execute:\n\n    $ bundle install\n\nOr install it yourself as:\n\n    $ gem install struct_cast\n\n## Usage\n\n``` ruby\nusing StructCast\n\nStruct({ id: 1, name: \"foo\" }) #=\u003e #\u003cstruct id=1, name=\"foo\"\u003e\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 tags, 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/yujideveloper/struct_cast.\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyujideveloper%2Fstruct_cast","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyujideveloper%2Fstruct_cast","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyujideveloper%2Fstruct_cast/lists"}