squared 0.2.14 → 0.3.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 -184
- data/README.md +1280 -311
- data/README.ruby.md +466 -0
- data/lib/squared/common/base.rb +6 -7
- data/lib/squared/common/class.rb +27 -2
- data/lib/squared/common/format.rb +15 -17
- data/lib/squared/common/prompt.rb +1 -1
- data/lib/squared/common/shell.rb +11 -13
- data/lib/squared/common/system.rb +14 -21
- data/lib/squared/common/utils.rb +24 -13
- data/lib/squared/config.rb +4 -5
- data/lib/squared/version.rb +1 -1
- data/lib/squared/workspace/application.rb +72 -49
- data/lib/squared/workspace/project/base.rb +359 -198
- data/lib/squared/workspace/project/git.rb +556 -359
- data/lib/squared/workspace/project/node.rb +251 -120
- data/lib/squared/workspace/project/python.rb +101 -78
- data/lib/squared/workspace/project/ruby.rb +182 -172
- data/lib/squared/workspace/repo.rb +10 -5
- data/lib/squared/workspace/series.rb +10 -4
- data/squared.gemspec +4 -5
- metadata +7 -20
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ffee6667b4033ad1987ad90e83c912134bfbc449efbbe1d6c90e3370fd568d1
|
4
|
+
data.tar.gz: 5ded113c3c6058688db13120068f35983decfcf772af8f67318a073bf65c7e9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ddbfe113d51f8f89fbc20c950b6de97a9800a8c76dffb04a1ba8e56708a7c3142b1007e1678368df662e9b340ff567d93aeb781656e92a262fa1a417f05f7bb7
|
7
|
+
data.tar.gz: ee09e3e0766d396c644ee7be9ef0e88461fec646e57e4e5c58949042d3a87697215f8069781ef1116d12cf0cdda10b62ab609ded409da954f28a85d6489c12f6
|
data/CHANGELOG.md
CHANGED
@@ -1,170 +1,67 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
-
## [0.
|
4
|
-
|
5
|
-
### Fixed
|
6
|
-
|
7
|
-
- See `0.1.11`.
|
8
|
-
|
9
|
-
## [0.1.11] - 2025-08-23
|
10
|
-
|
11
|
-
### Fixed
|
12
|
-
|
13
|
-
- Node could not compare semantic versions above double digits.
|
14
|
-
- Node command bump did not reset major and minor trailing digits.
|
15
|
-
- Gems with a fourth semver digit was not compared.
|
16
|
-
- Workspace styles did not convert string keys to symbols.
|
17
|
-
|
18
|
-
## [0.2.13] - 2025-07-16
|
19
|
-
|
20
|
-
### Fixed
|
21
|
-
|
22
|
-
- Project graph did not ignore circular references.
|
23
|
-
|
24
|
-
## [0.1.10] - 2025-07-16
|
25
|
-
|
26
|
-
### Fixed
|
27
|
-
|
28
|
-
- Module namespaces were not combined in the right order.
|
29
|
-
- Workspace group tasks were not registered.
|
30
|
-
|
31
|
-
## [0.2.12] - 2025-07-05
|
32
|
-
|
33
|
-
### Fixed
|
34
|
-
|
35
|
-
- See `0.1.9`.
|
36
|
-
|
37
|
-
## [0.1.9] - 2025-07-05
|
3
|
+
## [0.3.0] - 2025-02-07
|
38
4
|
|
39
5
|
### Added
|
40
6
|
|
41
|
-
-
|
42
|
-
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
-
|
47
|
-
-
|
48
|
-
-
|
49
|
-
-
|
50
|
-
-
|
51
|
-
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
-
|
58
|
-
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
-
|
65
|
-
- Log messages were written to terminal twice when emphasized.
|
66
|
-
- Node outdated interactive for major would sometimes deactivate.
|
67
|
-
- Node outdated interactive for major was mislabeled as minor.
|
68
|
-
|
69
|
-
## [0.2.10] - 2025-04-27
|
70
|
-
|
71
|
-
### Fixed
|
72
|
-
|
73
|
-
- Project run and script tasks did not fire first and last callbacks.
|
74
|
-
- Git command clone did not read booleans for recurse-submodules.
|
75
|
-
|
76
|
-
## [0.1.7] - 2025-04-27
|
77
|
-
|
78
|
-
### Fixed
|
79
|
-
|
80
|
-
- Project directory context method option pass was inverted.
|
81
|
-
- Shell options with spaces and without quotes were not escaped.
|
82
|
-
- Git task status did not display branch information.
|
83
|
-
- Ruby copy method argument include was ignored when used directly.
|
84
|
-
- Git commit could not push branch without same name as remote.
|
85
|
-
|
86
|
-
## [0.2.9] - 2025-04-17
|
7
|
+
- NPM command publish was implemented.
|
8
|
+
- Globally created tasks can be excluded.
|
9
|
+
- Application method pass for project references was created.
|
10
|
+
- Gem command push was implemented.
|
11
|
+
- Gem command build was implemented.
|
12
|
+
- Gem command exec was implemented.
|
13
|
+
- Gem command check was implemented.
|
14
|
+
- NPM command install was implemented.
|
15
|
+
- NPM command dedupe was implemented.
|
16
|
+
- NPM command update was implemented.
|
17
|
+
- Double quotes can be used for shell option values.
|
18
|
+
- Global build commands can be aliased to alternate commands.
|
19
|
+
- Graph can be run with certain projects excluded.
|
20
|
+
- Workspace home folder can be set through ENV.
|
21
|
+
- Global task command lint was created.
|
22
|
+
- NPM command pack was implemented.
|
23
|
+
- Git command checkout and reset action commit was implemented.
|
24
|
+
- Application method script with pass-through args was created.
|
25
|
+
- Project build options can be overwritten with ENV build types.
|
26
|
+
- Pip install action editable was implemented.
|
27
|
+
- Git command log was implemented.
|
28
|
+
- Node package managers can update as depend with NODE_UPDATE.
|
29
|
+
- NPM install commands were grouped under package namespace.
|
30
|
+
- Node global task command update was created.
|
87
31
|
|
88
32
|
### Changed
|
89
33
|
|
90
|
-
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
-
|
95
|
-
- Git
|
96
|
-
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
-
|
109
|
-
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
### Fixed
|
115
|
-
|
116
|
-
- Paths that conflict with git options can be quoted.
|
117
|
-
- Bundle command update did not append package names.
|
118
|
-
- Git result status type was truncated.
|
119
|
-
- Log messages were concatenated without separator.
|
120
|
-
- Python pip environment options used undefined session.
|
121
|
-
- Regexp "o" modifier was not used properly.
|
122
|
-
- Rake did not run individual project Rakefile.
|
123
|
-
- Ruby commands did not delimit exec arguments.
|
124
|
-
|
125
|
-
## [0.2.6] - 2025-03-06
|
126
|
-
|
127
|
-
### Fixed
|
128
|
-
|
129
|
-
- Git rebase did not include flag with pull command.
|
130
|
-
|
131
|
-
## [0.2.5] - 2025-02-25
|
132
|
-
|
133
|
-
### Fixed
|
134
|
-
|
135
|
-
- See `0.1.5`.
|
136
|
-
|
137
|
-
## [0.1.5] - 2025-02-25
|
138
|
-
|
139
|
-
### Fixed
|
140
|
-
|
141
|
-
- Node copy method ignored include argument when called directly.
|
142
|
-
- Logger is not initialized when using only Git base class.
|
143
|
-
- Hide warnings about readline during execution.
|
144
|
-
- Logger is not initialized when using only base class.
|
145
|
-
- Merging ENV build options were double escaped.
|
146
|
-
|
147
|
-
## [0.2.4] - 2025-02-12
|
148
|
-
|
149
|
-
### Fixed
|
150
|
-
|
151
|
-
- Git status did not show ignored or untracked files.
|
152
|
-
- Caller locations were not compatible with Ruby 2.4.
|
34
|
+
- Global project command options use a private namespace hash.
|
35
|
+
- Global git command options use a private namespace hash.
|
36
|
+
- Base command options can be constructed from a hash.
|
37
|
+
- Git refs and files with complete options were implemented.
|
38
|
+
- Git tag action list with complete options was implemented.
|
39
|
+
- Git stash per action with complete options was implemented.
|
40
|
+
- Git diff with complete options was implemented.
|
41
|
+
- Git checkout action path with complete options was implemented.
|
42
|
+
- Git reset with complete options was implemented.
|
43
|
+
- Git restore with complete options was implemented.
|
44
|
+
- Git show with complete options was implemented.
|
45
|
+
- Git rev-parse with complete options was implemented.
|
46
|
+
- Git rebase with complete options was implemented.
|
47
|
+
- Ruby class kwargs opts was converted to optional parameter.
|
48
|
+
- Git methods use second parameter for command line options.
|
49
|
+
- Project base methods can run multiple commands per task.
|
50
|
+
- Project base methods except clean use same run wrapper.
|
51
|
+
- Bundle install uses a separate isolated method.
|
52
|
+
- Git branch action set negate symbol was inconsistent.
|
53
|
+
- Workspace applications have name suffixed ENV settings.
|
54
|
+
|
55
|
+
### Fixed
|
56
|
+
|
57
|
+
- ENV command options did not take precedence to inline options.
|
153
58
|
|
154
59
|
## [0.2.3] - 2025-02-05
|
155
60
|
|
156
61
|
### Fixed
|
157
62
|
|
158
|
-
- Project hash options duplicated dash prefix.
|
159
|
-
|
160
|
-
## [0.1.4] - 2025-02-05
|
161
|
-
|
162
|
-
### Fixed
|
163
|
-
|
164
|
-
- Build options with array args were not recognized.
|
165
|
-
- Base clean command did not enumerate non-string values.
|
166
|
-
- Git command refs did not include ref option.
|
167
|
-
- Pip upgrade did not append package names.
|
63
|
+
- Project hash options duplicated dash prefix.
|
64
|
+
- Pip upgrade did not append package names.
|
168
65
|
|
169
66
|
## [0.2.2] - 2025-01-19
|
170
67
|
|
@@ -256,7 +153,7 @@
|
|
256
153
|
- Node tasks without any action are not displayed.
|
257
154
|
- Git fetch commands that do not apply to pull are rejected.
|
258
155
|
|
259
|
-
## [0.1.3] -
|
156
|
+
## [0.1.3] - 2024-01-02
|
260
157
|
|
261
158
|
### Fixed
|
262
159
|
|
@@ -285,7 +182,7 @@
|
|
285
182
|
- Workspace did not check base project for Windows filename.
|
286
183
|
- Regexp for SemVer did not recognize package names.
|
287
184
|
|
288
|
-
## [0.1.1] -
|
185
|
+
## [0.1.1] - 2025-12-14
|
289
186
|
|
290
187
|
### Added
|
291
188
|
|
@@ -335,31 +232,13 @@
|
|
335
232
|
|
336
233
|
- Changelog was created.
|
337
234
|
|
338
|
-
[0.
|
339
|
-
[0.2.
|
340
|
-
[0.2.
|
341
|
-
[0.2.
|
342
|
-
[0.2.
|
343
|
-
[0.
|
344
|
-
[0.2
|
345
|
-
[0.
|
346
|
-
[0.
|
347
|
-
[0.
|
348
|
-
[0.2.4]: https://github.com/anpham6/squared-ruby/releases/tag/v0.2.4-ruby
|
349
|
-
[0.2.3]: https://github.com/anpham6/squared-ruby/releases/tag/v0.2.3-ruby
|
350
|
-
[0.2.2]: https://github.com/anpham6/squared-ruby/releases/tag/v0.2.2-ruby
|
351
|
-
[0.2.1]: https://github.com/anpham6/squared-ruby/releases/tag/v0.2.1-ruby
|
352
|
-
[0.2.0]: https://github.com/anpham6/squared-ruby/releases/tag/v0.2.0-ruby
|
353
|
-
[0.1.11]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.11
|
354
|
-
[0.1.10]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.10-ruby
|
355
|
-
[0.1.9]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.9-ruby
|
356
|
-
[0.1.8]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.8-ruby
|
357
|
-
[0.1.7]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.7-ruby
|
358
|
-
[0.1.6]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.6-ruby
|
359
|
-
[0.1.5]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.5-ruby
|
360
|
-
[0.1.4]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.4-ruby
|
361
|
-
[0.1.3]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.3-ruby
|
362
|
-
[0.1.2]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.2-ruby
|
363
|
-
[0.1.1]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.1-ruby
|
364
|
-
[0.1.0]: https://github.com/anpham6/squared-ruby/releases/tag/v0.1.0-ruby
|
365
|
-
[0.0.12]: https://github.com/anpham6/squared-ruby/releases/tag/v0.0.12-ruby
|
235
|
+
[0.3.0]: https://github.com/anpham6/squared/releases/tag/v0.3.0-ruby
|
236
|
+
[0.2.3]: https://github.com/anpham6/squared/releases/tag/v0.2.3-ruby
|
237
|
+
[0.2.2]: https://github.com/anpham6/squared/releases/tag/v0.2.2-ruby
|
238
|
+
[0.2.1]: https://github.com/anpham6/squared/releases/tag/v0.2.1-ruby
|
239
|
+
[0.2.0]: https://github.com/anpham6/squared/releases/tag/v0.2.0-ruby
|
240
|
+
[0.1.3]: https://github.com/anpham6/squared/releases/tag/v0.1.3-ruby
|
241
|
+
[0.1.2]: https://github.com/anpham6/squared/releases/tag/v0.1.2-ruby
|
242
|
+
[0.1.1]: https://github.com/anpham6/squared/releases/tag/v0.1.1-ruby
|
243
|
+
[0.1.0]: https://github.com/anpham6/squared/releases/tag/v0.1.0-ruby
|
244
|
+
[0.0.12]: https://github.com/anpham6/squared/releases/tag/v0.0.12-ruby
|