pdf_matcher 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -1
- data/README.md +11 -0
- data/lib/pdf_matcher/pdf_file.rb +5 -1
- data/lib/pdf_matcher/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c72b513695745c25fe76222180e4696e1f193792bcbe5b414ac7566ca6df67e5
|
4
|
+
data.tar.gz: 7e3733f4f0a62233268d78e539c3bcb122309863aa4d344109668b85f3acdfb5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19e1830cf927f2674a712036bf180865e2d3b12a1860bf8ee485d18482a21be4be250777dbe45ca349e735b0658317474dbeec0d63f762c12eaadee58bd8b4de
|
7
|
+
data.tar.gz: 314cdaf0e906a8702a03c9dea1c548318b8415adca85904539e46084260b54524b087f6c3e37ba39ee6764cadf8a76f89cd1cf45bf52a39e0a0cf3274e47c24d
|
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,15 +1,22 @@
|
|
1
1
|
# PdfMatcher
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/pdf_matcher.svg)](https://badge.fury.io/rb/pdf_matcher)
|
3
4
|
[![Test](https://github.com/hidakatsuya/pdf_matcher/actions/workflows/test.yml/badge.svg?branch=main)](https://github.com/hidakatsuya/pdf_matcher/actions/workflows/test.yml)
|
4
5
|
|
5
6
|
A gem to compare two PDFs and output the differences using [diff-pdf](https://github.com/vslavik/diff-pdf).
|
6
7
|
|
7
8
|
## Prerequisites
|
8
9
|
|
10
|
+
### diff-pdf Required
|
11
|
+
|
9
12
|
This gem requires [diff-pdf](https://github.com/vslavik/diff-pdf). See [the README.md](https://github.com/vslavik/diff-pdf) for how to install it.
|
10
13
|
|
11
14
|
Note that you can install it with [hidakatsuya/setup-diff-pdf](https://github.com/hidakatsuya/setup-diff-pdf) in GitHub Action.
|
12
15
|
|
16
|
+
### Supported Ruby Versions
|
17
|
+
|
18
|
+
2.6, 2.7, 3.0
|
19
|
+
|
13
20
|
## Installation
|
14
21
|
|
15
22
|
Add this line to your application's Gemfile:
|
@@ -60,6 +67,10 @@ result.diff_pdf_data #=> "%PDF-..." or nil
|
|
60
67
|
PdfMatcher.config.diff_pdf_opts = ['--dpi=300']
|
61
68
|
```
|
62
69
|
|
70
|
+
## Use in Testing Frameworks
|
71
|
+
|
72
|
+
- [test-unit-pdf_matcher](https://github.com/hidakatsuya/test-unit-pdf_matcher)
|
73
|
+
|
63
74
|
## Contributing
|
64
75
|
|
65
76
|
Bug reports and pull requests are welcome on GitHub at https://github.com/hidakatsuya/pdf_matcher. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/hidakatsuya/pdf_matcher/blob/master/CODE_OF_CONDUCT.md).
|
data/lib/pdf_matcher/pdf_file.rb
CHANGED
data/lib/pdf_matcher/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pdf_matcher
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Katsuya Hidaka
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-05-
|
11
|
+
date: 2021-05-07 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: PdfMatcher is a gem to compare two PDFs and output the differences using
|
14
14
|
diff-pdf
|