From deaa19605a2526feb5aaf5ea7a0d104cd5003009 Mon Sep 17 00:00:00 2001 From: Tim Abbott Date: Wed, 24 Jul 2013 15:27:14 -0400 Subject: [PATCH] Switch Humbug users in API examples to zulip.com email addresses. (imported from commit 83abeafee8d7d146d950c3049568acbf51bb3a12) --- bots/gcal-bot | 6 +++--- demos/twitter-search-bot | 2 +- examples/list-subscriptions | 2 +- examples/print-messages | 2 +- examples/print-next-message | 2 +- examples/subscribe | 4 ++-- examples/unsubscribe | 4 ++-- 7 files changed, 11 insertions(+), 11 deletions(-) diff --git a/bots/gcal-bot b/bots/gcal-bot index 30dae5f..03e2c52 100755 --- a/bots/gcal-bot +++ b/bots/gcal-bot @@ -14,10 +14,10 @@ import humbug parser = optparse.OptionParser(r""" %prog \ - --user foo@humbughq.com \ - --calendar http://www.google.com/calendar/feeds/foo%40humbughq.com/private-fedcba9876543210fedcba9876543210/basic + --user foo@zulip.com \ + --calendar http://www.google.com/calendar/feeds/foo%40zulip.com/private-fedcba9876543210fedcba9876543210/basic - Send yourself reminders on Humbug of Google Calendar events. + Send yourself reminders on Zulip of Google Calendar events. To get the calendar URL: - Load Google Calendar in a web browser diff --git a/demos/twitter-search-bot b/demos/twitter-search-bot index 2aa5d7d..364d462 100755 --- a/demos/twitter-search-bot +++ b/demos/twitter-search-bot @@ -17,7 +17,7 @@ def write_config(config, since_id): parser = optparse.OptionParser(r""" -%prog --user foo@humbughq.com --api-key a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5 --search="@nprnews,quantum physics" +%prog --user foo@zulip.com --api-key a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5 --search="@nprnews,quantum physics" Send Twitter search results to a Humbug stream. diff --git a/examples/list-subscriptions b/examples/list-subscriptions index 64e2a9b..b9c90a7 100755 --- a/examples/list-subscriptions +++ b/examples/list-subscriptions @@ -29,7 +29,7 @@ usage = """list-subscriptions --user= --api-key= --api-key= Prints out each message received by the indicated bot or user. -Example: print-messages --user=tabbott@humbughq.com --api-key=a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5 +Example: print-messages --user=tabbott@zulip.com --api-key=a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5 You can omit --user and --api-key arguments if you have a properly set up ~/.humbugrc """ diff --git a/examples/print-next-message b/examples/print-next-message index 342e9cf..b7af91e 100755 --- a/examples/print-next-message +++ b/examples/print-next-message @@ -29,7 +29,7 @@ usage = """print-next-message --user= --api-key= --api-key= [opt Ensures the user is subscribed to the listed streams. -Examples: subscribe --user=tabbott@humbughq.com --api-key=a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5 --streams=foo - subscribe --user=tabbott@humbughq.com --api-key=a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5 --streams='foo bar' +Examples: subscribe --user=tabbott@zulip.com --api-key=a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5 --streams=foo + subscribe --user=tabbott@zulip.com --api-key=a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5 --streams='foo bar' You can omit --user and --api-key arguments if you have a properly set up ~/.humbugrc """ diff --git a/examples/unsubscribe b/examples/unsubscribe index 455073f..2dc5f17 100755 --- a/examples/unsubscribe +++ b/examples/unsubscribe @@ -29,8 +29,8 @@ usage = """unsubscribe --user= --api-key= [ Ensures the user is not subscribed to the listed streams. -Examples: unsubscribe --user=tabbott@humbughq.com --api-key=a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5 --streams=foo - unsubscribe --user=tabbott@humbughq.com --api-key=a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5 --streams='foo bar' +Examples: unsubscribe --user=tabbott@zulip.com --api-key=a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5 --streams=foo + unsubscribe --user=tabbott@zulip.com --api-key=a0b1c2d3e4f5a6b7c8d9e0f1a2b3c4d5 --streams='foo bar' You can omit --user and --api-key arguments if you have a properly set up ~/.humbugrc """