Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (17 sloc) 0.67 kB

Gibbler - v0.2

Git-like hashes for Ruby objects.

config = {}
config.gibbler             # => 57589e9811fe00c307ed3ab740cdac516c9975cb

config[:server] = { 
  :users => [:dave, :ali], 
  :ports => [22, 80, 443]
}
config.gibbler             # => 87d792aefceb893b2d966828827c61636b0ace3e 

config[:server][:users] << :yanni

config.gibbler             # => 126ea10af73149ae4e69b0e036aa1d47a7651f07

ALPHA NOTICE

This code is hella fresh. It's ugly and barely tested, but it's fun to play with. I'll happily accept patches.

Credits

  • Delano Mandelbaum (delano@solutious.com)

License

See: LICENSE.txt

Jump to Line
Something went wrong with that request. Please try again.