commitmessagegenerator 1.4.0__tar.gz → 1.5.0__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.
Files changed (16) hide show
  1. {commitmessagegenerator-1.4.0 → commitmessagegenerator-1.5.0}/PKG-INFO +4 -4
  2. {commitmessagegenerator-1.4.0 → commitmessagegenerator-1.5.0}/commitmessagegenerator/generator.py +3 -4
  3. {commitmessagegenerator-1.4.0 → commitmessagegenerator-1.5.0}/commitmessagegenerator.egg-info/PKG-INFO +4 -4
  4. commitmessagegenerator-1.5.0/commitmessagegenerator.egg-info/requires.txt +3 -0
  5. {commitmessagegenerator-1.4.0 → commitmessagegenerator-1.5.0}/pyproject.toml +4 -4
  6. commitmessagegenerator-1.4.0/commitmessagegenerator.egg-info/requires.txt +0 -3
  7. {commitmessagegenerator-1.4.0 → commitmessagegenerator-1.5.0}/LICENSE +0 -0
  8. {commitmessagegenerator-1.4.0 → commitmessagegenerator-1.5.0}/README.md +0 -0
  9. {commitmessagegenerator-1.4.0 → commitmessagegenerator-1.5.0}/commitmessagegenerator/__init__.py +0 -0
  10. {commitmessagegenerator-1.4.0 → commitmessagegenerator-1.5.0}/commitmessagegenerator/cli.py +0 -0
  11. {commitmessagegenerator-1.4.0 → commitmessagegenerator-1.5.0}/commitmessagegenerator/configure.py +0 -0
  12. {commitmessagegenerator-1.4.0 → commitmessagegenerator-1.5.0}/commitmessagegenerator.egg-info/SOURCES.txt +0 -0
  13. {commitmessagegenerator-1.4.0 → commitmessagegenerator-1.5.0}/commitmessagegenerator.egg-info/dependency_links.txt +0 -0
  14. {commitmessagegenerator-1.4.0 → commitmessagegenerator-1.5.0}/commitmessagegenerator.egg-info/entry_points.txt +0 -0
  15. {commitmessagegenerator-1.4.0 → commitmessagegenerator-1.5.0}/commitmessagegenerator.egg-info/top_level.txt +0 -0
  16. {commitmessagegenerator-1.4.0 → commitmessagegenerator-1.5.0}/setup.cfg +0 -0
@@ -1,14 +1,14 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: commitmessagegenerator
3
- Version: 1.4.0
3
+ Version: 1.5.0
4
4
  Summary: Generate commit messages with AI (Google Gemini) automatically using `git diff`.
5
5
  Author-email: Gabriel Terceiro <gcarolinoterceiro@gmail.com>
6
6
  License: MIT
7
7
  Description-Content-Type: text/markdown
8
8
  License-File: LICENSE
9
- Requires-Dist: google-generativeai
10
- Requires-Dist: GitPython
11
- Requires-Dist: python-dotenv
9
+ Requires-Dist: google-genai==1.20.0
10
+ Requires-Dist: GitPython==3.1.44
11
+ Requires-Dist: python-dotenv==1.1.0
12
12
  Dynamic: license-file
13
13
 
14
14
  # commitmessagegenerator
@@ -38,9 +38,8 @@ def gerar_mensagem_commit():
38
38
  '''
39
39
  )
40
40
 
41
- response = client.generate_content(
41
+ response = client.models.generate_content(
42
42
  model="gemini-2.0-flash",
43
- contents=[{"role": "user", "parts": [prompt]}]
43
+ contents=prompt
44
44
  )
45
- return response.text.strip()
46
-
45
+ return response.text.strip()
@@ -1,14 +1,14 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: commitmessagegenerator
3
- Version: 1.4.0
3
+ Version: 1.5.0
4
4
  Summary: Generate commit messages with AI (Google Gemini) automatically using `git diff`.
5
5
  Author-email: Gabriel Terceiro <gcarolinoterceiro@gmail.com>
6
6
  License: MIT
7
7
  Description-Content-Type: text/markdown
8
8
  License-File: LICENSE
9
- Requires-Dist: google-generativeai
10
- Requires-Dist: GitPython
11
- Requires-Dist: python-dotenv
9
+ Requires-Dist: google-genai==1.20.0
10
+ Requires-Dist: GitPython==3.1.44
11
+ Requires-Dist: python-dotenv==1.1.0
12
12
  Dynamic: license-file
13
13
 
14
14
  # commitmessagegenerator
@@ -0,0 +1,3 @@
1
+ google-genai==1.20.0
2
+ GitPython==3.1.44
3
+ python-dotenv==1.1.0
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "commitmessagegenerator"
7
- version = "1.4.0"
7
+ version = "1.5.0"
8
8
  description = "Generate commit messages with AI (Google Gemini) automatically using `git diff`."
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
@@ -12,9 +12,9 @@ authors = [
12
12
  {name = "Gabriel Terceiro", email = "gcarolinoterceiro@gmail.com"}
13
13
  ]
14
14
  dependencies = [
15
- "google-generativeai",
16
- "GitPython",
17
- "python-dotenv"
15
+ "google-genai==1.20.0",
16
+ "GitPython==3.1.44",
17
+ "python-dotenv==1.1.0"
18
18
  ]
19
19
 
20
20
  [project.scripts]
@@ -1,3 +0,0 @@
1
- google-generativeai
2
- GitPython
3
- python-dotenv