This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/gmaps-app.js b/gmaps-app.js | |
index 17a52b3..50cb3da 100644 | |
--- a/gmaps-app.js | |
+++ b/gmaps-app.js | |
@@ -10,11 +10,16 @@ go.app = function() { | |
var LocationState = require('go-jsbox-location'); | |
var App = vumigo.App; | |
var EndState = vumigo.states.EndState; | |
+ var ChoiceState = vumigo.states.ChoiceState; | |
+ var Choice = vumigo.states.Choice; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/gmaps-app.js b/gmaps-app.js | |
index 17a52b3..284b1d0 100644 | |
--- a/gmaps-app.js | |
+++ b/gmaps-app.js | |
@@ -10,6 +10,8 @@ go.app = function() { | |
var LocationState = require('go-jsbox-location'); | |
var App = vumigo.App; | |
var EndState = vumigo.states.EndState; | |
+ var ChoiceState = vumigo.states.ChoiceState; | |
+ var Choice = vumigo.states.Choice; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/package.json b/package.json | |
index db0d652..9bfa908 100644 | |
--- a/package.json | |
+++ b/package.json | |
@@ -8,13 +8,14 @@ | |
} | |
}, | |
"dependencies": { | |
- "q": "~0.9.7", | |
+ "go-jsbox-location": "^0.1.1", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/modules/vumigo/files/dialogue_application.yaml b/modules/vumigo/files/dialogue_application.yaml | |
index 1e47823..c635a57 100644 | |
--- a/modules/vumigo/files/dialogue_application.yaml | |
+++ b/modules/vumigo/files/dialogue_application.yaml | |
@@ -12,7 +12,7 @@ riak_manager: &RIAK | |
env: | |
NODE_PATH: "/usr/lib/node_modules:/usr/local/lib/node_modules" | |
-app_context: "{require: function(m) { if (['moment', 'url', 'querystring', 'crypto', 'lodash', 'q', 'jed', 'libxmljs', 'zlib', 'vumigo_v01', 'vumigo_v02'].indexOf(m) >= 0) return require(m); return null; }, Buffer: Buffer}" | |
+app_context: "{require: function(m) { if (['moment', 'url', 'querystring', 'crypto', 'lodash', 'q', 'jed', 'libxmljs', 'zlib', 'vumigo_v01', 'vumigo_v02', 'go-jsbox-location'].indexOf(m) >= 0) return require(m); return null; }, Buffer: Buffer}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git checkout develop | |
$ git tag | |
go-contacts-0.1.0a | |
go-contacts-0.1.1 | |
go-contacts-0.1.2 | |
$ SERIES=0.1.x | |
$ VER=0.1.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/go_contacts/backends/groups.py b/go_contacts/backends/groups.py | |
index bf8638a..cc431b1 100644 | |
--- a/go_contacts/backends/groups.py | |
+++ b/go_contacts/backends/groups.py | |
@@ -147,6 +147,7 @@ class RiakGroupsCollection(object): | |
max_results = max_results or float('inf') | |
max_results = min(max_results, self.max_groups_per_page) | |
+ # Encoding and decoding are the same operation | |
cursor = self._encode_cursor(cursor) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
max_contacts_per_page: 5 | |
max_groups_per_page: 5 | |
riak_manager: {bucket_prefix: test} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"en": "Broken toilet", | |
"zh": "Aphukileyo indlu yangasese", | |
"value": "broken_toilet" | |
}, | |
{ | |
"en": "Broken sink", | |
"zh": "Aphukileyo isitya", | |
"value": "broken_sink" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
+ it('should fire the metrics for each new user', function() { | |
+ return tester | |
+ .inputs( | |
+ {from_addr: '+271234', content: null}, | |
+ {from_addr: '+274321', content: null}) | |
+ .check(function(api, im , app) { | |
+ metrics = api.metrics | |
+ .stores['metricsHelper-tester'].uniqueUsers; | |
+ assert.deepEqual( | |
+ metrics, {agg: 'sum', values: [1]}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/package.json b/package.json | |
index 69c2a4e..87e5cd8 100644 | |
--- a/package.json | |
+++ b/package.json | |
@@ -2,7 +2,7 @@ | |
"name": "go-jsbox-ona", | |
"version": "0.0.2a", | |
"description": "A vumi jsbox helper library for interacting with Ona", | |
- "main": "lib/index.js", | |
+ "main": "src/index.js", |
OlderNewer