@gnost-cli/darwin-arm64 0.5.2-rc.1 → 0.5.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.
Binary file
@@ -1 +1 @@
1
- __version__ = "0.5.2rc1"
1
+ __version__ = "0.5.2"
@@ -104,9 +104,11 @@ def _risk_to_score(risk_score: float) -> float:
104
104
 
105
105
 
106
106
  def _resolve_repo_root(path: str) -> str:
107
+ """Nearest parent with .git or pyproject.toml; the project folder if none."""
107
108
  current = os.path.abspath(path)
108
109
  if os.path.isfile(current):
109
110
  current = os.path.dirname(current)
111
+ start = current
110
112
 
111
113
  while True:
112
114
  if os.path.isdir(os.path.join(current, ".git")) or os.path.isfile(
@@ -116,7 +118,7 @@ def _resolve_repo_root(path: str) -> str:
116
118
 
117
119
  parent = os.path.dirname(current)
118
120
  if parent == current:
119
- return current
121
+ return start
120
122
  current = parent
121
123
 
122
124
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gnost
3
- Version: 0.5.2rc1
3
+ Version: 0.5.2
4
4
  Summary: GNOST — Codebase Knowledge
5
5
  Author-email: Mohd Zain <zainmohd1998@gmail.com>
6
6
  License: MIT License
@@ -1,14 +1,14 @@
1
1
  ../../../bin/gnost,sha256=p7RTDNcaheWadRtZ7EtW_BElkh_SkS2KgiiBeIZQs-M,201
2
- gnost-0.5.2rc1.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
3
- gnost-0.5.2rc1.dist-info/METADATA,sha256=yae5HhysGOx3B6-fDCrkERgDvc7FhDFKEXf5pUesvbI,5556
4
- gnost-0.5.2rc1.dist-info/RECORD,,
5
- gnost-0.5.2rc1.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
- gnost-0.5.2rc1.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
7
- gnost-0.5.2rc1.dist-info/direct_url.json,sha256=sdS4lLlEK3BXuZZ5mGuHUsgOlY50fNVlHD9NmMVASSc,64
8
- gnost-0.5.2rc1.dist-info/entry_points.txt,sha256=6hH5dxCq1FF8sPT7gTwZ3xLBZr8UxCLTa7I6DpLvLSA,41
9
- gnost-0.5.2rc1.dist-info/licenses/LICENSE,sha256=jSxVi5s4A9DSR8ur6XCzThpnbpaDxDP0_UN6hbJ156c,1066
10
- gnost-0.5.2rc1.dist-info/top_level.txt,sha256=UExzNRqfi7WIWspHyv4lAZqhY9y4n46VRkVcZE5ael4,6
11
- gnost/__init__.py,sha256=Yk9OPhzYNwVtFzj5deHSdkGtcxF0FXLnKJ9OFFikW9M,25
2
+ gnost-0.5.2.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
3
+ gnost-0.5.2.dist-info/METADATA,sha256=HCYuOyfEL9lwT5Xg3wbVbce1-4rUn6X1U2NCJDzqSkQ,5553
4
+ gnost-0.5.2.dist-info/RECORD,,
5
+ gnost-0.5.2.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
+ gnost-0.5.2.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
7
+ gnost-0.5.2.dist-info/direct_url.json,sha256=sdS4lLlEK3BXuZZ5mGuHUsgOlY50fNVlHD9NmMVASSc,64
8
+ gnost-0.5.2.dist-info/entry_points.txt,sha256=6hH5dxCq1FF8sPT7gTwZ3xLBZr8UxCLTa7I6DpLvLSA,41
9
+ gnost-0.5.2.dist-info/licenses/LICENSE,sha256=jSxVi5s4A9DSR8ur6XCzThpnbpaDxDP0_UN6hbJ156c,1066
10
+ gnost-0.5.2.dist-info/top_level.txt,sha256=UExzNRqfi7WIWspHyv4lAZqhY9y4n46VRkVcZE5ael4,6
11
+ gnost/__init__.py,sha256=isJrmDBLRag7Zc2UK9ZovWGOv7ji1Oh-zJtJMNJFkXw,22
12
12
  gnost/__pycache__/__init__.cpython-312.pyc,,
13
13
  gnost/analysis/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
14
  gnost/analysis/__pycache__/__init__.cpython-312.pyc,,
@@ -56,7 +56,7 @@ gnost/analysis/utils/tool_command.py,sha256=ulpYsAxySELDS5L-BIfJxS09GNXasldydSy3
56
56
  gnost/cli/__init__.py,sha256=UnZHq0-yKSNcM2twPuY8J9c1H1FFBahz_37XwwHBQ4U,51
57
57
  gnost/cli/__pycache__/__init__.cpython-312.pyc,,
58
58
  gnost/cli/__pycache__/app.cpython-312.pyc,,
59
- gnost/cli/app.py,sha256=LX8SxMVIaDt85BJpzoI7oIC9jvne4cD9XPVAaoR4TZY,24698
59
+ gnost/cli/app.py,sha256=f5vzabJswzSD06q0qBaTsLfVTX6Zr9Of5_jmj2R5vQg,24798
60
60
  gnost/cli/commands/__init__.py,sha256=QZrdP00N-JGSlK4V5h-t5yz3VXFKgFcsMGoJmrAi-vM,77
61
61
  gnost/cli/commands/__pycache__/__init__.cpython-312.pyc,,
62
62
  gnost/cli/commands/__pycache__/analysis.cpython-312.pyc,,
package/bundle/gnost CHANGED
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gnost-cli/darwin-arm64",
3
- "version": "0.5.2-rc.1",
3
+ "version": "0.5.2",
4
4
  "description": "Internal binary for gnost-cli. Do not install directly.",
5
5
  "license": "MIT",
6
6
  "os": [