{"id":22295549,"url":"https://github.com/satoryu/undine","last_synced_at":"2025-08-02T01:12:01.251Z","repository":{"id":59158580,"uuid":"257761976","full_name":"satoryu/undine","owner":"satoryu","description":"Open your browser for searching the message of an unrescued exception.","archived":false,"fork":false,"pushed_at":"2020-04-29T06:33:17.000Z","size":30,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-24T09:06:43.205Z","etag":null,"topics":["developer-tools","exception-handling","ruby","rubygem"],"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/satoryu.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":["satoryu"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2020-04-22T01:45:20.000Z","updated_at":"2020-04-29T06:33:19.000Z","dependencies_parsed_at":"2022-09-13T20:10:28.261Z","dependency_job_id":null,"html_url":"https://github.com/satoryu/undine","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/satoryu/undine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satoryu%2Fundine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satoryu%2Fundine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satoryu%2Fundine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satoryu%2Fundine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/satoryu","download_url":"https://codeload.github.com/satoryu/undine/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/satoryu%2Fundine/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268322440,"owners_count":24231819,"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-01T02:00:08.611Z","response_time":67,"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":["developer-tools","exception-handling","ruby","rubygem"],"created_at":"2024-12-03T17:42:28.517Z","updated_at":"2025-08-02T01:12:01.180Z","avatar_url":"https://github.com/satoryu.png","language":"Ruby","funding_links":["https://github.com/sponsors/satoryu"],"categories":[],"sub_categories":[],"readme":"# Undine\n\n[![Gem Version](https://badge.fury.io/rb/undine.svg)](https://badge.fury.io/rb/undine)\n[![Build Status](https://travis-ci.org/satoryu/undine.svg?branch=master)](https://travis-ci.org/satoryu/undine)\n\nUndine is a gem to help your development experience: When an exception unrescued in your  code is raised, opens google search with the errror message in your browser.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'undine', group: :development\n```\n\nAnd then execute:\n\n```sh\n    bundle install\n```\n\nOr install it yourself as:\n\n```sh\n    gem install undine\n```\n\n## Usage\n\nJust `require 'undine'` and `Undine.load`. That's it.\n\n### Example\n\n```ruby\nrequire 'undine'\n\nUndine.load\n\ndef something_function\n  'hoge'.foo\nrescue =\u003e e\n  warn e.message\n  raise e\nend\n\nsomething_function\n```\n\n`Undine.load` registers a post process to catch an unrescued exception and google its message.\nIn this code, `NoMethodError` raises as `String` does not have `foo` method.\nAs executing this code, you are going to see google search page with the error message: https://www.google.com/search?q=undefined+method+%60foo%27+for+%22hoge%22%3AString%0ADid+you+mean%3F++for\n\n## Configuration\n\n`Undine.configure` is for users to customize behavior of `Undine`.\nThe method gives a given block `Undine::Configuration` object.\n\n```ruby\nUndine.configure do |config|\n  config.query_message_from = :message.to_proc # default\n\n  config.except_for = SystemExit # default\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/satoryu/undine. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/satoryu/undine/blob/master/CODE_OF_CONDUCT.md).\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\n## Code of Conduct\n\nEveryone interacting in the Undine project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/satoryu/undine/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsatoryu%2Fundine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsatoryu%2Fundine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsatoryu%2Fundine/lists"}