extras_de_cont 1.0.1 → 1.0.2

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/extras_de_cont.gemspec +2 -39
  3. metadata +3 -41
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 69bb4ccabcbeca26046ace09db26a3b6e207e5ccb269f0572373472ae6ce8cd4
4
- data.tar.gz: c249a2485737903eb4cc42c26ddcd41f17d4aa653d23546e0ede16e93c6ed8ee
3
+ metadata.gz: 3adf9f273d4799d379dd3b863486098e0f74713c679abeea1c4d3bc9c19c84f3
4
+ data.tar.gz: a4f71318dfc8c9ee3a604b776bc0975b3af69d8487cdddef78c25a754193fcda
5
5
  SHA512:
6
- metadata.gz: b347db52d2b09495de4f60edd64897440b548f8a010b3c6d732e17cfa2de684e2dbdd33c882766dbc1d6ce60419dbd7b99bc7e0213e8e913b7dec922c3b2cbfd
7
- data.tar.gz: 7945a8150853d19eab987edbbe1e5d99b6682ec35068faabb6083bc43fcfd62643c0b21a5bb970641cdc21011be3a2aace847acf4e022765aca899dd63ff4908
6
+ metadata.gz: e6b6afc9476cdf5dfb67f1dbb6e7cf8404da6757329cc3435a9bb42d0f064a4fa0a7df98a30003ed4fd821724551933076a88a75dd156e4c2818989a73aa0487
7
+ data.tar.gz: adb65db1676e5181ae680a45ab1c0c0b56ed6a3d8622b591fe5fa5cba4d670ed00e990318d72919664194e6c5d83630882561294cf1bfa65b42b2c77a92875a7
@@ -2,51 +2,14 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "extras_de_cont"
5
- s.version = "1.0.1"
5
+ s.version = "1.0.2"
6
6
  s.licenses = ["GPLv3"]
7
7
  s.summary = "A simple library which helps you extract transactions from a PDF bank statement."
8
8
  s.description = <<~TEXT
9
9
  A simple library which helps you extract transactions from a PDF bank statement.
10
10
  Fine tuned for Romanian bank statements.
11
11
 
12
- # ExtrasDeCont
13
-
14
- A ruby gem for extracting bank statements from PDFs.
15
-
16
- ## Simple usage
17
-
18
- Create a PDF parser and print the extracted text:
19
-
20
- ```ruby
21
- require "bundler/setup"
22
- require "extras_de_cont"
23
-
24
- parser = ExtrasDeCont::Parser.new("/home/dnutiu/Documents/tranzactii_revolut.pdf")
25
- puts parser.text
26
- ```
27
-
28
- Or, extract all the transactions from a Revolut Bank statement PDF:
29
-
30
- ```ruby
31
- transactions = ExtrasDeCont.parse(file, bank: :revolut)
32
-
33
- transactions.each do |t|
34
- puts "\#{t.date}, \#{t.description}, \#{t.amount}, \#{t.currency}"
35
- end
36
- ```
37
-
38
- Or use the included entrypoint:
39
-
40
- ```bash
41
- bundle exec ruby -Ilib bin/main /home/dnutiu/Documents/tranzactii_revolut.pdf
42
- ```
43
-
44
- Run the Revolut parser test with:
45
-
46
- ```bash
47
- ruby -Ilib:test test/revolut_rule_test.rb
48
- ```
49
-
12
+ Repository: https://github.com/dnutiu/extras-de-cont
50
13
  TEXT
51
14
  s.authors = ["Denis Nutiu"]
52
15
  s.email = "dnutiu@nuculabs.dev"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: extras_de_cont
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Nutiu
@@ -23,48 +23,11 @@ dependencies:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
25
  version: '2.15'
26
- description: |+
26
+ description: |
27
27
  A simple library which helps you extract transactions from a PDF bank statement.
28
28
  Fine tuned for Romanian bank statements.
29
29
 
30
- # ExtrasDeCont
31
-
32
- A ruby gem for extracting bank statements from PDFs.
33
-
34
- ## Simple usage
35
-
36
- Create a PDF parser and print the extracted text:
37
-
38
- ```ruby
39
- require "bundler/setup"
40
- require "extras_de_cont"
41
-
42
- parser = ExtrasDeCont::Parser.new("/home/dnutiu/Documents/tranzactii_revolut.pdf")
43
- puts parser.text
44
- ```
45
-
46
- Or, extract all the transactions from a Revolut Bank statement PDF:
47
-
48
- ```ruby
49
- transactions = ExtrasDeCont.parse(file, bank: :revolut)
50
-
51
- transactions.each do |t|
52
- puts "#{t.date}, #{t.description}, #{t.amount}, #{t.currency}"
53
- end
54
- ```
55
-
56
- Or use the included entrypoint:
57
-
58
- ```bash
59
- bundle exec ruby -Ilib bin/main /home/dnutiu/Documents/tranzactii_revolut.pdf
60
- ```
61
-
62
- Run the Revolut parser test with:
63
-
64
- ```bash
65
- ruby -Ilib:test test/revolut_rule_test.rb
66
- ```
67
-
30
+ Repository: https://github.com/dnutiu/extras-de-cont
68
31
  email: dnutiu@nuculabs.dev
69
32
  executables: []
70
33
  extensions: []
@@ -103,4 +66,3 @@ rubygems_version: 4.0.10
103
66
  specification_version: 4
104
67
  summary: A simple library which helps you extract transactions from a PDF bank statement.
105
68
  test_files: []
106
- ...