https://github.com/orta/gh_inspector
A gem that makes it easy to find existing issues for exceptions via GitHub issues
https://github.com/orta/gh_inspector
Keywords from Contributors
ci objective-c mac dependency-manager cocoapods travis gitlab danger code-review circle
Last synced: about 1 hour ago
JSON representation
Repository metadata
A gem that makes it easy to find existing issues for exceptions via GitHub issues
- Host: GitHub
- URL: https://github.com/orta/gh_inspector
- Owner: orta
- License: mit
- Created: 2016-05-05T22:35:04.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2018-03-06T18:24:29.000Z (almost 8 years ago)
- Last Synced: 2026-02-01T16:07:17.112Z (about 1 month ago)
- Language: Ruby
- Size: 98.6 KB
- Stars: 49
- Watchers: 2
- Forks: 8
- Open Issues: 3
- Releases: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
README.md
The Issues Inspector
Installation
Add this line to your application's Gemfile:
gem 'gh_inspector'
And then execute:
$ bundle
Usage
The Inspector
To get started using The Issues Inspector, you will need to
create an inspector instance. This class is main public API for querying issues.
Getting Started
Create an instance of GhInspector::Inspector, you can then ask it to search
based on your raised exception, or as a direct query yourself.
require 'gh_inspector'
inspector = GhInspector::Inspector.new "orta", "eigen"
# Either use an error:
inspector.search_exception an_error, ArtsyUI.new
# Or use a specific query:
inspector.search_query "Someone set us up the bomb"
By default this would output:
Looking for related issues on CocoaPods/CocoaPods...
- undefined method `to_ary' for #<Pod::Specification name="iVersion">Did you mean? to_query
https://github.com/CocoaPods/CocoaPods/issues/4748 [closed] [1 comment]
- NoMethodError - undefined method `to_ary' for Pod EAIntroView
https://github.com/CocoaPods/CocoaPods/issues/4391 [closed] [15 comments]
- Do a search on GitHub for issues relating to a crash?
https://github.com/CocoaPods/CocoaPods/issues/4391 [open] [3 comments]
and 10 more at:
https://github.com/CocoaPods/CocoaPods/search?q=undefined+method+%60to_ary%27&type=Issues
Presenting Your Report
The default user interface for the inspector, its public API should be
considered the protocol for other classes wanting to provide a user interface.
Your custom objects will be verified at runtime that they conform to the protocol.
You can see the default implementation at
lib/evidence.rb.
Both search_query and search_exception take your custom delegate as a 2nd optional parameter.
require 'gh_inspector'
inspector = GhInspector::Inspector.new "orta", "eigen"
inspector.search_exception an_error, ArtsyUI.new
or
require 'gh_inspector'
inspector = GhInspector::Inspector.new "fastlane", "fastlane"
inspector.search_query "Someone set us up the bomb", FastlaneUI.new
Protocol for custom objects:
inspector_started_query(query, inspector)- Called just as the investigation has begun.inspector_successfully_recieved_report(report, inspector)- Deprecated: Please useinspector_successfully_received_reportinstead.inspector_successfully_received_report(report, inspector)- Called once the inspector has received a report with more than one issue.inspector_recieved_empty_report(report, inspector)- Deprecated: Please useinspector_received_empty_reportinstead.inspector_received_empty_report(report, inspector)- Called once the report has been received, but when there are no issues found.inspector_could_not_create_report(error, query, inspector)- Called when there have been networking issues in creating the report.
Development
After checking out the repo, run bin/setup to install dependencies. Then, run bundle exec rake spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.
The usage section of this README is generated from inline documentation inside the classes, to update it run bundle exec rake readme.
To 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.
Vision
I don't expect this project to grow too much, there's space around improving the search query for an exception, mainly. Other than that the project is effectively done and just needs some production usage to iron out any kinks. This project is well tested, and has zero dependencies.
Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/orta/gh-issues-inspector.
Owner metadata
- Name: Orta Therox
- Login: orta
- Email:
- Kind: user
- Description: Tech on @puzzmo-com Ex-TypeScript. Contributed to: Shiki, Shiki Twoslash, Danger, CocoaPods, Jest, GraphQL, RxSwift & Svelte
- Website: https://orta.io
- Location: Huddersfield / NYC / Dublin / Rio de Janeiro
- Twitter: orta
- Company:
- Icon url: https://avatars.githubusercontent.com/u/49038?u=ffa55aa2577e724ad5bc088b8663a7e886f986a0&v=4
- Repositories: 947
- Last ynced at: 2024-04-15T08:11:01.902Z
- Profile URL: https://github.com/orta
GitHub Events
Total
Last Year
Committers metadata
Last synced: 1 day ago
Total Commits: 57
Total Committers: 8
Avg Commits per committer: 7.125
Development Distribution Score (DDS): 0.474
Commits in past year: 0
Committers in past year: 0
Avg Commits per committer in past year: 0.0
Development Distribution Score (DDS) in past year: 0.0
| Name | Commits | |
|---|---|---|
| Orta Therox | o****x@g****m | 30 |
| Felix Krause | k****x@g****m | 13 |
| Iulian Onofrei | i****i@y****m | 9 |
| Samuel Giddins | s****s@s****e | 1 |
| Nicolas Leger | n****r | 1 |
| Lasse Schuirmann | l****n@g****m | 1 |
| Jeroen Visser | j****1@g****m | 1 |
| Cédric Luthi | c****i@g****m | 1 |
Committer domains:
- segiddins.me: 1
Issue and Pull Request metadata
Last synced: 29 days ago
Total issues: 6
Total pull requests: 21
Average time to close issues: 21 days
Average time to close pull requests: 1 day
Total issue authors: 5
Total pull request authors: 8
Average comments per issue: 2.67
Average comments per pull request: 2.0
Merged pull request: 20
Bot issues: 0
Bot pull requests: 0
Past year issues: 0
Past year pull requests: 0
Past year average time to close issues: N/A
Past year average time to close pull requests: N/A
Past year issue authors: 0
Past year pull request authors: 0
Past year average comments per issue: 0
Past year average comments per pull request: 0
Past year merged pull request: 0
Past year bot issues: 0
Past year bot pull requests: 0
Top Issue Authors
- KrauseFx (2)
- orta (1)
- sttz (1)
- sils (1)
- getaaron (1)
Top Pull Request Authors
- revolter (6)
- KrauseFx (5)
- orta (5)
- nicolasleger (1)
- sils (1)
- segiddins (1)
- jeroenvisser101 (1)
- 0xced (1)
Top Issue Labels
Top Pull Request Labels
Package metadata
- Total packages: 2
-
Total downloads:
- rubygems: 270,499,022 total
- Total docker downloads: 99,640,074
- Total dependent packages: 11 (may contain duplicates)
- Total dependent repositories: 33,351 (may contain duplicates)
- Total versions: 16
- Total maintainers: 3
gem.coop: gh_inspector
Search through GitHub issues for your project for existing issues about a Ruby Error.
- Homepage: https://github.com/orta/gh_inspector
- Documentation: http://www.rubydoc.info/gems/gh_inspector/
- Licenses: MIT
- Latest release: 1.1.3 (published almost 8 years ago)
- Last Synced: 2026-03-02T05:03:30.312Z (1 day ago)
- Versions: 8
- Dependent Packages: 0
- Dependent Repositories: 0
- Downloads: 135,274,004 Total
- Docker Downloads: 49,820,037
-
Rankings:
- Dependent repos count: 0.0%
- Dependent packages count: 0.0%
- Downloads: 0.19%
- Average: 0.203%
- Docker downloads count: 0.623%
- Maintainers (3)
rubygems.org: gh_inspector
Search through GitHub issues for your project for existing issues about a Ruby Error.
- Homepage: https://github.com/orta/gh_inspector
- Documentation: http://www.rubydoc.info/gems/gh_inspector/
- Licenses: MIT
- Latest release: 1.1.3 (published almost 8 years ago)
- Last Synced: 2026-02-28T20:00:44.424Z (3 days ago)
- Versions: 8
- Dependent Packages: 11
- Dependent Repositories: 33,351
- Downloads: 135,225,018 Total
- Docker Downloads: 49,820,037
-
Rankings:
- Dependent repos count: 0.185%
- Downloads: 0.215%
- Docker downloads count: 0.771%
- Dependent packages count: 1.745%
- Average: 3.481%
- Stargazers count: 7.678%
- Forks count: 10.292%
- Maintainers (3)
Dependencies
- bundler ~> 1.11 development
- pry ~> 0.6 development
- rake ~> 10.0 development
- rspec ~> 3.0 development
- rubocop ~> 0, > 0 development
- yard ~> 0, > 0 development
Score: 25.76016814884874