‘undefined method `update_attributes\' for nil:NilClass’ when setting up some projects on API

Issue #121 resolved
Matthew Andrews created an issue

For example: curl -XPOST https://www.versioneye.com/api/v2/github/Financial-Times%3An-jsonp-fetch?api_key=xxxx --data '{"branch":"master","file":"bower.json"}' -H 'Content-Type:appliation/json' -v

Affected repository / package manager combinations:-

Financial-Times:next-session-client with file bower.json
Financial-Times:next-user-model with file bower.json
Financial-Times:n-service-worker with file bower.json
Financial-Times:n-util with file bower.json
Financial-Times:n-email with file bower.json
Financial-Times:n-util with file package.json
Financial-Times:next-user-model-component with file bower.json
Financial-Times:ft-xdr with file bower.json
Financial-Times:n-handlebars with file bower.json
Financial-Times:n-jsonp-fetch with file bower.json

(All on branch master, all should be public)

Comments (4)

  1. Robert Reiz

    Hi @matthewandrews I just found out that these projects all have in common that they don't have a single dependency defined. I will rework that and allow to have projects with 0 dependencies.

  2. Robert Reiz

    Hi @matthewandrews I just changed the rules and adjusted the tests. Now you can create projects with 0 dependencies. Please try again and let me know if it works for you.

  3. Log in to comment