Skip to content
This repository has been archived by the owner on Oct 24, 2018. It is now read-only.

Commit

Permalink
Fix repository path (#110)
Browse files Browse the repository at this point in the history
* Fix repository path

* Add changelog for v0.2.0

* Move ci from travis-ci.org to travis-ci.com

* Update version in Makefile
  • Loading branch information
kaakaa authored Oct 24, 2018
1 parent 7fa3c5e commit 398268c
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 25 deletions.
13 changes: 5 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
sudo: false
notifications:
email: false

language: go
go:
- "1.9.x"
- "1.10.x"
- "1.11.x"

install:
Expand All @@ -21,12 +23,7 @@ deploy:
provider: releases
skip_cleanup: true
api_key:
secure: "d3uTlGiWlp/lw19IeDWidty/F+Qk/rojS3q7MaWdZYJ2qS6+tLO36G1wKOpJgo9lItv10Fi55NA4+JO8sNhuH0ygIkzUMWd2IdHROlwZmsB49XpLUFwdjx
Z4QKz/dhQDyILw7E8Jxs1Z+uZZy7HGpG8f9QWS7C+z9F1JuGirTe8IZeKfawizoOGoVy2BQ5lCH1s5Bwn9a019zV8Z0xzfQadHt0HfaFvllkwE8GsLuz8wdsA+Q6S1mJ+
RPBwKhel3BWVt2DRhlIiluLPvyQXp+LYgB/vdfTAm/Z/lqz8sm8eoKZA7QIsQNvkAVydlqiVEduJv1fEpZm3jqr/vpEncXpPq4TGSuPbLHyR1VhjGuMqX/5AlFx9+UKne
sDXpdfBpbFn6VNoL13E+DeqfyV8EUwXuGYWD2TgQIt0kucT2yKfsM0PCkgZtfkjiEU1/JQYTAywRFtFwa7OvIsbUqGepWdUtDryWvPU85VtfyjFDvcekmYGWSnPv1vNT7
rWL75XtHbipjno+zkeSiyP987JP2gIvgJ62UnerSitxBj1Snv90WWIEezaOuHD0wUlz3gJ/3xkgfz6O4ZR9daY9d86eZ5idi1LzOsNRXvgGjjzER4tf0WZZU3KeB/xOrm
VobXYwjw5zpOulnfLIGzQnZsXbgqwBCF3Wee8JRrYQWXvBlvs="
secure: CGZyAB5k8e/VzO93yXCCmM9fv6GYeRgvKK7DsiSSUH2jXjRIo7DXHZaKAgNa9oSf3+/oSuoopW6YLfJrQ/clL4WpiW3M/F1DznUMIIlnk5VAslqfi2kRDfX3n6DGty/JNZh7A6n1QA40dSCHMtKmPP7pmNjpyvxVtRZEUuMDZxSmiyLjlrwSAE6HTaRHALmVAPpIjf+5ubzEXgAfeKLp/oKFlzrxLYfgCJDvhNm8XuJSoEdgH9Mxi3GDfwf4uSF7ABjH4ItOWpkC9reKuHKSY3/p6iSwHCN0UmotdJaEktd6fXDWWBoxxKu4eQ6Emkmwex2udIxGJaNtEZs7FA3qR0Y7iJz0dXYFp468HO9NNkTSO0nA0doHw4ZvDSy8V2o3WvFbezBwPzOuc3qkdiH/NqS6y06SWc+0pghZGR6SPvuMTkvskTxN2dOmT4YiVK/sdOC1gYPwKa8boGxFOIPEv9Png/lRo8+0hwQF3h9GCWQVmXG2ZPH27HkJDU6Hkq50WtCctzt0W6KOPfWqIp2UAC7jdTBlCV3JpXTr2jHbLITu2DBlRHbMEYb9Mu4a5SeR51RgueNiAiwg9NOVuRy4D+yOWlggYNgw9o76FF1uTMvqz9FUGO2mkw0WPfyKkW8a9LpgVfkwz5ylXdeM2QGH/7GovbXECRjgjQbXqgT63S0=
file_glob: true
file: 'dist/*.{tar.gz,zip}'
on:
Expand Down
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
# Changelog
All notable changes to this project will be documented in this file.

## 0.2.0 - 2018-10-23
### Changed
- Transfer ownership from `kaakaa` to `matterpoll`
### Fixed
- Updated dependencies

## 0.1.1 – 2018-01-06
### Fixed
- Set content type to `application/json`([#89](https://github.com/kaakaa/matterpoll-emoji/pull/89))
- Set content type to `application/json`([#89](https://github.com/matterpoll/matterpoll-emoji/pull/89))
- Updated dependencies

## 0.1.0 – 2017-08-28
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ We welcome pull requests from everyone.

Fork, then clone the repo:

git clone https://github.com/kaakaa/matterpoll-emoji.git
git clone https://github.com/matterpoll/matterpoll-emoji.git

Make sure the tests pass:

Expand All @@ -14,7 +14,7 @@ Make your change. Add tests for your change. Make the tests pass:

make check-style test

Push to your fork and [submit a pull request](https://github.com/kaakaa/matterpoll-emoji/compare/)
Push to your fork and [submit a pull request](https://github.com/matterpoll/matterpoll-emoji/compare/)

## TIPS

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
NAME := matterpoll-emoji
VERSION := v0.1.1
VERSION := v0.2.0
REVISION := $(shell git rev-parse --short HEAD)

LDFLAGS := -ldflags="-s -w -X \"main.Version=$(VERSION)\" -X \"main.Revision=$(REVISION)\" -extldflags \"-static\""
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ Please consider using [Matterpoll](https://github.com/matterpoll/matterpoll) a M

# matterpoll-emoji

[![Build Status](https://travis-ci.org/kaakaa/matterpoll-emoji.svg?branch=master)](https://travis-ci.org/kaakaa/matterpoll-emoji)
[![Code Coverage](https://codecov.io/gh/kaakaa/matterpoll-emoji/branch/master/graph/badge.svg)](https://codecov.io/gh/kaakaa/matterpoll-emoji/branch/master)
[![Go Report Card](https://goreportcard.com/badge/github.com/kaakaa/matterpoll-emoji)](https://goreportcard.com/report/github.com/kaakaa/matterpoll-emoji)
[![Releases](https://img.shields.io/github/release/kaakaa/matterpoll-emoji.svg)](https://github.com/kaakaa/matterpoll-emoji/releases/latest)
[![Build Status](https://travis-ci.com/matterpoll/matterpoll-emoji.svg?branch=master)](https://travis-ci.com/matterpoll/matterpoll-emoji)
[![codecov](https://codecov.io/gh/matterpoll/matterpoll-emoji/branch/master/graph/badge.svg)](https://codecov.io/gh/matterpoll/matterpoll-emoji)
[![Go Report Card](https://goreportcard.com/badge/github.com/matterpoll/matterpoll-emoji)](https://goreportcard.com/report/github.com/matterpoll/matterpoll-emoji)
[![Releases](https://img.shields.io/github/release/matterpoll/matterpoll-emoji.svg)](https://github.com/matterpoll/matterpoll-emoji/releases/latest)

Polling feature for Mattermost's custom slash command.

Expand All @@ -28,7 +28,7 @@ Polling feature for Mattermost's custom slash command.
Create a `Custom Slash Command` from Integration > Slash Commands > Add Slash Command.

* DisplayName - `Matterpoll`
* Description - `Polling feature by https://github.com/kaakaa/matterpoll-emoji`
* Description - `Polling feature by https://github.com/matterpoll/matterpoll-emoji`
* Command Trigger Word - `poll`
* Request URL - `http://localhost:8505/poll`
* Request Method - `POST`
Expand All @@ -46,7 +46,7 @@ Copy the Token from your newly created slash command

#### Run pre compiled release

Download the latest version at https://github.com/kaakaa/matterpoll-emoji/releases/latest.
Download the latest version at https://github.com/matterpoll/matterpoll-emoji/releases/latest.
Decompress it and change parameter in `config.json` as you need them
```
{
Expand All @@ -68,8 +68,8 @@ Run the server

Clone this repository and checkout the latest release. You can just use the master branch but it can be unstable.
```
go get -u github.com/kaakaa/matterpoll-emoji
cd $GOPATH/src/github.com/kaakaa/matterpoll-emoji
go get -u github.com/matterpoll/matterpoll-emoji
cd $GOPATH/src/github.com/matterpoll/matterpoll-emoji
git checkout $(git describe --tags)
```
Copy the default config
Expand Down Expand Up @@ -104,7 +104,7 @@ Typing this on Mattermost

then posting poll comment

![screen_shot](https://raw.githubusercontent.com/kaakaa/matterpoll-emoji/master/matterpoll-emoji.png)
![screen_shot](https://raw.githubusercontent.com/matterpoll/matterpoll-emoji/master/matterpoll-emoji.png)

You can use `"` or `'` instead of `` ` ``

Expand Down
2 changes: 1 addition & 1 deletion cmd/matterpoll-emoji/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"log"
"net/http"

"github.com/kaakaa/matterpoll-emoji/poll"
"github.com/matterpoll/matterpoll-emoji/poll"
)

var config = flag.String("c", "config.json", "optional path to the config file")
Expand Down
2 changes: 1 addition & 1 deletion poll/conf_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"path/filepath"
"testing"

"github.com/kaakaa/matterpoll-emoji/poll"
"github.com/matterpoll/matterpoll-emoji/poll"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion poll/poll_func_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"strings"
"testing"

"github.com/kaakaa/matterpoll-emoji/poll"
"github.com/mattermost/mattermost-server/model"
"github.com/matterpoll/matterpoll-emoji/poll"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down
2 changes: 1 addition & 1 deletion poll/poll_request_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package poll_test
import (
"testing"

"github.com/kaakaa/matterpoll-emoji/poll"
"github.com/mattermost/mattermost-server/model"
"github.com/matterpoll/matterpoll-emoji/poll"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)
Expand Down

0 comments on commit 398268c

Please sign in to comment.