Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Really finish debranding.

  • Loading branch information...
commit 97e0ee31c63875219b87bc2d7ed87e55bf69c648 1 parent 8231ea1
@steveWang steveWang authored
Showing with 27 additions and 1,281 deletions.
  1. +1 −1  bridge-ruby.gemspec
  2. +2 −2 doc/Bridge.html
  3. +1 −1  doc/Bridge/Bridge.html
  4. +1 −1  doc/Bridge/Bridge/SystemService.html
  5. +1 −1  doc/Bridge/Client.html
  6. +1 −1  doc/Bridge/Connection.html
  7. +1 −1  doc/Bridge/Connection/SockBuffer.html
  8. +1 −1  doc/Bridge/Reference.html
  9. +1 −1  doc/Bridge/Serializer.html
  10. +1 −1  doc/Bridge/Serializer/Callback.html
  11. +1 −1  doc/Bridge/Tcp.html
  12. +1 −1  doc/Bridge/Util.html
  13. +1 −1  doc/Bridge/Util/CallbackReference.html
  14. +1 −1  doc/OpenSSL/X509/Certificate.html
  15. +1 −1  doc/SSLCertificateVerification.html
  16. +1 −1  doc/_index.html
  17. +0 −2  doc/created.rid
  18. +3 −3 doc/file.README.html
  19. BIN  doc/images/add.png
  20. BIN  doc/images/brick.png
  21. BIN  doc/images/brick_link.png
  22. BIN  doc/images/bug.png
  23. BIN  doc/images/bullet_black.png
  24. BIN  doc/images/bullet_toggle_minus.png
  25. BIN  doc/images/bullet_toggle_plus.png
  26. BIN  doc/images/date.png
  27. BIN  doc/images/delete.png
  28. BIN  doc/images/find.png
  29. BIN  doc/images/loadingAnimation.gif
  30. BIN  doc/images/macFFBgHack.png
  31. BIN  doc/images/package.png
  32. BIN  doc/images/page_green.png
  33. BIN  doc/images/page_white_text.png
  34. BIN  doc/images/page_white_width.png
  35. BIN  doc/images/plugin.png
  36. BIN  doc/images/ruby.png
  37. BIN  doc/images/tag_blue.png
  38. BIN  doc/images/tag_green.png
  39. BIN  doc/images/transparent.png
  40. BIN  doc/images/wrench.png
  41. BIN  doc/images/wrench_orange.png
  42. BIN  doc/images/zoom.png
  43. +3 −3 doc/index.html
  44. +0 −153 doc/js/darkfish.js
  45. +0 −142 doc/js/navigation.js
  46. +0 −94 doc/js/search.js
  47. +0 −1  doc/js/search_index.js
  48. +0 −228 doc/js/searcher.js
  49. +0 −543 doc/rdoc.css
  50. +0 −72 doc/table_of_contents.html
  51. +1 −1  doc/top-level-namespace.html
  52. +0 −19 examples/chat/channels.rb
  53. +2 −2 examples/chat/chatclient.rb
  54. +1 −1  lib/bridge.rb
