appydave-tools 0.48.0 → 0.49.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ff53285a12ac4ca5ac173d0217d03fe16b296328eed8e352a15513d89a5d4d8b
4
- data.tar.gz: eb62938db64ac1b9e8d3dd0d4d746f56ba2e7b272576d65a8a14149e0b4b34be
3
+ metadata.gz: 5463729b129f23fd94b8966f0202a7b98b9e6619432ce00791c554cefe305ba4
4
+ data.tar.gz: b9b46417c310966bffc62d318dbdbde6279f4594663df779368a879e7c4c5c88
5
5
  SHA512:
6
- metadata.gz: 55833acd71659828aa8a1a7c31ddbb892ada82dc2e8edb7f9c9a187c91f37acce78e13b8e51cbbf1e55adc842ba18a2e0f028164692c5bdcab0f72a279607356
7
- data.tar.gz: c38ff4bbdd603224e8cbcb72a2a33d24bd52ab5e9130830903bc1486acdf23c64ce2a1baa117f3c32597a9f7c4af19bb9613899fadfd8726083652e87ad9d9a2
6
+ metadata.gz: 0fa7ffa5b0f96972d363e0f75411408bc43e191a71b675053ab051d01cf63f3f13a9656b8abc3bd79c56458a7977669f08a7e2b47abced895a341c18b3c0aeba
7
+ data.tar.gz: bf7cdf85e9f522651775bc0f039d7e627d27fc19a1c311085b48f9b44a8abf69d510c174790d0e4b9ecba9125fd7e3825b4450f455fd3a4f119ded25889a1ed5
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [0.48.0](https://github.com/appydave/appydave-tools/compare/v0.47.0...v0.48.0) (2025-11-21)
2
+
3
+
4
+ ### Features
5
+
6
+ * remove PATH column from project lists and add note about file-only listing ([4cd3c67](https://github.com/appydave/appydave-tools/commit/4cd3c67196c08998fdbc172ff262a94abcfa8beb))
7
+
1
8
  # [0.47.0](https://github.com/appydave/appydave-tools/compare/v0.46.0...v0.47.0) (2025-11-21)
2
9
 
3
10
 
@@ -40,7 +40,8 @@ module Appydave
40
40
  end
41
41
 
42
42
  def show_project_status
43
- puts "📊 Status: v-#{brand}/#{File.basename(project_path)}"
43
+ project_size = calculate_project_size
44
+ puts "📊 Status: v-#{brand}/#{File.basename(project_path)} (#{format_size(project_size)})"
44
45
  puts ''
45
46
 
46
47
  manifest = load_manifest
@@ -57,7 +58,6 @@ module Appydave
57
58
  end
58
59
 
59
60
  show_storage_status(project_entry)
60
- show_git_status if git_repo?
61
61
  end
62
62
 
63
63
  def show_brand_status
@@ -104,8 +104,22 @@ module Appydave
104
104
 
105
105
  if local[:exists]
106
106
  puts ' 📁 Local: ✓ exists'
107
- puts " Heavy files: #{local[:has_heavy_files] ? 'yes' : 'no'}"
108
- puts " Light files: #{local[:has_light_files] ? 'yes' : 'no'}"
107
+
108
+ # Show heavy files with count and size
109
+ if local[:has_heavy_files]
110
+ heavy_info = count_and_size_heavy_files
111
+ puts " Heavy files: #{heavy_info[:count]} (#{format_size(heavy_info[:size])})"
112
+ else
113
+ puts ' Heavy files: none'
114
+ end
115
+
116
+ # Show light files with count and size
117
+ if local[:has_light_files]
118
+ light_info = count_and_size_light_files
119
+ puts " Light files: #{light_info[:count]} (#{format_size(light_info[:size])})"
120
+ else
121
+ puts ' Light files: none'
122
+ end
109
123
  else
110
124
  puts ' 📁 Local: ✗ does not exist'
111
125
  end
@@ -258,6 +272,34 @@ module Appydave
258
272
  def commits_behind
259
273
  GitHelper.commits_behind(brand_path)
260
274
  end
275
+
276
+ def calculate_project_size
277
+ FileHelper.calculate_directory_size(project_path)
278
+ end
279
+
280
+ def count_and_size_heavy_files
281
+ count = 0
282
+ size = 0
283
+ Dir.glob(File.join(project_path, '*.{mp4,mov,avi,mkv,webm}')).each do |file|
284
+ count += 1
285
+ size += File.size(file)
286
+ end
287
+ { count: count, size: size }
288
+ end
289
+
290
+ def count_and_size_light_files
291
+ count = 0
292
+ size = 0
293
+ Dir.glob(File.join(project_path, '**/*.{srt,vtt,jpg,png,md,txt,json,yml}')).each do |file|
294
+ count += 1
295
+ size += File.size(file)
296
+ end
297
+ { count: count, size: size }
298
+ end
299
+
300
+ def format_size(bytes)
301
+ FileHelper.format_size(bytes)
302
+ end
261
303
  end
262
304
  end
263
305
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Appydave
4
4
  module Tools
5
- VERSION = '0.48.0'
5
+ VERSION = '0.49.0'
6
6
  end
7
7
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appydave-tools",
3
- "version": "0.48.0",
3
+ "version": "0.49.0",
4
4
  "description": "AppyDave YouTube Automation Tools",
5
5
  "scripts": {
6
6
  "release": "semantic-release"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appydave-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.48.0
4
+ version: 0.49.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cruwys