{"id":23213233,"url":"https://github.com/siman-man/open_class_alarm","last_synced_at":"2025-08-30T16:12:24.173Z","repository":{"id":56886814,"uuid":"83461018","full_name":"siman-man/open_class_alarm","owner":"siman-man","description":"OpenClassAlarm detect ruby's open class and alarm it.","archived":false,"fork":false,"pushed_at":"2017-02-28T19:02:51.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-28T06:54:25.260Z","etag":null,"topics":["gem","ruby"],"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/siman-man.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-28T17:32:44.000Z","updated_at":"2017-02-28T19:07:40.000Z","dependencies_parsed_at":"2022-08-21T00:20:28.113Z","dependency_job_id":null,"html_url":"https://github.com/siman-man/open_class_alarm","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/siman-man/open_class_alarm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siman-man%2Fopen_class_alarm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siman-man%2Fopen_class_alarm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siman-man%2Fopen_class_alarm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siman-man%2Fopen_class_alarm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/siman-man","download_url":"https://codeload.github.com/siman-man/open_class_alarm/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/siman-man%2Fopen_class_alarm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272873192,"owners_count":25007484,"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-08-30T02:00:09.474Z","response_time":77,"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":["gem","ruby"],"created_at":"2024-12-18T19:15:57.306Z","updated_at":"2025-08-30T16:12:24.153Z","avatar_url":"https://github.com/siman-man.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenClassAlarm\n\nOpenClassAlarm detect ruby's open class and alarm it.\n\n## Installation\n\n```\n$ gem install open_class_alarm\n```\n\n## Usage\n\n```ruby\nrequire 'open_class_alarm'\n\nOpenClassAlarm.enable\n\nclass String\nend\n```\n\noutput\n\n```\nopen_class.rb:5 found open class `String'\n```\n\nIf OpenClassAlarm#enable given block, automatically be disabled when the block terminates.\n\n```ruby\nrequire 'open_class_alarm'\n\nOpenClassAlarm.enable do\n  class String\n  end\nend\n\nclass Hash\nend\n```\n\nit same\n\n```ruby\nrequire 'open_class_alarm'\n\nOpenClassAlarm.enable\nclass String\nend\nOpenClassAlarm.disable\n\nclass Hash\nend\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/siman-man/open_class_alarm. 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\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiman-man%2Fopen_class_alarm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsiman-man%2Fopen_class_alarm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsiman-man%2Fopen_class_alarm/lists"}