From e131d3c4fdc171f81846bc564bbc500c9a571f81 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Fri, 27 Feb 2015 08:21:04 +0100 Subject: [PATCH] doc(cargo): added license info and build status --- Cargo.toml | 1 + LICENSE.md | 25 +++++++++++++++++++++++++ README.md | 2 ++ 3 files changed, 28 insertions(+) create mode 100644 LICENSE.md diff --git a/Cargo.toml b/Cargo.toml index f1322c4..1980752 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,6 +8,7 @@ description = """A partial oauth2 implementation, providing the 'device' authori More information about how it's done can be found here: https://developers.google.com/youtube/v3/guides/authentication#devices """ documentation = "http://byron.github.io/yup-oauth2" +license = "MIT" [dependencies] chrono = "*" diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 0000000..17daa1e --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,25 @@ +The MIT License (MIT) +===================== + +Copyright © `2015` `Sebastian Thiel` + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated documentation +files (the “Software”), to deal in the Software without +restriction, including without limitation the rights to use, +copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following +conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES +OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT +HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, +WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. diff --git a/README.md b/README.md index 83c318e..3b50803 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![Build Status](https://travis-ci.org/Byron/yup-oauth2.svg)](https://travis-ci.org/Byron/yup-oauth2) + **yup-oauth2** is a utility library which will implement [oauthv2 device authentication](https://developers.google.com/youtube/v3/guides/authentication#devices) suitable for [**yup**](https://github.com/Byron/yup) to work. It is implemented such that it makes no assumptions about the front-end, allowing more uses than just in yup.