squared 0.4.18 → 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 -242
- 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 +6 -14
- 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 +258 -399
- data/lib/squared/workspace/project/docker.rb +106 -120
- data/lib/squared/workspace/project/git.rb +330 -467
- 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 -237
- data/lib/squared/workspace/project/support/class.rb +81 -134
- data/lib/squared/workspace/project.rb +0 -10
- data/lib/squared/workspace/repo.rb +51 -79
- 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,192 +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
|
-
- Ruby gem specification is auto-detected when not specified.
|
10
|
-
- 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.
|
11
9
|
|
12
10
|
### Changed
|
13
11
|
|
14
|
-
-
|
15
|
-
-
|
16
|
-
-
|
17
|
-
-
|
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.
|
18
18
|
|
19
|
-
|
20
|
-
|
21
|
-
### Fixed
|
22
|
-
|
23
|
-
- Gem command exec did not separate command and arguments.
|
24
|
-
|
25
|
-
## [0.2.14] - 2025-08-23
|
26
|
-
|
27
|
-
### Fixed
|
28
|
-
|
29
|
-
- See `0.1.11`.
|
30
|
-
|
31
|
-
## [0.1.11] - 2025-08-23
|
32
|
-
|
33
|
-
### Fixed
|
34
|
-
|
35
|
-
- Node could not compare semantic versions above double digits.
|
36
|
-
- Node command bump did not reset major and minor trailing digits.
|
37
|
-
- Gems with a fourth semver digit was not compared.
|
38
|
-
- Workspace styles did not convert string keys to symbols.
|
39
|
-
|
40
|
-
## [0.4.17] - 2025-08-09
|
41
|
-
|
42
|
-
### Added
|
43
|
-
|
44
|
-
- Node repos can be initialized with specific package manager.
|
45
|
-
- Docker Engine options were updated to 28.0.
|
46
|
-
- Git commands pull and fetch action all was implemented.
|
47
|
-
- Git command reset action undo was implemented.
|
48
|
-
- Python command pip action upgrade was implemented.
|
49
|
-
- Git commands refs and files can use both pathspec and pattern.
|
50
|
-
- Git command submodule was implemented.
|
51
|
-
- Git command status was implemented.
|
52
|
-
- Git command switch action branch was implemented.
|
53
|
-
|
54
|
-
### Changed
|
55
|
-
|
56
|
-
- Project task events can be assigned to a single proc.
|
57
|
-
- Ruby task copy uses require paths from gem specification.
|
58
|
-
- Docker task build:bake was renamed bake:build.
|
59
|
-
- Project global tasks can be hidden and still expose subtasks.
|
60
|
-
- Repo command line options can be overriden with class method.
|
61
|
-
- Repo task all variable REPO_DRYRUN was replaced with REPO_STAGE.
|
62
|
-
- Repo command sync option no-fail was renamed fail.
|
63
|
-
|
64
|
-
### Fixed
|
65
|
-
|
66
|
-
- Gem command outdated did not work outside main project folder.
|
67
|
-
- Node command bump did not reset major and minor trailing digits.
|
68
|
-
- Docker image status message was displayed backwards.
|
69
|
-
|
70
|
-
## [0.4.16] - 2025-07-27
|
71
|
-
|
72
|
-
### Added
|
73
|
-
|
74
|
-
- Git command blame was implemented.
|
75
|
-
- Project property only for task filtering was implemented.
|
76
|
-
- Node command copy uses NPM pack to refresh development packages.
|
77
|
-
- Docker command bake action check was implemented.
|
78
|
-
- Ruby uses gem specification for name and version.
|
79
|
-
- Ruby constructor parameter gemspec was implemented.
|
80
|
-
|
81
|
-
### Changed
|
82
|
-
|
83
|
-
- Project boolean property readers were converted into accessors.
|
84
|
-
- Workspace hash singleton methods were relocated under Support.
|
85
|
-
- Project property version uses setter method for validation.
|
86
|
-
- Node command publish will prompt when tag is not semantic.
|
87
|
-
- Gem command push without args uses gemspec to locate archive.
|
88
|
-
- Prompts will exit process without raising a generic error.
|
89
|
-
|
90
|
-
### Fixed
|
91
|
-
|
92
|
-
- Gem command exec did not separate command and arguments.
|
93
|
-
- Project warning messages were not displayed for errors.
|
94
|
-
- Python command outdated did not load virtual env in Windows.
|
95
|
-
- Python virtual env original options are not modified.
|
96
|
-
- Node could not compare semantic versions above double digits.
|
97
|
-
|
98
|
-
## [0.4.15] - 2025-07-16
|
99
|
-
|
100
|
-
### Added
|
101
|
-
|
102
|
-
- Python command outdated option user was implemented.
|
103
|
-
- Git command commit action amend and amend-orig are interactive.
|
104
|
-
|
105
|
-
### Changed
|
106
|
-
|
107
|
-
- Ruby task copy does not guess Gem directory when version is used.
|
108
|
-
- Workspace hash-based data uses global method for key creation.
|
109
|
-
|
110
|
-
## [0.3.13] - 2025-07-16
|
111
|
-
|
112
|
-
### Fixed
|
113
|
-
|
114
|
-
- See `0.2.13`.
|
115
|
-
|
116
|
-
## [0.2.13] - 2025-07-16
|
117
|
-
|
118
|
-
### Fixed
|
119
|
-
|
120
|
-
- Project graph did not ignore circular references.
|
121
|
-
|
122
|
-
## [0.1.10] - 2025-07-16
|
123
|
-
|
124
|
-
### Fixed
|
125
|
-
|
126
|
-
- Module namespaces were not combined in the right order.
|
127
|
-
- Workspace group tasks were not registered.
|
128
|
-
|
129
|
-
## [0.4.14] - 2025-07-05
|
130
|
-
|
131
|
-
### Added
|
132
|
-
|
133
|
-
- Python command run for project scripts was implemented.
|
134
|
-
- Python command build and publish with PDM was implemented.
|
135
|
-
- Python command run detects program tool scripts.
|
136
|
-
- Git command stash action branch was implemented.
|
137
|
-
- Docker command compose action exec and run are interactive.
|
138
|
-
- Double dash can be used to end parsing for options.
|
139
|
-
- Python command outdated tasks with semver was implemented.
|
140
|
-
|
141
|
-
### Changed
|
142
|
-
|
143
|
-
- Ruby command rake supports running multiple indexes.
|
144
|
-
- Ruby private method rakefile when nil returns empty string.
|
145
|
-
- Ruby private method gempwd and rakepwd ignores current directory.
|
146
|
-
- Ruby command gem action update parameters are optional.
|
147
|
-
- Gem command install and uninstall can parse name and version.
|
148
|
-
- Kernel method Array is used in place of common method as_a.
|
149
|
-
- Ruby public method irb parameter load was renamed args.
|
150
|
-
|
151
|
-
### Fixed
|
152
|
-
|
153
|
-
- Box border did not print corners on Windows.
|
154
|
-
- Index character was not captured on Windows.
|
155
|
-
- Node command publish did not prompt for package to publish.
|
156
|
-
- Python command publish did not prompt for package to publish.
|
157
|
-
- Project confirmation accept dialog did not always quit.
|
158
|
-
- Git command add did not detect when no files were changed.
|
159
|
-
|
160
|
-
## [0.3.12] - 2025-07-05
|
161
|
-
|
162
|
-
### Fixed
|
163
|
-
|
164
|
-
- Gem command exec did not include gem option flag.
|
165
|
-
- Project graph did not print first level border.
|
166
|
-
- Node command update did not use correct event name.
|
167
|
-
- Gem command push did not validate gem file to publish.
|
168
|
-
- Node command publish did not publish when silent.
|
169
|
-
|
170
|
-
## [0.2.12] - 2025-07-05
|
171
|
-
|
172
|
-
### Fixed
|
173
|
-
|
174
|
-
- See `0.1.9`.
|
175
|
-
|
176
|
-
## [0.1.9] - 2025-07-05
|
177
|
-
|
178
|
-
### Added
|
19
|
+
### Removed
|
179
20
|
|
180
|
-
-
|
181
|
-
-
|
21
|
+
- Git commit hash identifier uses only a colon for a prefix.
|
22
|
+
- Common module for classes was delegated to support namespaces.
|
182
23
|
|
183
24
|
### Fixed
|
184
25
|
|
185
|
-
- Project
|
186
|
-
- Directory context was not threaded using JRuby.
|
187
|
-
- Index character was not captured on Windows.
|
188
|
-
- Common method is used for Kernel shell commands.
|
189
|
-
- Git did not highlight output for single commands.
|
26
|
+
- Project private variables external modification was revised.
|
190
27
|
|
191
28
|
## [0.4.13] - 2025-06-16
|
192
29
|
|
@@ -241,8 +78,6 @@
|
|
241
78
|
|
242
79
|
## [0.3.11] - 2025-05-15
|
243
80
|
|
244
|
-
### Fixed
|
245
|
-
|
246
81
|
- See `0.2.11`.
|
247
82
|
|
248
83
|
## [0.2.11] - 2025-05-15
|
@@ -505,8 +340,6 @@
|
|
505
340
|
|
506
341
|
## [0.3.7] - 2025-04-08
|
507
342
|
|
508
|
-
### Fixed
|
509
|
-
|
510
343
|
- See `0.2.7`.
|
511
344
|
|
512
345
|
## [0.2.7] - 2025-04-08
|
@@ -928,65 +761,52 @@
|
|
928
761
|
|
929
762
|
- Changelog was created.
|
930
763
|
|
931
|
-
[0.
|
932
|
-
[0.4.
|
933
|
-
[0.4.
|
934
|
-
[0.4.
|
935
|
-
[0.4.
|
936
|
-
[0.4.
|
937
|
-
[0.4.
|
938
|
-
[0.4.
|
939
|
-
[0.4.
|
940
|
-
[0.4.
|
941
|
-
[0.4.
|
942
|
-
[0.4.
|
943
|
-
[0.4.
|
944
|
-
[0.4.
|
945
|
-
[0.4.
|
946
|
-
[0.
|
947
|
-
[0.
|
948
|
-
[0.
|
949
|
-
[0.
|
950
|
-
[0.3.
|
951
|
-
[0.3.
|
952
|
-
[0.3.
|
953
|
-
[0.3.
|
954
|
-
[0.3.
|
955
|
-
[0.3.
|
956
|
-
[0.3.
|
957
|
-
[0.3.
|
958
|
-
[0.
|
959
|
-
[0.
|
960
|
-
[0.
|
961
|
-
[0.
|
962
|
-
[0.
|
963
|
-
[0.
|
964
|
-
[0.
|
965
|
-
[0.2.
|
966
|
-
[0.2.
|
967
|
-
[0.2.
|
968
|
-
[0.2.
|
969
|
-
[0.2.
|
970
|
-
[0.
|
971
|
-
[0.
|
972
|
-
[0.
|
973
|
-
[0.
|
974
|
-
[0.
|
975
|
-
[0.
|
976
|
-
[0.2
|
977
|
-
[0.
|
978
|
-
[0.
|
979
|
-
[0.
|
980
|
-
[0.1.11]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.11
|
981
|
-
[0.1.10]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.10-ruby
|
982
|
-
[0.1.9]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.9-ruby
|
983
|
-
[0.1.8]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.8-ruby
|
984
|
-
[0.1.7]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.7-ruby
|
985
|
-
[0.1.6]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.6-ruby
|
986
|
-
[0.1.5]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.5-ruby
|
987
|
-
[0.1.4]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.4-ruby
|
988
|
-
[0.1.3]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.3-ruby
|
989
|
-
[0.1.2]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.2-ruby
|
990
|
-
[0.1.1]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.1-ruby
|
991
|
-
[0.1.0]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.0-ruby
|
992
|
-
[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
|