danthes 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +4 -4
- data/app/assets/javascripts/danthes.js.coffee +1 -1
- data/danthes.gemspec +1 -1
- data/lib/danthes/version.rb +2 -2
- metadata +3 -3
data/README.md
CHANGED
@@ -1,12 +1,12 @@
|
|
1
|
-
# d'Anthès [![Build Status](https://secure.travis-ci.org/
|
1
|
+
# d'Anthès [![Build Status](https://secure.travis-ci.org/simonoff/danthes.png?branch=master)](http://travis-ci.org/simonoff/danthes)
|
2
2
|
|
3
3
|
d'Anthès is a Ruby gem for use with Rails to publish and subscribe to messages through [Faye](http://faye.jcoglan.com/). It allows you to easily provide real-time updates through an open socket without tying up a Rails process. All channels are private so users can only listen to events you subscribe them to. Based on PrivatePub gem.
|
4
4
|
|
5
5
|
## Docs
|
6
6
|
|
7
|
-
[Ruby](http://rubydoc.info/github/
|
7
|
+
[Ruby](http://rubydoc.info/github/simonoff/danthes/frames)
|
8
8
|
|
9
|
-
[CoffeeScript](https://github.com/
|
9
|
+
[CoffeeScript](https://github.com/simonoff/danthes/wiki/CoffeeScript-documentation)
|
10
10
|
|
11
11
|
## Setup
|
12
12
|
|
@@ -146,7 +146,7 @@ The `publish_to` method will send a post request to the Faye server (using `Net:
|
|
146
146
|
|
147
147
|
## Development & Feedback
|
148
148
|
|
149
|
-
Questions or comments? Please use the [issue tracker](https://github.com/
|
149
|
+
Questions or comments? Please use the [issue tracker](https://github.com/simonoff/danthes/issues). Tests can be run with `bundle` and `rake` commands.
|
150
150
|
|
151
151
|
## TODO
|
152
152
|
|
@@ -48,7 +48,7 @@ window.Danthes = class Danthes
|
|
48
48
|
script.id = "faye-connection-script"
|
49
49
|
complete = false
|
50
50
|
script.onload = script.onreadystatechange = () =>
|
51
|
-
if !complete && (!
|
51
|
+
if !complete && (!script.readyState || script.readyState is "loaded" || script.readyState is "complete")
|
52
52
|
complete = true
|
53
53
|
script.onload = script.onreadystatechange = null
|
54
54
|
@debugMessage 'connect to faye after script loaded'
|
data/danthes.gemspec
CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |s|
|
|
7
7
|
s.platform = Gem::Platform::RUBY
|
8
8
|
s.author = ["Alexander Simonov"]
|
9
9
|
s.email = ["alex@simonov.me"]
|
10
|
-
s.homepage = "http://github.com/
|
10
|
+
s.homepage = "http://github.com/simonoff/danthes"
|
11
11
|
s.summary = "Private pub/sub messaging through Faye."
|
12
12
|
s.description = "Private pub/sub messaging in Rails through Faye. More Faye features supported. Based on PrivatePub."
|
13
13
|
s.files = `git ls-files`.split($\)
|
data/lib/danthes/version.rb
CHANGED
@@ -1,3 +1,3 @@
|
|
1
1
|
module Danthes
|
2
|
-
VERSION = '1.0.
|
3
|
-
end
|
2
|
+
VERSION = '1.0.3'
|
3
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: danthes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-09-
|
12
|
+
date: 2012-09-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: faye
|
@@ -67,7 +67,7 @@ files:
|
|
67
67
|
- spec/javascripts/support/jasmine_config.rb
|
68
68
|
- spec/javascripts/support/jasmine_runner.rb
|
69
69
|
- spec/spec_helper.rb
|
70
|
-
homepage: http://github.com/
|
70
|
+
homepage: http://github.com/simonoff/danthes
|
71
71
|
licenses: []
|
72
72
|
post_install_message:
|
73
73
|
rdoc_options: []
|