diff --git a/CHANGELOG.md b/CHANGELOG.md index 8024a971..2618aaac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [UNRELEASED][unreleased] +## [2.0.39][2.0.39] +### Changed +- Metadata updates + ## [2.0.38][2.0.38] ### Changed - Metadata updates diff --git a/ifsc.gemspec b/ifsc.gemspec index 04255786..ba8d6cc6 100644 --- a/ifsc.gemspec +++ b/ifsc.gemspec @@ -3,7 +3,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) Gem::Specification.new do |s| s.name = 'ifsc' - s.version = '2.0.38' + s.version = '2.0.39' s.date = '2022-10-28' s.summary = 'IFSC code database to help you validate IFSC codes' s.description = 'A simple gem by @razorpay to help you validate your IFSC codes. IFSC codes are bank codes within India' diff --git a/package.json b/package.json index 8ddce26f..8bf09246 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ifsc", - "version": "2.0.38", + "version": "2.0.39", "description": "This is part of the IFSC toolset released by Razorpay. You can find more details about the entire release at [ifsc.razorpay.com](https://ifsc.razorpay.com). Includes only a validation library as of now.", "main": "src/node/index.js", "directories": { diff --git a/scraper/scripts/bootstrap.sh b/scraper/scripts/bootstrap.sh index 0d83cba4..d53049d3 100755 --- a/scraper/scripts/bootstrap.sh +++ b/scraper/scripts/bootstrap.sh @@ -9,7 +9,8 @@ USER_AGENT="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, # wget --no-verbose --timeout=30 "https://www.npci.org.in/what-we-do/nach/live-members/live-banks" --output-document=nach.html --user-agent="$USER_AGENT" # wget --no-verbose --timeout=30 "https://www.npci.org.in/what-we-do/upi/live-members" --output-document=upi.html --user-agent="$USER_AGENT" -if [[ $@ == *'--no-download'* ]]; then +# shellcheck disable=SC2007 +if [[ $[] == *'--no-download'* ]]; then echo "Skipping sheet download" else wget --timestamping --no-verbose --directory-prefix=sheets/ "https://rbidocs.rbi.org.in/rdocs/content/docs/68774.xlsx" --user-agent="$USER_AGENT" @@ -18,7 +19,7 @@ else echo "Sheet Download complete, starting export" fi -if [[ $@ == *'--no-convert'* ]]; then +if [[ $[] == *'--no-convert'* ]]; then echo "Skipping sheet conversion" else # Convert the NEFT and RTGS lists from RBI diff --git a/scraper/scripts/generate.rb b/scraper/scripts/generate.rb index 67d2a707..b4d6c934 100755 --- a/scraper/scripts/generate.rb +++ b/scraper/scripts/generate.rb @@ -1,5 +1,7 @@ +require 'csv' require './methods' + upi_banks = parse_upi validate_sbi_swift