sepa_clearer 0.4.0 → 0.5.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: c4638bb84c2ef732b10bf86d5d5069ccc1f89ab1
4
- data.tar.gz: b142d34b3e15af96bc01c65cfcf663c64292730b
2
+ SHA256:
3
+ metadata.gz: 7ccab8e5cfb79eeb9c0f9ba16bbc8f6772e720d33184010ddc43d2dc64579f74
4
+ data.tar.gz: 38d6de10268e03908a2a9b5fa89d2e4a711b48c9e4b67d159064b516aa1c2ff8
5
5
  SHA512:
6
- metadata.gz: 954970e7253a6575b1264ee3aa23a26b4bae72ce51e31f1a9dcc472efcc5b5deaaf9bd1eea9cc9771ba768ed40d67877ab15e8deeb85900be2fcc76893b33a6b
7
- data.tar.gz: 45de35bc4d747074e0d522902cadefb90ec273937f39dc7fb2427a68e2618b24f5da69e1fd5650f9533ae3130991b9898784112ea54ae053a6b66f8a28c304df
6
+ metadata.gz: 7008ca7c764d2a04d361efad24a47b618a546e82aabc9438af5ba44bd5a175540da3c900722cee4d1c1cf5ba34d25a3e461d5380818cef6d5dc41cad80dc7952
7
+ data.tar.gz: 3cbae9f765e94dbd4760289b03ee7b276f9fcde908ff023ef54a0f9290176db2294f0f9a523716a612788a9ea9dda643e3ed05d7184363de849b334d074685b8
data/README.md CHANGED
@@ -53,6 +53,13 @@ If the script fails, check if the urls have changed. You should find the data he
53
53
  http://www.bundesbank.de/Navigation/EN/Tasks/Payment_systems/SEPA/SCL_Directory/scl_directory.html
54
54
 
55
55
 
56
+ ```ruby
57
+ clearer = SepaClearer::Clearer.new
58
+ clearer.delete
59
+
60
+ SepaClearer::DeutscheBundesbank.new.data.each { |provider| clearer.add(provider) }; nil
61
+ ```
62
+
56
63
  ## Contributing
57
64
 
58
65
  1. Fork it ( https://github.com/railslove/sepa-clearer/fork )
data/bin/update_data CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env bash
2
2
  echo "Fetching new data from Bundesbank"
3
- curl https://www.bundesbank.de/Redaktion/DE/Downloads/Aufgaben/Unbarer_Zahlungsverkehr/SEPA/verzeichnis_der_erreichbaren_zahlungsdienstleister.csv?__blob=publicationFile > data/bundesbank.new.csv
3
+ curl https://www.bundesbank.de/resource/blob/602880/e700b500312d5c1bae11544e00c29650/mL/verzeichnis-der-erreichbaren-zahlungsdienstleister-data.csv > data/bundesbank.new.csv
4
4
 
5
5
  echo "Remove first crappy line"
6
6
  sed -i "" 1d data/bundesbank.new.csv