sensu-em 2.4.0-java → 2.4.1-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/eventmachine.gemspec +1 -1
- data/lib/em/connection.rb +11 -2
- data/lib/rubyeventmachine.jar +0 -0
- data/tests/test_ssl_args.rb +2 -2
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d02036176fdcb5e9afe3b5231109fb088a4969d5
|
4
|
+
data.tar.gz: 5fe622e3a485c9068f85880848c0c8ae2c28c9df
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: db0093bf36a2b276c2eb78793e3c44b945dfc93e42b0d8de18d597a05bd447ef1dd6a00d8df8065e25363d143f38ccd956058fd215aeb7a3ed1b2f2feece0224
|
7
|
+
data.tar.gz: 5aceb1eb85e1c2613ef4cb3c4ec70d5c47e190f6dfccebdca4058b1ed9b8df6f6064240193f2e4161491a81786bce16dca833ab66b85589abb1cb9cd0e41b113
|
data/eventmachine.gemspec
CHANGED
data/lib/em/connection.rb
CHANGED
@@ -413,10 +413,19 @@ module EventMachine
|
|
413
413
|
[priv_key, cert_chain].each do |file|
|
414
414
|
next if file.nil? or file.empty?
|
415
415
|
raise FileNotFoundException,
|
416
|
-
"Could not find #{file} for start_tls" unless File.
|
416
|
+
"Could not find #{file} for start_tls" unless File.exist?(file)
|
417
417
|
end
|
418
418
|
|
419
|
-
|
419
|
+
tls_parms = [
|
420
|
+
@signature,
|
421
|
+
priv_key || '',
|
422
|
+
cert_chain || '',
|
423
|
+
verify_peer,
|
424
|
+
!!use_tls,
|
425
|
+
cipher_list || ''
|
426
|
+
].shift(EventMachine.method(:set_tls_parms).arity.abs)
|
427
|
+
|
428
|
+
EventMachine::set_tls_parms(*tls_parms)
|
420
429
|
EventMachine::start_tls @signature
|
421
430
|
end
|
422
431
|
|
data/lib/rubyeventmachine.jar
CHANGED
Binary file
|
data/tests/test_ssl_args.rb
CHANGED
@@ -45,7 +45,7 @@ class TestSslArgs < Test::Unit::TestCase
|
|
45
45
|
def test_tls_params_file_doesnt_exist
|
46
46
|
priv_file, cert_file = 'foo_priv_key', 'bar_cert_file'
|
47
47
|
[priv_file, cert_file].all? do |f|
|
48
|
-
assert(!File.
|
48
|
+
assert(!File.exist?(f), "Cert file #{f} seems to exist, and should not for the tests")
|
49
49
|
end
|
50
50
|
|
51
51
|
# associate_callback_target is a pain! (build!)
|
@@ -75,4 +75,4 @@ class TestSslArgs < Test::Unit::TestCase
|
|
75
75
|
assert(false, 'should not have raised an exception')
|
76
76
|
end
|
77
77
|
end
|
78
|
-
end if EM.ssl?
|
78
|
+
end if EM.ssl?
|
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.4.
|
4
|
+
version: 2.4.1
|
5
5
|
platform: java
|
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:
|
12
|
+
date: 2015-02-05 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rake-compiler
|
@@ -183,7 +183,6 @@ files:
|
|
183
183
|
- lib/em/version.rb
|
184
184
|
- lib/eventmachine.rb
|
185
185
|
- lib/jeventmachine.rb
|
186
|
-
- lib/rubyeventmachine.jar
|
187
186
|
- rakelib/cpp.rake_example
|
188
187
|
- rakelib/package.rake
|
189
188
|
- rakelib/test.rake
|
@@ -247,6 +246,7 @@ files:
|
|
247
246
|
- tests/test_timers.rb
|
248
247
|
- tests/test_ud.rb
|
249
248
|
- tests/test_unbind_reason.rb
|
249
|
+
- lib/rubyeventmachine.jar
|
250
250
|
homepage: http://rubyeventmachine.com
|
251
251
|
licenses:
|
252
252
|
- Ruby
|
@@ -276,7 +276,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
276
276
|
version: '0'
|
277
277
|
requirements: []
|
278
278
|
rubyforge_project: eventmachine
|
279
|
-
rubygems_version: 2.
|
279
|
+
rubygems_version: 2.1.9
|
280
280
|
signing_key:
|
281
281
|
specification_version: 4
|
282
282
|
summary: Ruby/EventMachine library
|