Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes dep on activesupport #14

Merged
merged 2 commits into from
Jul 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 3.0.6 (2024-07-12)

- Stop depending on Active::Support (#present?)

## 3.0.3 (2023-04-27)

- Add support for extracting text from tables in DOCX files.
Expand Down
52 changes: 27 additions & 25 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
simple_text_extract (3.0.5)
simple_text_extract (3.0.6)
roo (~> 2.10.0)
rubyzip (~> 2.3.2)
spreadsheet (~> 1.3.0)
Expand All @@ -10,54 +10,56 @@ GEM
remote: https://rubygems.org/
specs:
ast (2.4.2)
base64 (0.1.1)
bigdecimal (3.1.8)
coderay (1.1.3)
json (2.6.3)
json (2.7.2)
language_server-protocol (3.17.0.3)
memory_profiler (1.0.1)
method_source (1.0.0)
minitest (5.20.0)
mocha (2.1.0)
memory_profiler (1.0.2)
method_source (1.1.0)
minitest (5.24.1)
mocha (2.4.0)
ruby2_keywords (>= 0.0.5)
nokogiri (1.15.4-arm64-darwin)
nokogiri (1.16.6-arm64-darwin)
racc (~> 1.4)
nokogiri (1.15.4-x86_64-linux)
nokogiri (1.16.6-x86_64-linux)
racc (~> 1.4)
parallel (1.23.0)
parser (3.2.2.4)
parallel (1.25.1)
parser (3.3.4.0)
ast (~> 2.4.1)
racc
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
racc (1.7.1)
racc (1.8.0)
rainbow (3.1.1)
rake (13.0.6)
regexp_parser (2.8.2)
rexml (3.2.6)
roo (2.10.0)
rake (13.2.1)
regexp_parser (2.9.2)
rexml (3.3.1)
strscan
roo (2.10.1)
nokogiri (~> 1)
rubyzip (>= 1.3.0, < 3.0.0)
rubocop (1.57.1)
base64 (~> 0.1.1)
rubocop (1.65.0)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.2.2.4)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
regexp_parser (>= 2.4, < 3.0)
rexml (>= 3.2.5, < 4.0)
rubocop-ast (>= 1.28.1, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.29.0)
parser (>= 3.2.1.0)
ruby-ole (1.2.12.2)
rubocop-ast (1.31.3)
parser (>= 3.3.1.0)
ruby-ole (1.2.13.1)
ruby-progressbar (1.13.0)
ruby2_keywords (0.0.5)
rubyzip (2.3.2)
spreadsheet (1.3.0)
spreadsheet (1.3.1)
bigdecimal
ruby-ole
strscan (3.1.0)
unicode-display_width (2.5.0)

PLATFORMS
Expand Down
2 changes: 1 addition & 1 deletion lib/simple_text_extract/extract.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def xlsx_extract
text << "# Sheet Name: #{name}"

spreadsheet.sheet(name)&.each_row_streaming do |row|
text << row.filter(&:present?).join(" ")
text << row.map(&:to_s).join(" ")
end
end

Expand Down
2 changes: 1 addition & 1 deletion lib/simple_text_extract/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module SimpleTextExtract
VERSION = "3.0.5"
VERSION = "3.0.6"
end
Loading