Skip to content

Commit a25ba89

Browse files
committed
1 parent 243c0dc commit a25ba89

54 files changed

Lines changed: 215 additions & 149 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/python.yml

Lines changed: 5 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,19 @@ jobs:
1313
runs-on: ubuntu-latest
1414
strategy:
1515
matrix:
16-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
16+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1717

1818
steps:
19-
- uses: actions/checkout@v3
19+
- uses: actions/checkout@v4
2020
- name: Set up Python ${{ matrix.python-version }}
2121
uses: actions/setup-python@v4
2222
with:
2323
python-version: ${{ matrix.python-version }}
2424
- name: Install dependencies
2525
run: |
2626
python -m pip install --upgrade pip
27-
pip install flake8 pytest
28-
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
29-
if [ -f test-requirements.txt ]; then pip install -r test-requirements.txt; fi
30-
- name: Lint with flake8
31-
run: |
32-
# stop the build if there are Python syntax errors or undefined names
33-
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
34-
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
35-
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
27+
pip install -r requirements.txt
28+
pip install -r test-requirements.txt
3629
- name: Test with pytest
3730
run: |
38-
pytest
31+
pytest --cov={{packageName}}

.gitlab-ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ stages:
1414
- pip install -r test-requirements.txt
1515
- pytest --cov=urlr
1616

17-
pytest-3.7:
18-
extends: .pytest
19-
image: python:3.7-alpine
2017
pytest-3.8:
2118
extends: .pytest
2219
image: python:3.8-alpine
@@ -29,3 +26,6 @@ pytest-3.10:
2926
pytest-3.11:
3027
extends: .pytest
3128
image: python:3.11-alpine
29+
pytest-3.12:
30+
extends: .pytest
31+
image: python:3.12-alpine

.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.6.0
1+
7.9.0

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## [2.4.0] - 2024-10-09
4+
5+
- Small doc fixes
6+
- Updated to OpenAPI Generator 7.9.0
7+
38
## [2.3.0] - 2024-07-01
49

510
- Updated URLR API version to 1.3

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
# urlr@2.3.0
1+
# urlr@2.4.0
22

33
![PyPI - Version](https://img.shields.io/pypi/v/urlr) ![PyPI - Downloads](https://img.shields.io/pypi/dm/urlr) ![PyPI - License](https://img.shields.io/pypi/l/urlr)
44

55
This SDK is automatically generated with the [OpenAPI Generator](https://openapi-generator.tech) project.
66

77
- API version: 1.3
8-
- Package version: 2.3.0
8+
- Package version: 2.4.0
99
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
1010

1111
For more information, please visit [https://urlr.me/en](https://urlr.me/en)

docs/GetLink200Response.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**id** | **str** | Link API ID | [optional]
99
**url** | **str** | Original URL | [optional]
10-
**team** | **str** | Team API ID | [optional]
10+
**team_id** | **str** | Team API ID | [optional]
1111
**folder_id** | **str** | Folder API ID | [optional]
1212
**domain** | **str** | Domain | [optional]
1313
**code** | **str** | Short code | [optional]

docs/GetStatisticsRequest.md

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

66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
8-
**link_id** | **str** | Link API ID | [optional]
8+
**link_id** | **str** | Link API ID |
99
**var_from** | **datetime** | Get statistics from this date | [optional]
1010
**to** | **datetime** | Get statistics until this date | [optional]
1111
**include_bots** | **bool** | Whether include bots or not in statistics | [optional] [default to False]

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "urlr"
3-
version = "2.3.0"
3+
version = "2.4.0"
44
description = "Python client for URLR"
55
authors = ["URLR <contact@urlr.me>"]
66
license = "MIT"

requirements.txt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
python_dateutil >= 2.5.3
2-
setuptools >= 21.0.0
3-
urllib3 >= 1.25.3, < 2.1.0
1+
urllib3 >= 1.25.3, < 3.0.0
2+
python_dateutil >= 2.8.2
43
pydantic >= 2
54
typing-extensions >= 4.7.1

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# prerequisite: setuptools
2323
# http://pypi.python.org/pypi/setuptools
2424
NAME = "urlr"
25-
VERSION = "2.3.0"
25+
VERSION = "2.4.0"
2626
PYTHON_REQUIRES = ">=3.7"
2727
REQUIRES = [
2828
"urllib3 >= 1.25.3, < 2.1.0",

0 commit comments

Comments
 (0)