mini_vips 0.1.0-x86_64-linux-gnu → 0.2.0-x86_64-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: c4fa87f586b96d668f60325b73c6afe1a144f2144e5d08527406bd8967cfe9f4
4
- data.tar.gz: f5a7137830fdbe15bd3615ac9cb73e2f13ec91b9992b08967a0ee9d6b7b55c39
3
+ metadata.gz: 406bc5cebcd00ede8c99a2ca805594b8c9bd1ac29fbb890cee2613c20e257388
4
+ data.tar.gz: 8a9b9be2e3c561e6340e21c4c1088ab3aaf41aae1dfcebaaf8f0b62cf70a763d
5
5
  SHA512:
6
- metadata.gz: e5082db7b6ebe0268643af75a60a4bafe254a6c4ec19edf6b691ae8a06e25871b5151b49503060a7e1b125004e1c84bf9c91a58d8209e30a37d12b2934b8df87
7
- data.tar.gz: cbdcdf8c8f70b38655b04e952093791652c6a4fbb6c3f5564d2ad17fd9d55cdbae6169242f485c3ecb1ee7ab086663adf26b7f00a537d5a5362eb2e3ffa306d6
6
+ metadata.gz: da93198b48b150c87162d143b199f5272e5f375c796c9dcf7e1dd8a709477ad74c15fc1d76a1f5367826a13e6e31284c19c4889195f392ecad66657771d59efc
7
+ data.tar.gz: cc9a231b946614e68a06564b1836da2c4593e01a89a2dea44426ca4fb62046e5adc7ef060c1f71dc2b881d8802dbf0ba9a222787168c6d861879629eb17309f9
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: x86_64-linux-gnu
6
6
  authors:
7
7
  - Discourse