From 24a2763619a57fcd81c77087f7869b15ece32c82 Mon Sep 17 00:00:00 2001 From: Charlie Drage Date: Thu, 31 Dec 2015 13:39:01 -0500 Subject: [PATCH 1/4] Fix typo in readme for pools --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f6ba82f..fdedb38 100644 --- a/README.md +++ b/README.md @@ -194,7 +194,7 @@ func main() { if err := pool.Wait(); err != nil { // Handle err } - } + }() if err := pool.Start(); err != nil { // Handle err } From eef89d62c290c91dc9ac50a8c02d102a20d6f80e Mon Sep 17 00:00:00 2001 From: Alex Browne Date: Thu, 31 Dec 2015 13:54:22 -0500 Subject: [PATCH 2/4] Add badges to README --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fdedb38..d44742a 100644 --- a/README.md +++ b/README.md @@ -3,10 +3,10 @@ Jobs A persistent and flexible background jobs library for go. +[![Version](https://img.shields.io/badge/version-X.X.X-5272B4.svg)](https://github.com/albrow/jobs/releases) +[![Circle CI](https://img.shields.io/circleci/project/albrow/jobs.svg)](https://circleci.com/gh/albrow/jobs) [![GoDoc](https://godoc.org/github.com/albrow/jobs?status.svg)](https://godoc.org/github.com/albrow/jobs) -Version: X.X.X - Jobs is powered by Redis and supports the following features: - A job can encapsulate any arbitrary functionality. A job can do anything From 3425a924f6d581bbfce981727d931a879e0fd4cf Mon Sep 17 00:00:00 2001 From: Alex Browne Date: Thu, 31 Dec 2015 13:56:11 -0500 Subject: [PATCH 3/4] Connect to redis over tcp for CircleCI compatibility --- test_utils.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test_utils.go b/test_utils.go index d55be60..1e87344 100644 --- a/test_utils.go +++ b/test_utils.go @@ -6,11 +6,12 @@ package jobs import ( "fmt" - "github.com/garyburd/redigo/redis" "reflect" "sync" "testing" "time" + + "github.com/garyburd/redigo/redis" ) // setUpOnce enforces that certain pieces of the set up process only occur once, @@ -24,8 +25,6 @@ func testingSetUp() { // Use database 14 and a unix socket connection for testing // TODO: allow this to be configured via command-line flags Config.Db.Database = 14 - Config.Db.Address = "/tmp/redis.sock" - Config.Db.Network = "unix" }) // Clear out any old job types Types = map[string]*Type{} From 7c00a18f44e94da8c62c83c7ca96f6e5a5d0892c Mon Sep 17 00:00:00 2001 From: Alex Browne Date: Thu, 31 Dec 2015 14:12:30 -0500 Subject: [PATCH 4/4] Bump version to 0.4.1 --- README.md | 2 +- doc.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d44742a..7d4322c 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ Jobs A persistent and flexible background jobs library for go. -[![Version](https://img.shields.io/badge/version-X.X.X-5272B4.svg)](https://github.com/albrow/jobs/releases) +[![Version](https://img.shields.io/badge/version-0.4.1-5272B4.svg)](https://github.com/albrow/jobs/releases) [![Circle CI](https://img.shields.io/circleci/project/albrow/jobs.svg)](https://circleci.com/gh/albrow/jobs) [![GoDoc](https://godoc.org/github.com/albrow/jobs?status.svg)](https://godoc.org/github.com/albrow/jobs) diff --git a/doc.go b/doc.go index a1e7f15..94eaf68 100644 --- a/doc.go +++ b/doc.go @@ -4,7 +4,7 @@ // Package jobs is a persistent and flexible background jobs library. // -// Version: X.X.X +// Version: 0.4.1 // // Jobs is powered by redis and supports the following features: //