appydave-tools 0.53.0 → 0.54.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: d6ee9f93f96b463691306934cb326aaa0f5852a68814ca292dea7ef6043d1aa9
4
- data.tar.gz: 2f7be8b118a201275b87d049d0f5131ccf1c59043b95a7e1170a155dc8603660
3
+ metadata.gz: ad89af91a1c5f675f56c18a4ae9847a697f707c498761babdc2150bc967f24e3
4
+ data.tar.gz: 396854a45828e0bddc16d5e84772a8f73dc43a18d54483012d4bb5a7cfed675f
5
5
  SHA512:
6
- metadata.gz: 77f7a873ddc79add9dbbb84b1b6203a0daa6cb4af296a3154676fe0900cc39adc5fdf3b9cd3d614d0580f1768cc7f09bf55db4a7465e57159d3a255d0736362d
7
- data.tar.gz: a4813162d14a93d66205df3a03b3abcf6759657ae7cf0de83f778200959fe106c32b32b96ee4e81a747f0dc6d7e983cec0a1db61d572e25d11bad822eb2092dc
6
+ metadata.gz: 697f5b020e091548cf5b1986a59f801caf4e75ccf007581cd8cd41ecddbc85c9b4dd5f6cc4f0dd99747340bfd722dbe47204e6f2b12ec972735489aa5bd598cc
7
+ data.tar.gz: 60eb9b9eeb63abb866b865525242a387eebc9eb5e0b1d4bf104a41ee9de7d42a7f72e9665099321be1c5f48973f39e79a90add357f5accd1657745dba86baa32
data/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ # [0.53.0](https://github.com/appydave/appydave-tools/compare/v0.52.0...v0.53.0) (2025-11-21)
2
+
3
+
4
+ ### Features
5
+
6
+ * improve s3-status error messages to distinguish non-existent projects from empty projects ([6c9db58](https://github.com/appydave/appydave-tools/commit/6c9db586f78b143c7bd71c86be34de95069d21b4))
7
+
1
8
  # [0.52.0](https://github.com/appydave/appydave-tools/compare/v0.51.0...v0.52.0) (2025-11-21)
2
9
 
3
10
 
@@ -68,6 +68,9 @@ module Appydave
68
68
  # Only expand brand for display purposes
69
69
  brand = Config.expand_brand(brand_arg)
70
70
 
71
+ # Show brand context header
72
+ show_brand_header(brand_arg, brand)
73
+
71
74
  if projects.empty?
72
75
  puts "⚠️ No projects found for brand: #{brand}"
73
76
  puts ''
@@ -188,6 +191,42 @@ module Appydave
188
191
 
189
192
  # Helper methods
190
193
 
194
+ # Show brand context header with git, S3, and SSD info
195
+ def self.show_brand_header(brand_arg, brand)
196
+ Appydave::Tools::Configuration::Config.configure
197
+ brand_info = Appydave::Tools::Configuration::Config.brands.get_brand(brand_arg)
198
+ brand_path = Config.brand_path(brand_arg)
199
+
200
+ puts "📂 Brand: #{brand}"
201
+ puts ''
202
+
203
+ # Git status
204
+ if Dir.exist?(File.join(brand_path, '.git'))
205
+ branch = GitHelper.current_branch(brand_path)
206
+ puts " Git: #{branch} branch"
207
+ else
208
+ puts ' Git: Not a git repository'
209
+ end
210
+
211
+ # S3 configuration
212
+ s3_bucket = brand_info.aws.s3_bucket
213
+ if s3_bucket && !s3_bucket.empty? && s3_bucket != 'NOT-SET'
214
+ puts " S3: Configured (#{s3_bucket})"
215
+ else
216
+ puts ' S3: Not configured'
217
+ end
218
+
219
+ # SSD backup path
220
+ ssd_backup = brand_info.locations.ssd_backup
221
+ if ssd_backup && !ssd_backup.empty? && ssd_backup != 'NOT-SET'
222
+ puts " SSD: #{shorten_path(ssd_backup)}"
223
+ else
224
+ puts ' SSD: Not configured'
225
+ end
226
+
227
+ puts ''
228
+ end
229
+
191
230
  # Calculate total size of all projects in a brand
192
231
  def self.calculate_total_size(brand, projects)
193
232
  projects.sum do |project|
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Appydave
4
4
  module Tools
5
- VERSION = '0.53.0'
5
+ VERSION = '0.54.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.53.0",
3
+ "version": "0.54.0",
4
4
  "description": "AppyDave YouTube Automation Tools",
5
5
  "scripts": {
6
6
  "release": "semantic-release"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appydave-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.53.0
4
+ version: 0.54.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cruwys
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-11-21 00:00:00.000000000 Z
11
+ date: 2025-11-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel