appydave-tools 0.30.0 → 0.31.1

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: ef53ca55ee3a75c2bc869f4ec39ee08418518c2e7bc23d505633c5dadbd3d46b
4
- data.tar.gz: bb016b93efc980be8de6671bcbb01ed0fbadae11f2fb86aa9265c7686e395f79
3
+ metadata.gz: e24c8dfde585d812b3badde9e488d54107700eadacf3932332556951f6433e90
4
+ data.tar.gz: 25381e724a850a2ba20250855edf192127589009ccba9ec3862152e924e7e0d7
5
5
  SHA512:
6
- metadata.gz: fe2ff6ed4208b151e60787e7b7250d96c0ae9e12fa2595bcc7a206625eec0bba15db9f9ce5753c0231f0b7d8771ef64dd085c0dd921c60395ab57f5fb2622208
7
- data.tar.gz: f896f48110a4355e2599b030c7340a0ec5bd4f97c33a9c3f427f37ad648372708f369afe717a69ce8f637145744a7af03b92468d0d3b3cd3dc2faa2d8c775f33
6
+ metadata.gz: 353655eae4d37c1f58ae7c9c89466d836019a9eaca560352055f0cf61bea191bc9a83aa8cbfd9dff36e5919237feb75f76cbbf1014b62d1782610b8cbaad9334
7
+ data.tar.gz: 98818a2a5ccf86d7b114939f702c01797969f5f7a77eea37edd551b070f40334139a1002ac6fc333b89a21f56d6a96c508201947148c52d2733bab4c3537e5b0
data/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ # [0.31.0](https://github.com/appydave/appydave-tools/compare/v0.30.0...v0.31.0) (2025-11-21)
2
+
3
+
4
+ ### Features
5
+
6
+ * fix ManifestGenerator to scan only projects subfolder when configured - prevents scanning brand root organizational folders (brand/, personas/, video-scripts/) as projects ([2c8d84c](https://github.com/appydave/appydave-tools/commit/2c8d84c70f783a0f87ff36cc1e79c00df668def5))
7
+
8
+ # [0.30.0](https://github.com/appydave/appydave-tools/compare/v0.29.0...v0.30.0) (2025-11-21)
9
+
10
+
11
+ ### Features
12
+
13
+ * add Config.project_path utility method for DRY principle - update all DAM files to use centralized path resolution ([acd9b9a](https://github.com/appydave/appydave-tools/commit/acd9b9afb0b03af0bb980ab1208aacf9ed422267))
14
+
1
15
  # [0.29.0](https://github.com/appydave/appydave-tools/compare/v0.28.0...v0.29.0) (2025-11-20)
2
16
 
3
17
 
@@ -107,11 +107,13 @@ module Appydave
107
107
  end
108
108
 
109
109
  # Scan local flat structure (active projects only)
110
- # Check both brand root and projects subfolder if configured
111
- scan_paths = [brand_path]
110
+ # If projects_subfolder is configured, scan only that subfolder
111
+ # Otherwise, scan brand root (for flat structure like AppyDave)
112
112
  if brand_info.settings.projects_subfolder && !brand_info.settings.projects_subfolder.empty?
113
113
  projects_folder = File.join(brand_path, brand_info.settings.projects_subfolder)
114
- scan_paths << projects_folder if Dir.exist?(projects_folder)
114
+ scan_paths = Dir.exist?(projects_folder) ? [projects_folder] : []
115
+ else
116
+ scan_paths = [brand_path]
115
117
  end
116
118
 
117
119
  scan_paths.each do |scan_path|
@@ -62,6 +62,9 @@ module Appydave
62
62
  end
63
63
 
64
64
  def show_git_info(indent: '')
65
+ # Fetch latest from remote to ensure accurate status
66
+ fetch_from_remote
67
+
65
68
  status = git_status_info
66
69
 
67
70
  puts "#{indent}🌿 Branch: #{status[:branch]}"
@@ -156,6 +159,13 @@ module Appydave
156
159
  rescue StandardError
157
160
  # Silently fail if git status fails
158
161
  end
162
+
163
+ # Fetch latest changes from remote to ensure accurate sync status
164
+ def fetch_from_remote
165
+ `git -C "#{brand_path}" fetch origin 2>/dev/null`
166
+ rescue StandardError
167
+ # Silently fail if fetch fails (e.g., no network, no remote)
168
+ end
159
169
  end
160
170
  end
161
171
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Appydave
4
4
  module Tools
5
- VERSION = '0.30.0'
5
+ VERSION = '0.31.1'
6
6
  end
7
7
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appydave-tools",
3
- "version": "0.30.0",
3
+ "version": "0.31.1",
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.30.0
4
+ version: 0.31.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cruwys