gpt-pr 0.4.0__tar.gz → 0.4.1__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: gpt-pr
3
- Version: 0.4.0
3
+ Version: 0.4.1
4
4
  Summary: Automate your GitHub workflow with GPT-PR: an OpenAI powered library for streamlined PR generation.
5
5
  Home-page: http://github.com/alissonperez/gpt-pr
6
6
  Author: Alisson R. Perez
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: gpt-pr
3
- Version: 0.4.0
3
+ Version: 0.4.1
4
4
  Summary: Automate your GitHub workflow with GPT-PR: an OpenAI powered library for streamlined PR generation.
5
5
  Home-page: http://github.com/alissonperez/gpt-pr
6
6
  Author: Alisson R. Perez
@@ -24,7 +24,8 @@ def cache_daily_version(func):
24
24
  if datetime.now() - last_checked < CACHE_DURATION:
25
25
  # Use cached version info
26
26
  latest_version = cache.get('latest_version')
27
- return latest_version
27
+ if latest_version:
28
+ return latest_version
28
29
 
29
30
  latest_version = func(*args, **kwargs)
30
31
  cache = {
@@ -0,0 +1 @@
1
+ __version__ = "0.4.1"
@@ -1 +0,0 @@
1
- __version__ = "0.4.0"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes