Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
An example app for using rubygems.org webhooks
JavaScript CSS Ruby
branch: master

This branch is 90 commits ahead, 1 commit behind qrush:master

Failed to load latest commit information.
config Reinstate webhook authorization checks
db/migrate Making info a text column
log Revert "log directory"
public/iui Fixing the stupid title
views change to latest rubygems
.gitignore Update .gitignore
.rbenv-gemsets update ALL THE THINGS
.rbenv-version
Gemfile Use Active Support's String#truncate method to limit tweet to 140 chars
Gemfile.lock Use Active Support's String#truncate method to limit tweet to 140 chars
README.md Update documentation.
Rakefile Fix load paths for Ruby 1.9.2
config.ru fixing include
gemwhisperer.rb Use Active Support's String#truncate method to limit tweet to 140 chars

README.md

gemwhisperer

This is an example application that uses the RubyGems webhook system to post Twitter updates about gems.

Check out more information about webhooks.

Development

First thing's first. Install the gem dependencies:

bundle install

In development, gemwhisperer runs on SQLite so there's no need to create the database. Simply:

rake db:migrate

Before you fire it up, you'll need to configure the application for your own Twitter application and RubyGems account. The config/application.example.yml file will get you started.

Now, fire it up:

rackup

The gemwhisperer application is built for Heroku. To deploy:

gem install heroku
heroku create
git push heroku master
Something went wrong with that request. Please try again.