Skip to content

Commit 36f2503

Browse files
committed
Bump version
1 parent 0a5cca8 commit 36f2503

File tree

3 files changed

+8
-18
lines changed

3 files changed

+8
-18
lines changed

README.md

Lines changed: 7 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,23 @@ Board for LinuxFr.org
22
=====================
33

44
Users of the LinuxFr.org website can chat on a space called the board
5-
(« la tribune » in french). This is an experiment for notifying the users
5+
(« la tribune » in french). This Ruby daemon notifies the users
66
when something is said with Server-Sent Event / EventSource.
77

8-
For the moment, there are some difficulties:
98

10-
- I was hoping to simplify largely its logic, but it's not the case
11-
→ maybe, it will be better if I also refactor code in the Rails part
12-
- Goliath can't listen on UNIX socket
13-
→ it's no longer the case (fixed in v0.9.3)
14-
- EventSource is not supported by most browsers
15-
→ Not true, and https://github.com/Yaffle/EventSource is a good polyfill
9+
How to use it?
10+
--------------
1611

17-
18-
TODO
19-
----
20-
21-
* Add comments
22-
* ./bin/board-linuxfr -svS ../board.sock
23-
* board-linuxfr -v -S /data/alpha/alpha/board/board.sock -l /data/alpha/alpha/board/board.log -P /data/alpha/alpha/board/board.pid -d
12+
Install it with `gem install board-linuxfr`.
13+
Then, you can launch it on local with `board-linuxfr -S /tmp/board.sock`
14+
and it will listen on a UNIX socket at `/tmp/board.sock`.
2415

2516

2617
See also
2718
--------
2819

2920
* [Git repository](http://github.com/nono/board-sse-LinuxFr.org)
30-
* [Current board](https://github.com/nono/Board-LinuxFr.org)
21+
* [Rubygems page](https://rubygems.org/gems/board-linuxfr)
3122

3223

3324
Copyright

lib/board-linuxfr.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ def response(env)
1313
env.logger.info "New client: #{env['PATH_INFO']}"
1414
send_msg = ->(args) {
1515
id, msg = *args
16-
env.logger.debug " -> #{id}. #{msg}"
1716
env.stream_send("data: #{args.last}\nid: #{args.first}\n\n")
1817
env.stream_close if env['HTTP_X_REQUESTED_WITH']
1918
}

lib/board-linuxfr/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
class BoardLinuxfr
2-
VERSION = "0.0.1"
2+
VERSION = "0.1.0"
33
end

0 commit comments

Comments
 (0)