ifsc 1.2.3 → 1.3.0

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.
data/src/sublet.json CHANGED
@@ -550,6 +550,7 @@
550
550
  "IBKL0596BDC": "BDIX",
551
551
  "IBKL0608TUC": "TTGX",
552
552
  "IBKL0617STB": "STCX",
553
+ "IBKL0693TCB": "TCHX",
553
554
  "IBKL0697ANS": "ANBX",
554
555
  "IBKL070CZSB": "CHAX",
555
556
  "IBKL070TGZS": "TEHX",
@@ -1,4 +1,5 @@
1
1
  require 'ifsc'
2
+ require 'bank'
2
3
 
3
4
  describe Razorpay::IFSC::IFSC do
4
5
  let(:mocked_response) do
@@ -108,3 +109,9 @@ describe Razorpay::IFSC::IFSC do
108
109
  end
109
110
  end
110
111
  end
112
+
113
+ describe Razorpay::IFSC::Bank do
114
+ it 'should define the relevant constants' do
115
+ expect(described_class::PUNB).to eq :PUNB
116
+ end
117
+ end
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.2.3
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Abhay Rana
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-10-18 00:00:00.000000000 Z
12
+ date: 2018-11-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: httparty
@@ -67,6 +67,8 @@ files:
67
67
  - ifsc.gemspec
68
68
  - src/IFSC.json
69
69
  - src/banknames.json
70
+ - src/banks.json
71
+ - src/ruby/bank.rb
70
72
  - src/ruby/ifsc.rb
71
73
  - src/sublet.json
72
74
  - tests/ruby/ifsc_spec.rb