mini_vips 0.1.0-aarch64-linux-gnu → 0.2.0-aarch64-linux-gnu

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 568389dd02b08cd3f04d208d66b64a2451f12a1ca5c3980ae983cb6b6af41fa3
4
- data.tar.gz: 5d8ce206692cacc9c26520649f0a8576a757099db8aa0d0611799ee3a962da47
3
+ metadata.gz: 8ed3e21b474eb12ca3ef0c3d495b02dd85d03cf3a69a907ad662bc9011041ac1
4
+ data.tar.gz: 8c788758fa47c88201368959730f726a04dac750f0ed22f723b61ddeb49be1db
5
5
  SHA512:
6
- metadata.gz: bbcb84df72984e2b7ad96a2581200cb868a48ef8d9b657b4c0e4e3580f1854d2c5026bf144bfba8006b48597b839a953d3308fbee60fdb959ebe34c8c1981cc6
7
- data.tar.gz: d4b088e5667f3be06b9ea159b38c402abe00eba49cc7702e69456ee67f3c117ce712d80489713e25e9ff5014c0c727c94f61ffac98f22b4bf6d863f1291a2124
6
+ metadata.gz: 9eaf65074e1551e1b97ad36d0b27c4bff908081e88be8870ce62da51a4fb2a2bec2b5147ba95c7a1551f58f6ed33c872211d6a14e4a6b171a23ded4a2c3a78e6
7
+ data.tar.gz: 0ac7622c258b2770b9de560d91e1c40c699441a402c4e419ebfa1f5b6eccee09e850ea2893389ff3b17e47696fee7160713a87d7accaadde9b0c6a2366eca3d8
data/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.2.0] - 2026-08-25
11
+
12
+ ### Added
13
+
14
+ - `MiniVips.asset_paths` exposes the packaged files required by the CLI executable.
15
+
10
16
  ## [0.1.0] - 2026-08-24
11
17
 
12
18
  ### Added
@@ -19,5 +25,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
19
25
  - A bundled Noto Sans font for consistent letter-avatar rendering.
20
26
  - Precompiled glibc Linux and macOS gems for x86-64 and ARM64.
21
27
 
22
- [Unreleased]: https://github.com/discourse/mini_vips/compare/v0.1.0...HEAD
28
+ [Unreleased]: https://github.com/discourse/mini_vips/compare/v0.2.0...HEAD
29
+ [0.2.0]: https://github.com/discourse/mini_vips/compare/v0.1.0...v0.2.0
23
30
  [0.1.0]: https://github.com/discourse/mini_vips/releases/tag/v0.1.0
data/README.md CHANGED
@@ -20,6 +20,12 @@ require "mini_vips"
20
20
  MiniVips.executable
21
21
  ```
22
22
 
23
+ Use `MiniVips.asset_paths` to access the files required by the CLI executable:
24
+
25
+ ```ruby
26
+ MiniVips.asset_paths
27
+ ```
28
+
23
29
  ## CLI
24
30
 
25
31
  ### `version`
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module MiniVips
4
- VERSION = "0.1.0"
4
+ VERSION = "0.2.0"
5
5
  end
data/lib/mini_vips.rb CHANGED
@@ -6,9 +6,16 @@ module MiniVips
6
6
  EXECUTABLE_PATH = File.expand_path("../libexec/mini_vips", __dir__)
7
7
  private_constant :EXECUTABLE_PATH
8
8
 
9
+ ASSET_PATHS = [File.expand_path("mini_vips/fonts/NotoSans-Regular.ttf", __dir__)].freeze
10
+ private_constant :ASSET_PATHS
11
+
9
12
  def self.executable
10
13
  return EXECUTABLE_PATH if File.file?(EXECUTABLE_PATH) && File.executable?(EXECUTABLE_PATH)
11
14
 
12
15
  raise "mini_vips executable is unavailable at #{EXECUTABLE_PATH}"
13
16
  end
17
+
18
+ def self.asset_paths
19
+ ASSET_PATHS
20
+ end
14
21
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mini_vips
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  platform: aarch64-linux-gnu
6
6
  authors:
7
7
  - Discourse