Skip to content

Commit

Permalink
Version 1.8 (#25)
Browse files Browse the repository at this point in the history
* Adding support for various other files (thanks to Don Tsang)
* Adding missing mime types (thanks to Oleksandr)
  • Loading branch information
cdgriffith committed Mar 24, 2020
1 parent 09c6cf6 commit f37d19a
Show file tree
Hide file tree
Showing 7 changed files with 219 additions and 185 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/pythonpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ jobs:
- name: Upload to release
uses: JasonEtco/upload-to-release@master
with:
args:
- dist/puremagic-${PURE_MAGIC_VERSION}-py3-none-any.whl
- dist/puremagic-${PURE_MAGIC_VERSION}.tar.gz
args: dist/puremagic-${PURE_MAGIC_VERSION}-py3-none-any.whl
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6 changes: 3 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: Tests

on:
push:
branches: [ master, development ]
branches: [ master, develop ]
pull_request:
branches: [ master, development ]
branches: [ master, develop ]

jobs:
build:
Expand Down Expand Up @@ -40,7 +40,7 @@ jobs:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: |
python -m pytest --cov=puremagic test/
coveralls
coveralls || true
- name: Check distrubiton log description
run: |
pip install setuptools wheel twine
Expand Down
2 changes: 2 additions & 0 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,5 @@ A big thank you to everyone that has helped!
- Sergey Ponomarev (stokito)
- andrewpmk
- bannsec
- Don Tsang (DonaldTsang)
- Oleksandr (msdinit)
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changelog
=========

Version 1.8
-----------

- Adding support for various other files (thanks to Don Tsang)
- Adding missing mime types (thanks to Oleksandr)

Version 1.7
-----------

Expand Down
384 changes: 206 additions & 178 deletions puremagic/magic_data.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion puremagic/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from collections import namedtuple

__author__ = "Chris Griffith"
__version__ = "1.7"
__version__ = "1.8"
__all__ = ['magic_file', 'magic_string', 'from_file', 'from_string',
'ext_from_filename', 'PureError', 'magic_footer_array',
'magic_header_array']
Expand Down
Binary file added test/resources/video/test.mkv
Binary file not shown.

0 comments on commit f37d19a

Please sign in to comment.