pdftract/pdftract-ruby/pdftract.gemspec
jedarden 246befd8d1 feat(pdftract-2m3gl): implement PHP SDK with Packagist publishing
- Add jedarden/pdftract Composer package (sdk/php/)
- Implement Client.php with proc_open subprocess execution
- Add PSR-3 LoggerInterface integration (defaults to NullLogger)
- Add 9 contract methods: extract, extractText, extractMarkdown, extractStream, search, getMetadata, hash, classify, verifyReceipt
- Add readonly model classes: Document, Page, Metadata, Fingerprint, Classification, Match, Receipt
- Add exception classes: PdftractException base + 8 subclasses
- Add PHPUnit conformance test suite
- Add phpunit.xml configuration
- Add composer.json with jedarden/pdftract package name
- Add .ci/argo-workflows/pdftract-php-publish.yaml (Packagist auto-discovery from git tags)

Also includes Ruby SDK scaffold from parallel workflow.

Closes pdftract-2m3gl
2026-06-01 10:27:03 -04:00

20 lines
743 B
Ruby

# frozen_string_literal: true
Gem::Specification.new do |spec|
spec.name = "pdftract"
spec.version = "1.0.0"
spec.authors = ["jedarden"]
spec.email = ["jedarden@example.com"]
spec.summary = "PDFtract SDK - PDF extraction and conformance testing for Ruby"
spec.description = "Ruby SDK for pdftract - PDF extraction, OCR, and conformance testing"
spec.homepage = "https://github.com/jedarden/pdftract"
spec.license = "MIT"
spec.required_ruby_version = ">= 3.2.0"
spec.files = Dir["{lib}/**/*", "LICENSE", "README.md", "GENERATED"]
spec.require_paths = ["lib"]
spec.add_development_dependency "minitest", "~> 5.0"
spec.add_development_dependency "rake", "~> 13.0"
end