appydave-tools 0.31.1 → 0.32.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: e24c8dfde585d812b3badde9e488d54107700eadacf3932332556951f6433e90
4
- data.tar.gz: 25381e724a850a2ba20250855edf192127589009ccba9ec3862152e924e7e0d7
3
+ metadata.gz: f17c4e44a61bf6479d5ef61c4d9d63ed21b3eb6700c1742ca0a9736cd235da59
4
+ data.tar.gz: cc2638954ad4021d82d3a70d964e5b92b85d79ad9ad2e9ce0bd6a970b7c50757
5
5
  SHA512:
6
- metadata.gz: 353655eae4d37c1f58ae7c9c89466d836019a9eaca560352055f0cf61bea191bc9a83aa8cbfd9dff36e5919237feb75f76cbbf1014b62d1782610b8cbaad9334
7
- data.tar.gz: 98818a2a5ccf86d7b114939f702c01797969f5f7a77eea37edd551b070f40334139a1002ac6fc333b89a21f56d6a96c508201947148c52d2733bab4c3537e5b0
6
+ metadata.gz: d8c159f8eb4f284aae334df7b0d79d32560cd570b11023ac998d6c8617c844f2e943413c64df437c3a34764e27db8d7456d49b0349b8d7db520854901f880416
7
+ data.tar.gz: 9f5a1f8f7d4f09734206437125b7f2be8186caf87d841a899b4ec8b6c286cf31bc3c4397df6ffe005e805feae3971fb22ecbdf954738278eadf95e99aad6bd4f
data/CHANGELOG.md CHANGED
@@ -1,3 +1,17 @@
1
+ ## [0.31.2](https://github.com/appydave/appydave-tools/compare/v0.31.1...v0.31.2) (2025-11-21)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * improve repo-status messages to be more human-readable - change 'ahead/behind' to 'commits to push/pull' ([936ed2e](https://github.com/appydave/appydave-tools/commit/936ed2e28039c03ef8e73d36e0b241337ed08c20))
7
+
8
+ ## [0.31.1](https://github.com/appydave/appydave-tools/compare/v0.31.0...v0.31.1) (2025-11-21)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * add git fetch to repo-status for accurate remote sync detection ([cdbf411](https://github.com/appydave/appydave-tools/commit/cdbf411d4978195c247656c0e443f390d60cdfe8))
14
+
1
15
  # [0.31.0](https://github.com/appydave/appydave-tools/compare/v0.30.0...v0.31.0) (2025-11-21)
2
16
 
3
17
 
@@ -84,8 +84,14 @@ module Appydave
84
84
 
85
85
  def sync_status_text(ahead, behind)
86
86
  parts = []
87
- parts << "#{ahead} ahead" if ahead.positive?
88
- 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
89
95
  parts.join(', ')
90
96
  end
91
97
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Appydave
4
4
  module Tools
5
- VERSION = '0.31.1'
5
+ VERSION = '0.32.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.31.1",
3
+ "version": "0.32.0",
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.1
4
+ version: 0.32.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Cruwys