Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
This is a simple frontend to the Java Tika parser command line jar / app.
It is the same as running:
java -server -Djava.awt.headless=true -jar tika-app-0.10.jar FileToParse.pdf
with options like --xml, --text, etc.
To install, add ruby_tika_app to your Gemfile and run bundle install
:
gem 'ruby_tika_app'
RubyTikaApp is a pretty big gem since it includes the ruby-tika-app jarfile. It might take a while to install.
First, you need Java installed. And it needs to be in your $PATH.
Then:
require 'ruby_tika_app'
rta = RubyTikaApp.new("sample_file.pdf")
puts rta.to_xml # <xml output>
# You also get to_json, to_text, to_text_main, and to_metadata
Run:
bundle exec rspec spec/
NOTE: Since we are using an underlying java library to connect to external URLs we can't use a standard mocking library. The test suite starts a rack-based web server.
Fork on GitHub and after you've committed tested patches, send a pull request.
FAQs
Unknown package
We found that sw_ruby_tika_app demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.