ifsc 1.4.3 → 1.4.4

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.
@@ -73,6 +73,13 @@ describe Razorpay::IFSC::IFSC do
73
73
  it 'should return the correct sublet bank name' do
74
74
  expect(described_class.bank_name_for('ALLA0AU1002')).to eq 'Allahabad Up Gramin Bank'
75
75
  end
76
+
77
+ it 'should return the correct sublet bank name for custom sublets' do
78
+ expect(described_class.bank_name_for('VIJB0SSB001')).to eq 'Shimsha Sahakara Bank Niyamitha'
79
+ expect(described_class.bank_name_for('KSCB0006001')).to eq 'Tumkur District Central Bank'
80
+ expect(described_class.bank_name_for('WBSC0KPCB01')).to eq 'Kolkata Police Co-operative Bank'
81
+ expect(described_class.bank_name_for('YESB0ADB002')).to eq 'Amravati District Central Co-operative Bank'
82
+ end
76
83
  end
77
84
 
78
85
  describe '#valid?' do
@@ -618,11 +618,5 @@
618
618
  "SBIN0071111": true,
619
619
  "SBIN0071112": true,
620
620
  "SBIN0071237": true
621
- },
622
- "testLookupsWithExtraSpaces": {
623
- "ALLA0010163": false,
624
- "ALLA0010471": false,
625
- "ALLA0010522": false,
626
- "ALLA0000893": false
627
621
  }
628
622
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ifsc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.3
4
+ version: 1.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Abhay Rana
@@ -69,6 +69,7 @@ files:
69
69
  - src/IFSC.json
70
70
  - src/banknames.json
71
71
  - src/banks.json
72
+ - src/custom-sublets.json
72
73
  - src/ruby/bank.rb
73
74
  - src/ruby/ifsc.rb
74
75
  - src/sublet.json
@@ -94,7 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
95
  - !ruby/object:Gem::Version
95
96
  version: '0'
96
97
  requirements: []
97
- rubygems_version: 3.0.3
98
+ rubygems_version: 3.0.4
98
99
  signing_key:
99
100
  specification_version: 4
100
101
  summary: IFSC code database to help you validate IFSC codes