Complete the Tera template scaffolding for all 8 subprocess-based SDKs
under templates/sdk-skeleton/<lang>/: node, go, java, dotnet, ruby,
php, swift, python-subprocess.
Each template directory contains:
- Package metadata template (package.json, go.mod, pom.xml, etc.)
- Method stubs template (methods.ts, client.go, Methods.java, etc.)
- Error stubs template (errors.ts, errors.go, Errors.java, etc.)
- Conformance runner template (conformance.test.ts, etc.)
- README template with {{ version }} variable substitution
- GENERATED.tera marker file
New files for python-subprocess:
- pdftract_subprocess/codegen/errors.py.tera
- tests/codegen/conformance_test.py.tera
- README.md.tera
- GENERATED.tera
All 8 language template directories are now complete and ready for
consumption by the `pdftract sdk codegen` subcommand.
Co-Authored-By: Claude Code <noreply@anthropic.com>
20 lines
738 B
Text
20 lines
738 B
Text
# frozen_string_literal: true
|
|
|
|
Gem::Specification.new do |spec|
|
|
spec.name = "pdftract"
|
|
spec.version = "{{ version }}"
|
|
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.0.0"
|
|
|
|
spec.files = Dir["{lib}/**/*", "LICENSE", "README.md"]
|
|
spec.require_paths = ["lib"]
|
|
|
|
spec.add_development_dependency "minitest", "~> 5.0"
|
|
spec.add_development_dependency "rake", "~> 13.0"
|
|
end
|