bankscrap 2.0.4 → 2.0.5

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
2
  SHA1:
3
- metadata.gz: c32e364101b8a544031edaabe5ad74cc4eb7e409
4
- data.tar.gz: 33ef46ba3371c8ffe37fe655c6e6870239dbcc7c
3
+ metadata.gz: 99d6ad8497281047d3900aba58f6264727231e3d
4
+ data.tar.gz: 0387949b4ac135e26d194816e8dfe3807b7a3e52
5
5
  SHA512:
6
- metadata.gz: f61cceb18c2890144e1e633de95e4575068b0ce507560dbf2aae15e214fa3e58ea0ccae6d4997df7bac0f2ba657d1c627ce6a15387194687d711316691c86af2
7
- data.tar.gz: ff3aae758d8e50385f9e8b07265be36b579ed473a153e4d0314316686983c0ee61cffc2313ea7c1e1b978cb27c99486a23a60e15f8c1efcba42ee4edfc7aded7
6
+ metadata.gz: d5a694b436ff3b72990a872211930f4883879ed75306745af7cdb600148a9eed2bd36fb0bbf4cc065bd5ae5f4e3f60031f0d71c8808b47778fe3b8c19bbd839b
7
+ data.tar.gz: b1a9e088ae08d230bef00e3a647f89ceb3494d2e778e5dc8c7773dcea169ace61b916760dc8ef308d54f6a8c11b9a924beee56e4a07bf1e689771de321268c21
data/README.md CHANGED
@@ -14,9 +14,9 @@ Feel free to contribute and add your bank if it isn't supported.
14
14
  * **BBVA Net Cash** (business accounts): [bankscrap-bbva-net-cash](https://github.com/bankscrap/bankscrap-bbva-net-cash)
15
15
  * **ING Direct**: [bankscrap-ing](https://github.com/bankscrap/bankscrap-ing)
16
16
  * **Arquia Banca**: [bankscrap-arquia](https://github.com/bankscrap/bankscrap-arquia)
17
- * **Banc Sabadell** (WIP): [bankscrap-banc-sabadell](https://github.com/bankscrap/bankscrap-banc-sabadell)
17
+ * **Openbank**: [bankscrap-openbank](https://github.com/bankscrap/bankscrap-openbank)
18
+ * **Sabadell**: [bankscrap-sabadell](https://github.com/bankscrap/bankscrap-sabadell)
18
19
  * **Santander** (WIP): [bankscrap-santander](https://github.com/bankscrap/bankscrap-santander)
19
- * **Openbank** (WIP): [bankscrap-openbank](https://github.com/bankscrap/bankscrap-openbank)
20
20
 
21
21
  Interested in any other bank? Open a new Issue and we'll try to help.
22
22
 
@@ -43,7 +43,7 @@ module Bankscrap
43
43
  # Example if the API expects a JSON POST request
44
44
  # response = post(BASE_ENDPOINT + TRANSACTIONS_ENDPOINT, fields: {}.to_json)
45
45
  # json = JSON.parse(response)
46
- # json['transactions'].map { |data| build_transaction(data) }
46
+ # json['transactions'].map { |data| build_transaction(data, account) }
47
47
  end
48
48
 
49
49
  private
@@ -63,7 +63,6 @@ module Bankscrap
63
63
  name: REPLACE_ME,
64
64
  available_balance: REPLACE_ME,
65
65
  balance: REPLACE_ME,
66
- currency: REPLACE_ME,
67
66
  iban: REPLACE_ME,
68
67
  description: REPLACE_ME
69
68
  )
@@ -78,7 +77,6 @@ module Bankscrap
78
77
  description: REPLACE_ME,
79
78
  effective_date: REPLACE_ME,
80
79
  operation_date: REPLACE_ME,
81
- currency: REPLACE_ME,
82
80
  balance: REPLACE_ME # Should be a Money object
83
81
  )
84
82
  end
@@ -4,7 +4,8 @@ module Bankscrap
4
4
 
5
5
  attr_accessor :bank, :id, :name, :balance,
6
6
  :available_balance, :description,
7
- :transactions, :iban, :bic
7
+ :transactions, :iban, :bic,
8
+ :raw_data
8
9
 
9
10
  def initialize(params = {})
10
11
  raise NotMoneyObjectError.new(:balance) unless params[:balance].is_a?(Money)
@@ -1,3 +1,3 @@
1
1
  module Bankscrap
2
- VERSION = '2.0.4'.freeze
2
+ VERSION = '2.0.5'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bankscrap
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.4
4
+ version: 2.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Javier Cuevas
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2017-04-16 00:00:00.000000000 Z
12
+ date: 2017-04-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -161,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
161
161
  version: '0'
162
162
  requirements: []
163
163
  rubyforge_project:
164
- rubygems_version: 2.6.8
164
+ rubygems_version: 2.4.8
165
165
  signing_key:
166
166
  specification_version: 4
167
167
  summary: Get your bank account details.