{"id":21387309,"url":"https://github.com/madebylotus/prospector","last_synced_at":"2026-04-29T07:35:17.833Z","repository":{"id":33856610,"uuid":"37562515","full_name":"madebylotus/prospector","owner":"madebylotus","description":"Prospector provides a simple integration with the Gem Prospector service.","archived":false,"fork":false,"pushed_at":"2017-08-15T16:48:24.000Z","size":620,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-01T05:04:20.040Z","etag":null,"topics":["ruby","ruby-gem","ruby-library","ruby-on-rails","rubygems","rubymotion"],"latest_commit_sha":null,"homepage":"http://www.gemprospector.com","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/madebylotus.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2015-06-17T00:03:35.000Z","updated_at":"2017-09-30T06:58:46.000Z","dependencies_parsed_at":"2022-08-07T23:16:51.961Z","dependency_job_id":null,"html_url":"https://github.com/madebylotus/prospector","commit_stats":null,"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/madebylotus/prospector","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madebylotus%2Fprospector","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madebylotus%2Fprospector/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madebylotus%2Fprospector/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madebylotus%2Fprospector/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/madebylotus","download_url":"https://codeload.github.com/madebylotus/prospector/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/madebylotus%2Fprospector/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32416146,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T06:29:02.080Z","status":"ssl_error","status_checked_at":"2026-04-29T06:29:00.631Z","response_time":110,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["ruby","ruby-gem","ruby-library","ruby-on-rails","rubygems","rubymotion"],"created_at":"2024-11-22T12:12:27.914Z","updated_at":"2026-04-29T07:35:17.811Z","avatar_url":"https://github.com/madebylotus.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Prospector\n\nProspector provides a simple integration with the [Gem Prospector](http://www.gemprospector.com) API allowing your team to stay on top of important updates to gems in your Ruby project.\n\n\u003cimg src=\"https://github.com/madebylotus/prospector/blob/master/marketing/infographic.png\" width=\"300\" /\u003e\n\u003cimg src=\"https://github.com/madebylotus/prospector/blob/master/marketing/screenshot.png\" width=\"300\" /\u003e\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'prospector'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install prospector\n\n## Configuration\n\nProjects can be configured via environment variables, a code block, or a RubyMotion configuration.\n\n### Environment Variables\n\n```sh\nexport PROSPECTOR_ENABLED=true\nexport PROSPECTOR_SECRET_TOKEN=token\nexport PROSPECTOR_CLIENT_SECRET=secret\nexport PROSPECTOR_BACKGROUND_ADAPTER=sidekiq\n```\n\n### Code Block\n\n```ruby\nProspector.configure do |config|\n  config.secret_token = 'token from service'\n  config.client_secret = 'secret from service'\n  config.background_adapter = :sidekiq\n\n  config.enabled = Rails.env.production?\nend\n```\n\n### RubyMotion\n\nA common configuration for a RubyMotion project follows, enabling only for release builds.\n\n```ruby\nMotion::Project::App.setup do |app|\n  app.prospector do |config|\n    config.secret_token = 'token from service'\n    config.client_secret = 'secret from service'\n  end\n\n  app.release do\n    app.prospector do |config|\n      config.enabled = true\n    end\n  end\nend\n```\n\n## Usage\n\n### Rails\n\nRails integration includes automatic detection and support for ActiveJob as well as Sidekiq, to deliver usage details to the Prospector API in the background on app boot.  Additionally, the rake task mentioned below is available to use at any time you see fit, for example as part of your deployment process.\n\nValid background adapter options are `active_job`, `sidekiq`, `inline`, and `none`.  ActiveJob is preferred and chosen in Rais 4.2 and above with built-in ActiveJob support.\n\n```ruby\n# config/initializers/prospector.rb\n\nProspector.configure do |config|\n  # Will default to using ActiveJob\n  # config.background_adapter = :active_job\n  # config.background_adapter = :sidekiq\n  # config.background_adapter = :inline\n  # config.background_adapter = :none\nend\n```\n\nYou can use the `none` background adapter to skip sending information to the API automatically, and instead call at any point in time you see fit, whether via the rake task or manually.\n\n### RubyMotion\n\nIntegration with RubyMotion is accomplished via a Rake task that can be run by hand, or simply letting the build system do it's magic.  By default, if you have enabled Prospector via an environment variable, or a configuration block, any time the binary is built for a device (such as for distribution) then Prospector will be notified without any further action.\n\n### Rake Task\n\nIf you prefer to notify the Prospector service at any other time, you can use the included Rake task.\n\n```\nrake prospector:deliver\n```\n\n### Manually\n\nIf you prefer to notify the Prospector API without using the included Rails or RubyMotion support, you can always call directly.\n\n```ruby\nProspector.notify! if Prospector.enabled?\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, 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` to 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\n1. Fork it ( https://github.com/madebylotus/prospector/fork )\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Add some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create a new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadebylotus%2Fprospector","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmadebylotus%2Fprospector","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmadebylotus%2Fprospector/lists"}