iban-tools 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/iban-tools/rules.yml +10 -0
  4. metadata +3 -4
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 97281d569702141068c2a7a708e8c2575ac867e7
4
- data.tar.gz: 32d623b80cb8878fc2295e27ca7bd987bcef5f1c
3
+ metadata.gz: 377405b03e8461746b0da1f91f9f7e746dd05a5e
4
+ data.tar.gz: 9d82fb541e01e7ee5512bdb1c47044e0df03301b
5
5
  SHA512:
6
- metadata.gz: f4528a15faae008626cffd1b92d4979a1d18f0414eea511e55163a07e5b0620796eb3b69f94d100fb43168a59ba28dc7f517501746f02c6bd52c650594b0010b
7
- data.tar.gz: f74d8c5ced292331dd28d3908035265d482161e3929c7d50f04344f4542dd94d037e989ccb219dd606898be7bd111387513563eab36e27eacce605c8762b816c
6
+ metadata.gz: 643b8dca549415f422f371c9a5a175f6479982b40d2160f10108f7b41c33b978de7009a4c0b1a20c834e011dce14ad43445810c20b049f6d2ef16b0d9d20318e
7
+ data.tar.gz: 72647ff594a640ef5070ef748e4af8bbf9f3c9c3308917c9352fda4d8ef89182e822a8ea2c4553609b30a6ddcb1b6040e3aa4fc34a206ddbcef617da28d7219a
data/README.md CHANGED
@@ -8,7 +8,7 @@ iban-tools is a Ruby library for manipulating and validating IBAN account number
8
8
 
9
9
  gem install iban-tools
10
10
 
11
- The gem should be compatible with MRI 1.8 and 1.9.
11
+ The gem should be compatible with most Ruby versions.
12
12
 
13
13
  ## USAGE
14
14
 
@@ -45,6 +45,11 @@
45
45
  length: 22
46
46
  bban_pattern: '[A-Z]{4}[A-Z0-9]{14}'
47
47
 
48
+ 'BR':
49
+ # Brazil
50
+ length: 29
51
+ bban_pattern: '\d{23}[A-Z0-9]{2}'
52
+
48
53
  'CH':
49
54
  # Switzerland
50
55
  length: 21
@@ -305,3 +310,8 @@
305
310
  length: 26
306
311
  bban_pattern: '\d{5}[A-Z0-9]{17}'
307
312
 
313
+ 'UA':
314
+ # Ukraine
315
+ length: 29
316
+ bban_pattern: '\d{25}'
317
+
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: iban-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Iulian Dogariu
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-09-23 00:00:00.000000000 Z
12
+ date: 2016-01-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
@@ -75,9 +75,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  requirements:
76
76
  - none
77
77
  rubyforge_project:
78
- rubygems_version: 2.2.2
78
+ rubygems_version: 2.4.5.1
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: IBAN validator
82
82
  test_files: []
83
- has_rdoc: