Releases: jdennes/contribution-checker
Releases · jdennes/contribution-checker
Version 2.0.0
Version 1.3.1
- Fixes dates in test fixtures
- Bumps Octokit to ~> 4.0
- Adds a
scripts
directory:script/bootstrap
script/test
script/cibuild
- Adds a
.travis.yml
file
Version 1.3.0
- Check whether a commit was authored using a generic email. #14
Version 1.2.1
- We've fixed the bug in the GitHub API related to checking whether the authenticated user has starred a repository. This reverts the workaround that was implemented to cater for that bug. #12
Version 1.2.0
Version 1.1.1
Version 1.1.0
- Added
[:and_criteria][:default_branch]
to the check result hash for extra usefulness - Bumped Octokit dependency
Version 1.0.0
Added [:and_criteria][:commit_email]
to the check result hash for extra usefulness:
› bundle console
Resolving dependencies...
>> checker = ContributionChecker::Checker.new \
?> :access_token => "your token",
?> :commit_url => "https://github.com/git/git-scm.com/commit/f6b5cb6"
>> checker.check
=> {
:contribution => true,
:and_criteria => {
:commit_in_valid_branch => true,
:commit_in_last_year => true,
:repo_not_a_fork => true,
:commit_email_linked_to_user => true,
:commit_email => "[email protected]"
},
:or_criteria => {
:user_has_starred_repo => false,
:user_can_push_to_repo => false,
:user_is_repo_org_member => false,
:user_has_fork_of_repo => true
}
}
Version 0.1.2
- Added full test coverage
- Fixed a bug in
ContributionChecker::Checker#user_is_repo_org_member?
: 6f90650
Version 0.1.1
- Fixed a bug in
ContributionChecker::Checker#user_has_fork_of_repo?
in #2