td_statement_extractor 0.1.1

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 ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: ae91581fa2bd86441e5fd80c0f78682e56c175f0e559d8fe929877900286b2ab
4
+ data.tar.gz: 663efa58cf0702bcdb29f8e67352057e771b12c5c2cdb64aa27293254a550e00
5
+ SHA512:
6
+ metadata.gz: 5ce5c27bbbeee4d217b1b543352f5cf71fb145e31cb74301a4e226469cccfab88f964819b4219ce90fb2da63b560c7ea0ef998a5984e4679fdba2e61f2c3b121
7
+ data.tar.gz: 693a6261ecfa83aa755f345a4c251c49b904c6ceca9dcccd38ac9f23b5240be4a6e1d0769d4d8b511d53f665ae1f8006c44ddfaf7763ae94532d53803d796ff5
@@ -0,0 +1,46 @@
1
+ name: build
2
+
3
+ on: [push, pull_request]
4
+
5
+ jobs:
6
+ build:
7
+ runs-on: ubuntu-latest
8
+
9
+ steps:
10
+ - uses: actions/checkout@v3
11
+
12
+ - name: Install Ruby (3.1.x)
13
+ uses: ruby/setup-ruby@v1
14
+
15
+ - name: Install Ghostscript
16
+ run: sudo apt-get install ghostscript gsfonts
17
+
18
+ - name: Setup Code Climate test-reporter
19
+ run: |
20
+ curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
21
+ chmod +x ./cc-test-reporter
22
+ ./cc-test-reporter before-build
23
+ - name: Build and test with RSpec
24
+ run: |
25
+ gem install bundler
26
+ bundle install --jobs 4 --retry 3
27
+ bundle exec rspec
28
+ - name: Publish code coverage
29
+ run: |
30
+ export GIT_BRANCH="${GITHUB_REF/refs\/heads\//}"
31
+ ./cc-test-reporter after-build -r ${{secrets.CC_TEST_REPORTER_ID}}
32
+
33
+ lint:
34
+ runs-on: ubuntu-latest
35
+
36
+ steps:
37
+ - uses: actions/checkout@v3
38
+
39
+ - name: Install Ruby (3.1.x)
40
+ uses: ruby/setup-ruby@v1
41
+
42
+ - name: Lint with StandardRB
43
+ run: |
44
+ gem install bundler
45
+ bundle install --jobs 4 --retry 3
46
+ bundle exec standardrb --no-fix
data/.gitignore ADDED
@@ -0,0 +1,12 @@
1
+ /.bundle/
2
+ /.yardoc
3
+ /_yardoc/
4
+ /coverage/
5
+ /doc/
6
+ /pkg/
7
+ /spec/reports/
8
+ /tmp/
9
+
10
+ # rspec failure tracking
11
+ .rspec_status
12
+ .DS_Store
data/.rspec ADDED
@@ -0,0 +1,3 @@
1
+ --format progress
2
+ --color
3
+ --require spec_helper
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 3.1
data/Gemfile ADDED
@@ -0,0 +1,6 @@
1
+ source "https://rubygems.org"
2
+
3
+ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
4
+
5
+ # Specify your gem's dependencies in td_statement_extractor.gemspec
6
+ gemspec
data/Gemfile.lock ADDED
@@ -0,0 +1,85 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ td_statement_extractor (0.1.1)
5
+ pdf-reader (~> 2.4.0)
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ Ascii85 (1.1.0)
11
+ afm (0.2.2)
12
+ ast (2.4.2)
13
+ diff-lcs (1.5.0)
14
+ docile (1.4.0)
15
+ hashery (2.1.2)
16
+ json (2.6.3)
17
+ language_server-protocol (3.17.0.2)
18
+ parallel (1.22.1)
19
+ parser (3.2.0.0)
20
+ ast (~> 2.4.1)
21
+ pdf-reader (2.4.2)
22
+ Ascii85 (~> 1.0)
23
+ afm (~> 0.2.1)
24
+ hashery (~> 2.0)
25
+ ruby-rc4
26
+ ttfunk
27
+ rainbow (3.1.1)
28
+ rake (13.0.6)
29
+ regexp_parser (2.6.2)
30
+ rexml (3.2.5)
31
+ rspec (3.12.0)
32
+ rspec-core (~> 3.12.0)
33
+ rspec-expectations (~> 3.12.0)
34
+ rspec-mocks (~> 3.12.0)
35
+ rspec-core (3.12.0)
36
+ rspec-support (~> 3.12.0)
37
+ rspec-expectations (3.12.2)
38
+ diff-lcs (>= 1.2.0, < 2.0)
39
+ rspec-support (~> 3.12.0)
40
+ rspec-mocks (3.12.3)
41
+ diff-lcs (>= 1.2.0, < 2.0)
42
+ rspec-support (~> 3.12.0)
43
+ rspec-support (3.12.0)
44
+ rubocop (1.42.0)
45
+ json (~> 2.3)
46
+ parallel (~> 1.10)
47
+ parser (>= 3.1.2.1)
48
+ rainbow (>= 2.2.2, < 4.0)
49
+ regexp_parser (>= 1.8, < 3.0)
50
+ rexml (>= 3.2.5, < 4.0)
51
+ rubocop-ast (>= 1.24.1, < 2.0)
52
+ ruby-progressbar (~> 1.7)
53
+ unicode-display_width (>= 1.4.0, < 3.0)
54
+ rubocop-ast (1.24.1)
55
+ parser (>= 3.1.1.0)
56
+ rubocop-performance (1.15.2)
57
+ rubocop (>= 1.7.0, < 2.0)
58
+ rubocop-ast (>= 0.4.0)
59
+ ruby-progressbar (1.11.0)
60
+ ruby-rc4 (0.1.5)
61
+ simplecov (0.17.1)
62
+ docile (~> 1.1)
63
+ json (>= 1.8, < 3)
64
+ simplecov-html (~> 0.10.0)
65
+ simplecov-html (0.10.2)
66
+ standard (1.22.1)
67
+ language_server-protocol (~> 3.17.0.2)
68
+ rubocop (= 1.42.0)
69
+ rubocop-performance (= 1.15.2)
70
+ ttfunk (1.7.0)
71
+ unicode-display_width (2.4.2)
72
+
73
+ PLATFORMS
74
+ arm64-darwin-21
75
+
76
+ DEPENDENCIES
77
+ bundler
78
+ rake (>= 12.3.3)
79
+ rspec (~> 3.0)
80
+ simplecov (~> 0.17.1)
81
+ standard
82
+ td_statement_extractor!
83
+
84
+ BUNDLED WITH
85
+ 2.4.5
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2020 Aaron Gough
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,32 @@
1
+ [![Ruby Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://github.com/testdouble/standard)
2
+ [![build](https://github.com/aarongough/td_statement_extractor/actions/workflows/ruby.yml/badge.svg)](https://github.com/aarongough/td_statement_extractor/actions/workflows/ruby.yml)
3
+ [![Maintainability](https://api.codeclimate.com/v1/badges/8a22ae11816d0eebfd85/maintainability)](https://codeclimate.com/github/aarongough/td_statement_extractor/maintainability)
4
+ [![Test Coverage](https://api.codeclimate.com/v1/badges/8a22ae11816d0eebfd85/test_coverage)](https://codeclimate.com/github/aarongough/td_statement_extractor/test_coverage)
5
+
6
+ # TD Statement Extractor
7
+
8
+ Extract machine readable transaction data from TD credit card statements. Useful for importing data quickly into a bookkeeping or accounting system!
9
+
10
+ ## Installation
11
+
12
+ Install from the command line:
13
+
14
+ $ gem install td_statement_extractor
15
+
16
+ ## Usage
17
+
18
+ td_statement_extractor INPUT_FILE OUTPUT_FILE
19
+
20
+ ## Development
21
+
22
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
23
+
24
+ To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
25
+
26
+ ## Contributing
27
+
28
+ Bug reports and pull requests are welcome on GitHub at https://github.com/aarongough/td_statement_extractor.
29
+
30
+ ## License
31
+
32
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,6 @@
1
+ require "bundler/gem_tasks"
2
+ require "rspec/core/rake_task"
3
+
4
+ RSpec::Core::RakeTask.new(:spec)
5
+
6
+ task default: :spec
data/bin/console ADDED
@@ -0,0 +1,14 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ require "bundler/setup"
4
+ require "td_statement_extractor"
5
+
6
+ # You can add fixtures and/or initialization code here to make experimenting
7
+ # with your gem easier. You can also use a different console, if you like.
8
+
9
+ # (If you use this, don't forget to add pry to your Gemfile!)
10
+ # require "pry"
11
+ # Pry.start
12
+
13
+ require "irb"
14
+ IRB.start(__FILE__)
data/bin/setup ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+ set -euo pipefail
3
+ IFS=$'\n\t'
4
+ set -vx
5
+
6
+ bundle install
7
+
8
+ # Do any other automated setup that you need to do here
@@ -0,0 +1,23 @@
1
+ #!/usr/bin/env ruby
2
+ require "rubygems"
3
+ require "bundler/setup"
4
+ require "td_statement_extractor"
5
+
6
+ raise "Input file path cannot be blank" if ARGV[0].nil?
7
+ raise "Output file path cannot be blank" if ARGV[1].nil?
8
+
9
+ input_file_path = File.expand_path(ARGV[0])
10
+ output_file_path = File.expand_path(ARGV[1])
11
+
12
+ raise "Input file does not exist" unless File.exist?(input_file_path)
13
+
14
+ statement = TdStatementExtractor::Statement.new(input_file_path)
15
+ statement.output_csv(output_file_path)
16
+
17
+ puts
18
+ puts "Processed file: #{input_file_path}"
19
+ puts "CSV written to: #{output_file_path}"
20
+ puts "Details:"
21
+ puts " Transactions: #{statement.transactions.count}"
22
+ puts " Total activity: #{("$" + statement.total_activity.to_s).gsub("$-", "-$")}"
23
+ puts
@@ -0,0 +1,123 @@
1
+ require "pdf-reader"
2
+ require "date"
3
+ require "csv"
4
+
5
+ module TdStatementExtractor
6
+ class Statement
7
+ STATEMENT_DATE = /(?<statement_date>(?<month>[A-Z][a-z]+)\s(?<day>[0-9]+),\s(?<year>[0-9]{4}))/
8
+ MONTH = /(?<month>JAN|FEB|MAR|APR|MAY|JUN|JUL|AUG|SEP|OCT|NOV|DEC)/
9
+ DAY = /(?<day>[0-9]+)/
10
+ DATE = /(?<date>#{MONTH}\s#{DAY})/
11
+ AMOUNT = /(?<amount>-?\$[,\d]+\.\d+)/
12
+ DESCRIPTION = /#{DATE}\s+#{DATE}?\s+(?<description>.+)\s+#{AMOUNT}/
13
+
14
+ attr_accessor :input_file_path, :temp_file_path, :debug_mode, :transactions, :statement_date, :pdf, :text
15
+
16
+ def initialize(input_file_path, debug_mode = false)
17
+ @input_file_path = input_file_path
18
+ @debug_mode = debug_mode
19
+
20
+ self.class.check_for_ghostscript
21
+
22
+ pre_process_pdf
23
+ import_pdf
24
+ extract_statement_date
25
+
26
+ @transactions = text.each_line.map do |line|
27
+ puts "#{transaction_line?(line) ? "T" : "F"} - #{line.lstrip.strip}" if @debug_mode && line.match?(/\w+/)
28
+ next unless transaction_line?(line)
29
+ data = transaction_from_line(line)
30
+ data[:date] = transform_date(data[:date], statement_date)
31
+
32
+ data
33
+ end.compact
34
+ ensure
35
+ File.delete(temp_file_path) unless temp_file_path.nil?
36
+ end
37
+
38
+ def pre_process_pdf
39
+ @temp_file_path = File.join(File.dirname(@input_file_path), "td_statement_temp_#{Time.now.to_i}.pdf")
40
+
41
+ # Use Ghostscript to decrypt and decompress the PDF. Also remove
42
+ # all images and crop the margins to remove watermarking that interferes
43
+ # with the scraping process
44
+ `gs -o #{@temp_file_path} -sDEVICE=pdfwrite -dFILTERVECTOR -dFILTERIMAGE -g5400x7200 -c "<</PageOffset [-36 -36]>> setpagedevice" -f #{@input_file_path} 2>&1`
45
+ end
46
+
47
+ def import_pdf
48
+ @pdf = PDF::Reader.new(temp_file_path)
49
+ @text = pdf.pages.map { |page| page.text }.join
50
+ end
51
+
52
+ def extract_statement_date
53
+ @statement_date = text.match(STATEMENT_DATE)&.[](:statement_date)
54
+ raise InvalidStatementDateError, "Unable to extract statement date" if statement_date.nil? || statement_date.empty?
55
+ end
56
+
57
+ def transaction_line?(line)
58
+ line.match?(DATE) && line.match?(AMOUNT)
59
+ end
60
+
61
+ def transaction_from_line(line)
62
+ date = line.match(DATE)&.[](:date)
63
+ amount = -(line.match(AMOUNT)&.[](:amount)&.gsub("$", "")&.gsub(",", "")&.to_f || 0)
64
+ description = line.match(DESCRIPTION)&.[](:description)&.strip
65
+
66
+ raise MissingDateError, "Error extracting DATE from line: #{line}" if date.nil? || date.empty?
67
+ raise MissingAmountError, "Error extracting AMOUNT from line: #{line}" if amount.nil? || amount.zero?
68
+ raise MissingDescriptionError, "Error extracting DESCRIPTION from line: #{line}" if description.nil? || description.empty?
69
+
70
+ {date: date, description: description, amount: amount}
71
+ end
72
+
73
+ def transform_date(date, statement_date)
74
+ month = date.match(MONTH)&.[](:month)
75
+ day = date.match(DAY)&.[](:day)&.to_i
76
+ statement_month = statement_date.match(STATEMENT_DATE)&.[](:month)
77
+ statement_year = statement_date.match(STATEMENT_DATE)&.[](:year)&.to_i
78
+
79
+ raise InvalidMonthError, "Error extracting MONTH from date: #{date}" if month.nil? || month.empty?
80
+ raise InvalidDayError, "Error extracting DAY from date: #{date}" if day.zero? || day > 31
81
+ raise InvalidStatementDateError, "Error extracting MONTH from statement date: #{statement_date}" if statement_month.nil? || statement_month.empty?
82
+ raise InvalidStatementDateError, "Error extracting YEAR from statement date: #{statement_date}" if statement_year.nil? || statement_year.zero? || statement_year < 1980 || statement_year > 3000
83
+
84
+ year = if statement_month == "January" && month == "DEC"
85
+ statement_year - 1
86
+ else
87
+ statement_year
88
+ end
89
+
90
+ Date.parse("#{month} #{day} #{year}")
91
+ end
92
+
93
+ def total_activity
94
+ -transactions.reduce(0) { |total, x| total + x[:amount] }.round(2)
95
+ end
96
+
97
+ def output_csv(output_path)
98
+ CSV.open(output_path, "a") do |csv|
99
+ transactions.each do |transaction|
100
+ csv << [transaction[:date].strftime("%d/%m/%Y"), transaction[:description], transaction[:amount]]
101
+ end
102
+ end
103
+ end
104
+
105
+ def self.check_for_ghostscript
106
+ raise GhostscriptNotInstalledError, "Please install Ghostscript. See docs for more info." if `which gs`.empty?
107
+ end
108
+
109
+ class MissingDateError < StandardError; end
110
+
111
+ class MissingAmountError < StandardError; end
112
+
113
+ class MissingDescriptionError < StandardError; end
114
+
115
+ class InvalidMonthError < StandardError; end
116
+
117
+ class InvalidDayError < StandardError; end
118
+
119
+ class InvalidStatementDateError < StandardError; end
120
+
121
+ class GhostscriptNotInstalledError < StandardError; end
122
+ end
123
+ end
@@ -0,0 +1,3 @@
1
+ module TdStatementExtractor
2
+ VERSION = "0.1.1"
3
+ end
@@ -0,0 +1,5 @@
1
+ require "td_statement_extractor/version"
2
+ require "td_statement_extractor/statement"
3
+
4
+ module TdStatementExtractor
5
+ end
@@ -0,0 +1,35 @@
1
+ lib = File.expand_path("../lib", __FILE__)
2
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
3
+ require "td_statement_extractor/version"
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = "td_statement_extractor"
7
+ spec.version = TdStatementExtractor::VERSION
8
+ spec.authors = ["Aaron Gough"]
9
+ spec.email = ["aaron.gough@gmail.com"]
10
+
11
+ spec.summary = "Extract machine readable transaction data from TD credit card statements."
12
+ spec.description = "Extract machine readable transaction data from TD credit card statements."
13
+ spec.homepage = "https://github.com/aarongough/td_statement_extractor"
14
+ spec.license = "MIT"
15
+
16
+ spec.required_ruby_version = ">= #{File.read(".ruby-version").strip}"
17
+
18
+ # Specify which files should be added to the gem when it is released.
19
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
20
+ spec.files = Dir.chdir(File.expand_path("..", __FILE__)) do
21
+ `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
22
+ end
23
+
24
+ spec.bindir = "bin"
25
+ spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
26
+ spec.require_paths = ["lib"]
27
+
28
+ spec.add_dependency "pdf-reader", "~> 2.4.0"
29
+
30
+ spec.add_development_dependency "standard"
31
+ spec.add_development_dependency "bundler"
32
+ spec.add_development_dependency "rake", ">= 12.3.3"
33
+ spec.add_development_dependency "rspec", "~> 3.0"
34
+ spec.add_development_dependency "simplecov", "~> 0.17.1"
35
+ end
metadata ADDED
@@ -0,0 +1,143 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: td_statement_extractor
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Aaron Gough
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2023-01-29 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: pdf-reader
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 2.4.0
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 2.4.0
27
+ - !ruby/object:Gem::Dependency
28
+ name: standard
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: bundler
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rake
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: 12.3.3
62
+ type: :development
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: 12.3.3
69
+ - !ruby/object:Gem::Dependency
70
+ name: rspec
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: simplecov
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: 0.17.1
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: 0.17.1
97
+ description: Extract machine readable transaction data from TD credit card statements.
98
+ email:
99
+ - aaron.gough@gmail.com
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - ".github/workflows/ruby.yml"
105
+ - ".gitignore"
106
+ - ".rspec"
107
+ - ".ruby-version"
108
+ - Gemfile
109
+ - Gemfile.lock
110
+ - LICENSE.txt
111
+ - README.md
112
+ - Rakefile
113
+ - bin/console
114
+ - bin/setup
115
+ - bin/td_statement_extractor
116
+ - lib/td_statement_extractor.rb
117
+ - lib/td_statement_extractor/statement.rb
118
+ - lib/td_statement_extractor/version.rb
119
+ - td_statement_extractor.gemspec
120
+ homepage: https://github.com/aarongough/td_statement_extractor
121
+ licenses:
122
+ - MIT
123
+ metadata: {}
124
+ post_install_message:
125
+ rdoc_options: []
126
+ require_paths:
127
+ - lib
128
+ required_ruby_version: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - ">="
131
+ - !ruby/object:Gem::Version
132
+ version: '3.1'
133
+ required_rubygems_version: !ruby/object:Gem::Requirement
134
+ requirements:
135
+ - - ">="
136
+ - !ruby/object:Gem::Version
137
+ version: '0'
138
+ requirements: []
139
+ rubygems_version: 3.3.7
140
+ signing_key:
141
+ specification_version: 4
142
+ summary: Extract machine readable transaction data from TD credit card statements.
143
+ test_files: []