page_print 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +5 -4
- data/ext/page_print/extconf.rb +2 -0
- data/lib/page_print/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 17346e45986884a4e95a81f6c6f2c611fa74b5beb84aa98709a103221c360cdd
|
|
4
|
+
data.tar.gz: 728dbe8f4e1b982c5d98baa3aaaf74e23308c7cdc3603721219cbfc0a69d85e5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 988008a558e364da1437a6736d1f1cece58b6e3dfc66fc50a090b22371e0cf9e51e92b7049e86710f4c81caba2be3ec44896c4bb8a622543a82f88cd0fe1934d
|
|
7
|
+
data.tar.gz: 85776335eacb28df43701f86c8870e6af10226d4e632564b9be323e4926485e591a8ca9aaa46c2a8ce518dd0b37e3ecd475504eacc80925058733bf918c9a16c
|
data/README.md
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
- Ruby 3.0+
|
|
8
8
|
- Native gems are published for `x86_64-linux` and `arm64-darwin`.
|
|
9
|
+
- Native gems vendor PlutoBook but compile the small Ruby extension during install so it links against your local Ruby.
|
|
9
10
|
- Source builds on unsupported platforms require PlutoBook development headers and library files.
|
|
10
11
|
|
|
11
12
|
### Source Build Requirements
|
|
@@ -27,7 +28,7 @@ gem install page_print -- --with-plutobook-include=/path/to/include --with-pluto
|
|
|
27
28
|
Add PagePrint to your Gemfile:
|
|
28
29
|
|
|
29
30
|
```ruby
|
|
30
|
-
gem "page_print", "~> 0.1.
|
|
31
|
+
gem "page_print", "~> 0.1.2"
|
|
31
32
|
```
|
|
32
33
|
|
|
33
34
|
Or install from RubyGems directly:
|
|
@@ -42,8 +43,8 @@ The native gems bundle PlutoBook and required non-system shared libraries. Optio
|
|
|
42
43
|
|
|
43
44
|
| Platform | Install Type |
|
|
44
45
|
|---|---|
|
|
45
|
-
| `x86_64-linux` |
|
|
46
|
-
| `arm64-darwin` |
|
|
46
|
+
| `x86_64-linux` | Vendored PlutoBook, local Ruby extension build |
|
|
47
|
+
| `arm64-darwin` | Vendored PlutoBook, local Ruby extension build |
|
|
47
48
|
| Other platforms | Source build |
|
|
48
49
|
|
|
49
50
|
## Local Build
|
|
@@ -126,7 +127,7 @@ Build an Apple Silicon macOS platform gem with a vendored PlutoBook library:
|
|
|
126
127
|
bundle exec rake package:darwin_arm64
|
|
127
128
|
```
|
|
128
129
|
|
|
129
|
-
These tasks check out PlutoBook `v0.17.0`, build it into `lib/page_print/vendor/<platform>`, compile the
|
|
130
|
+
These tasks check out PlutoBook `v0.17.0`, build it into `lib/page_print/vendor/<platform>`, and write a platform gem to `pkg/`. Platform gems compile the Ruby extension during gem install to avoid tying the gem to the build machine's Ruby version.
|
|
130
131
|
|
|
131
132
|
Native gems bundle PlutoBook and its non-system shared library dependencies. Optional PlutoBook features for curl, TurboJPEG, and WebP are disabled to keep the bundled dependency set smaller.
|
|
132
133
|
|
data/ext/page_print/extconf.rb
CHANGED
data/lib/page_print/version.rb
CHANGED