bundlebun 0.4.1.1.3.12-aarch64-linux → 0.4.2.1.3.12-aarch64-linux

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: f5abeed29942075393a61c40a6e3e51ba0202ab736038e0faee8665053ed1ea2
4
- data.tar.gz: 711f8e2557b68fec857742231d98ddc8c4f1845d4d663f80c459274592bc94e0
3
+ metadata.gz: d46378df9bc46fb97e5cd1278cb57ad2621b9a9316263dc5b148e7e58095c85d
4
+ data.tar.gz: 84eb4f31141ce1cceddc581195f9989234b1366bced7674dd0b98c658a62fda4
5
5
  SHA512:
6
- metadata.gz: da0fc2e66470c070fe111fc2acdbb547153785733647a4b7004d67af55e9f11a873ee727d6f4764b9fcb4afb7812e85bb82cff460507ed99cd8630671437d1c4
7
- data.tar.gz: 7651021b19bcedfed721633991c799a2bb114b227998ca8a783a83d9235826e49aa4311499a643d8fcab841b2290edb6b655b2eda2f9d2abd7fad682e009bc47
6
+ metadata.gz: fdf8f79a11869a23bdde766ebf1b5c3232018a43f1d8fbee248a761e693857265b84d103ff9444979cb7edf782508608899d903d5e65f7431c546a8b86a5c400
7
+ data.tar.gz: d13a09c93e6c3cf9f5eab5433af3d1dd6dc91da4bea082724a796a26123ee4f888c02879ead26549491a93fcb7425f77d51537eeea523aa703a97123201e9252
data/CHANGELOG.md CHANGED
@@ -1,6 +1,7 @@
1
- ## [Unreleased]
1
+ ## [0.4.2] - 2026-04-12
2
2
 
3
3
  - It makes no sense to run Bun without arguments, so no-argument `Bundlebun.call` / `exec` / `system` calls now raise `ArgumentError`.
4
+ - `Bundlebun::Runner.binstub_path` and `full_binstub_path` are now memoized, matching the existing pattern used by `binary_path` and `full_directory`. Avoids redundant string and `File.expand_path` work on every integration command build.
4
5
 
5
6
  ## [0.4.1] - 2026-03-08
6
7
 
@@ -99,7 +99,9 @@ module Bundlebun
99
99
  #
100
100
  # @return [String]
101
101
  def binstub_path
102
- Bundlebun::Platform.windows? ? "#{BINSTUB_PATH}.cmd" : BINSTUB_PATH
102
+ return @binstub_path if defined?(@binstub_path)
103
+
104
+ @binstub_path = Bundlebun::Platform.windows? ? "#{BINSTUB_PATH}.cmd" : BINSTUB_PATH
103
105
  end
104
106
 
105
107
  # A full path to binstub that bundlebun usually generates with installation Rake tasks.
@@ -108,7 +110,9 @@ module Bundlebun
108
110
  #
109
111
  # @return [String]
110
112
  def full_binstub_path
111
- File.expand_path(binstub_path)
113
+ return @full_binstub_path if defined?(@full_binstub_path)
114
+
115
+ @full_binstub_path = File.expand_path(binstub_path)
112
116
  end
113
117
 
114
118
  # A relative directory path to the bundled Bun executable from the root of the gem.
@@ -8,5 +8,5 @@ module Bundlebun
8
8
  # a Bun runtime with version `1.1.38`.
9
9
  #
10
10
  # This constant always points to the "own" version of the gem.
11
- VERSION = '0.4.1'
11
+ VERSION = '0.4.2'
12
12
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bundlebun
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1.1.3.12
4
+ version: 0.4.2.1.3.12
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - Yaroslav Markin