summaryrefslogtreecommitdiff
path: root/spec/githubrepo_spec.rb
AgeCommit message (Collapse)Author
2016-02-19refactor `#remote_repo` to not rely on `#single_repo?` configDanilo Sousa
even in the case we have groups, we can assume is only one repository if the `remote_repo` config is a String.
2016-02-19move the groups remote to the hook configDanilo Sousa
thanks to @ElvinEfendi for the idea! :+1:
2016-02-19fix 'GithubRepo#single_repo?' private methodDanilo Sousa
2016-02-18create tests for `GithubRepo#validate_cfg!` methodDanilo Sousa
2016-02-18fix `githubrepo` hook for groups repositories remotesDanilo Sousa
when there was a repository per group we could not use the hook for pushing since we only had **one** remote configured. This PR configures each repository its own remote based in the `groups` config, as follows: ``` --- groups: first: remote_repo: git@gitlab.lab:oxidized/first.git second: remote_repo: git@gitlab.lab:oxidized/second.git ```
2016-02-18supress `Rugged` log outputDanilo Sousa
2015-12-13do not commit when there is no diffElvin Efendi
2015-12-13refactor and fix bugs introduced with new changesElvin Efendi
2015-12-13let user configure which auth method to useElvin Efendi
2015-12-08fix specElvin Efendi
2015-12-07fix testElvin Efendi
2015-12-04fix the specElvin Efendi
2015-11-13githubrepo hook specElvin Efendi