Skip to content

Bump version and add branch to reporting #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 17, 2013
Merged

Conversation

mrb
Copy link
Contributor

@mrb mrb commented Sep 16, 2013

This PR allows us to report to the user which branch the gem believes it is sending a test report for.


if ci_branch
ci_branch.sub(/^origin\//, "")
elsif git_branch && !git_branch.to_s.strip.start_with?("(")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be safe against empty strings, the ci_branch and git_branch checks should probably become foo.to_s.strip.size > 0. Makes you miss ActiveSupport, eh?

brynary added a commit that referenced this pull request Sep 17, 2013
Bump version and add branch to reporting
@brynary brynary merged commit 2138b5d into master Sep 17, 2013
@brynary
Copy link
Member

brynary commented Sep 17, 2013

Merged. Gem needs release. Do you have privileges for that?

@mrb
Copy link
Contributor Author

mrb commented Sep 17, 2013

@brynary I don't think so!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants