appydave-tools 0.32.1 → 0.32.3

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: 268b64c0ebe59d6197d2296d7ae32ffcbcdf398256c5a97f64fa72a37a70ac45
4
- data.tar.gz: 68d99d9971842135e5a83c33bd4aeb4e52d7fd3a6c8d8bf234a9de9a286a86e1
3
+ metadata.gz: c7ed0260cd5c4a5728bd6337b51397e1f23c7b13743f9dd4502b50acc3c1574a
4
+ data.tar.gz: 257973640a01cf4858e7e14d2c394d4514f07703daa4734643dbeeb0a2748135
5
5
  SHA512:
6
- metadata.gz: fa79b3e644ce801f9bb155b22dabf3908d07ec4d1b3cc5cd3b700ebc272fa6036b53195a330499a936da0db2eac0ac56492da81f8747c3baec900eea36bc043c
7
- data.tar.gz: 0fe66607f1d7cf495cd1d2f35cca3b266c51a69a377fee0590486929df9f4667ab19f5870868a73abbb295a2f1db8423ef2a782bc708922788ab2a6c04033864
6
+ metadata.gz: f46f82711d33bade0f4522a675ed3ba6f6c1fb7f5944da0e93dcae56b43eced47e09073550463ed0a42f73feca7b0d5b59e356cbcb2dfa11786eedd8a7522405
7
+ data.tar.gz: cf56022d6e532d535e6d700db801f30ef68ab93d0e0681ad9998831ba13301b2b6e57acfb92cbfd28b4b49343380bb9ed577a0c25290fc4c6b639efcd73778a3
data/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [0.32.2](https://github.com/appydave/appydave-tools/compare/v0.32.1...v0.32.2) (2025-11-21)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * 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))
7
+
8
+ ## [0.32.1](https://github.com/appydave/appydave-tools/compare/v0.32.0...v0.32.1) (2025-11-21)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * exclude organizational folders (brand, personas, projects, video-scripts) from ProjectResolver.valid_project? to prevent them appearing in project lists ([c573edf](https://github.com/appydave/appydave-tools/commit/c573edf138daebcdbb2ece102e6f36db92453a70))
14
+
1
15
  # [0.32.0](https://github.com/appydave/appydave-tools/compare/v0.31.2...v0.32.0) (2025-11-21)
2
16
 
3
17
 
@@ -96,6 +96,7 @@ module Appydave
96
96
  return false if excluded.include?(basename)
97
97
 
98
98
  # Exclude organizational folders (for brands using projects_subfolder)
99
+ # Including 'projects' because if it appears, it means projects_directory isn't working correctly
99
100
  organizational = %w[brand personas projects video-scripts]
100
101
  return false if organizational.include?(basename)
101
102
 
@@ -140,9 +141,15 @@ module Appydave
140
141
  brand_info = Appydave::Tools::Configuration::Config.brands.get_brand(brand)
141
142
  brand_path = Config.brand_path(brand)
142
143
 
143
- if brand_info.settings.projects_subfolder && !brand_info.settings.projects_subfolder.empty?
144
- 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
145
151
  else
152
+ puts "DEBUG projects_directory: returning brand_path #{brand_path}" if ENV['DEBUG']
146
153
  brand_path
147
154
  end
148
155
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Appydave
4
4
  module Tools
5
- VERSION = '0.32.1'
5
+ VERSION = '0.32.3'
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.1",
3
+ "version": "0.32.3",
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.1
4
+ version: 0.32.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cruwys