spikex/strongbox — pull request #26 by jherdman (2012-09-14 18:34:16+00:00)
Title: Handle Keys When They Are a Pathname

It's not uncommon to see Pathnames in a Rails applications these days. They provide a better API for paths on the file system, and are generated with `Rails.root` (e.g. `Rails.root.join('public/my_file.txt')`). This change ensures they're handled correctly with Ruby beyond 1.8.7 as Pathname does not respond to `#=~`.