bundlebun 0.4.1.1.3.11-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 +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/bundlebun/runner.rb +7 -3
- data/lib/bundlebun/vendor/bun/bun +0 -0
- data/lib/bundlebun/version.rb +1 -1
- data/sig/bundlebun/runner.rbs +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: d46378df9bc46fb97e5cd1278cb57ad2621b9a9316263dc5b148e7e58095c85d
|
|
4
|
+
data.tar.gz: 84eb4f31141ce1cceddc581195f9989234b1366bced7674dd0b98c658a62fda4
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: fdf8f79a11869a23bdde766ebf1b5c3232018a43f1d8fbee248a761e693857265b84d103ff9444979cb7edf782508608899d903d5e65f7431c546a8b86a5c400
|
|
7
|
+
data.tar.gz: d13a09c93e6c3cf9f5eab5433af3d1dd6dc91da4bea082724a796a26123ee4f888c02879ead26549491a93fcb7425f77d51537eeea523aa703a97123201e9252
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
## [0.4.2] - 2026-04-12
|
|
2
|
+
|
|
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.
|
|
5
|
+
|
|
1
6
|
## [0.4.1] - 2026-03-08
|
|
2
7
|
|
|
3
8
|
- Bun is now executed with argv-safe `exec` / `system` calls instead of flattening arguments into a single string to preserve values with spaces correctly.
|
data/lib/bundlebun/runner.rb
CHANGED
|
@@ -99,7 +99,9 @@ module Bundlebun
|
|
|
99
99
|
#
|
|
100
100
|
# @return [String]
|
|
101
101
|
def binstub_path
|
|
102
|
-
|
|
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
|
-
|
|
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.
|
|
@@ -175,7 +179,7 @@ module Bundlebun
|
|
|
175
179
|
#
|
|
176
180
|
# @see #system
|
|
177
181
|
# @see #exec
|
|
178
|
-
def initialize(arguments
|
|
182
|
+
def initialize(arguments)
|
|
179
183
|
@arguments = arguments
|
|
180
184
|
end
|
|
181
185
|
|
|
Binary file
|
data/lib/bundlebun/version.rb
CHANGED
data/sig/bundlebun/runner.rbs
CHANGED
|
@@ -21,7 +21,7 @@ module Bundlebun
|
|
|
21
21
|
def self.binstub_or_binary_path: () -> String
|
|
22
22
|
def self.binstub_exist?: () -> bool
|
|
23
23
|
|
|
24
|
-
def initialize: (
|
|
24
|
+
def initialize: (String | Array[String] arguments) -> void
|
|
25
25
|
|
|
26
26
|
# Replaces the current Ruby process with Bun. Never returns.
|
|
27
27
|
def exec: () -> bot
|