squared 0.7.5 → 0.7.7
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 +135 -62
- data/README.md +4 -3
- data/lib/squared/common/shell.rb +14 -7
- data/lib/squared/version.rb +1 -1
- data/lib/squared/workspace/application.rb +5 -7
- data/lib/squared/workspace/project/base.rb +35 -29
- data/lib/squared/workspace/project/docker.rb +9 -2
- data/lib/squared/workspace/project/git.rb +35 -31
- data/lib/squared/workspace/project/node.rb +236 -114
- data/lib/squared/workspace/project/python.rb +6 -5
- data/lib/squared/workspace/project/ruby.rb +73 -49
- data/lib/squared/workspace/project/support/optionpartition.rb +4 -4
- data/lib/squared/workspace/repo.rb +4 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 31bed35054b2a63862e132897fcbe7b6bdc38e034e083f2d05c31faede547105
|
|
4
|
+
data.tar.gz: de80005a8d615de8024459d098493fb9a2d2703ddf755be5bfe571ee6b92c759
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 412dc0cee1e2419c9c1ef2e7d5da84c4f3c9e3d87a26f2222913f43e52082481d95b85a573d1e7f58a9bcff7063e418bcf998ac3e1280b5a6c21c3db7a5eeaae
|
|
7
|
+
data.tar.gz: 1830bfa1dfdd32b2af0fd2abe037b3e5a54887885c66d54e50c0f5a0c3b48ab9eb40765a0faaf4e3533dfb509b9975ec36ff00f99507e9dd363ca44362eca383
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,72 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.7.7] - 2026-06-15
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
|
|
7
|
+
- Ruby program commands can be run through bundle exec.
|
|
8
|
+
- Node task depend can run approve-scripts with NPM_APPROVE_SCRIPTS.
|
|
9
|
+
- Node command package action [approve|deny] was implemented.
|
|
10
|
+
- NPM command options were updated to 11.16.
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Project method format_banner modified reference to run command.
|
|
15
|
+
- Project subtasks did not use exception? wrapper method.
|
|
16
|
+
|
|
17
|
+
## [0.6.14] - 2026-06-14
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- Node task depend can run approve-scripts with NPM_APPROVE_SCRIPTS.
|
|
22
|
+
|
|
23
|
+
### Fixed
|
|
24
|
+
|
|
25
|
+
- Docker command bake action build did not append context directory.
|
|
26
|
+
|
|
27
|
+
## [0.5.24]
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
|
|
31
|
+
- See `0.4.38`.
|
|
32
|
+
|
|
33
|
+
## [0.4.38]
|
|
34
|
+
|
|
35
|
+
### Added
|
|
36
|
+
|
|
37
|
+
- Application project commands can be defined without a reference.
|
|
38
|
+
- Git command branch action all was implemented.
|
|
39
|
+
|
|
40
|
+
### Changed
|
|
41
|
+
|
|
42
|
+
- Override alias methods were created for suffix "!" to "\_".
|
|
43
|
+
- Project banners do not display boolean attributes.
|
|
44
|
+
- OptionPartition method append strips single quotes when quoting strings.
|
|
45
|
+
|
|
46
|
+
### Fixed
|
|
47
|
+
|
|
48
|
+
- Application methods log and exclude were non-functional.
|
|
49
|
+
- Docker command bake action build does not support changing context.
|
|
50
|
+
- Project base method semver did not include prerelease delimiter.
|
|
51
|
+
- Project session cleanup did not compare by reference.
|
|
52
|
+
|
|
53
|
+
## [0.7.6] - 2026-05-04
|
|
54
|
+
|
|
55
|
+
### Added
|
|
56
|
+
|
|
57
|
+
- Node command publish action verify was created.
|
|
58
|
+
|
|
59
|
+
## [0.6.13]
|
|
60
|
+
|
|
61
|
+
### Added
|
|
62
|
+
|
|
63
|
+
- Application project commands can be defined without a reference.
|
|
64
|
+
|
|
65
|
+
### Fixed
|
|
66
|
+
|
|
67
|
+
- Application methods log and exclude were non-functional.
|
|
68
|
+
- Project base tasks did not detect build scripts using Arrays.
|
|
69
|
+
|
|
3
70
|
## [0.7.5] - 2026-04-29
|
|
4
71
|
|
|
5
72
|
### Added
|
|
@@ -13,20 +80,20 @@
|
|
|
13
80
|
- Docker command bake action build can use a URL as the context.
|
|
14
81
|
- Git command options were updated to version 2.54.
|
|
15
82
|
|
|
16
|
-
## [0.6.12]
|
|
83
|
+
## [0.6.12]
|
|
17
84
|
|
|
18
85
|
### Fixed
|
|
19
86
|
|
|
20
87
|
- Application dynamic Project loader assumed class would be found.
|
|
21
88
|
- Git command grep did not add patterns with "--" pathspec separator.
|
|
22
89
|
|
|
23
|
-
## [0.5.23]
|
|
90
|
+
## [0.5.23]
|
|
24
91
|
|
|
25
92
|
### Fixed
|
|
26
93
|
|
|
27
94
|
- See `0.4.37`.
|
|
28
95
|
|
|
29
|
-
## [0.4.37]
|
|
96
|
+
## [0.4.37]
|
|
30
97
|
|
|
31
98
|
### Changed
|
|
32
99
|
|
|
@@ -77,19 +144,19 @@
|
|
|
77
144
|
|
|
78
145
|
- Node command outdated using PNPM did not work in nested projects.
|
|
79
146
|
|
|
80
|
-
## [0.6.11]
|
|
147
|
+
## [0.6.11]
|
|
81
148
|
|
|
82
149
|
### Changed
|
|
83
150
|
|
|
84
151
|
- Git internal data calls do not write to logs.
|
|
85
152
|
|
|
86
|
-
## [0.5.22]
|
|
153
|
+
## [0.5.22]
|
|
87
154
|
|
|
88
155
|
### Fixed
|
|
89
156
|
|
|
90
157
|
- Project base run command was not covered due to lack of type checking.
|
|
91
158
|
|
|
92
|
-
## [0.4.36]
|
|
159
|
+
## [0.4.36]
|
|
93
160
|
|
|
94
161
|
### Added
|
|
95
162
|
|
|
@@ -219,7 +286,7 @@
|
|
|
219
286
|
- Project base method command_args did not append prompted value.
|
|
220
287
|
- Bundler command exec did not use correct delegate for delete.
|
|
221
288
|
|
|
222
|
-
## [0.6.9]
|
|
289
|
+
## [0.6.9]
|
|
223
290
|
|
|
224
291
|
### Added
|
|
225
292
|
|
|
@@ -235,7 +302,7 @@
|
|
|
235
302
|
|
|
236
303
|
- See `0.4.35`.
|
|
237
304
|
|
|
238
|
-
## [0.4.35]
|
|
305
|
+
## [0.4.35]
|
|
239
306
|
|
|
240
307
|
### Changed
|
|
241
308
|
|
|
@@ -262,13 +329,13 @@
|
|
|
262
329
|
|
|
263
330
|
- Gem command outdated did not set bindir with update command.
|
|
264
331
|
|
|
265
|
-
## [0.5.20]
|
|
332
|
+
## [0.5.20]
|
|
266
333
|
|
|
267
334
|
### Fixed
|
|
268
335
|
|
|
269
336
|
- Bundle config get method did not always discard newline.
|
|
270
337
|
|
|
271
|
-
## [0.4.34]
|
|
338
|
+
## [0.4.34]
|
|
272
339
|
|
|
273
340
|
### Added
|
|
274
341
|
|
|
@@ -299,13 +366,13 @@
|
|
|
299
366
|
- Bundler did not recognize sub-commands options.
|
|
300
367
|
- Project graph did not use built-in comparison method.
|
|
301
368
|
|
|
302
|
-
## [0.5.19]
|
|
369
|
+
## [0.5.19]
|
|
303
370
|
|
|
304
371
|
### Fixed
|
|
305
372
|
|
|
306
373
|
- See `0.4.33`.
|
|
307
374
|
|
|
308
|
-
## [0.4.33]
|
|
375
|
+
## [0.4.33]
|
|
309
376
|
|
|
310
377
|
### Added
|
|
311
378
|
|
|
@@ -351,7 +418,7 @@
|
|
|
351
418
|
|
|
352
419
|
- See `0.5.18`.
|
|
353
420
|
|
|
354
|
-
## [0.4.32]
|
|
421
|
+
## [0.4.32]
|
|
355
422
|
|
|
356
423
|
### Fixed
|
|
357
424
|
|
|
@@ -366,7 +433,7 @@
|
|
|
366
433
|
|
|
367
434
|
- See `0.4.31`.
|
|
368
435
|
|
|
369
|
-
## [0.4.31]
|
|
436
|
+
## [0.4.31]
|
|
370
437
|
|
|
371
438
|
### Changed
|
|
372
439
|
|
|
@@ -443,13 +510,13 @@
|
|
|
443
510
|
- Project graph print did not display parent and last child consequetively.
|
|
444
511
|
- Project outdated interactive prompts use exact column alignments.
|
|
445
512
|
|
|
446
|
-
## [0.5.16]
|
|
513
|
+
## [0.5.16]
|
|
447
514
|
|
|
448
515
|
### Fixed
|
|
449
516
|
|
|
450
517
|
- See `0.4.30`.
|
|
451
518
|
|
|
452
|
-
## [0.4.30]
|
|
519
|
+
## [0.4.30]
|
|
453
520
|
|
|
454
521
|
### Added
|
|
455
522
|
|
|
@@ -476,13 +543,13 @@
|
|
|
476
543
|
|
|
477
544
|
- Session global program options were untested and worthless upon draft.
|
|
478
545
|
|
|
479
|
-
## [0.5.15]
|
|
546
|
+
## [0.5.15]
|
|
480
547
|
|
|
481
548
|
### Fixed
|
|
482
549
|
|
|
483
550
|
- See `0.4.29`.
|
|
484
551
|
|
|
485
|
-
## [0.4.29]
|
|
552
|
+
## [0.4.29]
|
|
486
553
|
|
|
487
554
|
### Fixed
|
|
488
555
|
|
|
@@ -494,7 +561,7 @@
|
|
|
494
561
|
|
|
495
562
|
- See `0.4.28`.
|
|
496
563
|
|
|
497
|
-
## [0.4.28]
|
|
564
|
+
## [0.4.28]
|
|
498
565
|
|
|
499
566
|
### Fixed
|
|
500
567
|
|
|
@@ -517,13 +584,13 @@
|
|
|
517
584
|
- Project base choice range did not detect empty list result.
|
|
518
585
|
- Project base method build as arrays parsed unrelated arguments.
|
|
519
586
|
|
|
520
|
-
## [0.5.13]
|
|
587
|
+
## [0.5.13]
|
|
521
588
|
|
|
522
589
|
### Fixed
|
|
523
590
|
|
|
524
591
|
- See `0.4.27`.
|
|
525
592
|
|
|
526
|
-
## [0.4.27]
|
|
593
|
+
## [0.4.27]
|
|
527
594
|
|
|
528
595
|
### Changed
|
|
529
596
|
|
|
@@ -628,7 +695,7 @@
|
|
|
628
695
|
|
|
629
696
|
- Node task update did not check equivalent ENV install options.
|
|
630
697
|
|
|
631
|
-
## [0.5.12]
|
|
698
|
+
## [0.5.12]
|
|
632
699
|
|
|
633
700
|
### Changed
|
|
634
701
|
|
|
@@ -638,7 +705,7 @@
|
|
|
638
705
|
|
|
639
706
|
- Node command run did nothing at all when called upon.
|
|
640
707
|
|
|
641
|
-
## [0.4.26]
|
|
708
|
+
## [0.4.26]
|
|
642
709
|
|
|
643
710
|
### Added
|
|
644
711
|
|
|
@@ -666,7 +733,7 @@
|
|
|
666
733
|
- Ruby command version did not parse asdf output in Go.
|
|
667
734
|
- Git command submodule action branch did not provide name argument.
|
|
668
735
|
|
|
669
|
-
## [0.4.25]
|
|
736
|
+
## [0.4.25]
|
|
670
737
|
|
|
671
738
|
### Fixed
|
|
672
739
|
|
|
@@ -697,7 +764,7 @@
|
|
|
697
764
|
|
|
698
765
|
- See `0.4.23`.
|
|
699
766
|
|
|
700
|
-
## [0.4.23]
|
|
767
|
+
## [0.4.23]
|
|
701
768
|
|
|
702
769
|
### Fixed
|
|
703
770
|
|
|
@@ -711,7 +778,7 @@
|
|
|
711
778
|
|
|
712
779
|
- Git command commit did not always show files being pushed.
|
|
713
780
|
|
|
714
|
-
## [0.4.22]
|
|
781
|
+
## [0.4.22]
|
|
715
782
|
|
|
716
783
|
### Added
|
|
717
784
|
|
|
@@ -735,7 +802,7 @@
|
|
|
735
802
|
|
|
736
803
|
- See `0.4.21`.
|
|
737
804
|
|
|
738
|
-
## [0.4.21]
|
|
805
|
+
## [0.4.21]
|
|
739
806
|
|
|
740
807
|
### Added
|
|
741
808
|
|
|
@@ -771,7 +838,7 @@
|
|
|
771
838
|
|
|
772
839
|
- See `0.4.20`.
|
|
773
840
|
|
|
774
|
-
## [0.4.20]
|
|
841
|
+
## [0.4.20]
|
|
775
842
|
|
|
776
843
|
### Changed
|
|
777
844
|
|
|
@@ -794,7 +861,7 @@
|
|
|
794
861
|
- Docker command compose parameter services is interactive.
|
|
795
862
|
- Workspace with public method has conditional pass parameter.
|
|
796
863
|
|
|
797
|
-
## [0.4.19]
|
|
864
|
+
## [0.4.19]
|
|
798
865
|
|
|
799
866
|
### Added
|
|
800
867
|
|
|
@@ -831,7 +898,7 @@
|
|
|
831
898
|
- Git command submodule did not include name of command.
|
|
832
899
|
- Shellwords method shellsplit was missing from String class.
|
|
833
900
|
|
|
834
|
-
## [0.4.18]
|
|
901
|
+
## [0.4.18]
|
|
835
902
|
|
|
836
903
|
### Added
|
|
837
904
|
|
|
@@ -847,19 +914,19 @@
|
|
|
847
914
|
- Common format method puts_oe was renamed log_console.
|
|
848
915
|
- Global task git:all is disabled for single project workspaces.
|
|
849
916
|
|
|
850
|
-
## [0.3.14]
|
|
917
|
+
## [0.3.14]
|
|
851
918
|
|
|
852
919
|
### Fixed
|
|
853
920
|
|
|
854
921
|
- Gem command exec did not separate command and arguments.
|
|
855
922
|
|
|
856
|
-
## [0.2.14]
|
|
923
|
+
## [0.2.14]
|
|
857
924
|
|
|
858
925
|
### Fixed
|
|
859
926
|
|
|
860
927
|
- See `0.1.11`.
|
|
861
928
|
|
|
862
|
-
## [0.1.11]
|
|
929
|
+
## [0.1.11]
|
|
863
930
|
|
|
864
931
|
### Fixed
|
|
865
932
|
|
|
@@ -874,7 +941,7 @@
|
|
|
874
941
|
|
|
875
942
|
- Shellwords gem is no longer globally required.
|
|
876
943
|
|
|
877
|
-
## [0.4.17]
|
|
944
|
+
## [0.4.17]
|
|
878
945
|
|
|
879
946
|
### Added
|
|
880
947
|
|
|
@@ -910,7 +977,7 @@
|
|
|
910
977
|
|
|
911
978
|
- See `0.4.16`.
|
|
912
979
|
|
|
913
|
-
## [0.4.16]
|
|
980
|
+
## [0.4.16]
|
|
914
981
|
|
|
915
982
|
### Added
|
|
916
983
|
|
|
@@ -944,7 +1011,7 @@
|
|
|
944
1011
|
|
|
945
1012
|
- Common method choice can accept dashed ranges for selection lists.
|
|
946
1013
|
|
|
947
|
-
## [0.4.15]
|
|
1014
|
+
## [0.4.15]
|
|
948
1015
|
|
|
949
1016
|
### Added
|
|
950
1017
|
|
|
@@ -956,19 +1023,19 @@
|
|
|
956
1023
|
- Ruby task copy does not guess Gem directory when version is used.
|
|
957
1024
|
- Workspace hash-based data uses global method for key creation.
|
|
958
1025
|
|
|
959
|
-
## [0.3.13]
|
|
1026
|
+
## [0.3.13]
|
|
960
1027
|
|
|
961
1028
|
### Fixed
|
|
962
1029
|
|
|
963
1030
|
- See `0.2.13`.
|
|
964
1031
|
|
|
965
|
-
## [0.2.13]
|
|
1032
|
+
## [0.2.13]
|
|
966
1033
|
|
|
967
1034
|
### Fixed
|
|
968
1035
|
|
|
969
1036
|
- Project graph did not ignore circular references.
|
|
970
1037
|
|
|
971
|
-
## [0.1.10]
|
|
1038
|
+
## [0.1.10]
|
|
972
1039
|
|
|
973
1040
|
### Fixed
|
|
974
1041
|
|
|
@@ -985,7 +1052,7 @@
|
|
|
985
1052
|
|
|
986
1053
|
- Gem command push did not prompt for gem to publish.
|
|
987
1054
|
|
|
988
|
-
## [0.4.14]
|
|
1055
|
+
## [0.4.14]
|
|
989
1056
|
|
|
990
1057
|
### Added
|
|
991
1058
|
|
|
@@ -1016,7 +1083,7 @@
|
|
|
1016
1083
|
- Project confirmation accept dialog did not always quit.
|
|
1017
1084
|
- Git command add did not detect when no files were changed.
|
|
1018
1085
|
|
|
1019
|
-
## [0.3.12]
|
|
1086
|
+
## [0.3.12]
|
|
1020
1087
|
|
|
1021
1088
|
### Fixed
|
|
1022
1089
|
|
|
@@ -1026,13 +1093,13 @@
|
|
|
1026
1093
|
- Gem command push did not validate gem file to publish.
|
|
1027
1094
|
- Node command publish did not publish when silent.
|
|
1028
1095
|
|
|
1029
|
-
## [0.2.12]
|
|
1096
|
+
## [0.2.12]
|
|
1030
1097
|
|
|
1031
1098
|
### Fixed
|
|
1032
1099
|
|
|
1033
1100
|
- See `0.1.9`.
|
|
1034
1101
|
|
|
1035
|
-
## [0.1.9]
|
|
1102
|
+
## [0.1.9]
|
|
1036
1103
|
|
|
1037
1104
|
### Added
|
|
1038
1105
|
|
|
@@ -1072,7 +1139,7 @@
|
|
|
1072
1139
|
|
|
1073
1140
|
- Project private variables external modification was revised.
|
|
1074
1141
|
|
|
1075
|
-
## [0.4.13]
|
|
1142
|
+
## [0.4.13]
|
|
1076
1143
|
|
|
1077
1144
|
### Added
|
|
1078
1145
|
|
|
@@ -1129,14 +1196,14 @@
|
|
|
1129
1196
|
|
|
1130
1197
|
- See `0.2.11`.
|
|
1131
1198
|
|
|
1132
|
-
## [0.2.11]
|
|
1199
|
+
## [0.2.11]
|
|
1133
1200
|
|
|
1134
1201
|
### Fixed
|
|
1135
1202
|
|
|
1136
1203
|
- Disabled batch and alias tasks were not hidden.
|
|
1137
1204
|
- Workspace git did not parse multiple download URIs.
|
|
1138
1205
|
|
|
1139
|
-
## [0.1.8]
|
|
1206
|
+
## [0.1.8]
|
|
1140
1207
|
|
|
1141
1208
|
### Fixed
|
|
1142
1209
|
|
|
@@ -1218,7 +1285,7 @@
|
|
|
1218
1285
|
- Git command rev action branch only echoed valid branches.
|
|
1219
1286
|
- Git command rev action parseopt is not relevant to a workspace.
|
|
1220
1287
|
|
|
1221
|
-
## [0.3.10]
|
|
1288
|
+
## [0.3.10]
|
|
1222
1289
|
|
|
1223
1290
|
### Fixed
|
|
1224
1291
|
|
|
@@ -1231,14 +1298,14 @@
|
|
|
1231
1298
|
|
|
1232
1299
|
- Git command files action ignored could not be used alone.
|
|
1233
1300
|
|
|
1234
|
-
## [0.2.10]
|
|
1301
|
+
## [0.2.10]
|
|
1235
1302
|
|
|
1236
1303
|
### Fixed
|
|
1237
1304
|
|
|
1238
1305
|
- Project run and script tasks did not fire first and last callbacks.
|
|
1239
1306
|
- Git command clone did not read booleans for recurse-submodules.
|
|
1240
1307
|
|
|
1241
|
-
## [0.1.7]
|
|
1308
|
+
## [0.1.7]
|
|
1242
1309
|
|
|
1243
1310
|
### Fixed
|
|
1244
1311
|
|
|
@@ -1295,13 +1362,13 @@
|
|
|
1295
1362
|
|
|
1296
1363
|
- Project task archive was not enabled.
|
|
1297
1364
|
|
|
1298
|
-
## [0.3.9]
|
|
1365
|
+
## [0.3.9]
|
|
1299
1366
|
|
|
1300
1367
|
### Fixed
|
|
1301
1368
|
|
|
1302
1369
|
- Project option parser did not separate custom values.
|
|
1303
1370
|
|
|
1304
|
-
## [0.2.9]
|
|
1371
|
+
## [0.2.9]
|
|
1305
1372
|
|
|
1306
1373
|
### Changed
|
|
1307
1374
|
|
|
@@ -1313,7 +1380,7 @@
|
|
|
1313
1380
|
- Git command pull actions used unknown flags.
|
|
1314
1381
|
- Workspace describe did not merge multiple invocations.
|
|
1315
1382
|
|
|
1316
|
-
## [0.1.6]
|
|
1383
|
+
## [0.1.6]
|
|
1317
1384
|
|
|
1318
1385
|
### Fixed
|
|
1319
1386
|
|
|
@@ -1339,13 +1406,13 @@
|
|
|
1339
1406
|
- Python venv init did not locate user-defined program paths.
|
|
1340
1407
|
- Node update task did not reset revbuild target flags.
|
|
1341
1408
|
|
|
1342
|
-
## [0.3.8]
|
|
1409
|
+
## [0.3.8]
|
|
1343
1410
|
|
|
1344
1411
|
### Fixed
|
|
1345
1412
|
|
|
1346
1413
|
- Project class did not parse verbose string values.
|
|
1347
1414
|
|
|
1348
|
-
## [0.2.8]
|
|
1415
|
+
## [0.2.8]
|
|
1349
1416
|
|
|
1350
1417
|
### Fixed
|
|
1351
1418
|
|
|
@@ -1387,13 +1454,13 @@
|
|
|
1387
1454
|
- Unrecognized options are appended selectively on context.
|
|
1388
1455
|
- Hatch root options were not applied correctly.
|
|
1389
1456
|
|
|
1390
|
-
## [0.3.7]
|
|
1457
|
+
## [0.3.7]
|
|
1391
1458
|
|
|
1392
1459
|
### Fixed
|
|
1393
1460
|
|
|
1394
1461
|
- See `0.2.7`.
|
|
1395
1462
|
|
|
1396
|
-
## [0.2.7]
|
|
1463
|
+
## [0.2.7]
|
|
1397
1464
|
|
|
1398
1465
|
### Fixed
|
|
1399
1466
|
|
|
@@ -1516,13 +1583,13 @@
|
|
|
1516
1583
|
|
|
1517
1584
|
- See `0.2.6`.
|
|
1518
1585
|
|
|
1519
|
-
## [0.2.6]
|
|
1586
|
+
## [0.2.6]
|
|
1520
1587
|
|
|
1521
1588
|
### Fixed
|
|
1522
1589
|
|
|
1523
1590
|
- Git rebase did not include flag with pull command.
|
|
1524
1591
|
|
|
1525
|
-
## [0.3.4]
|
|
1592
|
+
## [0.3.4]
|
|
1526
1593
|
|
|
1527
1594
|
### Fixed
|
|
1528
1595
|
|
|
@@ -1544,13 +1611,13 @@
|
|
|
1544
1611
|
|
|
1545
1612
|
- Task program command options used unrecognized symbol.
|
|
1546
1613
|
|
|
1547
|
-
## [0.2.5]
|
|
1614
|
+
## [0.2.5]
|
|
1548
1615
|
|
|
1549
1616
|
### Fixed
|
|
1550
1617
|
|
|
1551
1618
|
- See `0.1.5`.
|
|
1552
1619
|
|
|
1553
|
-
## [0.1.5]
|
|
1620
|
+
## [0.1.5]
|
|
1554
1621
|
|
|
1555
1622
|
### Fixed
|
|
1556
1623
|
|
|
@@ -1566,7 +1633,7 @@
|
|
|
1566
1633
|
|
|
1567
1634
|
- Build ENV options error message used undeclared variable.
|
|
1568
1635
|
|
|
1569
|
-
## [0.2.4]
|
|
1636
|
+
## [0.2.4]
|
|
1570
1637
|
|
|
1571
1638
|
### Fixed
|
|
1572
1639
|
|
|
@@ -1635,7 +1702,7 @@
|
|
|
1635
1702
|
|
|
1636
1703
|
- Project hash options duplicated dash prefix.
|
|
1637
1704
|
|
|
1638
|
-
## [0.1.4]
|
|
1705
|
+
## [0.1.4]
|
|
1639
1706
|
|
|
1640
1707
|
### Fixed
|
|
1641
1708
|
|
|
@@ -1812,12 +1879,16 @@
|
|
|
1812
1879
|
|
|
1813
1880
|
- Changelog was created.
|
|
1814
1881
|
|
|
1882
|
+
[0.7.7]: https://github.com/anpham6/squared-ruby/releases/tag/v0.7.7
|
|
1883
|
+
[0.7.6]: https://github.com/anpham6/squared-ruby/releases/tag/v0.7.6
|
|
1815
1884
|
[0.7.5]: https://github.com/anpham6/squared-ruby/releases/tag/v0.7.5
|
|
1816
1885
|
[0.7.4]: https://github.com/anpham6/squared-ruby/releases/tag/v0.7.4
|
|
1817
1886
|
[0.7.3]: https://github.com/anpham6/squared-ruby/releases/tag/v0.7.3
|
|
1818
1887
|
[0.7.2]: https://github.com/anpham6/squared-ruby/releases/tag/v0.7.2
|
|
1819
1888
|
[0.7.1]: https://github.com/anpham6/squared-ruby/releases/tag/v0.7.1
|
|
1820
1889
|
[0.7.0]: https://github.com/anpham6/squared-ruby/releases/tag/v0.7.0
|
|
1890
|
+
[0.6.14]: https://github.com/anpham6/squared-ruby/releases/tag/v0.6.14
|
|
1891
|
+
[0.6.13]: https://github.com/anpham6/squared-ruby/releases/tag/v0.6.13
|
|
1821
1892
|
[0.6.12]: https://github.com/anpham6/squared-ruby/releases/tag/v0.6.12
|
|
1822
1893
|
[0.6.11]: https://github.com/anpham6/squared-ruby/releases/tag/v0.6.11
|
|
1823
1894
|
[0.6.10]: https://github.com/anpham6/squared-ruby/releases/tag/v0.6.10
|
|
@@ -1831,6 +1902,7 @@
|
|
|
1831
1902
|
[0.6.2]: https://github.com/anpham6/squared-ruby/releases/tag/v0.6.2
|
|
1832
1903
|
[0.6.1]: https://github.com/anpham6/squared-ruby/releases/tag/v0.6.1
|
|
1833
1904
|
[0.6.0]: https://github.com/anpham6/squared-ruby/releases/tag/v0.6.0
|
|
1905
|
+
[0.5.24]: https://github.com/anpham6/squared-ruby/releases/tag/v0.5.24
|
|
1834
1906
|
[0.5.23]: https://github.com/anpham6/squared-ruby/releases/tag/v0.5.23
|
|
1835
1907
|
[0.5.22]: https://github.com/anpham6/squared-ruby/releases/tag/v0.5.22
|
|
1836
1908
|
[0.5.21]: https://github.com/anpham6/squared-ruby/releases/tag/v0.5.21
|
|
@@ -1855,6 +1927,7 @@
|
|
|
1855
1927
|
[0.5.2]: https://github.com/anpham6/squared-ruby/releases/tag/v0.5.2-ruby
|
|
1856
1928
|
[0.5.1]: https://github.com/anpham6/squared-ruby/releases/tag/v0.5.1-ruby
|
|
1857
1929
|
[0.5.0]: https://github.com/anpham6/squared-ruby/releases/tag/v0.5.0-ruby
|
|
1930
|
+
[0.4.38]: https://github.com/anpham6/squared-ruby/releases/tag/v0.4.38
|
|
1858
1931
|
[0.4.37]: https://github.com/anpham6/squared-ruby/releases/tag/v0.4.37
|
|
1859
1932
|
[0.4.36]: https://github.com/anpham6/squared-ruby/releases/tag/v0.4.36
|
|
1860
1933
|
[0.4.35]: https://github.com/anpham6/squared-ruby/releases/tag/v0.4.35
|
data/README.md
CHANGED
|
@@ -211,7 +211,6 @@ Workspace::Application
|
|
|
211
211
|
})
|
|
212
212
|
end
|
|
213
213
|
.add("squared", release: "https://github.com/anpham6/squared/archive/refs/tags/??") # squared:unpack:zip[v5.4.0,/tmp/squared]
|
|
214
|
-
end
|
|
215
214
|
```
|
|
216
215
|
|
|
217
216
|
### Clone
|
|
@@ -366,7 +365,7 @@ Workspace::Application
|
|
|
366
365
|
first("git:ls-files", override: true) { puts "2" } # puts "2"
|
|
367
366
|
last("git:ls-files") { puts workspace.root } # puts "/workspaces" (does not run when error is raised)
|
|
368
367
|
error("git:ls-files") { |err| err.is_a?(TypeError) } # return true to suppress error
|
|
369
|
-
end
|
|
368
|
+
end
|
|
370
369
|
end
|
|
371
370
|
.with(:ruby) do
|
|
372
371
|
run("gem build") # gem build
|
|
@@ -698,6 +697,7 @@ GIT_COUNT=50 # list display limit
|
|
|
698
697
|
| checkout | * | F|FORCE MERGE |
|
|
699
698
|
| clone | * | DEPTH=n ORIGIN=s BRANCH=s REVISION=s BARE=1 LOCAL=0,1 |
|
|
700
699
|
| | | SINGLE_BRANCH=0,1 NO_CHECKOUT=1 NO_TAGS=1 QUIET=1 |
|
|
700
|
+
| commit | amend | F|FORCE |
|
|
701
701
|
| commit | * | UPSTREAM=s DRY_RUN EDIT=0 M|MESSAGE=s |
|
|
702
702
|
| diff | head branch | INDEX=n |
|
|
703
703
|
| diff | * | PATHSPEC=s |
|
|
@@ -886,12 +886,13 @@ Features can be enabled through ENV when calling global tasks such as through *C
|
|
|
886
886
|
| outdated | - | U|UPDATE=major|minor|patch DIFF DRY_RUN |
|
|
887
887
|
| publish | - | OTP=s TAG=s ACCESS=0,1,s DRY_RUN Y |
|
|
888
888
|
| depend package | * | PACAKGE_LOCK|LOCKFILE=0 NO_LOCKFILE=1 Y |
|
|
889
|
-
| npm
|
|
889
|
+
| npm | depend | APPROVE_SCRIPTS=s |
|
|
890
890
|
| npm | package | SAVE IGNORE_SCRIPTS STRICT_PEER_DEPS |
|
|
891
891
|
| pnpm | depend | PUBLIC_HOIST_PATTERN=s APPROVE_BUILDS |
|
|
892
892
|
| pnpm | depend:add | ALLOW_BUILD=s |
|
|
893
893
|
| yarn | depend package | IGNORE_ENGINES |
|
|
894
894
|
| yarn | depend:add | W|IGNORE_WORKSPACE_ROOT_CHECK=0 |
|
|
895
|
+
| npm pnpm | depend package | CPU=s OS=s LIBC=s |
|
|
895
896
|
|
|
896
897
|
#### Python
|
|
897
898
|
|
data/lib/squared/common/shell.rb
CHANGED
|
@@ -56,15 +56,22 @@ module Squared
|
|
|
56
56
|
def shell_quote(val, option: true, force: true, double: false, preserve: true, pass: false, override: false)
|
|
57
57
|
val = val.to_s
|
|
58
58
|
return val if (!force && !val.include?(' ')) || val.empty?
|
|
59
|
+
return val if option && val.match?(/\A(?:-[^=\s-](?:=|\s+)?|(--)?[^=\s-][^=\s]*(?(1)(?:=|\s+)|=))(["']).+\2\z/m)
|
|
59
60
|
|
|
60
|
-
if option
|
|
61
|
-
pat = /\A(?:-[^=\s-](?:=|\s+)?|(--)?[^=\s-][^=\s]*(?(1)(?:=|\s+)|=))(["']).+\2\z/m
|
|
62
|
-
return val if val.match?(pat)
|
|
63
|
-
end
|
|
64
61
|
if val =~ QUOTE_VALUE
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
62
|
+
if pass == '"' || pass == "'"
|
|
63
|
+
return val if pass == $1
|
|
64
|
+
elsif pass || ($1 == '"' && Rake::Win32.windows? && val.match?(/(?:[#{File::SEPARATOR} ]|\\")/o))
|
|
65
|
+
return val
|
|
66
|
+
end
|
|
67
|
+
case preserve
|
|
68
|
+
when false
|
|
69
|
+
base = $2
|
|
70
|
+
when '"'
|
|
71
|
+
base = $2 if $1 == "'"
|
|
72
|
+
when "'"
|
|
73
|
+
base = $2 if $1 == '"'
|
|
74
|
+
end
|
|
68
75
|
end
|
|
69
76
|
q = -> { (base || val).gsub("'\\\\''", "'") }
|
|
70
77
|
if double || Rake::Win32.windows? || (ARG[:QUOTE] == '"' && !override)
|
data/lib/squared/version.rb
CHANGED