relax dependency version contstraints
fix rspec deprecations