squared 0.3.14 → 0.4.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 +63 -230
- data/README.md +1285 -387
- data/README.ruby.md +546 -0
- data/lib/squared/app.rb +1 -0
- data/lib/squared/common/base.rb +9 -7
- data/lib/squared/common/class.rb +1 -1
- data/lib/squared/common/format.rb +34 -24
- data/lib/squared/common/prompt.rb +3 -3
- data/lib/squared/common/shell.rb +53 -41
- data/lib/squared/common/system.rb +14 -21
- data/lib/squared/common/utils.rb +55 -2
- data/lib/squared/config.rb +1 -3
- data/lib/squared/version.rb +1 -1
- data/lib/squared/workspace/application.rb +34 -43
- data/lib/squared/workspace/project/base.rb +476 -215
- data/lib/squared/workspace/project/docker.rb +572 -0
- data/lib/squared/workspace/project/git.rb +489 -256
- data/lib/squared/workspace/project/node.rb +86 -92
- data/lib/squared/workspace/project/python.rb +130 -41
- data/lib/squared/workspace/project/ruby.rb +52 -68
- data/lib/squared/workspace/project.rb +7 -1
- data/lib/squared/workspace/repo.rb +12 -5
- data/lib/squared/workspace/series.rb +1 -1
- data/squared.gemspec +4 -4
- metadata +8 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6a70feacca1b87fbe9d6da4e71045212f5dc5e9add78e93e8223a5f73b6f6d9
|
4
|
+
data.tar.gz: b73756bef57213d92fe4ed5f0763945645315a06a8d084bb32e40105ce78d64e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34c45acd9506ad1bc7018c0b0f73e1e2db7623d6b42b7b3199ee7cb7394716a1ec13484d15a71d343415ccd4090a1217579416fba8010b5977cbc324bbf7b849
|
7
|
+
data.tar.gz: 62ac8c5ea8289fcb08dbf1c5e2cca60e06ea5470eb1f8ec1ce667bcce5cc0eec5d67448ac1b2642a7b5af0c2f3e30530f6513374d2642baa2993aca3ad769608
|
data/CHANGELOG.md
CHANGED
@@ -1,199 +1,54 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
## [0.
|
4
|
-
|
5
|
-
### Fixed
|
6
|
-
|
7
|
-
- Gem command exec did not separate command and arguments.
|
8
|
-
|
9
|
-
## [0.2.14] - 2025-08-23
|
10
|
-
|
11
|
-
### Fixed
|
12
|
-
|
13
|
-
- See `0.1.11`.
|
14
|
-
|
15
|
-
## [0.1.11] - 2025-08-23
|
16
|
-
|
17
|
-
### Fixed
|
18
|
-
|
19
|
-
- Node could not compare semantic versions above double digits.
|
20
|
-
- Node command bump did not reset major and minor trailing digits.
|
21
|
-
- Gems with a fourth semver digit was not compared.
|
22
|
-
- Workspace styles did not convert string keys to symbols.
|
23
|
-
|
24
|
-
## [0.3.13] - 2025-07-16
|
25
|
-
|
26
|
-
### Fixed
|
27
|
-
|
28
|
-
- See `0.2.13`.
|
29
|
-
|
30
|
-
## [0.2.13] - 2025-07-16
|
31
|
-
|
32
|
-
### Fixed
|
33
|
-
|
34
|
-
- Project graph did not ignore circular references.
|
35
|
-
|
36
|
-
## [0.1.10] - 2025-07-16
|
37
|
-
|
38
|
-
### Fixed
|
39
|
-
|
40
|
-
- Module namespaces were not combined in the right order.
|
41
|
-
- Workspace group tasks were not registered.
|
42
|
-
|
43
|
-
## [0.3.12] - 2025-07-05
|
44
|
-
|
45
|
-
### Fixed
|
46
|
-
|
47
|
-
- Gem command exec did not include gem option flag.
|
48
|
-
- Project graph did not print first level border.
|
49
|
-
- Node command update did not use correct event name.
|
50
|
-
- Gem command push did not validate gem file to publish.
|
51
|
-
- Node command publish did not publish when silent.
|
52
|
-
|
53
|
-
## [0.2.12] - 2025-07-05
|
54
|
-
|
55
|
-
### Fixed
|
56
|
-
|
57
|
-
- See `0.1.9`.
|
58
|
-
|
59
|
-
## [0.1.9] - 2025-07-05
|
3
|
+
## [0.4.0] - 2025-03-06
|
60
4
|
|
61
5
|
### Added
|
62
6
|
|
63
|
-
-
|
64
|
-
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
- Workspace
|
69
|
-
-
|
70
|
-
-
|
71
|
-
-
|
72
|
-
-
|
73
|
-
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
-
|
86
|
-
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
- Disabled batch and alias tasks were not hidden.
|
93
|
-
- Log messages were written to terminal twice when emphasized.
|
94
|
-
- Node outdated interactive for major would sometimes deactivate.
|
95
|
-
- Node outdated interactive for major was mislabeled as minor.
|
96
|
-
|
97
|
-
## [0.3.10] - 2025-04-27
|
98
|
-
|
99
|
-
### Fixed
|
100
|
-
|
101
|
-
- Git command reset action commit used invalid delimeter.
|
102
|
-
- Git single option values were not merged as per specification.
|
103
|
-
- Project script task did not fire first and last callbacks.
|
104
|
-
- Git task status did not display branch information.
|
105
|
-
- Git checkout action commit did not include options.
|
106
|
-
|
107
|
-
### Removed
|
108
|
-
|
109
|
-
- Git command files action ignored could not be used alone.
|
110
|
-
|
111
|
-
## [0.2.10] - 2025-04-27
|
112
|
-
|
113
|
-
### Fixed
|
114
|
-
|
115
|
-
- Project run and script tasks did not fire first and last callbacks.
|
116
|
-
- Git command clone did not read booleans for recurse-submodules.
|
117
|
-
|
118
|
-
## [0.1.7] - 2025-04-27
|
119
|
-
|
120
|
-
### Fixed
|
121
|
-
|
122
|
-
- Project directory context method option pass was inverted.
|
123
|
-
- Shell options with spaces and without quotes were not escaped.
|
124
|
-
- Git task status did not display branch information.
|
125
|
-
- Ruby copy method argument include was ignored when used directly.
|
126
|
-
- Git commit could not push branch without same name as remote.
|
127
|
-
|
128
|
-
## [0.3.9] - 2025-04-17
|
129
|
-
|
130
|
-
### Fixed
|
131
|
-
|
132
|
-
- Project option parser did not separate custom values.
|
133
|
-
|
134
|
-
## [0.2.9] - 2025-04-17
|
7
|
+
- Git global command revbuild was created.
|
8
|
+
- Git rev command action build was implemented.
|
9
|
+
- Log messages can be hidden with ENV setting LOG_LEVEL.
|
10
|
+
- Project base command unpack was created.
|
11
|
+
- Project global task archive was created.
|
12
|
+
- Workspace style subject was created.
|
13
|
+
- Python command build was implemented.
|
14
|
+
- Python command publish was implemented.
|
15
|
+
- Project base class Docker was created.
|
16
|
+
- Docker command container action run was implemented.
|
17
|
+
- Docker command container action exec was implemented.
|
18
|
+
- Docker command container targets were implemented.
|
19
|
+
- Project build args can be constructed from a hash.
|
20
|
+
- Docker commands commit with push were implemented.
|
21
|
+
- Docker images can be built from Compose or Bake.
|
22
|
+
- Docker command compose with actions were implemented.
|
23
|
+
- Docker default files for Compose and Bake are detected.
|
24
|
+
- Docker command compose action up was implemented.
|
25
|
+
- Project base tasks can call methods in a series.
|
26
|
+
- Docker command image action list with run was implemented.
|
27
|
+
- Repo build ENV option REPO_DRYRUN was created.
|
28
|
+
- Unicode borders can be activated using enable_aixterm.
|
29
|
+
- Git program options are available to sub-commands.
|
30
|
+
- Git command mv and rm were implemented.
|
31
|
+
- Git command clean was implemented.
|
32
|
+
- Git command merge was implemented.
|
33
|
+
- Git command revert was implemented.
|
34
|
+
- Git global command branch was created.
|
135
35
|
|
136
36
|
### Changed
|
137
37
|
|
138
|
-
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
-
|
143
|
-
- Git
|
144
|
-
-
|
145
|
-
|
146
|
-
## [0.1.6] - 2025-04-17
|
38
|
+
- Node copy method will only override when key exists.
|
39
|
+
- Base command copy and clean can accept a hash.
|
40
|
+
- Character methods in Shell common module were removed.
|
41
|
+
- ENV build options are merged with base options.
|
42
|
+
- Git command diff action cached was removed.
|
43
|
+
- Git log and diff uses H0 alias for HEAD~n commit.
|
44
|
+
- Project events support multiple associated routines.
|
45
|
+
- Git command restore was relocated to "git" task namespace.
|
147
46
|
|
148
47
|
### Fixed
|
149
48
|
|
150
|
-
-
|
151
|
-
-
|
152
|
-
|
153
|
-
## [0.3.8] - 2025-04-12
|
154
|
-
|
155
|
-
### Fixed
|
156
|
-
|
157
|
-
- Project class did not parse verbose string values.
|
158
|
-
|
159
|
-
## [0.2.8] - 2025-04-12
|
160
|
-
|
161
|
-
### Fixed
|
162
|
-
|
163
|
-
- User-defined program paths were not sanitized for ENV.
|
164
|
-
- Project clean task used incompatible rmtree flag.
|
165
|
-
- Git branch unset-upstream used undefined variable.
|
166
|
-
|
167
|
-
## [0.3.7] - 2025-04-08
|
168
|
-
|
169
|
-
### Fixed
|
170
|
-
|
171
|
-
- See `0.2.7`.
|
172
|
-
|
173
|
-
## [0.2.7] - 2025-04-08
|
174
|
-
|
175
|
-
### Fixed
|
176
|
-
|
177
|
-
- Paths that conflict with git options can be quoted.
|
178
|
-
- Bundle command update did not append package names.
|
179
|
-
- Git result status type was truncated.
|
180
|
-
- Log messages were concatenated without separator.
|
181
|
-
- Python pip environment options used undefined session.
|
182
|
-
- Regexp "o" modifier was not used properly.
|
183
|
-
- Rake did not run individual project Rakefile.
|
184
|
-
- Ruby commands did not delimit exec arguments.
|
185
|
-
|
186
|
-
## [0.3.6] - 2025-03-12
|
187
|
-
|
188
|
-
### Added
|
189
|
-
|
190
|
-
- Git command stash action clear was implemented.
|
191
|
-
|
192
|
-
### Fixed
|
193
|
-
|
194
|
-
- Git command stash did not validate index argument.
|
195
|
-
- Project graph command does not require arguments.
|
196
|
-
- Ruby gem command exec did not add project name.
|
49
|
+
- Git base class did not check for null Logger instance.
|
50
|
+
- Banner border width extended past terminal edge.
|
51
|
+
- Task program command options used unrecognized symbol.
|
197
52
|
|
198
53
|
## [0.3.5] - 2025-03-06
|
199
54
|
|
@@ -220,7 +75,6 @@
|
|
220
75
|
|
221
76
|
- Project exceptions were hard coded preventing override.
|
222
77
|
- Project clean events were called twice.
|
223
|
-
- Git events were fired for internal background tasks.
|
224
78
|
- Git list display did not support single grep pattern.
|
225
79
|
- Gem outdated did not pass -C option for PWD.
|
226
80
|
|
@@ -411,6 +265,7 @@
|
|
411
265
|
- Git commit hash uses string interpolation format.
|
412
266
|
- Git options ending with "!" use conventional "no-" prefix.
|
413
267
|
- Git pull and reset commands were reduced.
|
268
|
+
- Project graph uses ASCII characters by default.
|
414
269
|
|
415
270
|
### Fixed
|
416
271
|
|
@@ -418,7 +273,7 @@
|
|
418
273
|
- Node tasks without any action are not displayed.
|
419
274
|
- Git fetch commands that do not apply to pull are rejected.
|
420
275
|
|
421
|
-
## [0.1.3] -
|
276
|
+
## [0.1.3] - 2024-01-02
|
422
277
|
|
423
278
|
### Fixed
|
424
279
|
|
@@ -497,46 +352,24 @@
|
|
497
352
|
|
498
353
|
- Changelog was created.
|
499
354
|
|
500
|
-
[0.
|
501
|
-
[0.3.
|
502
|
-
[0.3.
|
503
|
-
[0.3.
|
504
|
-
[0.3.
|
505
|
-
[0.3.
|
506
|
-
[0.3.
|
507
|
-
[0.
|
508
|
-
[0.
|
509
|
-
[0.
|
510
|
-
[0.3
|
511
|
-
[0.
|
512
|
-
[0.
|
513
|
-
[0.
|
514
|
-
[0.
|
515
|
-
[0.
|
516
|
-
[0.
|
517
|
-
[0.2
|
518
|
-
[0.
|
519
|
-
[0.
|
520
|
-
[0.
|
521
|
-
[0.2.8]: https://github.com/anpham6/squared-ruby/releases/tag/v0.2.8-ruby
|
522
|
-
[0.2.7]: https://github.com/anpham6/squared-ruby/releases/tag/v0.2.7-ruby
|
523
|
-
[0.2.6]: https://github.com/anpham6/squared-ruby/releases/tag/v0.2.6-ruby
|
524
|
-
[0.2.5]: https://github.com/anpham6/squared-ruby/releases/tag/v0.2.5-ruby
|
525
|
-
[0.2.4]: https://github.com/anpham6/squared-ruby/releases/tag/v0.2.4-ruby
|
526
|
-
[0.2.3]: https://github.com/anpham6/squared-ruby/releases/tag/v0.2.3-ruby
|
527
|
-
[0.2.2]: https://github.com/anpham6/squared-ruby/releases/tag/v0.2.2-ruby
|
528
|
-
[0.2.1]: https://github.com/anpham6/squared-ruby/releases/tag/v0.2.1-ruby
|
529
|
-
[0.2.0]: https://github.com/anpham6/squared-ruby/releases/tag/v0.2.0-ruby
|
530
|
-
[0.1.11]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.11
|
531
|
-
[0.1.10]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.10-ruby
|
532
|
-
[0.1.9]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.9-ruby
|
533
|
-
[0.1.8]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.8-ruby
|
534
|
-
[0.1.7]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.7-ruby
|
535
|
-
[0.1.6]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.6-ruby
|
536
|
-
[0.1.5]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.5-ruby
|
537
|
-
[0.1.4]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.4-ruby
|
538
|
-
[0.1.3]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.3-ruby
|
539
|
-
[0.1.2]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.2-ruby
|
540
|
-
[0.1.1]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.1-ruby
|
541
|
-
[0.1.0]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.0-ruby
|
542
|
-
[0.0.12]: https://github.com/anpham6/squared-ruby/releases/tag/v0.0.12-ruby
|
355
|
+
[0.4.0]: https://github.com/anpham6/squared/releases/tag/v0.4.0-ruby
|
356
|
+
[0.3.5]: https://github.com/anpham6/squared/releases/tag/v0.3.5-ruby
|
357
|
+
[0.3.4]: https://github.com/anpham6/squared/releases/tag/v0.3.4-ruby
|
358
|
+
[0.3.3]: https://github.com/anpham6/squared/releases/tag/v0.3.3-ruby
|
359
|
+
[0.3.2]: https://github.com/anpham6/squared/releases/tag/v0.3.2-ruby
|
360
|
+
[0.3.1]: https://github.com/anpham6/squared/releases/tag/v0.3.1-ruby
|
361
|
+
[0.3.0]: https://github.com/anpham6/squared/releases/tag/v0.3.0-ruby
|
362
|
+
[0.2.6]: https://github.com/anpham6/squared/releases/tag/v0.2.6-ruby
|
363
|
+
[0.2.5]: https://github.com/anpham6/squared/releases/tag/v0.2.5-ruby
|
364
|
+
[0.2.4]: https://github.com/anpham6/squared/releases/tag/v0.2.4-ruby
|
365
|
+
[0.2.3]: https://github.com/anpham6/squared/releases/tag/v0.2.3-ruby
|
366
|
+
[0.2.2]: https://github.com/anpham6/squared/releases/tag/v0.2.2-ruby
|
367
|
+
[0.2.1]: https://github.com/anpham6/squared/releases/tag/v0.2.1-ruby
|
368
|
+
[0.2.0]: https://github.com/anpham6/squared/releases/tag/v0.2.0-ruby
|
369
|
+
[0.1.5]: https://github.com/anpham6/squared/releases/tag/v0.1.5-ruby
|
370
|
+
[0.1.4]: https://github.com/anpham6/squared/releases/tag/v0.1.4-ruby
|
371
|
+
[0.1.3]: https://github.com/anpham6/squared/releases/tag/v0.1.3-ruby
|
372
|
+
[0.1.2]: https://github.com/anpham6/squared/releases/tag/v0.1.2-ruby
|
373
|
+
[0.1.1]: https://github.com/anpham6/squared/releases/tag/v0.1.1-ruby
|
374
|
+
[0.1.0]: https://github.com/anpham6/squared/releases/tag/v0.1.0-ruby
|
375
|
+
[0.0.12]: https://github.com/anpham6/squared/releases/tag/v0.0.12-ruby
|