Skip to content
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

Fix branch/location/country validation (serious bug!) #6

Merged
merged 3 commits into from
Dec 21, 2015
Merged

Fix branch/location/country validation (serious bug!) #6

merged 3 commits into from
Dec 21, 2015

Conversation

svoop
Copy link
Contributor

@svoop svoop commented Dec 9, 2015

You've mixed up country, location and branch in a way which lets all ISO countries which have the letter "O" as the second letter always fail validation – most notably "RO" (Romania).

Furthermore, I've added the rspec-its gem as a development dependency to fix the test suite.

Thanks for considering a timely merge and version bump!

Sven Schwyn added 2 commits December 9, 2015 18:51
The rules for location validation were supposed to be applied to the branch (ouch), however, in reality they were applied to the country (ouch, ouch). Since locations may not contain the letter "0" as the second letter, some ISO countries such as "RO" (Romania) never passed the BIC validation.
@svoop svoop closed this Dec 17, 2015
@svoop svoop reopened this Dec 17, 2015
@svoop svoop closed this Dec 17, 2015
@svoop svoop reopened this Dec 17, 2015
Ruby 1.9 and Rubinius 2.1 have reached their EOL long ago and some gems fail to build on it.
@svoop
Copy link
Contributor Author

svoop commented Dec 17, 2015

@opahk Could you take a look at this PR? It fixes a really serious bug. (I had to update the Travis config as well since some Rubies which reached their EOT failed to build a test environment due to gems which have dropped support for those Rubies. It's all green now.) Thanks a lot!

@opahk
Copy link
Collaborator

opahk commented Dec 21, 2015

@svoop thanks for the PR and your patience. Looking into it now.

opahk pushed a commit that referenced this pull request Dec 21, 2015
Fix branch/location/country validation (serious bug!)
@opahk opahk merged commit d770ad9 into boostify:master Dec 21, 2015
@opahk
Copy link
Collaborator

opahk commented Dec 21, 2015

@svoop I've pushed a new revision to rubygems. Thanks for finding and fixing the bug. I also appreciate the naming improvement.

@svoop
Copy link
Contributor Author

svoop commented Dec 21, 2015

@opahk Thanks a bunch!

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