page_print 0.1.1 → 0.1.2
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 +4 -3
- 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: 818bc73c6546781f6c9efa50d367e3af1f2a118f2af9e94c72a735f34220fa81
|
|
4
|
+
data.tar.gz: 1093e9ac63f535aa07e583a66a845c74296d9f5d03c6d103db70b655ea52c14c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 66a786178150bef3d0b2451963afe2b05e14d8b63513dd3175a7373b23398a1bb1a3f1396065f2056cba0ff11eb814766db6a4c46b276d223b21b07c8db7a446
|
|
7
|
+
data.tar.gz: f48ad25e2307ae55482e8cc7c28a213146f23b71a7d597c3b85c0d30bb90e19adf9246a95d49d278679526e40239cda51107d837bb853d57bffec45a9028be79
|
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
|
+
- The `arm64-darwin` gem vendors PlutoBook but compiles 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:
|
|
@@ -43,7 +44,7 @@ The native gems bundle PlutoBook and required non-system shared libraries. Optio
|
|
|
43
44
|
| Platform | Install Type |
|
|
44
45
|
|---|---|
|
|
45
46
|
| `x86_64-linux` | Native gem |
|
|
46
|
-
| `arm64-darwin` |
|
|
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>`,
|
|
130
|
+
These tasks check out PlutoBook `v0.17.0`, build it into `lib/page_print/vendor/<platform>`, and write a platform gem to `pkg/`. The Linux package includes a precompiled Ruby extension. The macOS package compiles the Ruby extension during gem install to avoid hardcoding the build machine's Ruby path.
|
|
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