weixin_39815410 2020-11-20 21:53
浏览 0

Gemfile[.lock]: Add kaminari-grape gem

grape support was separated out into the "kaminari-grape" gem as of kaminari 1.0.0.

See: https://github.com/kaminari/kaminari/blob/master/CHANGELOG.md#100

Context

  • Updates #536
  • Lets tests pass on Travis CI

Summary of Changes

  • Add kaminari-grape to the Gemfile
  • Add kaminari-grape (and dependencies) to Gemfile.lock

Checklist

  • [ ] Tested Mobile Responsiveness
  • [ ] Added Unit Tests
  • [x] CI Passes
  • [ ] Deploys to Heroku on test Correctly (Maintainers will handle)
  • [ ] Added Documentation (Service and Code when required)

该提问来源于开源项目:RefugeRestrooms/refugerestrooms

  • 写回答

8条回答 默认 最新

  • weixin_39815410 2020-11-20 21:53
    关注

    Testing failed due to an issue downloading the postgres Docker image.

    From line 2276 of the Travis build logs:

    
    $ docker-compose run -e "RAILS_ENV=test" web rake db:test:prepare spec
    Creating network "refugerestrooms_default" with the default driver
    Pulling db (postgres:latest)...
    error parsing HTTP 404 response body: invalid character 'p' after top-level value: "404 page not found\n"
    The command "docker-compose run -e "RAILS_ENV=test" web rake db:test:prepare spec" exited with 1.
    

    Going to restart the Travis run. Seems like a temporary issue and not related to our code.

    Edit: Yep, it worked this time.

    评论

报告相同问题?