squared 0.4.19 → 0.5.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 +62 -261
- data/README.md +1280 -647
- data/README.ruby.md +722 -0
- data/lib/squared/common/base.rb +8 -9
- data/lib/squared/common/format.rb +7 -16
- data/lib/squared/common/prompt.rb +38 -42
- data/lib/squared/common/shell.rb +10 -10
- data/lib/squared/common/system.rb +31 -35
- data/lib/squared/common/utils.rb +3 -28
- data/lib/squared/common.rb +2 -1
- data/lib/squared/config.rb +19 -19
- data/lib/squared/version.rb +1 -1
- data/lib/squared/workspace/application.rb +55 -89
- data/lib/squared/workspace/project/base.rb +262 -403
- data/lib/squared/workspace/project/docker.rb +156 -183
- data/lib/squared/workspace/project/git.rb +337 -481
- data/lib/squared/workspace/project/node.rb +96 -141
- data/lib/squared/workspace/project/python.rb +73 -299
- data/lib/squared/workspace/project/ruby.rb +158 -238
- data/lib/squared/workspace/project/support/class.rb +79 -136
- data/lib/squared/workspace/project.rb +0 -10
- data/lib/squared/workspace/repo.rb +52 -93
- data/lib/squared/workspace/series.rb +16 -16
- data/lib/squared/workspace/support/data.rb +3 -2
- data/lib/squared/workspace/support.rb +0 -1
- data/lib/squared/workspace.rb +1 -1
- data/squared.gemspec +5 -5
- metadata +7 -8
- data/lib/squared/common/class.rb +0 -110
- data/lib/squared/workspace/support/base.rb +0 -17
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 46ea608e0b2d67acb3d15eaf67d7c70fc4c301c1c7ebf0dbfa9fba2e9ccabe0b
|
4
|
+
data.tar.gz: 806aeee453718e1ff75f1f83c3f2ac763fd989cdddeca18b570a1d383c90484c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bcde780730f2426af5561183d7d33d172f7dc7a096f9b21b3098593e18758a6a5bdb26e40ccabfaf7e0cf2e6963f067289c304e2e7626b85c15dd2c589e907e0
|
7
|
+
data.tar.gz: efcae50c9cfd39b72c013035df135533fee434e7985c3896d409a3d2d1850f16c2c7d2dd811e89431ddc46e2fbc64f752ece5bc8f1205d79d052bcec59fb7749
|
data/CHANGELOG.md
CHANGED
@@ -1,210 +1,29 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
## [0.
|
3
|
+
## [0.5.0] - 2025-06-16
|
4
4
|
|
5
5
|
### Added
|
6
6
|
|
7
|
-
-
|
8
|
-
-
|
9
|
-
- Docker containers conflicting with options can be prefixed with colon.
|
10
|
-
- Git command stash action push option message is interactive.
|
11
|
-
- Repo commands init and sync inherit any positional options.
|
12
|
-
|
13
|
-
### Fixed
|
14
|
-
|
15
|
-
- Docker did not ignore pre-defined file with COMPOSE_FILE.
|
16
|
-
- Docker did not support multiple config files.
|
17
|
-
- Repo did not transfer arguments to supplement tasks.
|
18
|
-
- Node public method version caused a recursive loop.
|
19
|
-
- Node command bump action minor without major was revised.
|
20
|
-
|
21
|
-
## [0.4.18] - 2025-08-23
|
22
|
-
|
23
|
-
### Added
|
24
|
-
|
25
|
-
- Repo command init can specify groups to pull from manifest.
|
26
|
-
- Repo command init can specify submodules to fetch.
|
27
|
-
- Ruby gem specification is auto-detected when not specified.
|
28
|
-
- Ruby task install:redownload with force deletes Gemfile.lock.
|
7
|
+
- Node command exec through NVM was implemented.
|
8
|
+
- Git command options were updated to version 2.49.
|
29
9
|
|
30
10
|
### Changed
|
31
11
|
|
32
|
-
-
|
33
|
-
-
|
34
|
-
-
|
35
|
-
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
### Fixed
|
40
|
-
|
41
|
-
- Gem command exec did not separate command and arguments.
|
42
|
-
|
43
|
-
## [0.2.14] - 2025-08-23
|
44
|
-
|
45
|
-
### Fixed
|
46
|
-
|
47
|
-
- See `0.1.11`.
|
48
|
-
|
49
|
-
## [0.1.11] - 2025-08-23
|
50
|
-
|
51
|
-
### Fixed
|
52
|
-
|
53
|
-
- Node could not compare semantic versions above double digits.
|
54
|
-
- Node command bump did not reset major and minor trailing digits.
|
55
|
-
- Gems with a fourth semver digit was not compared.
|
56
|
-
- Workspace styles did not convert string keys to symbols.
|
57
|
-
|
58
|
-
## [0.4.17] - 2025-08-09
|
59
|
-
|
60
|
-
### Added
|
61
|
-
|
62
|
-
- Node repos can be initialized with specific package manager.
|
63
|
-
- Docker Engine options were updated to 28.0.
|
64
|
-
- Git commands pull and fetch action all was implemented.
|
65
|
-
- Git command reset action undo was implemented.
|
66
|
-
- Python command pip action upgrade was implemented.
|
67
|
-
- Git commands refs and files can use both pathspec and pattern.
|
68
|
-
- Git command submodule was implemented.
|
69
|
-
- Git command status was implemented.
|
70
|
-
- Git command switch action branch was implemented.
|
71
|
-
|
72
|
-
### Changed
|
73
|
-
|
74
|
-
- Project task events can be assigned to a single proc.
|
75
|
-
- Ruby task copy uses require paths from gem specification.
|
76
|
-
- Docker task build:bake was renamed bake:build.
|
77
|
-
- Project global tasks can be hidden and still expose subtasks.
|
78
|
-
- Repo command line options can be overriden with class method.
|
79
|
-
- Repo task all variable REPO_DRYRUN was replaced with REPO_STAGE.
|
80
|
-
- Repo command sync option no-fail was renamed fail.
|
81
|
-
|
82
|
-
### Fixed
|
83
|
-
|
84
|
-
- Gem command outdated did not work outside main project folder.
|
85
|
-
- Node command bump did not reset major and minor trailing digits.
|
86
|
-
- Docker image status message was displayed backwards.
|
87
|
-
|
88
|
-
## [0.4.16] - 2025-07-27
|
89
|
-
|
90
|
-
### Added
|
91
|
-
|
92
|
-
- Git command blame was implemented.
|
93
|
-
- Project property only for task filtering was implemented.
|
94
|
-
- Node command copy uses NPM pack to refresh development packages.
|
95
|
-
- Docker command bake action check was implemented.
|
96
|
-
- Ruby uses gem specification for name and version.
|
97
|
-
- Ruby constructor parameter gemspec was implemented.
|
98
|
-
|
99
|
-
### Changed
|
100
|
-
|
101
|
-
- Project boolean property readers were converted into accessors.
|
102
|
-
- Workspace hash singleton methods were relocated under Support.
|
103
|
-
- Project property version uses setter method for validation.
|
104
|
-
- Node command publish will prompt when tag is not semantic.
|
105
|
-
- Gem command push without args uses gemspec to locate archive.
|
106
|
-
- Prompts will exit process without raising a generic error.
|
107
|
-
|
108
|
-
### Fixed
|
109
|
-
|
110
|
-
- Gem command exec did not separate command and arguments.
|
111
|
-
- Project warning messages were not displayed for errors.
|
112
|
-
- Python command outdated did not load virtual env in Windows.
|
113
|
-
- Python virtual env original options are not modified.
|
114
|
-
- Node could not compare semantic versions above double digits.
|
115
|
-
|
116
|
-
## [0.4.15] - 2025-07-16
|
117
|
-
|
118
|
-
### Added
|
119
|
-
|
120
|
-
- Python command outdated option user was implemented.
|
121
|
-
- Git command commit action amend and amend-orig are interactive.
|
12
|
+
- Gem specification required Ruby version set to 2.5.
|
13
|
+
- Docker build options from ENV do not require dashes.
|
14
|
+
- Unused task descriptions are not generated.
|
15
|
+
- Class object shapes were declared in initialize.
|
16
|
+
- Project outdated interactive uses a more compact prompt.
|
17
|
+
- Workspace banner configuration uses a struct.
|
122
18
|
|
123
|
-
###
|
124
|
-
|
125
|
-
- Ruby task copy does not guess Gem directory when version is used.
|
126
|
-
- Workspace hash-based data uses global method for key creation.
|
127
|
-
|
128
|
-
## [0.3.13] - 2025-07-16
|
129
|
-
|
130
|
-
### Fixed
|
131
|
-
|
132
|
-
- See `0.2.13`.
|
133
|
-
|
134
|
-
## [0.2.13] - 2025-07-16
|
135
|
-
|
136
|
-
### Fixed
|
137
|
-
|
138
|
-
- Project graph did not ignore circular references.
|
139
|
-
|
140
|
-
## [0.1.10] - 2025-07-16
|
141
|
-
|
142
|
-
### Fixed
|
143
|
-
|
144
|
-
- Module namespaces were not combined in the right order.
|
145
|
-
- Workspace group tasks were not registered.
|
146
|
-
|
147
|
-
## [0.4.14] - 2025-07-05
|
148
|
-
|
149
|
-
### Added
|
150
|
-
|
151
|
-
- Python command run for project scripts was implemented.
|
152
|
-
- Python command build and publish with PDM was implemented.
|
153
|
-
- Python command run detects program tool scripts.
|
154
|
-
- Git command stash action branch was implemented.
|
155
|
-
- Docker command compose action exec and run are interactive.
|
156
|
-
- Double dash can be used to end parsing for options.
|
157
|
-
- Python command outdated tasks with semver was implemented.
|
158
|
-
|
159
|
-
### Changed
|
160
|
-
|
161
|
-
- Ruby command rake supports running multiple indexes.
|
162
|
-
- Ruby private method rakefile when nil returns empty string.
|
163
|
-
- Ruby private method gempwd and rakepwd ignores current directory.
|
164
|
-
- Ruby command gem action update parameters are optional.
|
165
|
-
- Gem command install and uninstall can parse name and version.
|
166
|
-
- Kernel method Array is used in place of common method as_a.
|
167
|
-
- Ruby public method irb parameter load was renamed args.
|
168
|
-
|
169
|
-
### Fixed
|
170
|
-
|
171
|
-
- Box border did not print corners on Windows.
|
172
|
-
- Index character was not captured on Windows.
|
173
|
-
- Node command publish did not prompt for package to publish.
|
174
|
-
- Python command publish did not prompt for package to publish.
|
175
|
-
- Project confirmation accept dialog did not always quit.
|
176
|
-
- Git command add did not detect when no files were changed.
|
177
|
-
|
178
|
-
## [0.3.12] - 2025-07-05
|
179
|
-
|
180
|
-
### Fixed
|
181
|
-
|
182
|
-
- Gem command exec did not include gem option flag.
|
183
|
-
- Project graph did not print first level border.
|
184
|
-
- Node command update did not use correct event name.
|
185
|
-
- Gem command push did not validate gem file to publish.
|
186
|
-
- Node command publish did not publish when silent.
|
187
|
-
|
188
|
-
## [0.2.12] - 2025-07-05
|
189
|
-
|
190
|
-
### Fixed
|
191
|
-
|
192
|
-
- See `0.1.9`.
|
193
|
-
|
194
|
-
## [0.1.9] - 2025-07-05
|
195
|
-
|
196
|
-
### Added
|
19
|
+
### Removed
|
197
20
|
|
198
|
-
-
|
199
|
-
-
|
21
|
+
- Git commit hash identifier uses only a colon for a prefix.
|
22
|
+
- Common module for classes was delegated to support namespaces.
|
200
23
|
|
201
24
|
### Fixed
|
202
25
|
|
203
|
-
- Project
|
204
|
-
- Directory context was not threaded using JRuby.
|
205
|
-
- Index character was not captured on Windows.
|
206
|
-
- Common method is used for Kernel shell commands.
|
207
|
-
- Git did not highlight output for single commands.
|
26
|
+
- Project private variables external modification was revised.
|
208
27
|
|
209
28
|
## [0.4.13] - 2025-06-16
|
210
29
|
|
@@ -259,8 +78,6 @@
|
|
259
78
|
|
260
79
|
## [0.3.11] - 2025-05-15
|
261
80
|
|
262
|
-
### Fixed
|
263
|
-
|
264
81
|
- See `0.2.11`.
|
265
82
|
|
266
83
|
## [0.2.11] - 2025-05-15
|
@@ -523,8 +340,6 @@
|
|
523
340
|
|
524
341
|
## [0.3.7] - 2025-04-08
|
525
342
|
|
526
|
-
### Fixed
|
527
|
-
|
528
343
|
- See `0.2.7`.
|
529
344
|
|
530
345
|
## [0.2.7] - 2025-04-08
|
@@ -946,66 +761,52 @@
|
|
946
761
|
|
947
762
|
- Changelog was created.
|
948
763
|
|
949
|
-
[0.
|
950
|
-
[0.4.
|
951
|
-
[0.4.
|
952
|
-
[0.4.
|
953
|
-
[0.4.
|
954
|
-
[0.4.
|
955
|
-
[0.4.
|
956
|
-
[0.4.
|
957
|
-
[0.4.
|
958
|
-
[0.4.
|
959
|
-
[0.4.
|
960
|
-
[0.4.
|
961
|
-
[0.4.
|
962
|
-
[0.4.
|
963
|
-
[0.4.
|
964
|
-
[0.
|
965
|
-
[0.
|
966
|
-
[0.
|
967
|
-
[0.
|
968
|
-
[0.
|
969
|
-
[0.3.
|
970
|
-
[0.3.
|
971
|
-
[0.3.
|
972
|
-
[0.3.
|
973
|
-
[0.3.
|
974
|
-
[0.3.
|
975
|
-
[0.3.
|
976
|
-
[0.
|
977
|
-
[0.
|
978
|
-
[0.
|
979
|
-
[0.
|
980
|
-
[0.
|
981
|
-
[0.
|
982
|
-
[0.
|
983
|
-
[0.
|
984
|
-
[0.2.
|
985
|
-
[0.2.
|
986
|
-
[0.2.
|
987
|
-
[0.2.
|
988
|
-
[0.
|
989
|
-
[0.
|
990
|
-
[0.
|
991
|
-
[0.
|
992
|
-
[0.
|
993
|
-
[0.
|
994
|
-
[0.2
|
995
|
-
[0.
|
996
|
-
[0.
|
997
|
-
[0.
|
998
|
-
[0.2.0]: https://github.com/anpham6/squared-ruby/releases/tag/v0.2.0-ruby
|
999
|
-
[0.1.11]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.11
|
1000
|
-
[0.1.10]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.10-ruby
|
1001
|
-
[0.1.9]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.9-ruby
|
1002
|
-
[0.1.8]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.8-ruby
|
1003
|
-
[0.1.7]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.7-ruby
|
1004
|
-
[0.1.6]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.6-ruby
|
1005
|
-
[0.1.5]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.5-ruby
|
1006
|
-
[0.1.4]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.4-ruby
|
1007
|
-
[0.1.3]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.3-ruby
|
1008
|
-
[0.1.2]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.2-ruby
|
1009
|
-
[0.1.1]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.1-ruby
|
1010
|
-
[0.1.0]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.0-ruby
|
1011
|
-
[0.0.12]: https://github.com/anpham6/squared-ruby/releases/tag/v0.0.12-ruby
|
764
|
+
[0.5.0]: https://github.com/anpham6/squared/releases/tag/v0.5.0-ruby
|
765
|
+
[0.4.13]: https://github.com/anpham6/squared/releases/tag/v0.4.13-ruby
|
766
|
+
[0.4.12]: https://github.com/anpham6/squared/releases/tag/v0.4.12-ruby
|
767
|
+
[0.4.11]: https://github.com/anpham6/squared/releases/tag/v0.4.11-ruby
|
768
|
+
[0.4.10]: https://github.com/anpham6/squared/releases/tag/v0.4.10-ruby
|
769
|
+
[0.4.9]: https://github.com/anpham6/squared/releases/tag/v0.4.9-ruby
|
770
|
+
[0.4.8]: https://github.com/anpham6/squared/releases/tag/v0.4.8-ruby
|
771
|
+
[0.4.7]: https://github.com/anpham6/squared/releases/tag/v0.4.7-ruby
|
772
|
+
[0.4.6]: https://github.com/anpham6/squared/releases/tag/v0.4.6-ruby
|
773
|
+
[0.4.5]: https://github.com/anpham6/squared/releases/tag/v0.4.5-ruby
|
774
|
+
[0.4.4]: https://github.com/anpham6/squared/releases/tag/v0.4.4-ruby
|
775
|
+
[0.4.3]: https://github.com/anpham6/squared/releases/tag/v0.4.3-ruby
|
776
|
+
[0.4.2]: https://github.com/anpham6/squared/releases/tag/v0.4.2-ruby
|
777
|
+
[0.4.1]: https://github.com/anpham6/squared/releases/tag/v0.4.1-ruby
|
778
|
+
[0.4.0]: https://github.com/anpham6/squared/releases/tag/v0.4.0-ruby
|
779
|
+
[0.3.11]: https://github.com/anpham6/squared/releases/tag/v0.3.11-ruby
|
780
|
+
[0.3.10]: https://github.com/anpham6/squared/releases/tag/v0.3.10-ruby
|
781
|
+
[0.3.9]: https://github.com/anpham6/squared/releases/tag/v0.3.9-ruby
|
782
|
+
[0.3.8]: https://github.com/anpham6/squared/releases/tag/v0.3.8-ruby
|
783
|
+
[0.3.7]: https://github.com/anpham6/squared/releases/tag/v0.3.7-ruby
|
784
|
+
[0.3.6]: https://github.com/anpham6/squared/releases/tag/v0.3.6-ruby
|
785
|
+
[0.3.5]: https://github.com/anpham6/squared/releases/tag/v0.3.5-ruby
|
786
|
+
[0.3.4]: https://github.com/anpham6/squared/releases/tag/v0.3.4-ruby
|
787
|
+
[0.3.3]: https://github.com/anpham6/squared/releases/tag/v0.3.3-ruby
|
788
|
+
[0.3.2]: https://github.com/anpham6/squared/releases/tag/v0.3.2-ruby
|
789
|
+
[0.3.1]: https://github.com/anpham6/squared/releases/tag/v0.3.1-ruby
|
790
|
+
[0.3.0]: https://github.com/anpham6/squared/releases/tag/v0.3.0-ruby
|
791
|
+
[0.2.11]: https://github.com/anpham6/squared/releases/tag/v0.2.11-ruby
|
792
|
+
[0.2.10]: https://github.com/anpham6/squared/releases/tag/v0.2.10-ruby
|
793
|
+
[0.2.9]: https://github.com/anpham6/squared/releases/tag/v0.2.9-ruby
|
794
|
+
[0.2.8]: https://github.com/anpham6/squared/releases/tag/v0.2.8-ruby
|
795
|
+
[0.2.7]: https://github.com/anpham6/squared/releases/tag/v0.2.7-ruby
|
796
|
+
[0.2.6]: https://github.com/anpham6/squared/releases/tag/v0.2.6-ruby
|
797
|
+
[0.2.5]: https://github.com/anpham6/squared/releases/tag/v0.2.5-ruby
|
798
|
+
[0.2.4]: https://github.com/anpham6/squared/releases/tag/v0.2.4-ruby
|
799
|
+
[0.2.3]: https://github.com/anpham6/squared/releases/tag/v0.2.3-ruby
|
800
|
+
[0.2.2]: https://github.com/anpham6/squared/releases/tag/v0.2.2-ruby
|
801
|
+
[0.2.1]: https://github.com/anpham6/squared/releases/tag/v0.2.1-ruby
|
802
|
+
[0.2.0]: https://github.com/anpham6/squared/releases/tag/v0.2.0-ruby
|
803
|
+
[0.1.8]: https://github.com/anpham6/squared/releases/tag/v0.1.8-ruby
|
804
|
+
[0.1.7]: https://github.com/anpham6/squared/releases/tag/v0.1.7-ruby
|
805
|
+
[0.1.6]: https://github.com/anpham6/squared/releases/tag/v0.1.6-ruby
|
806
|
+
[0.1.5]: https://github.com/anpham6/squared/releases/tag/v0.1.5-ruby
|
807
|
+
[0.1.4]: https://github.com/anpham6/squared/releases/tag/v0.1.4-ruby
|
808
|
+
[0.1.3]: https://github.com/anpham6/squared/releases/tag/v0.1.3-ruby
|
809
|
+
[0.1.2]: https://github.com/anpham6/squared/releases/tag/v0.1.2-ruby
|
810
|
+
[0.1.1]: https://github.com/anpham6/squared/releases/tag/v0.1.1-ruby
|
811
|
+
[0.1.0]: https://github.com/anpham6/squared/releases/tag/v0.1.0-ruby
|
812
|
+
[0.0.12]: https://github.com/anpham6/squared/releases/tag/v0.0.12-ruby
|