{"id":19984634,"url":"https://github.com/twilightcoders/thaw","last_synced_at":"2025-07-02T13:05:53.810Z","repository":{"id":56896984,"uuid":"230983589","full_name":"TwilightCoders/thaw","owner":"TwilightCoders","description":null,"archived":false,"fork":false,"pushed_at":"2020-01-07T20:52:20.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-10T21:59:06.134Z","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/TwilightCoders.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2019-12-30T21:41:35.000Z","updated_at":"2019-12-30T23:27:35.000Z","dependencies_parsed_at":"2022-08-20T17:40:31.335Z","dependency_job_id":null,"html_url":"https://github.com/TwilightCoders/thaw","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/TwilightCoders/thaw","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TwilightCoders%2Fthaw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TwilightCoders%2Fthaw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TwilightCoders%2Fthaw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TwilightCoders%2Fthaw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TwilightCoders","download_url":"https://codeload.github.com/TwilightCoders/thaw/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TwilightCoders%2Fthaw/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263145837,"owners_count":23420678,"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-13T04:19:43.582Z","updated_at":"2025-07-02T13:05:53.772Z","avatar_url":"https://github.com/TwilightCoders.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Version      ](https://img.shields.io/gem/v/thaw.svg)](https://rubygems.org/gems/thaw)\n[![Build Status ](https://travis-ci.org/TwilightCoders/thaw.svg)](https://travis-ci.org/TwilightCoders/thaw)\n[![Code Climate ](https://api.codeclimate.com/v1/badges/606df1b8c3c69772a11d/maintainability)](https://codeclimate.com/github/TwilightCoders/thaw/maintainability)\n[![Test Coverage](https://api.codeclimate.com/v1/badges/606df1b8c3c69772a11d/test_coverage)](https://codeclimate.com/github/TwilightCoders/thaw/test_coverage)\n\n## Thaw\n\nFlip the frozen bit on ruby objects, to unfreeze (thaw) them.\n\nNote: You probably don't need to use this gem, you probably want to [`.dup`](https://www.rubyguides.com/2018/11/dup-vs-clone/) your objects instead.\n\n### Compatibility\n\nTo-date, `thaw` works in Ruby `2.0` through `2.6`\u003csup\u003e1\u003c/sup\u003e.\n\nCheck the [build status](https://travis-ci.org/TwilightCoders/thaw) for the most current compatibility.\n\n\u003csup\u003e1\u003c/sup\u003eThere seems to be a segmentation fault in Ruby `2.7` that I haven't had time to investigate.\n\n### Installation\n\nThe best way to install is with RubyGems:\n\n    $ [sudo] gem install thaw\n\nOr better still, just add it to your Gemfile:\n\n    gem 'thaw'\n\n### Example\n\n    string = \"hello\"\n    string.frozen?\n    =\u003e false\n    string.thawed?\n    =\u003e true\n    string.freeze\n    string.frozen?\n    =\u003e true\n    string.thawed?\n    =\u003e false\n    string.thaw\n    string.frozen?\n    =\u003e false\n    string.thawed?\n    =\u003e true\n\n## Development\n\nAfter checking out the repo, run `bundle` to install dependencies. Then, run `bundle exec rspec` to run the tests.\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/TwilightCoders/active_record-framing. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## Credits\n\nShamelessly ripped from [ndnenkov](https://stackoverflow.com/users/2423164/ndnenkov)'s answer on [StackOverflow](https://stackoverflow.com/questions/35633367/how-to-unfreeze-an-object-in-ruby).\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwilightcoders%2Fthaw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwilightcoders%2Fthaw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwilightcoders%2Fthaw/lists"}