appydave-tools 0.32.2 → 0.32.4

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: df68f68c75b1c1cca5a817390b9a8b927fa0e3067e3b33993f990c1b78076c93
4
- data.tar.gz: 7728ddc4d623f6681f3d408e44c88f8fea982da033b2e6dc19e9fef2b870fe1d
3
+ metadata.gz: 7383b04769a66ee3d2ee80142e2ecfa869cf967bf50b85d5d29125d35162c820
4
+ data.tar.gz: a1d096b58aa583ef4d769b49765173eb289daf8270b0a1d574e0a31d8d738333
5
5
  SHA512:
6
- metadata.gz: d45e9dc70ae24e1dc8e252506ce4a56ec630296f69c838749ba66092dde7bf50b62db691a7e15ac8822afe03bdb6bdcd09a882d18c21b34ab04e5a3ebb8f5785
7
- data.tar.gz: f1469f8d33c358ec45f6085292618e6de807b3f148066f6d54d962329108dfc1029fa72e8fc93d9980b9de116a5b44938ac63bee15ed26eb7e6a6eef56726b5a
6
+ metadata.gz: d0055e27b4ac88074155d013f841b3295a86fab1e86484a176d59518e1e9e947e5e5ac17f5804ea38b51351d2a21ed3a725f1998202b86af0ed0172b617fcabd
7
+ data.tar.gz: 16978f858fb349eaca6c9cfd4291b5c3e6ad48fe035beaa38bea03cc429f43295611e6eb302a76ae03f1d98c14f4938285c8c7aa732082aab1a13b6ae5e7d3c9
data/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [0.32.3](https://github.com/appydave/appydave-tools/compare/v0.32.2...v0.32.3) (2025-11-21)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add debug logging to projects_directory and re-add 'projects' to organizational folder exclusions to diagnose configuration issue ([0dc34d7](https://github.com/appydave/appydave-tools/commit/0dc34d765d3ec89400304eebf4a0718a4485580d))
7
+
8
+ ## [0.32.2](https://github.com/appydave/appydave-tools/compare/v0.32.1...v0.32.2) (2025-11-21)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * remove 'projects' from organizational folder exclusions - it should only be excluded when appearing at brand root, not when projects_subfolder properly configured ([4c72a11](https://github.com/appydave/appydave-tools/commit/4c72a116805573a3444dd977ed711e5f7538e190))
14
+
1
15
  ## [0.32.1](https://github.com/appydave/appydave-tools/compare/v0.32.0...v0.32.1) (2025-11-21)
2
16
 
3
17
 
@@ -55,8 +55,11 @@ module Appydave
55
55
 
56
56
  # List all projects for a specific brand (Mode 3)
57
57
  def self.list_brand_projects(brand_arg)
58
+ # ProjectResolver expects the original brand key/shortcut, not the expanded v-* version
59
+ projects = ProjectResolver.list_projects(brand_arg)
60
+
61
+ # Only expand brand for display purposes
58
62
  brand = Config.expand_brand(brand_arg)
59
- projects = ProjectResolver.list_projects(brand)
60
63
 
61
64
  if projects.empty?
62
65
  puts "⚠️ No projects found for brand: #{brand}"
@@ -96,9 +99,11 @@ module Appydave
96
99
 
97
100
  # List with pattern matching (Mode 3b)
98
101
  def self.list_with_pattern(brand_arg, pattern)
102
+ # ProjectResolver expects the original brand key/shortcut, not the expanded v-* version
103
+ matches = ProjectResolver.resolve_pattern(brand_arg, pattern)
104
+
105
+ # Only expand brand for display purposes
99
106
  brand = Config.expand_brand(brand_arg)
100
- brand_path = Config.brand_path(brand)
101
- matches = ProjectResolver.resolve_pattern(brand_path, pattern)
102
107
 
103
108
  if matches.empty?
104
109
  puts "⚠️ No projects found matching pattern: #{pattern}"
@@ -96,10 +96,8 @@ module Appydave
96
96
  return false if excluded.include?(basename)
97
97
 
98
98
  # Exclude organizational folders (for brands using projects_subfolder)
99
- # Note: 'projects' is NOT excluded here because when projects_subfolder is configured,
100
- # we scan INSIDE the projects folder, so 'projects' never appears as a basename.
101
- # If projects_subfolder is NOT configured, users may legitimately have a project named 'projects'.
102
- organizational = %w[brand personas video-scripts]
99
+ # Including 'projects' because if it appears, it means projects_directory isn't working correctly
100
+ organizational = %w[brand personas projects video-scripts]
103
101
  return false if organizational.include?(basename)
104
102
 
105
103
  # Exclude hidden and underscore-prefixed
@@ -143,9 +141,15 @@ module Appydave
143
141
  brand_info = Appydave::Tools::Configuration::Config.brands.get_brand(brand)
144
142
  brand_path = Config.brand_path(brand)
145
143
 
146
- if brand_info.settings.projects_subfolder && !brand_info.settings.projects_subfolder.empty?
147
- File.join(brand_path, brand_info.settings.projects_subfolder)
144
+ subfolder = brand_info.settings.projects_subfolder
145
+ puts "DEBUG projects_directory: brand=#{brand}, brand_info.key=#{brand_info.key}, subfolder='#{subfolder}'" if ENV['DEBUG']
146
+
147
+ if subfolder && !subfolder.empty?
148
+ result = File.join(brand_path, subfolder)
149
+ puts "DEBUG projects_directory: returning #{result}" if ENV['DEBUG']
150
+ result
148
151
  else
152
+ puts "DEBUG projects_directory: returning brand_path #{brand_path}" if ENV['DEBUG']
149
153
  brand_path
150
154
  end
151
155
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Appydave
4
4
  module Tools
5
- VERSION = '0.32.2'
5
+ VERSION = '0.32.4'
6
6
  end
7
7
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appydave-tools",
3
- "version": "0.32.2",
3
+ "version": "0.32.4",
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.32.2
4
+ version: 0.32.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cruwys