* Rename find_or_create to upsert and improve validation and testing * Add User.authenticated_through? * Refactor settings/integrations * Refactor profile github repositories rendering * Refactor repos fetching * Only fetch a single repo and improve error messages * Remove unused code * Cleanups * Fix specs * Remove trailing whitespace * Fix spec * Trigger Travis
5 lines
116 B
Ruby
5 lines
116 B
Ruby
json.array! @repos.each do |repo|
|
|
json.github_id_code repo.id
|
|
|
|
json.extract!(repo, :name, :fork, :featured)
|
|
end
|