ifsc 1.1.8 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -2
- data/ifsc.gemspec +2 -2
- data/src/IFSC.json +1 -1
- data/src/banknames.json +15 -6
- data/src/sublet.json +4 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a59b5d00d5921212a1e88f36c6c8628673957540bbca4ad4e978716cb1f40939
|
4
|
+
data.tar.gz: 82a5749590d9c40f6143874883cea3a75019085a6000ee5f1da4cae5586db667
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fe916387d24cb5c92c3d21e9e2ff7838546f8d9f782ef52a9a8ee46cf5d9cae63daa36727193bf798884e100f43838ae355104afcf840fca22de3d1bc1edfb6
|
7
|
+
data.tar.gz: 1f240f1e4ceccbe18c53cfd39c071623ba05be84aae37b0a17d2bdc486431f3f721b25423f87bfda957c825fdb54cf290eb6906ae9841019e8f329091fa34b5f
|
data/README.md
CHANGED
@@ -4,9 +4,9 @@ This is part of the IFSC toolset released by Razorpay.
|
|
4
4
|
You can find more details about the entire release at
|
5
5
|
[ifsc.razorpay.com](https://ifsc.razorpay.com).
|
6
6
|
|
7
|
-
[![wercker status](https://app.wercker.com/status/bc9b22047e1b8eb55ce98ba451d7b504/s/master 'wercker status')](https://app.wercker.com/project/byKey/bc9b22047e1b8eb55ce98ba451d7b504) [![](https://images.microbadger.com/badges/image/razorpay/ifsc:1.1.
|
7
|
+
[![wercker status](https://app.wercker.com/status/bc9b22047e1b8eb55ce98ba451d7b504/s/master 'wercker status')](https://app.wercker.com/project/byKey/bc9b22047e1b8eb55ce98ba451d7b504) [![](https://images.microbadger.com/badges/image/razorpay/ifsc:1.2.1.svg)](https://microbadger.com/images/razorpay/ifsc:1.2.1) [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)
|
8
8
|
|
9
|
-
[![](https://images.microbadger.com/badges/version/razorpay/ifsc:1.1.
|
9
|
+
[![](https://images.microbadger.com/badges/version/razorpay/ifsc:1.2.1.svg)](https://microbadger.com/images/razorpay/ifsc:1.2.1) [![npm version](https://badge.fury.io/js/ifsc.svg)](https://badge.fury.io/js/ifsc) [![Gem Version](https://badge.fury.io/rb/ifsc.svg)](https://badge.fury.io/rb/ifsc) [![PHP version](https://badge.fury.io/ph/razorpay%2Fifsc.svg)](https://badge.fury.io/ph/razorpay%2Fifsc) [![Hex pm](http://img.shields.io/hexpm/v/ifsc.svg)](https://hex.pm/packages/ifsc)
|
10
10
|
|
11
11
|
## Dataset
|
12
12
|
|
@@ -82,6 +82,12 @@ var ifsc = require('ifsc');
|
|
82
82
|
|
83
83
|
ifsc.validate('KKBK0000261'); // returns true
|
84
84
|
ifsc.validate('BOTM0XEEMRA'); // returns false
|
85
|
+
|
86
|
+
ifsc.fetchDetails('KKBK0000261').then(function(res) {
|
87
|
+
console.log(res);
|
88
|
+
});
|
89
|
+
// Prints the entire JSON from https://ifsc.razorpay.com/KKBK0000261
|
90
|
+
// res is an object, not string
|
85
91
|
```
|
86
92
|
|
87
93
|
### Ruby
|
data/ifsc.gemspec
CHANGED
@@ -3,8 +3,8 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
3
3
|
|
4
4
|
Gem::Specification.new do |s|
|
5
5
|
s.name = 'ifsc'
|
6
|
-
s.version = '1.1
|
7
|
-
s.date = '2018-
|
6
|
+
s.version = '1.2.1'
|
7
|
+
s.date = '2018-09-10'
|
8
8
|
s.summary = 'IFSC code database to help you validate IFSC codes'
|
9
9
|
s.description = 'A simple gem by @razorpay to help you validate your IFSC codes. IFSC codes are bank codes within India'
|
10
10
|
s.authors = ['Abhay Rana', 'Nihal Gonsalves']
|