squared 0.6.18 → 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 +69 -213
- data/README.md +242 -205
- data/lib/squared/common/base.rb +0 -8
- data/lib/squared/common/format.rb +7 -10
- data/lib/squared/common/prompt.rb +26 -28
- data/lib/squared/common/shell.rb +27 -35
- data/lib/squared/common/system.rb +29 -21
- data/lib/squared/common/utils.rb +45 -64
- data/lib/squared/config.rb +17 -16
- data/lib/squared/version.rb +1 -1
- data/lib/squared/workspace/application.rb +292 -186
- data/lib/squared/workspace/project/base.rb +569 -500
- data/lib/squared/workspace/project/docker.rb +187 -198
- data/lib/squared/workspace/project/git.rb +241 -212
- data/lib/squared/workspace/project/node.rb +119 -155
- data/lib/squared/workspace/project/python.rb +250 -163
- data/lib/squared/workspace/project/ruby.rb +408 -298
- data/lib/squared/workspace/project/support/class.rb +13 -7
- data/lib/squared/workspace/project/support/optionpartition.rb +76 -82
- 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 +93 -89
- data/lib/squared/workspace/support/base.rb +15 -1
- metadata +3 -2
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,200 +1,77 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## [0.
|
|
3
|
+
## [0.7.0] - 2025-01-07
|
|
4
4
|
|
|
5
5
|
### Added
|
|
6
6
|
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
-
|
|
29
|
-
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
-
|
|
34
|
-
- OptionPartition static method strip did not parse flags with dashes.
|
|
35
|
-
- Project base method choice_index did not support multiple selections.
|
|
36
|
-
|
|
37
|
-
## [0.6.17] - 2026-08-06
|
|
38
|
-
|
|
39
|
-
### Added
|
|
40
|
-
|
|
41
|
-
- NPM command install can bypass engines with ENV and engine-strict=false.
|
|
42
|
-
|
|
43
|
-
### Fixed
|
|
44
|
-
|
|
45
|
-
- Ruby command gem action push interactive file selector did nothing.
|
|
46
|
-
- Git choice prompt did not permit optional empty values.
|
|
47
|
-
|
|
48
|
-
## [0.4.40] - 2026-08-06
|
|
49
|
-
|
|
50
|
-
### Changed
|
|
51
|
-
|
|
52
|
-
- Series method exclude? was made compatible with v0.8 signature.
|
|
53
|
-
|
|
54
|
-
## [0.6.16] - 2026-07-04
|
|
55
|
-
|
|
56
|
-
### Added
|
|
57
|
-
|
|
58
|
-
- Git command pull action all supports filter pattern negation.
|
|
59
|
-
|
|
60
|
-
## [0.5.25] - 2026-07-04
|
|
61
|
-
|
|
62
|
-
### Fixed
|
|
63
|
-
|
|
64
|
-
- See `0.4.39`.
|
|
65
|
-
|
|
66
|
-
## [0.4.39] - 2026-07-04
|
|
67
|
-
|
|
68
|
-
### Changed
|
|
69
|
-
|
|
70
|
-
- Common global argument OUT with a file separator overrides PIPE.
|
|
71
|
-
|
|
72
|
-
### Fixed
|
|
73
|
-
|
|
74
|
-
- Git output list results did not hide footer when banner was disabled.
|
|
75
|
-
- Project banners which were empty were being printed.
|
|
76
|
-
|
|
77
|
-
## [0.6.15] - 2026-06-17
|
|
78
|
-
|
|
79
|
-
### Fixed
|
|
80
|
-
|
|
81
|
-
- Project classes did not switch from stdout to stdin.
|
|
82
|
-
|
|
83
|
-
## [0.6.14] - 2026-06-14
|
|
84
|
-
|
|
85
|
-
### Added
|
|
86
|
-
|
|
87
|
-
- Node task depend can run approve-scripts with NPM_APPROVE_SCRIPTS.
|
|
88
|
-
|
|
89
|
-
### Fixed
|
|
90
|
-
|
|
91
|
-
- Docker command bake action build did not append context directory.
|
|
92
|
-
|
|
93
|
-
## [0.5.24] - 2026-06-14
|
|
94
|
-
|
|
95
|
-
### Fixed
|
|
96
|
-
|
|
97
|
-
- See `0.4.38`.
|
|
98
|
-
|
|
99
|
-
## [0.4.38] - 2026-06-14
|
|
100
|
-
|
|
101
|
-
### Added
|
|
102
|
-
|
|
103
|
-
- Application project commands can be defined without a reference.
|
|
104
|
-
- Git command branch action all was implemented.
|
|
105
|
-
|
|
106
|
-
### Changed
|
|
107
|
-
|
|
108
|
-
- Override alias methods were created for suffix "!" to "\_".
|
|
109
|
-
- Project banners do not display boolean attributes.
|
|
110
|
-
- OptionPartition method append strips single quotes when quoting strings.
|
|
111
|
-
|
|
112
|
-
### Fixed
|
|
113
|
-
|
|
114
|
-
- Application methods log and exclude were non-functional.
|
|
115
|
-
- Docker command bake action build does not support changing context.
|
|
116
|
-
- Project base method semver did not include prerelease delimiter.
|
|
117
|
-
- Project session cleanup did not compare by reference.
|
|
118
|
-
|
|
119
|
-
## [0.6.13] - 2026-05-04
|
|
120
|
-
|
|
121
|
-
### Added
|
|
122
|
-
|
|
123
|
-
- Application project commands can be defined without a reference.
|
|
124
|
-
|
|
125
|
-
### Fixed
|
|
126
|
-
|
|
127
|
-
- Application methods log and exclude were non-functional.
|
|
128
|
-
- Project base tasks did not detect build scripts using Arrays.
|
|
129
|
-
|
|
130
|
-
## [0.6.12] - 2026-04-29
|
|
131
|
-
|
|
132
|
-
### Fixed
|
|
133
|
-
|
|
134
|
-
- Application dynamic Project loader assumed class would be found.
|
|
135
|
-
- Git command grep did not add patterns with "--" pathspec separator.
|
|
136
|
-
|
|
137
|
-
## [0.5.23] - 2026-04-29
|
|
138
|
-
|
|
139
|
-
### Fixed
|
|
140
|
-
|
|
141
|
-
- See `0.4.37`.
|
|
142
|
-
|
|
143
|
-
## [0.4.37] - 2026-04-29
|
|
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.
|
|
144
34
|
|
|
145
35
|
### Changed
|
|
146
36
|
|
|
147
|
-
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
-
|
|
152
|
-
-
|
|
153
|
-
-
|
|
154
|
-
-
|
|
155
|
-
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
-
|
|
174
|
-
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
-
|
|
179
|
-
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
- Docker command image action [ls|rm|tag|save] can be filtered.
|
|
186
|
-
- Pip command options were updated to 26.1.
|
|
187
|
-
|
|
188
|
-
### Changed
|
|
189
|
-
|
|
190
|
-
- Ruby property autodetect was converted into an accessor.
|
|
191
|
-
- Python property editable was converted into an accessor.
|
|
192
|
-
|
|
193
|
-
### Fixed
|
|
194
|
-
|
|
195
|
-
- Git task show was completely non-functional due to excessive formatting.
|
|
196
|
-
- Gem command install did not respond to interactive prompt.
|
|
197
|
-
- Docker task clean does not run in parallel without ENV override.
|
|
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.
|
|
198
75
|
|
|
199
76
|
## [0.6.9] - 2025-01-07
|
|
200
77
|
|
|
@@ -221,7 +98,6 @@
|
|
|
221
98
|
### Fixed
|
|
222
99
|
|
|
223
100
|
- Git commands [rebase|clone] did not forward sync flag.
|
|
224
|
-
- Pip command install carelessly used an undefined method.
|
|
225
101
|
- Common prompt method readline with multiline did not permit empty lines.
|
|
226
102
|
- Application method with using pass did not ignore exceptions.
|
|
227
103
|
- Git method source did not check command object for supported method.
|
|
@@ -239,7 +115,6 @@
|
|
|
239
115
|
### Fixed
|
|
240
116
|
|
|
241
117
|
- Gem command outdated did not set bindir with update command.
|
|
242
|
-
- Bundler ultimately never ended up learning how to spell JIT.
|
|
243
118
|
|
|
244
119
|
## [0.5.20] - 2025-12-26
|
|
245
120
|
|
|
@@ -1764,7 +1639,7 @@
|
|
|
1764
1639
|
- Rake did not set original rakefile when calling itself.
|
|
1765
1640
|
- Extended tasks were not associated to their supporting class method.
|
|
1766
1641
|
|
|
1767
|
-
## [0.1.0] - 2024-12-
|
|
1642
|
+
## [0.1.0] - 2024-12-7
|
|
1768
1643
|
|
|
1769
1644
|
### Added
|
|
1770
1645
|
|
|
@@ -1785,21 +1660,13 @@
|
|
|
1785
1660
|
- Git pull did not display colors for diff bar chart.
|
|
1786
1661
|
- Git commit did not fetch latest refs before submitting.
|
|
1787
1662
|
|
|
1788
|
-
## [0.0.12] - 2024-12-
|
|
1663
|
+
## [0.0.12] - 2024-12-1
|
|
1789
1664
|
|
|
1790
1665
|
### Added
|
|
1791
1666
|
|
|
1792
1667
|
- Changelog was created.
|
|
1793
1668
|
|
|
1794
|
-
[0.
|
|
1795
|
-
[0.6.17]: https://github.com/anpham6/squared-ruby/releases/tag/v0.6.17
|
|
1796
|
-
[0.6.16]: https://github.com/anpham6/squared-ruby/releases/tag/v0.6.16
|
|
1797
|
-
[0.6.15]: https://github.com/anpham6/squared-ruby/releases/tag/v0.6.15
|
|
1798
|
-
[0.6.14]: https://github.com/anpham6/squared-ruby/releases/tag/v0.6.14
|
|
1799
|
-
[0.6.13]: https://github.com/anpham6/squared-ruby/releases/tag/v0.6.13
|
|
1800
|
-
[0.6.12]: https://github.com/anpham6/squared-ruby/releases/tag/v0.6.12
|
|
1801
|
-
[0.6.11]: https://github.com/anpham6/squared-ruby/releases/tag/v0.6.11
|
|
1802
|
-
[0.6.10]: https://github.com/anpham6/squared-ruby/releases/tag/v0.6.10
|
|
1669
|
+
[0.7.0]: https://github.com/anpham6/squared-ruby/releases/tag/v0.7.0
|
|
1803
1670
|
[0.6.9]: https://github.com/anpham6/squared-ruby/releases/tag/v0.6.9
|
|
1804
1671
|
[0.6.8]: https://github.com/anpham6/squared-ruby/releases/tag/v0.6.8
|
|
1805
1672
|
[0.6.7]: https://github.com/anpham6/squared-ruby/releases/tag/v0.6.7
|
|
@@ -1810,11 +1677,6 @@
|
|
|
1810
1677
|
[0.6.2]: https://github.com/anpham6/squared-ruby/releases/tag/v0.6.2
|
|
1811
1678
|
[0.6.1]: https://github.com/anpham6/squared-ruby/releases/tag/v0.6.1
|
|
1812
1679
|
[0.6.0]: https://github.com/anpham6/squared-ruby/releases/tag/v0.6.0
|
|
1813
|
-
[0.5.26]: https://github.com/anpham6/squared-ruby/releases/tag/v0.5.26
|
|
1814
|
-
[0.5.25]: https://github.com/anpham6/squared-ruby/releases/tag/v0.5.25
|
|
1815
|
-
[0.5.24]: https://github.com/anpham6/squared-ruby/releases/tag/v0.5.24
|
|
1816
|
-
[0.5.23]: https://github.com/anpham6/squared-ruby/releases/tag/v0.5.23
|
|
1817
|
-
[0.5.22]: https://github.com/anpham6/squared-ruby/releases/tag/v0.5.22
|
|
1818
1680
|
[0.5.21]: https://github.com/anpham6/squared-ruby/releases/tag/v0.5.21
|
|
1819
1681
|
[0.5.20]: https://github.com/anpham6/squared-ruby/releases/tag/v0.5.20
|
|
1820
1682
|
[0.5.19]: https://github.com/anpham6/squared-ruby/releases/tag/v0.5.19
|
|
@@ -1837,12 +1699,6 @@
|
|
|
1837
1699
|
[0.5.2]: https://github.com/anpham6/squared-ruby/releases/tag/v0.5.2-ruby
|
|
1838
1700
|
[0.5.1]: https://github.com/anpham6/squared-ruby/releases/tag/v0.5.1-ruby
|
|
1839
1701
|
[0.5.0]: https://github.com/anpham6/squared-ruby/releases/tag/v0.5.0-ruby
|
|
1840
|
-
[0.4.41]: https://github.com/anpham6/squared-ruby/releases/tag/v0.4.41
|
|
1841
|
-
[0.4.40]: https://github.com/anpham6/squared-ruby/releases/tag/v0.4.40
|
|
1842
|
-
[0.4.39]: https://github.com/anpham6/squared-ruby/releases/tag/v0.4.39
|
|
1843
|
-
[0.4.38]: https://github.com/anpham6/squared-ruby/releases/tag/v0.4.38
|
|
1844
|
-
[0.4.37]: https://github.com/anpham6/squared-ruby/releases/tag/v0.4.37
|
|
1845
|
-
[0.4.36]: https://github.com/anpham6/squared-ruby/releases/tag/v0.4.36
|
|
1846
1702
|
[0.4.35]: https://github.com/anpham6/squared-ruby/releases/tag/v0.4.35
|
|
1847
1703
|
[0.4.34]: https://github.com/anpham6/squared-ruby/releases/tag/v0.4.34
|
|
1848
1704
|
[0.4.33]: https://github.com/anpham6/squared-ruby/releases/tag/v0.4.33
|