Skip to content
Rubygem dependency management with DNS
Ruby JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin
ddl
docs
lib
test
.gitignore
.rvmrc
Gemfile
Gemfile.lock
LICENSE
README
Rakefile
config.ru

README

This library is used to handle webhook calls from Rubygems.org and record gem dependency data into a database that backs PowerDNS so that the dependency data can be retrieved with DNS queries.

To run the Sinatra server locally:

  bundle exec rackup config.ru

To trigger the webhook:

  curl -d @docs/sample-post.json http://localhost:9292/webhook/accept

To run the resque workers:

  rake -I lib QUEUE=* resque:work

To load data

  export DB_URL=mysql://root@localhost/powerdns && bundle exec ruby -I lib ./bin/rgdns-load-gemology-dump specifications.dsv
Something went wrong with that request. Please try again.