Files | Admin

Notes:

Release Name: 0.7.0

Notes:
raindrops 0.7.0 - FreeBSD fix, code cleanups

Raindrops is a real-time stats toolkit to show statistics for Rack HTTP
servers.  It is designed for preforking servers such as Rainbows! and
Unicorn, but should support any Rack HTTP server under Ruby 1.9, 1.8 and
Rubinius on platforms supporting POSIX shared memory.  It may also be
used as a generic scoreboard for sharing atomic counters across multiple
processes.

* http://raindrops.bogomips.org/
* raindrops@librelist.org
* git://bogomips.org/raindrops.git

Changes:

This release fixes a build issue on FreeBSD.  There are various
documentation and code cleanups, too.



Changes: GIT-VERSION-GEN | 2 +- Gemfile | 1 - README | 4 +- examples/linux-listener-stats.rb | 2 +- ext/raindrops/extconf.rb | 2 +- ext/raindrops/linux_inet_diag.c | 79 ++++++++++++++--------------- lib/raindrops.rb | 2 +- lib/raindrops/aggregate/last_data_recv.rb | 3 +- lib/raindrops/aggregate/pmq.rb | 6 +- lib/raindrops/last_data_recv.rb | 4 +- lib/raindrops/watcher.rb | 19 ++++--- pkg.mk | 6 ++- raindrops.gemspec | 2 +- test/ipv6_enabled.rb | 3 +- test/test_aggregate_pmq.rb | 2 +- test/test_linux.rb | 44 +++++++++------- test/test_linux_ipv6.rb | 20 ++++---- test/test_linux_middleware.rb | 11 +++- test/test_linux_tcp_info.rb | 2 +- test/test_middleware_unicorn.rb | 2 +- test/test_middleware_unicorn_ipv6.rb | 2 +- 21 files changed, 117 insertions(+), 101 deletions(-) commit af8f564217f87020fbe34c9bdbeb2cb57e13ac54 Author: Eric Wong Date: Mon Jun 27 05:31:49 2011 +0000 raindrops 0.7.0 - FreeBSD fix, code cleanups This release fixes a build issue on FreeBSD. There are various documentation and code cleanups, too. commit 2cb1800e7afe0085b135ac693d1b5a9378fadebc Author: Eric Wong Date: Mon Jun 27 04:11:33 2011 +0000 doc: librelist.com => librelist.org A non-profit TLD makes more sense for a Free Software project. commit 18318887920773d43b72e9fb6490d3e74674bcf0 Author: Eric Wong Date: Mon Jun 27 03:30:39 2011 +0000 fix Ruby warnings Found in the check-warnings target in pkg.mk commit ad3bf417b45d50be7b0121b5dacca2bc95b7953b Author: Eric Wong Date: Mon Jun 27 03:28:33 2011 +0000 Gemfile: remove wrongdoc dependency for tests It's not needed. commit da7ee89b75b5c0cdd2f332d073104f10ea14e055 Author: Eric Wong Date: Mon Jun 27 01:44:39 2011 +0000 pkg.mk: update to latest version * check-warnings option added * locale-independent grep invocation commit 1e7dc89cc38c5dec0b63ac452b23141297701f88 Author: Eric Wong Date: Fri Jun 24 17:06:56 2011 -0700 remove _XOPEN_SOURCE #define for FreeBSD This appears to cause __BSD_VISIBLE to not be defined, which is required for MAP_ANON to be visible in sys/mman.h Thanks for Aleksandar Simic for the hint and Troex Nevelin for the bug report! commit 880dbec44c13e3d5a6b858fc2212714f122b71c6 Author: Eric Wong Date: Thu Jun 16 00:39:11 2011 -0700 linux_inet_diag: avoid pointer aliasing warnings No need to cast when C has handy unions. Maybe the compiler will be able to make better optimization choices here, but at least it'll be less noisy. commit 579f0ea63d1f6976a9a312423f45e8d38357ea68 Author: Eric Wong Date: Wed Jun 15 23:31:28 2011 -0700 test_linux_tcp_info: fix test for higher HZ systems The last_data_recv field is dependent on the CONFIG_HZ of the kernel, so the stock 250 HZ kernel can change the timing on us. commit 9f6e03fcced2ff695eaa355709312a8fe2d4c187 Author: Eric Wong Date: Fri Mar 25 09:45:55 2011 -0700 last_data_recv: fixup rdoc formatting is hard :< commit cb90a12dec7b1c55ebae5a83bafa15f415b576da Author: Eric Wong Date: Thu Mar 24 13:35:32 2011 -0700 watcher: fix documentation for X-* headers I copied and pasted off the Raindrops::LastDataRecv documentation. While the headers and mathematical meanings are identical, they measure different things (but for the same purpose) Noticed-by: Troex Nevelin