This repository has been archived by the owner on Feb 9, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add kinto-webpush plugin version in the capability.
- Loading branch information
Rémy HUBSCHER
committed
Jul 27, 2016
1 parent
2e0ecb2
commit d31ba6b
Showing
6 changed files
with
31 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Changelog | ||
========= | ||
|
||
|
||
0.1.0 (unreleased) | ||
------------------ | ||
|
||
- Initial code. | ||
- Add the plugin capability. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
include CHANGELOG.rst | ||
include LICENSE | ||
include README.rst | ||
|
||
recursive-include tests * | ||
recursive-exclude * __pycache__ | ||
recursive-exclude * *.py[co] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,14 @@ | ||
import pkg_resources | ||
|
||
#: Module version, as defined in PEP-0396. | ||
__version__ = pkg_resources.get_distribution(__package__).version | ||
|
||
|
||
def includeme(config): | ||
# settings = config.get_settings() | ||
|
||
# Expose the capabilities in the root endpoint. | ||
message = "Register your WebPush endpoint to get notified on updates." | ||
docs = "https://github.com/Kinto/kinto-webpush" | ||
config.add_api_capability("webpush", message, docs) | ||
config.add_api_capability("webpush", message, docs, version=__version__) | ||
config.scan('kinto_webpush.views') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters