squared 0.3.10 → 0.3.11
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 +23 -0
- data/lib/squared/common/format.rb +3 -1
- data/lib/squared/version.rb +1 -1
- data/lib/squared/workspace/application.rb +2 -2
- data/lib/squared/workspace/project/git.rb +5 -1
- data/lib/squared/workspace/project/node.rb +7 -2
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 249f3799dc2e8a511a03aec91e04dc84f707cf7b21eb194b89e53805321001c6
|
4
|
+
data.tar.gz: 4906775ef2c64fae979a3b21a142a19b1f4d17ad4e659b577a41dc971e1c7b4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a575c60ad790e1852dad7220d2783bd32e03bfd62d0a04326e5ee72a1868d89ed49b3a50f85504d097ba06d9bd673997770abd091fc0a6da661c7253186b861f
|
7
|
+
data.tar.gz: fb026dc84454c92e2c09ee52d1fc3fddf0f6f33a071f389abbbc0de6ec584d696e1feed133e05502d5f431d2b67998133e6e5f79b98dd5d382c337e000469d98
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,25 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [0.3.11] - 2025-05-15
|
4
|
+
|
5
|
+
- See `0.2.11`.
|
6
|
+
|
7
|
+
## [0.2.11] - 2025-05-15
|
8
|
+
|
9
|
+
### Fixed
|
10
|
+
|
11
|
+
- Disabled batch and alias tasks were not hidden.
|
12
|
+
- Workspace git did not parse multiple download URIs.
|
13
|
+
|
14
|
+
## [0.1.8] - 2025-05-15
|
15
|
+
|
16
|
+
### Fixed
|
17
|
+
|
18
|
+
- Disabled batch and alias tasks were not hidden.
|
19
|
+
- Log messages were written to terminal twice when emphasized.
|
20
|
+
- Node outdated interactive for major would sometimes deactivate.
|
21
|
+
- Node outdated interactive for major was mislabeled as minor.
|
22
|
+
|
3
23
|
## [0.3.10] - 2025-04-27
|
4
24
|
|
5
25
|
### Fixed
|
@@ -401,6 +421,7 @@
|
|
401
421
|
|
402
422
|
- Changelog was created.
|
403
423
|
|
424
|
+
[0.3.11]: https://github.com/anpham6/squared/releases/tag/v0.3.11-ruby
|
404
425
|
[0.3.10]: https://github.com/anpham6/squared/releases/tag/v0.3.10-ruby
|
405
426
|
[0.3.9]: https://github.com/anpham6/squared/releases/tag/v0.3.9-ruby
|
406
427
|
[0.3.8]: https://github.com/anpham6/squared/releases/tag/v0.3.8-ruby
|
@@ -412,6 +433,7 @@
|
|
412
433
|
[0.3.2]: https://github.com/anpham6/squared/releases/tag/v0.3.2-ruby
|
413
434
|
[0.3.1]: https://github.com/anpham6/squared/releases/tag/v0.3.1-ruby
|
414
435
|
[0.3.0]: https://github.com/anpham6/squared/releases/tag/v0.3.0-ruby
|
436
|
+
[0.2.11]: https://github.com/anpham6/squared/releases/tag/v0.2.11-ruby
|
415
437
|
[0.2.10]: https://github.com/anpham6/squared/releases/tag/v0.2.10-ruby
|
416
438
|
[0.2.9]: https://github.com/anpham6/squared/releases/tag/v0.2.9-ruby
|
417
439
|
[0.2.8]: https://github.com/anpham6/squared/releases/tag/v0.2.8-ruby
|
@@ -423,6 +445,7 @@
|
|
423
445
|
[0.2.2]: https://github.com/anpham6/squared/releases/tag/v0.2.2-ruby
|
424
446
|
[0.2.1]: https://github.com/anpham6/squared/releases/tag/v0.2.1-ruby
|
425
447
|
[0.2.0]: https://github.com/anpham6/squared/releases/tag/v0.2.0-ruby
|
448
|
+
[0.1.8]: https://github.com/anpham6/squared/releases/tag/v0.1.8-ruby
|
426
449
|
[0.1.7]: https://github.com/anpham6/squared/releases/tag/v0.1.7-ruby
|
427
450
|
[0.1.6]: https://github.com/anpham6/squared/releases/tag/v0.1.6-ruby
|
428
451
|
[0.1.5]: https://github.com/anpham6/squared/releases/tag/v0.1.5-ruby
|
@@ -171,7 +171,7 @@ module Squared
|
|
171
171
|
if args.size > 1
|
172
172
|
title = log_title(level, color: false)
|
173
173
|
sub = { pat: /^(#{title})(.+)$/, styles: __get__(:theme)[:logger][log_sym(level)] } if color
|
174
|
-
emphasize(args, title: title + (subject ? " #{subject}" : ''), sub: sub)
|
174
|
+
emphasize(args, title: title + (subject ? " #{subject}" : ''), sub: sub, pipe: -1)
|
175
175
|
else
|
176
176
|
msg = [log_title(level, color: color)]
|
177
177
|
msg << (color ? sub_style(subject, :underline) : subject) if subject
|
@@ -257,6 +257,8 @@ module Squared
|
|
257
257
|
yield out
|
258
258
|
elsif pipe
|
259
259
|
case pipe
|
260
|
+
when -1
|
261
|
+
return out
|
260
262
|
when 0
|
261
263
|
pipe = $stdin
|
262
264
|
when 2
|
data/lib/squared/version.rb
CHANGED
@@ -455,7 +455,7 @@ module Squared
|
|
455
455
|
tasks << key if obj.has?(key, baseref)
|
456
456
|
elsif (batch = series.batch_get(key))
|
457
457
|
obj.allref.each do |ref|
|
458
|
-
next unless (data = batch[ref])
|
458
|
+
next unless obj.has?(key, ref) && (data = batch[ref])
|
459
459
|
|
460
460
|
data.each do |val|
|
461
461
|
if (items = task_resolve(obj, val)).empty?
|
@@ -474,7 +474,7 @@ module Squared
|
|
474
474
|
return [] if (base && !obj.ref?(baseref)) || !(data = series.alias_get(key))
|
475
475
|
|
476
476
|
obj.allref.each do |ref|
|
477
|
-
next unless (alt = data[ref])
|
477
|
+
next unless obj.has?(key, ref) && (alt = data[ref])
|
478
478
|
|
479
479
|
ret = task_resolve(obj, alt)
|
480
480
|
break unless ret.empty?
|
@@ -12,7 +12,11 @@ module Squared
|
|
12
12
|
check = ->(proj) { proj.is_a?(Project::Git) && !proj.exclude?(Project::Git.ref) && git_clone?(proj.path) }
|
13
13
|
if uri.is_a?(Array)
|
14
14
|
base = name
|
15
|
-
uri.each
|
15
|
+
uri.each do |val|
|
16
|
+
if (proj = @project[val.to_s]) && check.(proj)
|
17
|
+
repo << proj
|
18
|
+
end
|
19
|
+
end
|
16
20
|
elsif uri
|
17
21
|
data[name.to_s] = uri
|
18
22
|
elsif name.is_a?(Enumerable)
|
@@ -437,7 +437,7 @@ module Squared
|
|
437
437
|
index = if a != c
|
438
438
|
1
|
439
439
|
elsif b != d
|
440
|
-
3
|
440
|
+
a == '0' ? 1 : 3
|
441
441
|
else
|
442
442
|
5
|
443
443
|
end
|
@@ -471,7 +471,8 @@ module Squared
|
|
471
471
|
col2 = size_col.(found, 1) + 4
|
472
472
|
found.each_with_index do |item, i|
|
473
473
|
a, b, c, d, e = item
|
474
|
-
|
474
|
+
f = inter && (rev != :major || e || semmajor?(item[5], item[6]))
|
475
|
+
if f && !confirm_outdated(a, c, d, e)
|
475
476
|
cur = -1
|
476
477
|
else
|
477
478
|
cur = modified
|
@@ -739,6 +740,10 @@ module Squared
|
|
739
740
|
outdated?
|
740
741
|
end
|
741
742
|
|
743
|
+
def refresh?
|
744
|
+
!Node.prod?
|
745
|
+
end
|
746
|
+
|
742
747
|
def yarn?
|
743
748
|
(@pm[:yarn] ||= if basepath('yarn.lock', ascend: dependext).exist?
|
744
749
|
if (rc = basepath('.yarnrc.yml', ascend: dependext)).exist?
|
metadata
CHANGED
@@ -1,13 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: squared
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- An Pham
|
8
|
+
autorequire:
|
8
9
|
bindir: exe
|
9
10
|
cert_chain: []
|
10
|
-
date: 2025-
|
11
|
+
date: 2025-05-15 00:00:00.000000000 Z
|
11
12
|
dependencies:
|
12
13
|
- !ruby/object:Gem::Dependency
|
13
14
|
name: rake
|
@@ -106,6 +107,7 @@ metadata:
|
|
106
107
|
homepage_uri: https://github.com/anpham6/squared
|
107
108
|
source_code_uri: https://github.com/anpham6/squared
|
108
109
|
documentation_uri: https://squared.readthedocs.io
|
110
|
+
post_install_message:
|
109
111
|
rdoc_options: []
|
110
112
|
require_paths:
|
111
113
|
- lib
|
@@ -120,7 +122,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
120
122
|
- !ruby/object:Gem::Version
|
121
123
|
version: '0'
|
122
124
|
requirements: []
|
123
|
-
rubygems_version: 3.6
|
125
|
+
rubygems_version: 3.1.6
|
126
|
+
signing_key:
|
124
127
|
specification_version: 4
|
125
128
|
summary: Rake task generator for managing multi-language workspaces.
|
126
129
|
test_files: []
|