Skip to content

Commit 1871e5c

Browse files
author
fevra-dev
committed
🚀 v0.1.0 - Initial Release
- Fix version to 0.1.0 across all files - Fix test_scanner.py: use regex pattern instead of aioresponses.ANY - Clean up project structure (move_git removed)
1 parent 7e5b2f3 commit 1871e5c

File tree

6 files changed

+13
-8
lines changed

6 files changed

+13
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<div align="center">
44

5-
![Version](https://img.shields.io/badge/version-3.0.0-blue.svg)
5+
![Version](https://img.shields.io/badge/version-0.1.0-blue.svg)
66
![Python](https://img.shields.io/badge/python-3.9+-green.svg)
77
![License](https://img.shields.io/badge/license-MIT-orange.svg)
88
![CVE](https://img.shields.io/badge/CVE--2025--55182-React2Shell-red.svg)

gitexpose/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
from gitexpose.secrets import SecretExtractor
3030
"""
3131

32-
__version__ = "3.0.0"
32+
__version__ = "0.1.0"
3333
__author__ = "GitExpose Contributors"
3434
__license__ = "MIT"
3535

gitexpose/cli_advanced.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def print_finding(severity: str, message: str, url: str = None):
101101

102102

103103
@click.group()
104-
@click.version_option(version="3.0.0", prog_name="GitExpose")
104+
@click.version_option(version="0.1.0", prog_name="GitExpose")
105105
def cli():
106106
"""
107107
GitExpose Advanced - Next-Gen Security Scanner

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "gitexpose"
7-
version = "3.0.0"
7+
version = "0.1.0"
88
description = "Advanced security scanner for exposed files, vulnerable frameworks, AI infrastructure, and supply chain threats"
99
readme = "README.md"
1010
license = {text = "MIT"}

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
setup(
66
name="gitexpose",
7-
version="3.0.0",
7+
version="0.1.0",
88
description="Advanced security scanner for exposed files, vulnerable frameworks, AI infrastructure, and supply chain threats",
99
long_description=open("README.md").read(),
1010
long_description_content_type="text/markdown",

tests/test_scanner.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
"""Test scanner functionality."""
22

3+
import re
34
import pytest
45
from aioresponses import aioresponses
56
from gitexpose.scanner import GitExposeScanner
@@ -26,9 +27,13 @@ async def test_scan_detects_git_config(self):
2627
headers={"Content-Type": "text/plain"},
2728
)
2829

29-
# Mock other paths as 404
30-
for _ in range(100): # Enough for all paths
31-
mocked.get(url=aioresponses.ANY, status=404, body="Not Found")
30+
# Mock other paths as 404 using regex pattern
31+
mocked.get(
32+
re.compile(r"https://example\.com/.*"),
33+
status=404,
34+
body="Not Found",
35+
repeat=True,
36+
)
3237

3338
report = await scanner.scan([target])
3439

0 commit comments

Comments
 (0)