View
2  bridge-ruby.gemspec
@@ -5,7 +5,7 @@ Gem::Specification.new do |s|
s.version = Bridge::VERSION
s.homepage = 'http://getbridge.com'
- s.authors = ["Flotype"]
+ s.authors = [""]
s.email = ["team@getbridge.com"]
s.files = `git ls-files`.split("\n")
View
4 doc/Bridge.html
@@ -89,7 +89,7 @@
<h2>Overview</h2><div class="docstring">
<div class="discussion">
-<h2 id="label-Flotype+Bridge">Flotype Bridge</h2>
+<h2 id="label-Bridge">Bridge</h2>
<p>Bridge is a cross-language and platform framework for realtime
communication and RPC.</p>
@@ -267,7 +267,7 @@ <h3 class="signature " id="instance=-class_method">
</div>
<div id="footer">
- Generated on Wed Jun 20 10:48:53 2012 by
+ Generated on Wed Jun 20 11:00:11 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.8.2.1 (ruby-1.9.3).
</div>
View
2  doc/Bridge/Bridge.html
@@ -1865,7 +1865,7 @@ <h3 id="label-Attributes++">Attributes </h3>
</div>
<div id="footer">
- Generated on Wed Jun 20 10:48:54 2012 by
+ Generated on Wed Jun 20 11:00:11 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.8.2.1 (ruby-1.9.3).
</div>
View
2  doc/Bridge/Bridge/SystemService.html
@@ -387,7 +387,7 @@ <h3 class="signature " id="remoteError-instance_method">
</div>
<div id="footer">
- Generated on Wed Jun 20 10:48:54 2012 by
+ Generated on Wed Jun 20 11:00:11 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.8.2.1 (ruby-1.9.3).
</div>
View
2  doc/Bridge/Client.html
@@ -262,7 +262,7 @@ <h3 class="signature first" id="get_service-instance_method">
</div>
<div id="footer">
- Generated on Wed Jun 20 10:48:54 2012 by
+ Generated on Wed Jun 20 11:00:11 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.8.2.1 (ruby-1.9.3).
</div>
View
2  doc/Bridge/Connection.html
@@ -1171,7 +1171,7 @@ <h3 class="signature " id="start-instance_method">
</div>
<div id="footer">
- Generated on Wed Jun 20 10:48:54 2012 by
+ Generated on Wed Jun 20 11:00:11 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.8.2.1 (ruby-1.9.3).
</div>
View
2  doc/Bridge/Connection/SockBuffer.html
@@ -313,7 +313,7 @@ <h3 class="signature " id="send-instance_method">
</div>
<div id="footer">
- Generated on Wed Jun 20 10:48:54 2012 by
+ Generated on Wed Jun 20 11:00:11 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.8.2.1 (ruby-1.9.3).
</div>
View
2  doc/Bridge/Reference.html
@@ -596,7 +596,7 @@ <h3 class="signature " id="to_dict-instance_method">
</div>
<div id="footer">
- Generated on Wed Jun 20 10:48:54 2012 by
+ Generated on Wed Jun 20 11:00:11 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.8.2.1 (ruby-1.9.3).
</div>
View
2  doc/Bridge/Serializer.html
@@ -396,7 +396,7 @@ <h3 class="signature " id="unserialize_helper-class_method">
</div>
<div id="footer">
- Generated on Wed Jun 20 10:48:53 2012 by
+ Generated on Wed Jun 20 11:00:11 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.8.2.1 (ruby-1.9.3).
</div>
View
2  doc/Bridge/Serializer/Callback.html
@@ -489,7 +489,7 @@ <h3 class="signature " id="respond_to?-instance_method">
</div>
<div id="footer">
- Generated on Wed Jun 20 10:48:54 2012 by
+ Generated on Wed Jun 20 11:00:11 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.8.2.1 (ruby-1.9.3).
</div>
View
2  doc/Bridge/Tcp.html
@@ -648,7 +648,7 @@ <h3 class="signature " id="unbind-instance_method">
</div>
<div id="footer">
- Generated on Wed Jun 20 10:48:53 2012 by
+ Generated on Wed Jun 20 11:00:11 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.8.2.1 (ruby-1.9.3).
</div>
View
2  doc/Bridge/Util.html
@@ -634,7 +634,7 @@ <h3 class="signature " id="warn-class_method">
</div>
<div id="footer">
- Generated on Wed Jun 20 10:48:53 2012 by
+ Generated on Wed Jun 20 11:00:11 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.8.2.1 (ruby-1.9.3).
</div>
View
2  doc/Bridge/Util/CallbackReference.html
@@ -548,7 +548,7 @@ <h3 class="signature " id="to_dict-instance_method">
</div>
<div id="footer">
- Generated on Wed Jun 20 10:48:53 2012 by
+ Generated on Wed Jun 20 11:00:11 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.8.2.1 (ruby-1.9.3).
</div>
View
2  doc/OpenSSL/X509/Certificate.html
@@ -266,7 +266,7 @@ <h3 class="signature " id="top_level?-instance_method">
</div>
<div id="footer">
- Generated on Wed Jun 20 10:48:54 2012 by
+ Generated on Wed Jun 20 11:00:11 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.8.2.1 (ruby-1.9.3).
</div>
View
2  doc/SSLCertificateVerification.html
@@ -437,7 +437,7 @@ <h3 class="signature " id="ssl_verify_peer-instance_method">
</div>
<div id="footer">
- Generated on Wed Jun 20 10:48:53 2012 by
+ Generated on Wed Jun 20 11:00:11 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.8.2.1 (ruby-1.9.3).
</div>
View
2  doc/_index.html
@@ -230,7 +230,7 @@ <h1 class="alphaindex">Alphabetic Index</h1>
</div>
<div id="footer">
- Generated on Wed Jun 20 10:48:53 2012 by
+ Generated on Wed Jun 20 11:00:11 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.8.2.1 (ruby-1.9.3).
</div>
View
2  doc/created.rid
@@ -1,2 +0,0 @@
-Sat, 07 Apr 2012 02:37:02 -0700
-lib\bridge.rb Sat, 07 Apr 2012 02:36:34 -0700
View
6 doc/file.README.html
@@ -88,16 +88,16 @@ <h2 id="documentation-and-support">Documentation and Support</h2>
<li>About Bridge: http://www.getbridge.com/</li>
</ul>
-<p>The <code>examples</code> directory of this library contains sample applications for the Ruby client for Bridge.</p>
+<p>The <code>examples</code> directory of this library contains sample applications for Bridge.</p>
<p>Support is available in #getbridge on Freenode IRC or the Bridge Google Group.</p>
<h2 id="license">License</h2>
-<p>The Ruby client for Bridge is made available under the MIT/X11 license. See LICENSE file for details.</p>
+<p>Bridge is made available under the MIT/X11 license. See LICENSE file for details.</p>
</div></div>
<div id="footer">
- Generated on Wed Jun 20 10:48:53 2012 by
+ Generated on Wed Jun 20 11:00:11 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.8.2.1 (ruby-1.9.3).
</div>
View
BIN  doc/images/add.png
Deleted file not rendered
View
BIN  doc/images/brick.png
Deleted file not rendered
View
BIN  doc/images/brick_link.png
Deleted file not rendered
View
BIN  doc/images/bug.png
Deleted file not rendered
View
BIN  doc/images/bullet_black.png
Deleted file not rendered
View
BIN  doc/images/bullet_toggle_minus.png
Deleted file not rendered
View
BIN  doc/images/bullet_toggle_plus.png
Deleted file not rendered
View
BIN  doc/images/date.png
Deleted file not rendered
View
BIN  doc/images/delete.png
Deleted file not rendered
View
BIN  doc/images/find.png
Deleted file not rendered
View
BIN  doc/images/loadingAnimation.gif
Deleted file not rendered
View
BIN  doc/images/macFFBgHack.png
Deleted file not rendered
View
BIN  doc/images/package.png
Deleted file not rendered
View
BIN  doc/images/page_green.png
Deleted file not rendered
View
BIN  doc/images/page_white_text.png
Deleted file not rendered
View
BIN  doc/images/page_white_width.png
Deleted file not rendered
View
BIN  doc/images/plugin.png
Deleted file not rendered
View
BIN  doc/images/ruby.png
Deleted file not rendered
View
BIN  doc/images/tag_blue.png
Deleted file not rendered
View
BIN  doc/images/tag_green.png
Deleted file not rendered
View
BIN  doc/images/transparent.png
Deleted file not rendered
View
BIN  doc/images/wrench.png
Deleted file not rendered
View
BIN  doc/images/wrench_orange.png
Deleted file not rendered
View
BIN  doc/images/zoom.png
Deleted file not rendered
View
6 doc/index.html
@@ -88,16 +88,16 @@ <h2 id="documentation-and-support">Documentation and Support</h2>
<li>About Bridge: http://www.getbridge.com/</li>
</ul>
-<p>The <code>examples</code> directory of this library contains sample applications for the Ruby client for Bridge.</p>
+<p>The <code>examples</code> directory of this library contains sample applications for Bridge.</p>
<p>Support is available in #getbridge on Freenode IRC or the Bridge Google Group.</p>
<h2 id="license">License</h2>
-<p>The Ruby client for Bridge is made available under the MIT/X11 license. See LICENSE file for details.</p>
+<p>Bridge is made available under the MIT/X11 license. See LICENSE file for details.</p>
</div></div>
<div id="footer">
- Generated on Wed Jun 20 10:48:53 2012 by
+ Generated on Wed Jun 20 11:00:11 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.8.2.1 (ruby-1.9.3).
</div>
View
153 doc/js/darkfish.js
@@ -1,153 +0,0 @@
-/**
- *
- * Darkfish Page Functions
- * $Id: darkfish.js 53 2009-01-07 02:52:03Z deveiant $
- *
- * Author: Michael Granger <mgranger@laika.com>
- *
- */
-
-/* Provide console simulation for firebug-less environments */
-if (!("console" in window) || !("firebug" in console)) {
- var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml",
- "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];
-
- window.console = {};
- for (var i = 0; i < names.length; ++i)
- window.console[names[i]] = function() {};
-};
-
-
-/**
- * Unwrap the first element that matches the given @expr@ from the targets and return them.
- */
-$.fn.unwrap = function( expr ) {
- return this.each( function() {
- $(this).parents( expr ).eq( 0 ).after( this ).remove();
- });
-};
-
-
-function showSource( e ) {
- var target = e.target;
- var codeSections = $(target).
- parents('.method-detail').
- find('.method-source-code');
-
- $(target).
- parents('.method-detail').
- find('.method-source-code').
- slideToggle();
-};
-
-function hookSourceViews() {
- $('.method-heading').click( showSource );
-};
-
-function toggleDebuggingSection() {
- $('.debugging-section').slideToggle();
-};
-
-function hookDebuggingToggle() {
- $('#debugging-toggle img').click( toggleDebuggingSection );
-};
-
-function hookTableOfContentsToggle() {
- $('.indexpage li .toc-toggle').each( function() {
- $(this).click( function() {
- $(this).toggleClass('open');
- });
-
- var section = $(this).next();
-
- $(this).click( function() {
- section.slideToggle();
- });
- });
-}
-
-function hookSearch() {
- var input = $('#search-field').eq(0);
- var result = $('#search-results').eq(0);
- $(result).show();
-
- var search_section = $('#search-section').get(0);
- $(search_section).show();
-
- var search = new Search(search_data, input, result);
-
- search.renderItem = function(result) {
- var li = document.createElement('li');
- var html = '';
-
- // TODO add relative path to <script> per-page
- html += '<p class="search-match"><a href="' + rdoc_rel_prefix + result.path + '">' + this.hlt(result.title);
- if (result.params)
- html += '<span class="params">' + result.params + '</span>';
- html += '</a>';
-
-
- if (result.namespace)
- html += '<p class="search-namespace">' + this.hlt(result.namespace);
-
- if (result.snippet)
- html += '<div class="search-snippet">' + result.snippet + '</div>';
-
- li.innerHTML = html;
-
- return li;
- }
-
- search.select = function(result) {
- var result_element = result.get(0);
- window.location.href = result_element.firstChild.firstChild.href;
- }
-
- search.scrollIntoView = search.scrollInWindow;
-};
-
-function highlightTarget( anchor ) {
- console.debug( "Highlighting target '%s'.", anchor );
-
- $("a[name=" + anchor + "]").each( function() {
- if ( !$(this).parent().parent().hasClass('target-section') ) {
- console.debug( "Wrapping the target-section" );
- $('div.method-detail').unwrap( 'div.target-section' );
- $(this).parent().wrap( '<div class="target-section"></div>' );
- } else {
- console.debug( "Already wrapped." );
- }
- });
-};
-
-function highlightLocationTarget() {
- console.debug( "Location hash: %s", window.location.hash );
- if ( ! window.location.hash || window.location.hash.length == 0 ) return;
-
- var anchor = window.location.hash.substring(1);
- console.debug( "Found anchor: %s; matching %s", anchor, "a[name=" + anchor + "]" );
-
- highlightTarget( anchor );
-};
-
-function highlightClickTarget( event ) {
- console.debug( "Highlighting click target for event %o", event.target );
- try {
- var anchor = $(event.target).attr( 'href' ).substring(1);
- console.debug( "Found target anchor: %s", anchor );
- highlightTarget( anchor );
- } catch ( err ) {
- console.error( "Exception while highlighting: %o", err );
- };
-};
-
-
-$(document).ready( function() {
- hookSourceViews();
- hookDebuggingToggle();
- hookSearch();
- highlightLocationTarget();
- hookTableOfContentsToggle();
-
- $('ul.link-list a').bind( "click", highlightClickTarget );
-});
View
142 doc/js/navigation.js
@@ -1,142 +0,0 @@
-/*
- * Navigation allows movement using the arrow keys through the search results.
- *
- * When using this library you will need to set scrollIntoView to the
- * appropriate function for your layout. Use scrollInWindow if the container
- * is not scrollable and scrollInElement if the container is a separate
- * scrolling region.
- */
-Navigation = new function() {
- this.initNavigation = function() {
- var _this = this;
-
- $(document).keydown(function(e) {
- _this.onkeydown(e);
- }).keyup(function(e) {
- _this.onkeyup(e);
- });
-
- this.navigationActive = true;
- }
-
- this.setNavigationActive = function(state) {
- this.navigationActive = state;
- this.clearMoveTimeout();
- }
-
- this.onkeyup = function(e) {
- if (!this.navigationActive) return;
-
- switch(e.keyCode) {
- case 37: //Event.KEY_LEFT:
- case 38: //Event.KEY_UP:
- case 39: //Event.KEY_RIGHT:
- case 40: //Event.KEY_DOWN:
- this.clearMoveTimeout();
- break;
- }
- }
-
- this.onkeydown = function(e) {
- if (!this.navigationActive) return;
- switch(e.keyCode) {
- case 37: //Event.KEY_LEFT:
- if (this.moveLeft()) e.preventDefault();
- break;
- case 38: //Event.KEY_UP:
- if (e.keyCode == 38 || e.ctrlKey) {
- if (this.moveUp()) e.preventDefault();
- this.startMoveTimeout(false);
- }
- break;
- case 39: //Event.KEY_RIGHT:
- if (this.moveRight()) e.preventDefault();
- break;
- case 40: //Event.KEY_DOWN:
- if (e.keyCode == 40 || e.ctrlKey) {
- if (this.moveDown()) e.preventDefault();
- this.startMoveTimeout(true);
- }
- break;
- case 13: //Event.KEY_RETURN:
- if (this.$current)
- e.preventDefault();
- this.select(this.$current);
- break;
- }
- if (e.ctrlKey && e.shiftKey) this.select(this.$current);
- }
-
- this.clearMoveTimeout = function() {
- clearTimeout(this.moveTimeout);
- this.moveTimeout = null;
- }
-
- this.startMoveTimeout = function(isDown) {
- if (!$.browser.mozilla && !$.browser.opera) return;
- if (this.moveTimeout) this.clearMoveTimeout();
- var _this = this;
-
- var go = function() {
- if (!_this.moveTimeout) return;
- _this[isDown ? 'moveDown' : 'moveUp']();
- _this.moveTimout = setTimeout(go, 100);
- }
- this.moveTimeout = setTimeout(go, 200);
- }
-
- this.moveRight = function() {
- }
-
- this.moveLeft = function() {
- }
-
- this.move = function(isDown) {
- }
-
- this.moveUp = function() {
- return this.move(false);
- }
-
- this.moveDown = function() {
- return this.move(true);
- }
-
- /*
- * Scrolls to the given element in the scrollable element view.
- */
- this.scrollInElement = function(element, view) {
- var offset, viewHeight, viewScroll, height;
- offset = element.offsetTop;
- height = element.offsetHeight;
- viewHeight = view.offsetHeight;
- viewScroll = view.scrollTop;
-
- if (offset - viewScroll + height > viewHeight) {
- view.scrollTop = offset - viewHeight + height;
- }
- if (offset < viewScroll) {
- view.scrollTop = offset;
- }
- }
-
- /*
- * Scrolls to the given element in the window. The second argument is
- * ignored
- */
- this.scrollInWindow = function(element, ignored) {
- var offset, viewHeight, viewScroll, height;
- offset = element.offsetTop;
- height = element.offsetHeight;
- viewHeight = window.innerHeight;
- viewScroll = window.scrollY;
-
- if (offset - viewScroll + height > viewHeight) {
- window.scrollTo(window.scrollX, offset - viewHeight + height);
- }
- if (offset < viewScroll) {
- window.scrollTo(window.scrollX, offset);
- }
- }
-}
-
View
94 doc/js/search.js
@@ -1,94 +0,0 @@
-Search = function(data, input, result) {
- this.data = data;
- this.$input = $(input);
- this.$result = $(result);
-
- this.$current = null;
- this.$view = this.$result.parent();
- this.searcher = new Searcher(data.index);
- this.init();
-}
-
-Search.prototype = $.extend({}, Navigation, new function() {
- var suid = 1;
-
- this.init = function() {
- var _this = this;
- var observer = function() {
- _this.search(_this.$input[0].value);
- };
- this.$input.keyup(observer);
- this.$input.click(observer); // mac's clear field
-
- this.searcher.ready(function(results, isLast) {
- _this.addResults(results, isLast);
- })
-
- this.initNavigation();
- this.setNavigationActive(false);
- }
-
- this.search = function(value, selectFirstMatch) {
- value = jQuery.trim(value).toLowerCase();
- if (value) {
- this.setNavigationActive(true);
- } else {
- this.setNavigationActive(false);
- }
-
- if (value == '') {
- this.lastQuery = value;
- this.$result.empty();
- this.setNavigationActive(false);
- } else if (value != this.lastQuery) {
- this.lastQuery = value;
- this.firstRun = true;
- this.searcher.find(value);
- }
- }
-
- this.addResults = function(results, isLast) {
- var target = this.$result.get(0);
- if (this.firstRun && (results.length > 0 || isLast)) {
- this.$current = null;
- this.$result.empty();
- }
-
- for (var i=0, l = results.length; i < l; i++) {
- target.appendChild(this.renderItem.call(this, results[i]));
- };
-
- if (this.firstRun && results.length > 0) {
- this.firstRun = false;
- this.$current = $(target.firstChild);
- this.$current.addClass('current');
- }
- if (jQuery.browser.msie) this.$element[0].className += '';
- }
-
- this.move = function(isDown) {
- if (!this.$current) return;
- var $next = this.$current[isDown ? 'next' : 'prev']();
- if ($next.length) {
- this.$current.removeClass('current');
- $next.addClass('current');
- this.scrollIntoView($next[0], this.$view[0]);
- this.$current = $next;
- }
- return true;
- }
-
- this.hlt = function(html) {
- return this.escapeHTML(html).
- replace(/\u0001/g, '<em>').
- replace(/\u0002/g, '</em>');
- }
-
- this.escapeHTML = function(html) {
- return html.replace(/[&<>]/g, function(c) {
- return '&#' + c.charCodeAt(0) + ';';
- });
- }
-
-});
-
View
1  doc/js/search_index.js
@@ -1 +0,0 @@
-var search_data = {"index":{"searchIndex":["bridge","bridge","connect()","get_channel()","get_service()","join_channel()","leave_channel()","new()","on()","publish_service()","ready()"],"longSearchIndex":["bridge","bridge::bridge","bridge::bridge#connect()","bridge::bridge#get_channel()","bridge::bridge#get_service()","bridge::bridge#join_channel()","bridge::bridge#leave_channel()","bridge::bridge::new()","bridge::bridge#on()","bridge::bridge#publish_service()","bridge::bridge#ready()"],"info":[["Bridge","","Bridge.html","","<p>Flotype Bridge\n<p>Bridge is a cross-language and platform framework for realtime\ncommunication and RPC\n<p>The ...\n"],["Bridge::Bridge","","Bridge/Bridge.html","",""],["connect","Bridge::Bridge","Bridge/Bridge.html#method-i-connect","(&callback)","<p>Starts the connection to the Bridge server.\n<p>If a block is given, calls the given block when Bridge is ...\n"],["get_channel","Bridge::Bridge","Bridge/Bridge.html#method-i-get_channel","(name, &callback)","<p>Retrives a channel from Bridge with the given name.\n<p>Calling a method on the channel object will result ...\n"],["get_service","Bridge::Bridge","Bridge/Bridge.html#method-i-get_service","(name, &callback)","<p>Retrives a service published to Bridge with the given name.\n<p>If multiple Bridge clients have a published ...\n"],["join_channel","Bridge::Bridge","Bridge/Bridge.html#method-i-join_channel","(name, handler, &callback)","<p>Provides a remote object, ruby object or module as a receiver for methods\ncalls on a Bridge channel. ...\n"],["leave_channel","Bridge::Bridge","Bridge/Bridge.html#method-i-leave_channel","(channel, handler, &callback)","<p>Leaves a Bridge channel with the given name and handler object.\n<p>The given handler can be a remote object, ...\n"],["new","Bridge::Bridge","Bridge/Bridge.html#method-c-new","(options = {})","<p>Create an instance of the Bridge object. This object will be used for\nBridge interactions\n<p>Bridge#connect ...\n"],["on","Bridge::Bridge","Bridge/Bridge.html#method-i-on","(name, &fn)","<p>Adds the given block as a handler for the event specified by\n<code>name</code>. Calling multiple times will result ...\n"],["publish_service","Bridge::Bridge","Bridge/Bridge.html#method-i-publish_service","(name, handler, &callback)","<p>Publishes a ruby object or module as a Bridge service with the given name.\n<p>If a block is given, calls ...\n"],["ready","Bridge::Bridge","Bridge/Bridge.html#method-i-ready","(&callback)","<p>Calls the given block when Bridge is connected and ready. Calls the given\nblock immediately if Bridge ...\n"]]}}
View
228 doc/js/searcher.js
@@ -1,228 +0,0 @@
-Searcher = function(data) {
- this.data = data;
- this.handlers = [];
-}
-
-Searcher.prototype = new function() {
- // search is performed in chunks of 1000 for non-blocking user input
- var CHUNK_SIZE = 1000;
- // do not try to find more than 100 results
- var MAX_RESULTS = 100;
- var huid = 1;
- var suid = 1;
- var runs = 0;
-
- this.find = function(query) {
- var queries = splitQuery(query);
- var regexps = buildRegexps(queries);
- var highlighters = buildHilighters(queries);
- var state = { from: 0, pass: 0, limit: MAX_RESULTS, n: suid++};
- var _this = this;
-
- this.currentSuid = state.n;
-
- if (!query) return;
-
- var run = function() {
- // stop current search thread if new search started
- if (state.n != _this.currentSuid) return;
-
- var results =
- performSearch(_this.data, regexps, queries, highlighters, state);
- var hasMore = (state.limit > 0 && state.pass < 4);
-
- triggerResults.call(_this, results, !hasMore);
- if (hasMore) {
- setTimeout(run, 2);
- }
- runs++;
- };
- runs = 0;
-
- // start search thread
- run();
- }
-
- /* ----- Events ------ */
- this.ready = function(fn) {
- fn.huid = huid;
- this.handlers.push(fn);
- }
-
- /* ----- Utilities ------ */
- function splitQuery(query) {
- return jQuery.grep(query.split(/(\s+|::?|\(\)?)/), function(string) {
- return string.match(/\S/)
- });
- }
-
- function buildRegexps(queries) {
- return jQuery.map(queries, function(query) {
- return new RegExp(query.replace(/(.)/g, '([$1])([^$1]*?)'), 'i')
- });
- }
-
- function buildHilighters(queries) {
- return jQuery.map(queries, function(query) {
- return jQuery.map(query.split(''), function(l, i) {
- return '\u0001$' + (i*2+1) + '\u0002$' + (i*2+2);
- }).join('');
- });
- }
-
- // function longMatchRegexp(index, longIndex, regexps) {
- // for (var i = regexps.length - 1; i >= 0; i--){
- // if (!index.match(regexps[i]) && !longIndex.match(regexps[i])) return false;
- // };
- // return true;
- // }
-
-
- /* ----- Mathchers ------ */
-
- /*
- * This record matches if the index starts with queries[0] and the record
- * matches all of the regexps
- */
- function matchPassBeginning(index, longIndex, queries, regexps) {
- if (index.indexOf(queries[0]) != 0) return false;
- for (var i=1, l = regexps.length; i < l; i++) {
- if (!index.match(regexps[i]) && !longIndex.match(regexps[i]))
- return false;
- };
- return true;
- }
-
- /*
- * This record matches if the longIndex starts with queries[0] and the
- * longIndex matches all of the regexps
- */
- function matchPassLongIndex(index, longIndex, queries, regexps) {
- if (longIndex.indexOf(queries[0]) != 0) return false;
- for (var i=1, l = regexps.length; i < l; i++) {
- if (!longIndex.match(regexps[i]))
- return false;
- };
- return true;
- }
-
- /*
- * This record matches if the index contains queries[0] and the record
- * matches all of the regexps
- */
- function matchPassContains(index, longIndex, queries, regexps) {
- if (index.indexOf(queries[0]) == -1) return false;
- for (var i=1, l = regexps.length; i < l; i++) {
- if (!index.match(regexps[i]) && !longIndex.match(regexps[i]))
- return false;
- };
- return true;
- }
-
- /*
- * This record matches if regexps[0] matches the index and the record
- * matches all of the regexps
- */
- function matchPassRegexp(index, longIndex, queries, regexps) {
- if (!index.match(regexps[0])) return false;
- for (var i=1, l = regexps.length; i < l; i++) {
- if (!index.match(regexps[i]) && !longIndex.match(regexps[i]))
- return false;
- };
- return true;
- }
-
-
- /* ----- Highlighters ------ */
- function highlightRegexp(info, queries, regexps, highlighters) {
- var result = createResult(info);
- for (var i=0, l = regexps.length; i < l; i++) {
- result.title = result.title.replace(regexps[i], highlighters[i]);
- result.namespace = result.namespace.replace(regexps[i], highlighters[i]);
- };
- return result;
- }
-
- function hltSubstring(string, pos, length) {
- return string.substring(0, pos) + '\u0001' + string.substring(pos, pos + length) + '\u0002' + string.substring(pos + length);
- }
-
- function highlightQuery(info, queries, regexps, highlighters) {
- var result = createResult(info);
- var pos = 0;
- var lcTitle = result.title.toLowerCase();
-
- pos = lcTitle.indexOf(queries[0]);
- if (pos != -1) {
- result.title = hltSubstring(result.title, pos, queries[0].length);
- }
-
- result.namespace = result.namespace.replace(regexps[0], highlighters[0]);
- for (var i=1, l = regexps.length; i < l; i++) {
- result.title = result.title.replace(regexps[i], highlighters[i]);
- result.namespace = result.namespace.replace(regexps[i], highlighters[i]);
- };
- return result;
- }
-
- function createResult(info) {
- var result = {};
- result.title = info[0];
- result.namespace = info[1];
- result.path = info[2];
- result.params = info[3];
- result.snippet = info[4];
- return result;
- }
-
- /* ----- Searching ------ */
- function performSearch(data, regexps, queries, highlighters, state) {
- var searchIndex = data.searchIndex;
- var longSearchIndex = data.longSearchIndex;
- var info = data.info;
- var result = [];
- var i = state.from;
- var l = searchIndex.length;
- var togo = CHUNK_SIZE;
- var matchFunc, hltFunc;
-
- while (state.pass < 4 && state.limit > 0 && togo > 0) {
- if (state.pass == 0) {
- matchFunc = matchPassBeginning;
- hltFunc = highlightQuery;
- } else if (state.pass == 1) {
- matchFunc = matchPassLongIndex;
- hltFunc = highlightQuery;
- } else if (state.pass == 2) {
- matchFunc = matchPassContains;
- hltFunc = highlightQuery;
- } else if (state.pass == 3) {
- matchFunc = matchPassRegexp;
- hltFunc = highlightRegexp;
- }
-
- for (; togo > 0 && i < l && state.limit > 0; i++, togo--) {
- if (info[i].n == state.n) continue;
- if (matchFunc(searchIndex[i], longSearchIndex[i], queries, regexps)) {
- info[i].n = state.n;
- result.push(hltFunc(info[i], queries, regexps, highlighters));
- state.limit--;
- }
- };
- if (searchIndex.length <= i) {
- state.pass++;
- i = state.from = 0;
- } else {
- state.from = i;
- }
- }
- return result;
- }
-
- function triggerResults(results, isLast) {
- jQuery.each(this.handlers, function(i, fn) {
- fn.call(this, results, isLast)
- })
- }
-}
-
View
543 doc/rdoc.css
@@ -1,543 +0,0 @@
-/*
- * "Darkfish" Rdoc CSS
- * $Id: rdoc.css 54 2009-01-27 01:09:48Z deveiant $
- *
- * Author: Michael Granger <ged@FaerieMUD.org>
- *
- */
-
-/* Base Green is: #6C8C22 */
-
-* { padding: 0; margin: 0; }
-
-body {
- background: #efefef;
- font: 14px "Helvetica Neue", Helvetica, Tahoma, sans-serif;
- margin-left: 40px;
-}
-body.file-popup {
- font-size: 90%;
- margin-left: 0;
-}
-
-h1 {
- font-size: 300%;
- text-shadow: rgba(135,145,135,0.65) 2px 2px 3px;
- color: #6C8C22;
-}
-h2,h3,h4 { margin-top: 1.5em; }
-
-:link,
-:visited {
- color: #6C8C22;
- text-decoration: none;
-}
-:link:hover,
-:visited:hover {
- border-bottom: 1px dotted #6C8C22;
-}
-
-pre {
- background: #ddd;
- padding: 0.5em 0;
-}
-
-/* @group Generic Classes */
-
-.initially-hidden {
- display: none;
-}
-
-#search-field {
- width: 98%;
- background: #eee;
- border: none;
- height: 1.5em;
- -webkit-border-radius: 4px;
-}
-#search-field:focus {
- background: #f1edba;
-}
-#search-field:-moz-placeholder,
-#search-field::-webkit-input-placeholder {
- font-weight: bold;
- color: #666;
-}
-
-.missing-docs {
- font-size: 120%;
- background: white url(images/wrench_orange.png) no-repeat 4px center;
- color: #ccc;
- line-height: 2em;
- border: 1px solid #d00;
- opacity: 1;
- padding-left: 20px;
- text-indent: 24px;
- letter-spacing: 3px;
- font-weight: bold;
- -webkit-border-radius: 5px;
- -moz-border-radius: 5px;
-}
-
-.target-section {
- border: 2px solid #dcce90;
- border-left-width: 8px;
- padding: 0 1em;
- background: #fff3c2;
-}
-
-/* @end */
-
-/* @group Index Page, Standalone file pages */
-.indexpage ul {
- line-height: 160%;
- list-style: none;
-}
-.indexpage ul :link,
-.indexpage ul :visited {
- font-size: 16px;
-}
-
-.indexpage li {
- padding-left: 20px;
-}
-
-.indexpage ul > li {
- background: url(images/bullet_black.png) no-repeat left 4px;
-}
-.indexpage li.method {
- background: url(images/plugin.png) no-repeat left 4px;
-}
-.indexpage li.module {
- background: url(images/package.png) no-repeat left 4px;
-}
-.indexpage li.class {
- background: url(images/ruby.png) no-repeat left 4px;
-}
-.indexpage li.file {
- background: url(images/page_white_text.png) no-repeat left 4px;
-}
-.indexpage li li {
- background: url(images/tag_blue.png) no-repeat left 4px;
-}
-.indexpage li .toc-toggle {
- width: 16px;
- height: 16px;
- background: url(images/add.png) no-repeat;
-}
-
-.indexpage li .toc-toggle.open {
- background: url(images/delete.png) no-repeat;
-}
-
-/* @end */
-
-/* @group Top-Level Structure */
-
-#metadata {
- float: left;
- width: 260px;
-}
-
-#documentation {
- margin: 2em 1em 5em 300px;
- min-width: 340px;
-}
-
-#validator-badges {
- clear: both;
- margin: 1em 1em 2em;
- font-size: smaller;
-}
-
-/* @end */
-
-/* @group Metadata Section */
-#metadata .section {
- background-color: #dedede;
- -moz-border-radius: 5px;
- -webkit-border-radius: 5px;
- border: 1px solid #aaa;
- margin: 0 8px 8px;
- font-size: 90%;
- overflow: hidden;
-}
-#metadata h3.section-header {
- margin: 0;
- padding: 2px 8px;
- background: #ccc;
- color: #666;
- -moz-border-radius-topleft: 4px;
- -moz-border-radius-topright: 4px;
- -webkit-border-top-left-radius: 4px;
- -webkit-border-top-right-radius: 4px;
- border-bottom: 1px solid #aaa;
-}
-#metadata #home-section h3.section-header {
- border-bottom: 0;
-}
-
-#metadata ul,
-#metadata dl,
-#metadata p {
- padding: 8px;
- list-style: none;
-}
-
-#file-metadata {
- margin-top: 2em;
-}
-
-#file-metadata ul {
- padding-left: 28px;
- list-style-image: url(images/page_green.png);
-}
-
-dl.svninfo {
- color: #666;
- margin: 0;
-}
-dl.svninfo dt {
- font-weight: bold;
-}
-
-ul.link-list li {
- white-space: nowrap;
-}
-ul.link-list .type {
- font-size: 8px;
- text-transform: uppercase;
- color: white;
- background: #969696;
- padding: 2px 4px;
- -webkit-border-radius: 5px;
-}
-
-/* @end */
-
-/* @group Class Metadata Section */
-#class-metadata {
- margin-top: 2em;
-}
-/* @end */
-
-/* @group Project Metadata Section */
-#project-metadata {
- margin-top: 2em;
-}
-
-#project-metadata .section {
- border: 1px solid #aaa;
-}
-#project-metadata h3.section-header {
- border-bottom: 1px solid #aaa;
- position: relative;
-}
-
-#project-metadata form {
- color: #777;
- background: #ccc;
-}
-
-/* @end */
-
-/* @group Documentation Section */
-.description {
- font-size: 100%;
- color: #333;
-}
-
-.description p {
- margin: 1em 0.4em;
-}
-
-.description li p {
- margin: 0;
-}
-
-.description ol,
-.description ul {
- margin-left: 1.5em;
-}
-.description ol li,
-.description ul li {
- line-height: 1.4em;
-}
-
-.note-list {
- margin: 8px 0;
-}
-
-.label-list {
- margin: 8px 1.5em;
- border: 1px solid #ccc;
-}
-.description .label-list {
- font-size: 14px;
-}
-
-.note-list dt {
- font-weight: bold;
-}
-.note-list dd {
- padding: 0 12px;
-}
-
-.label-list dt {
- padding: 2px 4px;
- font-weight: bold;
- background: #ddd;
-}
-.label-list dd {
- padding: 2px 12px;
-}
-.label-list dd + dt,
-.note-list dd + dt {
- margin-top: 0.7em;
-}
-
-#documentation .section {
- font-size: 90%;
-}
-
-#documentation h2.section-header {
- margin-top: 1em;
- padding: 0.25em 0.5em;
- background: #ccc;
- color: #333;
- font-size: 175%;
- border: 1px solid #bbb;
- -moz-border-radius: 3px;
- -webkit-border-radius: 3px;
-}
-
-.documentation-section-title {
- position: relative;
-}
-.documentation-section-title .section-click-top {
- position: absolute;
- top: 6px;
- right: 12px;
- font-size: 10px;
- color: #9b9877;
- visibility: hidden;
- padding-right: 0.5px;
-}
-
-.documentation-section-title:hover .section-click-top {
- visibility: visible;
-}
-
-#documentation h3.section-header {
- margin-top: 1em;
- padding: 0.25em 0.5em;
- background-color: #dedede;
- color: #333;
- font-size: 150%;
- border: 1px solid #bbb;
- -moz-border-radius: 3px;
- -webkit-border-radius: 3px;
-}
-
-#constants-list > dl,
-#attributes-list > dl {
- margin: 1em 0 2em;
- border: 0;
-}
-#constants-list > dl dt,
-#attributes-list > dl dt {
- padding-left: 0;
- font-weight: bold;
- font-family: Monaco, "Andale Mono";
- background: inherit;
-}
-#constants-list > dl dt a,
-#attributes-list > dl dt a {
- color: inherit;
-}
-#constants-list > dl dd,
-#attributes-list > dl dd {
- margin: 0 0 1em 0;
- padding: 0;
- color: #666;
-}
-
-.documentation-section h2 {
- position: relative;
-}
-
-.documentation-section h2 a {
- position: absolute;
- top: 8px;
- right: 10px;
- font-size: 12px;
- color: #9b9877;
- visibility: hidden;
-}
-
-.documentation-section h2:hover a {
- visibility: visible;
-}
-
-/* @group Method Details */
-
-#documentation .method-source-code {
- display: none;
-}
-
-#documentation .method-detail {
- margin: 0.5em 0;
- padding: 0.5em 0;
- cursor: pointer;
-}
-#documentation .method-detail:hover {
- background-color: #f1edba;
-}
-#documentation .method-heading {
- position: relative;
- padding: 2px 4px 0 20px;
- font-size: 125%;
- font-weight: bold;
- color: #333;
- background: url(images/brick.png) no-repeat left bottom;
-}
-#documentation .method-heading :link,
-#documentation .method-heading :visited {
- color: inherit;
-}
-#documentation .method-click-advice {
- position: absolute;
- top: 2px;
- right: 5px;
- font-size: 10px;
- color: #9b9877;
- visibility: hidden;
- padding-right: 20px;
- line-height: 20px;
- background: url(images/zoom.png) no-repeat right top;
-}
-#documentation .method-heading:hover .method-click-advice {
- visibility: visible;
-}
-
-#documentation .method-alias .method-heading {
- color: #666;
- background: url(images/brick_link.png) no-repeat left bottom;
-}
-
-#documentation .method-description,
-#documentation .aliases {
- margin: 0 20px;
- color: #666;
-}
-
-#documentation .method-description p,
-#documentation .aliases p {
- line-height: 1.2em;
-}
-
-#documentation .aliases {
- padding-top: 4px;
- font-style: italic;
- cursor: default;
-}
-#documentation .method-description p {
- margin-bottom: 0.5em;
-}
-#documentation .method-description ul {
- margin-left: 1.5em;
-}
-pre {
- margin: 0.5em 0;
-}
-
-#documentation .attribute-method-heading {
- background: url(images/tag_green.png) no-repeat left bottom;
-}
-#documentation #attribute-method-details .method-detail:hover {
- background-color: transparent;
- cursor: default;
-}
-#documentation .attribute-access-type {
- font-size: 60%;
- text-transform: uppercase;
- vertical-align: super;
- padding: 0 2px;
-}
-/* @end */
-
-/* @end */
-
-/* @group Source Code */
-
-pre {
- overflow: auto;
- background: #262626;
- color: white;
- border: 1px dashed #999;
- padding: 0.5em;
-}
-
-.description pre {
- margin: 0 0.4em;
-}
-
-.ruby-constant { color: #7fffd4; background: transparent; }
-.ruby-keyword { color: #00ffff; background: transparent; }
-.ruby-ivar { color: #eedd82; background: transparent; }
-.ruby-operator { color: #00ffee; background: transparent; }
-.ruby-identifier { color: #ffdead; background: transparent; }
-.ruby-node { color: #ffa07a; background: transparent; }
-.ruby-comment { color: #dc0000; font-weight: bold; background: transparent; }
-.ruby-regexp { color: #ffa07a; background: transparent; }
-.ruby-value { color: #7fffd4; background: transparent; }
-
-/* @end */
-
-
-/* @group search results */
-#search-results h1 {
- font-size: 1em;
- font-weight: normal;
- text-shadow: none;
-}
-
-#search-results .current {
- background: #ccc;
- border-bottom: 1px solid transparent;
-}
-
-#search-results li {
- list-style: none;
- border-bottom: 1px solid #aaa;
- -moz-border-radius: 4px;
- -webkit-border-radius: 4px;
- border-radius: 4px;
- margin-bottom: 0.5em;
-}
-
-#search-results li:last-child {
- border-bottom: none;
- margin-bottom: 0;
-}
-
-#search-results li p {
- padding: 0;
- margin: 0.5em;
-}
-
-#search-results .search-namespace {
- font-weight: bold;
-}
-
-#search-results li em {
- background: yellow;
- font-style: normal;
-}
-
-#search-results pre {
- margin: 0.5em;
-}
-
-/* @end */
-
View
72 doc/table_of_contents.html
@@ -1,72 +0,0 @@
-<!DOCTYPE html>
-
-<html>
-<head>
-<meta content="text/html; charset=IBM437" http-equiv="Content-Type">
-
-<title>Table of Contents - RDoc Documentation</title>
-
-<link type="text/css" media="screen" href="./rdoc.css" rel="stylesheet">
-
-<script type="text/javascript">
- var rdoc_rel_prefix = "./";
-</script>
-
-<script type="text/javascript" charset="utf-8" src="./js/jquery.js"></script>
-<script type="text/javascript" charset="utf-8" src="./js/navigation.js"></script>
-<script type="text/javascript" charset="utf-8" src="./js/search_index.js"></script>
-<script type="text/javascript" charset="utf-8" src="./js/search.js"></script>
-<script type="text/javascript" charset="utf-8" src="./js/searcher.js"></script>
-<script type="text/javascript" charset="utf-8" src="./js/darkfish.js"></script>
-
-
-<body class="indexpage">
-<h1>Table of Contents - RDoc Documentation</h1>
-
-
-<h2 id="classes">Classes/Modules</h2>
-<ul>
- <li class="module">
- <a href="Bridge.html">Bridge</a>
-
- <img class="toc-toggle" src="images/transparent.png" alt="" title="toggle headings">
- <ul class="initially-hidden">
- <li><a href="Bridge.html#label-Flotype+Bridge">Flotype Bridge</a>
- </ul>
- </li>
- <li class="class">
- <a href="Bridge/Bridge.html">Bridge::Bridge</a>
- </li>
-
-</ul>
-
-<h2 id="methods">Methods</h2>
-<ul>
-
- <li class="method"><a href="Bridge/Bridge.html#method-c-new">::new &mdash; Bridge::Bridge</a>
-
- <li class="method"><a href="Bridge/Bridge.html#method-i-connect">#connect &mdash; Bridge::Bridge</a>
-
- <li class="method"><a href="Bridge/Bridge.html#method-i-get_channel">#get_channel &mdash; Bridge::Bridge</a>
-
- <li class="method"><a href="Bridge/Bridge.html#method-i-get_service">#get_service &mdash; Bridge::Bridge</a>
-
- <li class="method"><a href="Bridge/Bridge.html#method-i-join_channel">#join_channel &mdash; Bridge::Bridge</a>
-
- <li class="method"><a href="Bridge/Bridge.html#method-i-leave_channel">#leave_channel &mdash; Bridge::Bridge</a>
-
- <li class="method"><a href="Bridge/Bridge.html#method-i-on">#on &mdash; Bridge::Bridge</a>
-
- <li class="method"><a href="Bridge/Bridge.html#method-i-publish_service">#publish_service &mdash; Bridge::Bridge</a>
-
- <li class="method"><a href="Bridge/Bridge.html#method-i-ready">#ready &mdash; Bridge::Bridge</a>
-
-</ul>
-
-
-<footer id="validator-badges">
- <p><a href="http://validator.w3.org/check/referer">[Validate]</a>
- <p>Generated by <a href="https://github.com/rdoc/rdoc">RDoc</a> 3.12.
- <p>Generated with the <a href="http://deveiate.org/projects/Darkfish-Rdoc/">Darkfish Rdoc Generator</a> 3.
-</footer>
-
View
2  doc/top-level-namespace.html
@@ -103,7 +103,7 @@
</div>
<div id="footer">
- Generated on Wed Jun 20 10:48:53 2012 by
+ Generated on Wed Jun 20 11:00:11 2012 by
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
0.8.2.1 (ruby-1.9.3).
</div>
View
19 examples/chat/channels.rb
@@ -1,19 +0,0 @@
- require 'bridge-ruby'
-
- EventMachine.run do
-
- bridge = Bridge::Bridge.new(:api_key => 'abcdefgh', :log => 5, :secure => true)
-
- class ChatHandler
- def message sender, msg
- print sender, ":", msg
- end
- end
-
- bridge.connect
- bridge.join_channel('bridge-lovers', ChatHandler.new) do |channel, name|
- print "Joined: ", name
- channel.message('steve', 'Flotype Bridge is nifty')
- end
-
- end
View
4 examples/chat/chatclient.rb
@@ -15,7 +15,7 @@ def message sender, msg
auth = bridge.get_service('auth')
auth.join('bridge-lovers', 'secret123', ChatHandler.new) do |channel, name|
puts "Joined: #{name}"
- channel.message('steve', 'Flotype Bridge is nifty')
+ channel.message('steve', 'Bridge is nifty')
end
-end
+end
View
2  lib/bridge.rb
@@ -6,7 +6,7 @@
require 'eventmachine'
-# == Flotype Bridge
+# == Bridge
#
# Bridge is a cross-language and platform framework for realtime
# communication and RPC.
Please sign in to comment.
Something went wrong with that request. Please try again.