Skip to content

Commit c52349e

Browse files
committed
Merge branch 'hotfix/v1.1.2'
2 parents 465af7f + 435a70f commit c52349e

File tree

4 files changed

+13
-3
lines changed

4 files changed

+13
-3
lines changed

Diff for: .travis.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
language: go
22

3-
gobuild_args: -tags='cluster' -race
4-
53
go:
64
- 1.4
75
- 1.5
@@ -17,3 +15,5 @@ before_script:
1715
- rethinkdb --port-offset 1 --directory rethinkdb_data1 --join localhost:29016 > /dev/null 2>&1 &
1816
- rethinkdb --port-offset 2 --directory rethinkdb_data2 --join localhost:29016 > /dev/null 2>&1 &
1917
- rethinkdb --port-offset 3 --directory rethinkdb_data3 --join localhost:29016 > /dev/null 2>&1 &
18+
19+
script: go test -tags='cluster' -race -check.vv -v ./...

Diff for: CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## v1.1.2
6+
### Fixed
7+
- Fixed issue when encoding some maps
8+
59
## v1.1.1
610
### Fixed
711
- Corrected protobuf import

Diff for: encoding/encoding_test.go

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
package encoding
2+
3+
import (
4+
// Import gocheck so that flag are setup (but unused)
5+
_ "gopkg.in/check.v1"
6+
)

Diff for: query_control.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ func Expr(val interface{}) Term {
6767
switch valType.Kind() {
6868
case reflect.Func:
6969
return makeFunc(val)
70-
case reflect.Struct, reflect.Ptr:
70+
case reflect.Struct, reflect.Map, reflect.Ptr:
7171
data, err := encode(val)
7272

7373
if err != nil || data == nil {

0 commit comments

Comments
 (0)