alphasights-iban-tools 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/lib/iban-tools/iban.rb +1 -1
  2. metadata +3 -2
@@ -58,7 +58,7 @@ module IBANTools
58
58
  when '0'.ord..'9'.ord
59
59
  byte.chr
60
60
  when 'A'.ord..'Z'.ord
61
- (byte.ord - 'A'.ord + 10).to_s
61
+ (byte - 'A'.ord + 10).to_s
62
62
  else
63
63
  raise RuntimeError.new("Unexpected byte '#{byte}' in IBAN code '#{prettify}'")
64
64
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alphasights-iban-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Iulian Dogariu
@@ -30,6 +30,7 @@ files:
30
30
  - lib/iban-tools/rules.yml
31
31
  has_rdoc: false
32
32
  homepage:
33
+ licenses:
33
34
  post_install_message:
34
35
  rdoc_options: []
35
36
 
@@ -50,7 +51,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
50
51
  requirements:
51
52
  - none
52
53
  rubyforge_project:
53
- rubygems_version: 1.2.0
54
+ rubygems_version: 1.3.5
54
55
  signing_key:
55
56
  specification_version: 2
56
57
  summary: IBAN validator