smart_box 0.1.2 → 0.1.3
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 +45 -0
- data/LICENSE +21 -0
- data/lib/smart_box/version.rb +1 -1
- metadata +7 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f8f0e87dfaff0710f069764678ec19a953f4c36af7e922f8dada50d7fd8f8f45
|
|
4
|
+
data.tar.gz: 5cd61b69354b74a0e164c95f5d4cfa62f7939f51588e03bf25e599308c81f950
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0b988ffef7e71110778cdcba10131ff4d306185d307019a719bd94ed3e2218013b2290cb349df1879f2f337cedd8fa5322028dec85f7614e0b7686ca351139d6
|
|
7
|
+
data.tar.gz: b7f739bde88aa83ff2170cf2c7ec1bd13228663452dbde2737443b0058d5d17a2fdc4d05bb03cbfbce5f1092d7390dd40fdeb693fa466f08ea43999b959134cf
|
data/CHANGELOG.md
ADDED
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
All notable changes to this project will be documented in this file.
|
|
4
|
+
|
|
5
|
+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
6
|
+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
|
+
|
|
8
|
+
## [0.1.3] - 2026-09-14
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- Point gemspec homepage/source/changelog/bug-tracker URIs at the real
|
|
13
|
+
repository (github.com/zhuangbiaowei/smart_box).
|
|
14
|
+
- Ship the MIT `LICENSE` and `CHANGELOG.md` in the gem.
|
|
15
|
+
|
|
16
|
+
## [0.1.2] - 2026-09-14
|
|
17
|
+
|
|
18
|
+
### Fixed
|
|
19
|
+
|
|
20
|
+
- Eliminate process-wide `Dir.chdir` conflicts. All parent-process `Dir.chdir`
|
|
21
|
+
blocks are replaced with subprocess-level `chdir:` options, so Ruby can no
|
|
22
|
+
longer raise `conflicting chdir during another chdir block` when boxes run in
|
|
23
|
+
background threads.
|
|
24
|
+
- Enforce command timeouts. When a `timeout` is set, commands now run via
|
|
25
|
+
`Open3.popen3(pgroup: true)` and the whole process group is terminated
|
|
26
|
+
(TERM, grace period, then KILL) on expiry, returning exit code 124.
|
|
27
|
+
|
|
28
|
+
## [0.1.1] - 2026-09-13
|
|
29
|
+
|
|
30
|
+
### Fixed
|
|
31
|
+
|
|
32
|
+
- Use `require_relative` in `cli.rb` to avoid gem conflict warnings.
|
|
33
|
+
|
|
34
|
+
## [0.1.0] - 2026-09-13
|
|
35
|
+
|
|
36
|
+
### Added
|
|
37
|
+
|
|
38
|
+
- Initial MVP: copy and git-worktree modes, command execution with dangerous
|
|
39
|
+
command detection and logging, checkpoints, rollback, diff, export-patch,
|
|
40
|
+
apply, and discard.
|
|
41
|
+
|
|
42
|
+
[0.1.3]: https://github.com/zhuangbiaowei/smart_box/compare/v0.1.2...v0.1.3
|
|
43
|
+
[0.1.2]: https://github.com/zhuangbiaowei/smart_box/compare/v0.1.1...v0.1.2
|
|
44
|
+
[0.1.1]: https://github.com/zhuangbiaowei/smart_box/compare/v0.1.0...v0.1.1
|
|
45
|
+
[0.1.0]: https://github.com/zhuangbiaowei/smart_box/releases/tag/v0.1.0
|
data/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 SmartBox Team
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in
|
|
13
|
+
all copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
21
|
+
THE SOFTWARE.
|
data/lib/smart_box/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: smart_box
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- SmartBox Team
|
|
@@ -19,6 +19,8 @@ executables:
|
|
|
19
19
|
extensions: []
|
|
20
20
|
extra_rdoc_files: []
|
|
21
21
|
files:
|
|
22
|
+
- CHANGELOG.md
|
|
23
|
+
- LICENSE
|
|
22
24
|
- README.md
|
|
23
25
|
- bin/smart_box
|
|
24
26
|
- lib/smart_box.rb
|
|
@@ -31,11 +33,13 @@ files:
|
|
|
31
33
|
- lib/smart_box/modes/git_worktree_mode.rb
|
|
32
34
|
- lib/smart_box/runner.rb
|
|
33
35
|
- lib/smart_box/version.rb
|
|
36
|
+
homepage: https://github.com/zhuangbiaowei/smart_box
|
|
34
37
|
licenses:
|
|
35
38
|
- MIT
|
|
36
39
|
metadata:
|
|
37
|
-
source_code_uri: https://github.com/
|
|
38
|
-
changelog_uri: https://github.com/
|
|
40
|
+
source_code_uri: https://github.com/zhuangbiaowei/smart_box
|
|
41
|
+
changelog_uri: https://github.com/zhuangbiaowei/smart_box/blob/master/CHANGELOG.md
|
|
42
|
+
bug_tracker_uri: https://github.com/zhuangbiaowei/smart_box/issues
|
|
39
43
|
rdoc_options: []
|
|
40
44
|
require_paths:
|
|
41
45
|
- lib
|