raindrops RubyGem user+dev discussion/patches/pulls/bugs/help
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [ANN] raindrops 0.13.0 several minor fixes and improvements
@ 2014-02-18 21:03  4% Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2014-02-18 21:03 UTC (permalink / raw)
  To: raindrops

Most notably, this release is necessary for Ruby 2.2 (dev).
Thanks to Koichi Sasada for the bug report!

Eric Wong (5):
      Rakefile: remove raa_update task
      last_data_recv: do not assume Unicorn includes all constants
      raindrops.gemspec: add wrongdoc dev dependency
      linux_inet_diag: fix Ruby 2.2 (dev) build
      license: use LGPLv2.1 or later (was LGPL (2.1|3.0)-only)

Hleb Valoshka (1):
      Remove Scope IDs from IPv6 addresses.

* http://raindrops.bogomips.org/
* raindrops@librelist.org
* git://bogomips.org/raindrops.git
* http://raindrops.bogomips.org/NEWS.atom.xml

-- 
Eric Wong


^ permalink raw reply	[relevance 4%]

* [PATCH] last_data_recv: do not assume Unicorn includes all constants
@ 2013-11-05  7:07  7% Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2013-11-05  7:07 UTC (permalink / raw)
  To: raindrops

Some projects may load parts of Unicorn and not others.
---
 lib/raindrops/last_data_recv.rb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/lib/raindrops/last_data_recv.rb b/lib/raindrops/last_data_recv.rb
index f96a776..b4808a1 100644
--- a/lib/raindrops/last_data_recv.rb
+++ b/lib/raindrops/last_data_recv.rb
@@ -73,7 +73,9 @@ class Raindrops::LastDataRecv
   # :startdoc
 
   def initialize(opts = {})
-    Raindrops::Aggregate::LastDataRecv.cornify! if defined?(Unicorn)
+    if defined?(Unicorn::HttpServer::LISTENERS)
+      Raindrops::Aggregate::LastDataRecv.cornify!
+    end
     @aggregate =
       opts[:aggregate] || Raindrops::Aggregate::LastDataRecv.default_aggregate
   end
-- 
Eric Wong


^ permalink raw reply related	[relevance 7%]

Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2013-11-05  7:07  7% [PATCH] last_data_recv: do not assume Unicorn includes all constants Eric Wong
2014-02-18 21:03  4% [ANN] raindrops 0.13.0 several minor fixes and improvements Eric Wong

Code repositories for project(s) associated with this public inbox

	https://yhbt.net/raindrops.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).