sensu-em 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 18fcc88ee663aaaf3a61dbc50d4c25dedc9b5696
4
- data.tar.gz: cd7b7c69c2f1d3275e44371e2eee7ccd37e4da5d
3
+ metadata.gz: 66104f3d0351386078ed92b91253b950cd5773d7
4
+ data.tar.gz: abea2c6ed3f9bf9abc7c6ab205c4ed806ee776e0
5
5
  SHA512:
6
- metadata.gz: 669cb76e20248232760918b9773e6070fa5cf12ac601b1b86114aeac4782bd4947f469aa92bad0305df93c0cc61807381c3a81ee45f7f9dca2c33edd4093d9c1
7
- data.tar.gz: 2645e32bfc422d3303e714d4134be6d8cb4f89ada28680fd4dad3efa3f21795af9bda10417c76e31649b0cfa4eedce48a9f10a9f074c52f65fee79641c3c9637
6
+ metadata.gz: 9f5249c5db6b7fed6991f869e5108ea5692a1f8696c6dc2bfaaf7e0ecd5e640bfb57126597599e29376968efe7becfa705cb1747bdc99f6eeec017f6c5327b56
7
+ data.tar.gz: c3efc54b6939831af8e8d8bf5bf058ed62464e60c1e185a00c629811d4878f025f6d1fdb278e4f06cde6671e3dd08d9456bdb265020978344e3dbd93299ec032
@@ -5,7 +5,7 @@ require "em/version"
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = 'sensu-em'
8
- s.version = '2.0.0'
8
+ s.version = '2.1.0'
9
9
  s.homepage = 'http://rubyeventmachine.com'
10
10
  s.rubyforge_project = 'eventmachine'
11
11
  s.licenses = ["Ruby", "GPL"]
@@ -274,9 +274,11 @@ public class EmReactor {
274
274
  callback.trigger(ec.getBinding(), EventCode.EM_CONNECTION_UNBOUND, null, (long) 0);
275
275
  ec.close();
276
276
 
277
- EventableSocketChannel sc = (EventableSocketChannel) ec;
278
- if (sc != null && sc.isAttached())
279
- DetachedConnections.add (sc);
277
+ if (!(ec instanceof EventableDatagramChannel)) {
278
+ EventableSocketChannel sc = (EventableSocketChannel) ec;
279
+ if (sc != null && sc.isAttached())
280
+ DetachedConnections.add (sc);
281
+ }
280
282
  }
281
283
 
282
284
  for (EventableSocketChannel ec : DetachedConnections) {
@@ -74,7 +74,6 @@ public class EventableDatagramChannel extends EventableChannel<DatagramPacket> {
74
74
  }
75
75
 
76
76
  public boolean scheduleClose (boolean afterWriting) {
77
- System.out.println ("NOT SCHEDULING CLOSE ON DATAGRAM");
78
77
  return false;
79
78
  }
80
79
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sensu-em
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Francis Cianfrocca
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-05-18 00:00:00.000000000 Z
12
+ date: 2014-05-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rake-compiler