appydave-tools 0.31.0 → 0.31.2

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: 59166b27664a8c4643a3d5e523f54d30a58b041014dd9e22bf7e8fe5bc120991
4
- data.tar.gz: 0a7ad00b2efd8076a16b61583ec09865013df2ed220da575a33593da571c6c81
3
+ metadata.gz: 9d71eea74244afc1759f28541b577f58dcbef18d9d41a2915b71b009ef3a0560
4
+ data.tar.gz: 1aa6391d4c239f940dfb29331c8a1148b3653c481b96704a65674e5e994600f6
5
5
  SHA512:
6
- metadata.gz: c7b247b7916f728f0903cdc563da3dce0b2f0f1378dc6afe860d2d22de8c3dddbe5489ed09af1857c518686553f64bbc1cc9202e085ff4770bdfd4becaacd863
7
- data.tar.gz: d088f0367d0b3105cd9e69a0c02fa9b58163920c75cabb25bae56be18a01294900c7c5522bcff2bfb2ac2cb1600e7903fa9d7a732946f053d175392f130ab63a
6
+ metadata.gz: 9c0ddfef1fa42b395b1f0912cba44176fd9d4f65ea90314a0e295c6ba68b3b898c6a37f05e2c9c8945cf27e08bda8c91e1c6ad8ea14eddf3745d8dbddf4a9573
7
+ data.tar.gz: 48d56692a182c8da2c256ee7ea1f0128e90bd25505ee0c1aa06e77dd9ce8b344106e60c21ed43e6bf3aa52bfba42b12ac1afd4d605a1e26af2cff9b62056d367
data/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [0.31.1](https://github.com/appydave/appydave-tools/compare/v0.31.0...v0.31.1) (2025-11-21)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add git fetch to repo-status for accurate remote sync detection ([cdbf411](https://github.com/appydave/appydave-tools/commit/cdbf411d4978195c247656c0e443f390d60cdfe8))
7
+
8
+ # [0.31.0](https://github.com/appydave/appydave-tools/compare/v0.30.0...v0.31.0) (2025-11-21)
9
+
10
+
11
+ ### Features
12
+
13
+ * 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))
14
+
1
15
  # [0.30.0](https://github.com/appydave/appydave-tools/compare/v0.29.0...v0.30.0) (2025-11-21)
2
16
 
3
17
 
@@ -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]}"
@@ -81,8 +84,14 @@ module Appydave
81
84
 
82
85
  def sync_status_text(ahead, behind)
83
86
  parts = []
84
- parts << "#{ahead} ahead" if ahead.positive?
85
- parts << "#{behind} behind" if behind.positive?
87
+ if ahead.positive?
88
+ commit_word = ahead == 1 ? 'commit' : 'commits'
89
+ parts << "#{ahead} #{commit_word} to push"
90
+ end
91
+ if behind.positive?
92
+ commit_word = behind == 1 ? 'commit' : 'commits'
93
+ parts << "#{behind} #{commit_word} to pull"
94
+ end
86
95
  parts.join(', ')
87
96
  end
88
97
 
@@ -156,6 +165,13 @@ module Appydave
156
165
  rescue StandardError
157
166
  # Silently fail if git status fails
158
167
  end
168
+
169
+ # Fetch latest changes from remote to ensure accurate sync status
170
+ def fetch_from_remote
171
+ `git -C "#{brand_path}" fetch origin 2>/dev/null`
172
+ rescue StandardError
173
+ # Silently fail if fetch fails (e.g., no network, no remote)
174
+ end
159
175
  end
160
176
  end
161
177
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Appydave
4
4
  module Tools
5
- VERSION = '0.31.0'
5
+ VERSION = '0.31.2'
6
6
  end
7
7
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "appydave-tools",
3
- "version": "0.31.0",
3
+ "version": "0.31.2",
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.31.0
4
+ version: 0.31.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cruwys