Skip to content

Commit

Permalink
0.4.0
Browse files Browse the repository at this point in the history
- [BREAKING] changes the interface for authentication to make it more flexible
- when error is sent back to client ensure error is string
  • Loading branch information
gabrielcsapo committed Dec 4, 2017
1 parent 0961dac commit abd8fa4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Unreleased
# 0.4.0 (12/03/2017)

- [BREAKING] changes the interface for authentication to make it more flexible
- when error is sent back to client ensure error is string
Expand Down
5 changes: 4 additions & 1 deletion docs/code/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Git.html"
<section class="readme">
<article><h1>node-git-server</h1><blockquote>
<p>🎡 A configurable git server written in Node.js</p>
<blockquote>
<p>there be 🐲 here! The API's and functionality are still be cemented, anything before a 1.0.0 release will be subject to change. </p>
</blockquote>
</blockquote>
<p><a href="https://www.npmjs.com/package/node-git-server"><img src="https://img.shields.io/npm/v/node-git-server.svg" alt="Npm Version"></a>
<a href="https://travis-ci.org/gabrielcsapo/node-git-server"><img src="https://travis-ci.org/gabrielcsapo/node-git-server.svg?branch=master" alt="Build Status"></a>
Expand All @@ -57,7 +60,7 @@ <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Git.html"
<a href=""><img src="https://img.shields.io/npm/dt/node-git-server.svg" alt="npm"></a>
<a href=""><img src="https://img.shields.io/npm/dm/node-git-server.svg" alt="npm"></a></p>
<h1>Install</h1><pre class="prettyprint source"><code>npm install node-git-server</code></pre><h1>Usage</h1><pre class="prettyprint source lang-javascript"><code>const Server = require('node-git-server');
const repo = new Server(path.resolve(__dirname, 'tmp'), {
const repos = new Server(path.resolve(__dirname, 'tmp'), {
autoCreate: true,
authenticate: (type, repo, user, next) => {
if(type == 'upload') {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-git-server",
"version": "0.3.4",
"version": "0.4.0",
"description": "🎡 A configurable git server written in Node.js",
"author": "Gabriel J. Csapo <[email protected]>",
"contributors": [
Expand Down

0 comments on commit abd8fa4

Please sign in to comment.