diff --git a/README.md b/README.md index bc43662..518ebac 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Postal.js -## Version 0.6.2 (Dual Licensed [MIT](http://www.opensource.org/licenses/mit-license) & [GPL](http://www.opensource.org/licenses/gpl-license)) +## Version 0.6.3 (Dual Licensed [MIT](http://www.opensource.org/licenses/mit-license) & [GPL](http://www.opensource.org/licenses/gpl-license)) ## What is it? Postal.js is an in-memory message bus - very loosely inspired by [AMQP](http://www.amqp.org/) - written in JavaScript. Postal.js runs in the browser, or on the server-side using Node.js. It takes a familiar "eventing-style" paradigm most JavaScript developers are already used to and extends it by providing "broker" and subscriber implementations which are more sophisticated than what you typically find in simple event delegation. diff --git a/example/amd/js/libs/postal/postal.js b/example/amd/js/libs/postal/postal.js index 775a78e..4db8b0f 100644 --- a/example/amd/js/libs/postal/postal.js +++ b/example/amd/js/libs/postal/postal.js @@ -2,7 +2,7 @@ postal.js Author: Jim Cowart License: Dual licensed MIT (http://www.opensource.org/licenses/mit-license) & GPL (http://www.opensource.org/licenses/gpl-license) - Version 0.6.2 + Version 0.6.3 */ // This is the amd-module version of postal.js @@ -274,6 +274,7 @@ var localBus = { } ); _.each( this.subscriptions[envelope.channel], function ( topic ) { + // TODO: research faster ways to handle this than _.clone _.each( _.clone(topic), function ( subDef ) { if ( postal.configuration.resolver.compare( subDef.topic, envelope.topic ) ) { if ( _.all( subDef.constraints, function ( constraint ) { diff --git a/example/node/client/js/lib/postal.js b/example/node/client/js/lib/postal.js index 775a78e..4db8b0f 100644 --- a/example/node/client/js/lib/postal.js +++ b/example/node/client/js/lib/postal.js @@ -2,7 +2,7 @@ postal.js Author: Jim Cowart License: Dual licensed MIT (http://www.opensource.org/licenses/mit-license) & GPL (http://www.opensource.org/licenses/gpl-license) - Version 0.6.2 + Version 0.6.3 */ // This is the amd-module version of postal.js @@ -274,6 +274,7 @@ var localBus = { } ); _.each( this.subscriptions[envelope.channel], function ( topic ) { + // TODO: research faster ways to handle this than _.clone _.each( _.clone(topic), function ( subDef ) { if ( postal.configuration.resolver.compare( subDef.topic, envelope.topic ) ) { if ( _.all( subDef.constraints, function ( constraint ) { diff --git a/example/node/messaging/postal.js b/example/node/messaging/postal.js index d7f13e6..7fa2d9b 100644 --- a/example/node/messaging/postal.js +++ b/example/node/messaging/postal.js @@ -2,7 +2,7 @@ postal.js Author: Jim Cowart License: Dual licensed MIT (http://www.opensource.org/licenses/mit-license) & GPL (http://www.opensource.org/licenses/gpl-license) - Version 0.6.2 + Version 0.6.3 */ // This is the node.js version of postal.js @@ -274,6 +274,7 @@ var localBus = { } ); _.each( this.subscriptions[envelope.channel], function ( topic ) { + // TODO: research faster ways to handle this than _.clone _.each( _.clone(topic), function ( subDef ) { if ( postal.configuration.resolver.compare( subDef.topic, envelope.topic ) ) { if ( _.all( subDef.constraints, function ( constraint ) { diff --git a/example/standard/js/postal.js b/example/standard/js/postal.js index bfd8cbc..d5c6e0b 100644 --- a/example/standard/js/postal.js +++ b/example/standard/js/postal.js @@ -2,7 +2,7 @@ postal.js Author: Jim Cowart License: Dual licensed MIT (http://www.opensource.org/licenses/mit-license) & GPL (http://www.opensource.org/licenses/gpl-license) - Version 0.6.2 + Version 0.6.3 */ // This is the standard lib version of postal.js @@ -274,6 +274,7 @@ var localBus = { } ); _.each( this.subscriptions[envelope.channel], function ( topic ) { + // TODO: research faster ways to handle this than _.clone _.each( _.clone(topic), function ( subDef ) { if ( postal.configuration.resolver.compare( subDef.topic, envelope.topic ) ) { if ( _.all( subDef.constraints, function ( constraint ) { diff --git a/lib/amd/postal.js b/lib/amd/postal.js index 775a78e..4db8b0f 100644 --- a/lib/amd/postal.js +++ b/lib/amd/postal.js @@ -2,7 +2,7 @@ postal.js Author: Jim Cowart License: Dual licensed MIT (http://www.opensource.org/licenses/mit-license) & GPL (http://www.opensource.org/licenses/gpl-license) - Version 0.6.2 + Version 0.6.3 */ // This is the amd-module version of postal.js @@ -274,6 +274,7 @@ var localBus = { } ); _.each( this.subscriptions[envelope.channel], function ( topic ) { + // TODO: research faster ways to handle this than _.clone _.each( _.clone(topic), function ( subDef ) { if ( postal.configuration.resolver.compare( subDef.topic, envelope.topic ) ) { if ( _.all( subDef.constraints, function ( constraint ) { diff --git a/lib/node/package.json b/lib/node/package.json index 9907347..78dc6c5 100644 --- a/lib/node/package.json +++ b/lib/node/package.json @@ -1,7 +1,7 @@ { "name" : "postal", "description" : "Pub/Sub library providing wildcard subscriptions, complex message handling, etc. Works server and client-side.", - "version" : "0.6.2", + "version" : "0.6.3", "homepage" : "http://github.com/ifandelse/postal.js", "repository" : { "type" : "git", diff --git a/lib/node/postal.js b/lib/node/postal.js index d7f13e6..7fa2d9b 100644 --- a/lib/node/postal.js +++ b/lib/node/postal.js @@ -2,7 +2,7 @@ postal.js Author: Jim Cowart License: Dual licensed MIT (http://www.opensource.org/licenses/mit-license) & GPL (http://www.opensource.org/licenses/gpl-license) - Version 0.6.2 + Version 0.6.3 */ // This is the node.js version of postal.js @@ -274,6 +274,7 @@ var localBus = { } ); _.each( this.subscriptions[envelope.channel], function ( topic ) { + // TODO: research faster ways to handle this than _.clone _.each( _.clone(topic), function ( subDef ) { if ( postal.configuration.resolver.compare( subDef.topic, envelope.topic ) ) { if ( _.all( subDef.constraints, function ( constraint ) { diff --git a/lib/standard/postal.js b/lib/standard/postal.js index bfd8cbc..d5c6e0b 100644 --- a/lib/standard/postal.js +++ b/lib/standard/postal.js @@ -2,7 +2,7 @@ postal.js Author: Jim Cowart License: Dual licensed MIT (http://www.opensource.org/licenses/mit-license) & GPL (http://www.opensource.org/licenses/gpl-license) - Version 0.6.2 + Version 0.6.3 */ // This is the standard lib version of postal.js @@ -274,6 +274,7 @@ var localBus = { } ); _.each( this.subscriptions[envelope.channel], function ( topic ) { + // TODO: research faster ways to handle this than _.clone _.each( _.clone(topic), function ( subDef ) { if ( postal.configuration.resolver.compare( subDef.topic, envelope.topic ) ) { if ( _.all( subDef.constraints, function ( constraint ) { diff --git a/src/main/VersionHeader.js b/src/main/VersionHeader.js index 2c6b9c3..bc22622 100644 --- a/src/main/VersionHeader.js +++ b/src/main/VersionHeader.js @@ -2,5 +2,5 @@ postal.js Author: Jim Cowart License: Dual licensed MIT (http://www.opensource.org/licenses/mit-license) & GPL (http://www.opensource.org/licenses/gpl-license) - Version 0.6.2 + Version 0.6.3 */