bank_statement_parser 0.1.10 → 0.1.11
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.
- checksums.yaml +4 -4
- data/lib/bank_statement_parser/base.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ebc742c8d24a74d3b38904096e66548289bde353
|
4
|
+
data.tar.gz: 2f16e836465583bcb9b4e3b3a248ec7f6e591f7e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3540762354c19f63abba8c77ce309186c7c7f7f03549fac25517ea3a0057f52e08534820edf3cf4007e7d999bd7d4af2a4ce172c0ecd86c0458c89120c8bc07a
|
7
|
+
data.tar.gz: df3519d1e91dacfddfd85677d58634daf5289791e32013aef7a7732e6fb9d514d5bd5b29f80d0df1c3a314ba98d9408d2fb6f05a3a2028ba66d785ba27a06e8e
|
@@ -16,6 +16,7 @@
|
|
16
16
|
# along with bank_statement_parser. If not, see <http://www.gnu.org/licenses/>.
|
17
17
|
|
18
18
|
require 'open-uri'
|
19
|
+
require 'stringio'
|
19
20
|
require 'bank_statement_parser/bank_statement'
|
20
21
|
|
21
22
|
module BankStatementParser
|
@@ -56,7 +57,7 @@ module BankStatementParser
|
|
56
57
|
# Grab the full text file content (utf-8)
|
57
58
|
File.read(path)
|
58
59
|
end
|
59
|
-
when File, IO, Tempfile
|
60
|
+
when File, IO, StringIO, Tempfile
|
60
61
|
path.rewind
|
61
62
|
path.read
|
62
63
|
when Pathname, URI
|