Skip to content

Commit

Permalink
Merge pull request rapidpro#222 from nyaruka/latest_goflow
Browse files Browse the repository at this point in the history
Update to latest goflow
  • Loading branch information
rowanseymour authored Jan 28, 2020
2 parents a424947 + dd7289f commit f870f46
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 14 deletions.
3 changes: 1 addition & 2 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ require (
github.com/mattn/go-sqlite3 v1.10.0 // indirect
github.com/nyaruka/ezconf v0.2.1
github.com/nyaruka/gocommon v1.1.1
github.com/nyaruka/goflow v0.66.0
github.com/nyaruka/goflow v0.66.1
github.com/nyaruka/librato v1.0.0
github.com/nyaruka/logrus_sentry v0.8.2-0.20190129182604-c2962b80ba7d
github.com/nyaruka/null v1.2.0
Expand All @@ -36,7 +36,6 @@ require (
github.com/stretchr/testify v1.4.0
golang.org/x/net v0.0.0-20181217023233-e147a9138326 // indirect
google.golang.org/appengine v1.4.0 // indirect
gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc // indirect
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 // indirect
gopkg.in/go-playground/validator.v9 v9.21.0
gopkg.in/mail.v2 v2.3.1
Expand Down
6 changes: 4 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ github.com/apex/log v1.0.0/go.mod h1:yA770aXIDQrhVOIGurT/pVdfCpSq1GQV/auzMN5fzvY
github.com/aws/aws-lambda-go v1.8.1/go.mod h1:zUsUQhAUjYzR8AuduJPCfhBuKWUaDbQiPOG+ouzmE1A=
github.com/aws/aws-sdk-go v1.16.17 h1:hHRKZhoB4qEY17aGNp71UxQFyYpx6WZXGMUzx9y/A4w=
github.com/aws/aws-sdk-go v1.16.17/go.mod h1:KmX6BPdI08NWTb3/sm4ZGu5ShLoqVDhKgpiN924inxo=
github.com/blevesearch/segment v0.0.0-20160915185041-762005e7a34f h1:kqbi9lqXLLs+zfWlgo1PIiRQ86n33K1JKotjj4rSYOg=
github.com/blevesearch/segment v0.0.0-20160915185041-762005e7a34f/go.mod h1:IInt5XRvpiGE09KOk9mmCMLjHhydIhNPKPPFLFBB7L8=
github.com/buger/jsonparser v0.0.0-20180131123142-4be68c93a244/go.mod h1:bbYlZJ7hK1yFx9hf58LP0zeX7UjIGs20ufpu3evjr+s=
github.com/buger/jsonparser v0.0.0-20180808090653-f4dd9f5a6b44 h1:y853v6rXx+zefEcjET3JuKAqvhj+FKflQijjeaSv2iA=
github.com/buger/jsonparser v0.0.0-20180808090653-f4dd9f5a6b44/go.mod h1:bbYlZJ7hK1yFx9hf58LP0zeX7UjIGs20ufpu3evjr+s=
Expand Down Expand Up @@ -75,8 +77,8 @@ github.com/nyaruka/ezconf v0.2.1 h1:TDXWoqjqYya1uhou1mAJZg7rgFYL98EB0Tb3+BWtUh0=
github.com/nyaruka/ezconf v0.2.1/go.mod h1:ey182kYkw2MIi4XiWe1FR/mzI33WCmTWuceDYYxgnQw=
github.com/nyaruka/gocommon v1.1.1 h1:RnQ+kMzN1lA+W0NpkBDd0mGU3UqadJygR3SMpITMYTQ=
github.com/nyaruka/gocommon v1.1.1/go.mod h1:QbdU2J9WBsqBmeZRuwndf2f6O7rD7mkC0bGn5UNnwjI=
github.com/nyaruka/goflow v0.66.0 h1:eiqlqNcnagVJRYVqRsrc7cLwwZHJVagxLLS8KNvmZJk=
github.com/nyaruka/goflow v0.66.0/go.mod h1:fb6eGAXiTL2hjbzMpXwSIlNx0O4IsR9XBunXBN+8pWM=
github.com/nyaruka/goflow v0.66.1 h1:FlO4lQq0Mgu2W2TSZLIg7hkbhj155y8df5WzQIaNP+k=
github.com/nyaruka/goflow v0.66.1/go.mod h1:gj2Qqrkh45J3leUTJc9kpQDq4/LDTmB2ojpFsZs5LTU=
github.com/nyaruka/librato v1.0.0 h1:Vznj9WCeC1yZXbBYyYp40KnbmXLbEkjKmHesV/v2SR0=
github.com/nyaruka/librato v1.0.0/go.mod h1:pkRNLFhFurOz0QqBz6/DuTFhHHxAubWxs4Jx+J7yUgg=
github.com/nyaruka/logrus_sentry v0.8.2-0.20190129182604-c2962b80ba7d h1:hyp9u36KIwbTCo2JAJ+TuJcJBc+UZzEig7RI/S5Dvkc=
Expand Down
20 changes: 10 additions & 10 deletions search/testdata/elastic_test.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,22 +115,22 @@
{
"label": "invalid text >",
"search": "color > red",
"error": "unsupported text comparator: >"
"error": "comparisons with > can only be used with date and number fields"
},
{
"label": "invalid text <",
"search": "color < red",
"error": "unsupported text comparator: <"
"error": "comparisons with < can only be used with date and number fields"
},
{
"label": "invalid text < \"\"",
"search": "color < \"\"",
"error": "unsupported text comparator: <"
"error": "comparisons with < can only be used with date and number fields"
},
{
"label": "invalid text > \"\"",
"search": "color > \"\"",
"error": "unsupported text comparator: >"
"error": "comparisons with > can only be used with date and number fields"
},
{
"label": "valid number is set",
Expand Down Expand Up @@ -735,7 +735,7 @@
{
"label": "invalid state <",
"search": "state<washington",
"error": "unsupported location comparator: <"
"error": "comparisons with < can only be used with date and number fields"
},
{
"label": "valid district is set",
Expand Down Expand Up @@ -848,7 +848,7 @@
{
"label": "invalid district <",
"search": "district<chelan",
"error": "unsupported location comparator: <"
"error": "comparisons with < can only be used with date and number fields"
},
{
"label": "valid ward is set",
Expand Down Expand Up @@ -961,7 +961,7 @@
{
"label": "invalid ward <",
"search": "ward<stevens",
"error": "unsupported location comparator: <"
"error": "comparisons with < can only be used with date and number fields"
},
{
"label": "valid name =",
Expand Down Expand Up @@ -1051,7 +1051,7 @@
{
"label": "invalid name >",
"search": "name>chef",
"error": "unsupported name query comparator: >"
"error": "comparisons with > can only be used with date and number fields"
},
{
"label": "valid id =",
Expand Down Expand Up @@ -1146,7 +1146,7 @@
{
"label": "invalid language >",
"search": "language>dog",
"error": "unsupported language comparator: >"
"error": "comparisons with > can only be used with date and number fields"
},
{
"label": "valid created_on >",
Expand Down Expand Up @@ -1342,7 +1342,7 @@
{
"label": "invalid tel >",
"search": "tel>12345",
"error": "unsupported scheme comparator: >"
"error": "comparisons with > can only be used with date and number fields"
},
{
"label": "tel on anon org",
Expand Down

0 comments on commit f870f46

Please sign in to comment.