appydave-tools 0.57.0 → 0.59.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 +14 -0
- data/lib/appydave/tools/dam/project_listing.rb +20 -5
- data/lib/appydave/tools/version.rb +1 -1
- data/package.json +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f495360102f6be7cde4ad124c01182779b69279b3865acf93f4b0ba784f5dd66
|
|
4
|
+
data.tar.gz: 8954dd4f6e830c94dc51dc3f4de6ebcf6a1c917a480c38f0172ab3d81930a793
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c18165d91e7d7998759f2638e93a2c44ce1a7e1a601100993893b6ca1f76349201bcb6de6fee96d546c384ac2ae12094442dee103da4c23036a2d96d4d98fdc4
|
|
7
|
+
data.tar.gz: ae3e8319caa1cad8de689c1cbd8e2ccb8bd22cfe1984e4405ac2e4f64346a37362e56f50f216063b3127701bb2b39428ae072095df25643992331a3dda55c5a0
|
data/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [0.58.0](https://github.com/appydave/appydave-tools/compare/v0.57.0...v0.58.0) (2025-11-22)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* implement compact brand list format showing 'shortcut (key) - Name' ([8e38a77](https://github.com/appydave/appydave-tools/commit/8e38a775a60e3e06b14c793293f4046552a5eaf4)), closes [#34](https://github.com/appydave/appydave-tools/issues/34)
|
|
7
|
+
|
|
8
|
+
# [0.57.0](https://github.com/appydave/appydave-tools/compare/v0.56.0...v0.57.0) (2025-11-22)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* add last modified timestamp to project status header ([805484d](https://github.com/appydave/appydave-tools/commit/805484d6f34e1fcc47fe7113480dd5c982b2471c)), closes [#49](https://github.com/appydave/appydave-tools/issues/49)
|
|
14
|
+
|
|
1
15
|
# [0.56.0](https://github.com/appydave/appydave-tools/compare/v0.55.0...v0.56.0) (2025-11-22)
|
|
2
16
|
|
|
3
17
|
|
|
@@ -20,13 +20,24 @@ module Appydave
|
|
|
20
20
|
|
|
21
21
|
# Gather brand data
|
|
22
22
|
brand_data = brands.map do |brand|
|
|
23
|
+
Appydave::Tools::Configuration::Config.configure
|
|
24
|
+
brand_info = Appydave::Tools::Configuration::Config.brands.get_brand(brand)
|
|
23
25
|
brand_path = Config.brand_path(brand)
|
|
24
26
|
projects = ProjectResolver.list_projects(brand)
|
|
25
27
|
total_size = calculate_total_size(brand, projects)
|
|
26
28
|
last_modified = find_last_modified(brand, projects)
|
|
27
29
|
|
|
30
|
+
# Get shortcut, key, and name with fallbacks
|
|
31
|
+
shortcut = brand_info.shortcut&.strip
|
|
32
|
+
shortcut = nil if shortcut&.empty?
|
|
33
|
+
key = brand_info.key
|
|
34
|
+
name = brand_info.name&.strip
|
|
35
|
+
name = nil if name&.empty?
|
|
36
|
+
|
|
28
37
|
{
|
|
29
|
-
|
|
38
|
+
shortcut: shortcut || key,
|
|
39
|
+
key: key,
|
|
40
|
+
name: name || key.capitalize,
|
|
30
41
|
path: brand_path,
|
|
31
42
|
count: projects.size,
|
|
32
43
|
size: total_size,
|
|
@@ -35,14 +46,18 @@ module Appydave
|
|
|
35
46
|
end
|
|
36
47
|
|
|
37
48
|
# Print table header
|
|
38
|
-
puts 'BRAND
|
|
39
|
-
puts '-' *
|
|
49
|
+
puts 'BRAND KEY PROJECTS SIZE LAST MODIFIED PATH'
|
|
50
|
+
puts '-' * 130
|
|
40
51
|
|
|
41
52
|
# Print table rows
|
|
42
53
|
brand_data.each do |data|
|
|
54
|
+
# Format: "shortcut - Name" (simplified display)
|
|
55
|
+
brand_display = "#{data[:shortcut]} - #{data[:name]}"
|
|
56
|
+
|
|
43
57
|
puts format(
|
|
44
|
-
'%-
|
|
45
|
-
|
|
58
|
+
'%-30s %-12s %10d %12s %20s %s',
|
|
59
|
+
brand_display,
|
|
60
|
+
data[:key],
|
|
46
61
|
data[:count],
|
|
47
62
|
format_size(data[:size]),
|
|
48
63
|
format_date(data[:modified]),
|
data/package.json
CHANGED