Added pdf analyzer

Analyzer should be moved to ActiveStorage::Analyzer
First there are many bugs with ActiveStorage that needs to be fixed:
Files are not deleted if job is destroyed (dependent: :purge is set)
If a new file is uploaded the old file is not deleted
(has_one_attechment)
This commit is contained in:
2024-08-08 13:56:36 +02:00
parent 19cf60c9a9
commit 616bd0cbe7
7 changed files with 139 additions and 14 deletions

View File

@@ -1,6 +1,7 @@
GEM
remote: https://rubygems.org/
specs:
Ascii85 (1.1.1)
actioncable (7.1.3.4)
actionpack (= 7.1.3.4)
activesupport (= 7.1.3.4)
@@ -77,6 +78,7 @@ GEM
tzinfo (~> 2.0)
addressable (2.8.7)
public_suffix (>= 2.0.2, < 7.0)
afm (0.2.2)
base64 (0.2.0)
bigdecimal (3.1.8)
bindex (0.8.1)
@@ -105,6 +107,7 @@ GEM
i18n (>= 1.8.11, < 2)
globalid (1.2.1)
activesupport (>= 6.1)
hashery (2.1.2)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
importmap-rails (2.0.1)
@@ -158,6 +161,12 @@ GEM
racc (~> 1.4)
nokogiri (1.16.7-x86_64-linux)
racc (~> 1.4)
pdf-reader (2.12.0)
Ascii85 (~> 1.0)
afm (~> 0.2.1)
hashery (~> 2.0)
ruby-rc4
ttfunk
psych (5.1.2)
stringio
public_suffix (6.0.1)
@@ -213,6 +222,7 @@ GEM
io-console (~> 0.5)
rexml (3.3.4)
strscan
ruby-rc4 (0.1.5)
rubyzip (2.3.2)
selenium-webdriver (4.23.0)
base64 (~> 0.2)
@@ -251,6 +261,8 @@ GEM
railties (>= 7.0.0)
thor (1.3.1)
timeout (0.4.1)
ttfunk (1.8.0)
bigdecimal (~> 3.1)
turbo-rails (2.0.6)
actionpack (>= 6.0.0)
activejob (>= 6.0.0)
@@ -287,6 +299,7 @@ DEPENDENCIES
importmap-rails
inline_svg (~> 1.9)
jbuilder
pdf-reader (~> 2.12)
puma (>= 5.0)
rails (~> 7.1.3, >= 7.1.3.4)
redis (>= 4.0.1)