squared 0.6.9 → 0.7.0
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 +74 -2
- data/README.md +239 -200
- data/lib/squared/common/format.rb +7 -10
- data/lib/squared/common/prompt.rb +23 -24
- data/lib/squared/common/shell.rb +16 -17
- data/lib/squared/common/system.rb +29 -20
- data/lib/squared/common/utils.rb +43 -54
- data/lib/squared/config.rb +17 -16
- data/lib/squared/version.rb +1 -1
- data/lib/squared/workspace/application.rb +290 -175
- data/lib/squared/workspace/project/base.rb +542 -442
- data/lib/squared/workspace/project/docker.rb +151 -131
- data/lib/squared/workspace/project/git.rb +178 -144
- data/lib/squared/workspace/project/node.rb +89 -87
- data/lib/squared/workspace/project/python.rb +236 -139
- data/lib/squared/workspace/project/ruby.rb +395 -281
- data/lib/squared/workspace/project/support/class.rb +12 -6
- data/lib/squared/workspace/project/support/optionpartition.rb +58 -41
- data/lib/squared/workspace/project/support/utils.rb +68 -0
- data/lib/squared/workspace/project.rb +0 -7
- data/lib/squared/workspace/repo.rb +234 -169
- data/lib/squared/workspace/series.rb +91 -86
- data/lib/squared/workspace/support/base.rb +15 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 77cd278e7e9855e6601d497f876db37b4e118e8b13af1ef2535eff1ef5799f84
|
|
4
|
+
data.tar.gz: e5ef173753eff1f9de0a31f0a0db590ec45f8c0d6e1d0b79f7168160c8b03204
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 73c1cb07ee0f10476bd47493455231341bd4a3e42107e74c5e16123ddf99e832cc2c96b870615c0ff5a632a1de4ac9176a9d8cb0b1be460018699140f1c15b48
|
|
7
|
+
data.tar.gz: 365c543051f2a2fc01f445c3e3f3f8b2162e6d0ad0663b91f0928667504193511f59e55683d1b832f56e82d20ef2adc7033673d888a366ab01ed12256504af33
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,78 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.7.0] - 2025-01-07
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Batch phony tasks without a defined predicate method can be created.
|
|
8
|
+
- Gem command options were updated to 4.0.
|
|
9
|
+
- Bundler command options were updated to 4.0.
|
|
10
|
+
- Python build backend using Meson was implemented.
|
|
11
|
+
- Repo can run doc task when doing a global build.
|
|
12
|
+
- Repo can exclude projects by ref or group when doing a global build.
|
|
13
|
+
- Repo supports creating tasks for multiple named configurations.
|
|
14
|
+
- Git command rev action branch was implemented.
|
|
15
|
+
- Project base asdf command env was implemented.
|
|
16
|
+
- Project task depend can update dependencies globally using UPDATE.
|
|
17
|
+
- Git command sparse-checkout was implemented.
|
|
18
|
+
- Python projects using virtualenv is supported.
|
|
19
|
+
- Python virtual environment installs build backend when specified.
|
|
20
|
+
- Python attributes [project|version] are extracted from pyproject.toml.
|
|
21
|
+
- Docker command image action pull was implemented.
|
|
22
|
+
- Python command install action poetry was implemented.
|
|
23
|
+
- Repo can run [lint|test] task when doing a global build.
|
|
24
|
+
- RubyGems and Bundler is compatible with Ruby 3.0 and 4.0.
|
|
25
|
+
- Node command nvm with argument version is interactive.
|
|
26
|
+
- Project event "on" called with [first|last] creates error bubble session.
|
|
27
|
+
- Project run commands support global and individual operation timeouts.
|
|
28
|
+
- Workspace projects can treat warnings as errors through Application exception.
|
|
29
|
+
- Ruby command version and gems autodetect support using program mise.
|
|
30
|
+
- Application method with using pass can accept a nested array of arguments.
|
|
31
|
+
- Application class supports extensions used during build finalization.
|
|
32
|
+
- Docker command bake action compose to build with defaults was implemented.
|
|
33
|
+
- Program asdf legacy global installations using ASDF_DIR is supported.
|
|
34
|
+
|
|
35
|
+
### Changed
|
|
36
|
+
|
|
37
|
+
- Ruby application method does not process flags directly.
|
|
38
|
+
- Project command banner does not display quotes for simple word strings.
|
|
39
|
+
- Workspace project implementation Series no longer stores tasks globally.
|
|
40
|
+
- Different workspaces do not iterate through unused Project classes.
|
|
41
|
+
- Application static attr_banner can only be accessed as a reader.
|
|
42
|
+
- Project private method arguments being misused is no longer supported.
|
|
43
|
+
- Protected methods are used instead of instance_variable_get.
|
|
44
|
+
- Project class constructor arguments without a default value use kwargs.
|
|
45
|
+
- Case equality uses singleton object and not class name.
|
|
46
|
+
- Python command install action [user|force] were replaced with requirement.
|
|
47
|
+
- Repo workspace selection does not include disabled refs or groups.
|
|
48
|
+
- Repo tasks [init|all] uses bit values with REPO_STAGE.
|
|
49
|
+
- Project base [setter|getter] global was converted into a [number|boolean].
|
|
50
|
+
- Project base initialize methods were made private.
|
|
51
|
+
- Common utils methods [env_value|env_yield] were made private.
|
|
52
|
+
- Application attribute home was converted into a setter and reader.
|
|
53
|
+
- Program application binary path aliases can be in lowercase.
|
|
54
|
+
- JoinSet when pushing a nil object is rejected.
|
|
55
|
+
- OptionPartition static method append does not return rejected arguments.
|
|
56
|
+
- Docker command bake action build does not merge compose configuration files.
|
|
57
|
+
- Application banner attributes are collected internally.
|
|
58
|
+
- Application project classes can only be injected using static methods.
|
|
59
|
+
- Tasks can only be excluded through Appliction build instance method.
|
|
60
|
+
- Project base utility methods were relocated to Support namespace.
|
|
61
|
+
- Ruby class private method run_rb was removed.
|
|
62
|
+
- Application attribute exception accept Logger levels to route errors.
|
|
63
|
+
- Ruby command irb always includes local development require paths.
|
|
64
|
+
- Bundler tasks are hidden when package is not installed.
|
|
65
|
+
- Application method stage with attribute closed provides build stage progress.
|
|
66
|
+
- Application method with renamed pass to hide due to conflict with Project.
|
|
67
|
+
- Node task depend using Yarn no longer sets option ignore-engines by default.
|
|
68
|
+
- Project base private instance variable events was relocated.
|
|
69
|
+
- Docker command compose action publish was implemented.
|
|
70
|
+
|
|
71
|
+
### Fixed
|
|
72
|
+
|
|
73
|
+
- Project base method command_args did not append prompted value.
|
|
74
|
+
- Bundler command exec did not use correct delegate for delete.
|
|
75
|
+
|
|
3
76
|
## [0.6.9] - 2025-01-07
|
|
4
77
|
|
|
5
78
|
### Added
|
|
@@ -25,7 +98,6 @@
|
|
|
25
98
|
### Fixed
|
|
26
99
|
|
|
27
100
|
- Git commands [rebase|clone] did not forward sync flag.
|
|
28
|
-
- Pip command install carelessly used an undefined method.
|
|
29
101
|
- Common prompt method readline with multiline did not permit empty lines.
|
|
30
102
|
- Application method with using pass did not ignore exceptions.
|
|
31
103
|
- Git method source did not check command object for supported method.
|
|
@@ -43,7 +115,6 @@
|
|
|
43
115
|
### Fixed
|
|
44
116
|
|
|
45
117
|
- Gem command outdated did not set bindir with update command.
|
|
46
|
-
- Bundler ultimately never ended up learning how to spell JIT.
|
|
47
118
|
|
|
48
119
|
## [0.5.20] - 2025-12-26
|
|
49
120
|
|
|
@@ -1595,6 +1666,7 @@
|
|
|
1595
1666
|
|
|
1596
1667
|
- Changelog was created.
|
|
1597
1668
|
|
|
1669
|
+
[0.7.0]: https://github.com/anpham6/squared-ruby/releases/tag/v0.7.0
|
|
1598
1670
|
[0.6.9]: https://github.com/anpham6/squared-ruby/releases/tag/v0.6.9
|
|
1599
1671
|
[0.6.8]: https://github.com/anpham6/squared-ruby/releases/tag/v0.6.8
|
|
1600
1672
|
[0.6.7]: https://github.com/anpham6/squared-ruby/releases/tag/v0.6.7
|