Skip to content

Commit 172d628

Browse files
committed
Merge branch 'hotfix/minor.1'
2 parents fe77204 + ce1d6ed commit 172d628

File tree

10 files changed

+28
-17
lines changed

10 files changed

+28
-17
lines changed

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ keywords:
1717
- file
1818
- rocket
1919
license: MIT
20-
version: 0.0.4
20+
version: 0.0.4-minor.1

MANIFEST.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ include CITATION.cff
33
include README.md
44
include *.toml
55
recursive-include src *.py
6-
recursive-include src/RocketStore *.py
7-
recursive-include src/RocketStore/utils *.py
6+
recursive-include src/Rocketstore *.py
7+
recursive-include src/Rocketstore/utils *.py

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ Compare Rocket-Store, SQL and file system terms:
4848
To use Rocketstore, you must first import the library:
4949

5050
```python
51-
import Rocketstore, _FORMAT_JSON
51+
from Rocketstore import Rocketstore, _FORMAT_JSON
52+
53+
rs = Rocketstore()
54+
5255
```
5356

5457
### Post

dist/Rocket-Store-0.0.4.tar.gz

26 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

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 = "Rocket-Store"
7-
version = "0.0.4"
7+
version = "0.0.4-minor.1"
88
authors = [
99
{ name="Anton Sychev", email="anton@sychev.xyz" },
1010
]

src/Rocketstore/Rocketstore.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
# TODO: checker last modified file time if exist lockfile and is to much longuer (to unlock it)
5858

5959

60-
class RocketStore:
60+
class Rocketstore:
6161

6262
data_storage_area: str = os.path.join(os.path.sep, "tmp", "rsdb")
6363

src/Rocketstore/__init__.py

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,17 @@
99
Docs: documentation
1010
"""
1111

12-
from .RocketStore import RocketStore
12+
__all__ = ["Rocketstore"]
13+
14+
from .__version__ import (
15+
__author__,
16+
__author_email__,
17+
__build__,
18+
__copyright__,
19+
__description__,
20+
__title__,
21+
__url__,
22+
__version__,
23+
)
24+
25+
from .Rocketstore import Rocketstore

src/Rocketstore/__version__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
__title__ = "RocketStore"
1212
__description__ = "Rocket Store (Python) - Fast and Simple Database"
1313
__url__ = "https://github.com/klich3/rocket-store-python"
14-
__version__ = "0.0.4"
15-
__build__ = 0x000019
14+
__version__ = "0.0.4-minor.1"
15+
__build__ = 0x000020
1616
__author__ = "Anton Sychev"
1717
__author_email__ = "anton@sychev.xyz"
1818
__copyright__ = "Copyright Simon Riget"

src/Rocketstore/example.py

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,9 @@
99
Docs: documentation
1010
"""
1111

12-
import RocketStore
13-
import _FORMAT_JSON
14-
import _FORMAT_NATIVE
15-
import _FORMAT_XML
16-
import _ADD_AUTO_INC
17-
import _ORDER_DESC
18-
19-
rs = RocketStore(**{"data_storage_area": "./webapp",
12+
from .Rocketstore import Rocketstore, _FORMAT_JSON, _FORMAT_NATIVE, _FORMAT_XML, _ADD_AUTO_INC, _ORDER_DESC
13+
14+
rs = Rocketstore(**{"data_storage_area": "./webapp",
2015
"data_format": _FORMAT_JSON})
2116

2217
rs.post("cars", "Mercedes_Benz_GT_R", {"owner": "Lisa Simpson"})

0 commit comments

Comments
 (0)