Update rspec and fix deprecation warnings
Issue #6 Add support for metadata.json