The gem what makes waiting for stuff all easy-like.
Ruby Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
script
spec
.gitignore
.rspec
.rvmrc
.travis.yml
Gemfile
Guardfile
LICENSE
README.md
godot.gemspec

README.md

Godot

Build Status Dependency Status

Introducing Godot, the gem what makes waiting for stuff all easy-like.

What?

Ever need to wait for a server to come up on a given port?

puts "My life is so much better now!" if Godot.wait("pivotallabs.com", 80)

How about that same few lines of timeout-wrapped curl matching output?

puts "So that's doc!" if Godot.match("pivotallabs.com", 80, /doc/, "/who")

License

See LICENSE for more information.