foxbat 0.2.5 → 0.2.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -46,17 +46,11 @@ module Foxbat
46
46
  end
47
47
 
48
48
  def self.setup_ssl_client_context
49
- # keystore = KeyStore.getInstance(KeyStore.getDefaultType)
50
- # context = SSLContext.getInstance('TLSv1')
51
- # tmf = TrustManagerFactory.getInstance(TrustManagerFactory.getDefaultAlgorithm)
52
- # tmf.init(keystore)
53
- # context.init(nil, nil, nil)
54
- # context
55
49
  SSLContext.getDefault
56
50
  end
57
51
 
58
52
  def self.create_ssl_engine(context, client=false)
59
- context.createSSLEngine
53
+ engine = context.createSSLEngine
60
54
  engine.setUseClientMode(client)
61
55
  engine.setNeedClientAuth(false)
62
56
  engine
@@ -1,3 +1,3 @@
1
1
  module Foxbat
2
- VERSION = '0.2.5'
2
+ VERSION = '0.2.6'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foxbat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-11-12 00:00:00.000000000 Z
12
+ date: 2012-11-28 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: A drop-in replacement for EM, providing functionality missing from the
15
15
  Java port.
@@ -22,7 +22,6 @@ files:
22
22
  - lib/eventmachine.rb
23
23
  - lib/foxbat/barrier.rb
24
24
  - lib/foxbat/version.rb
25
- - lib/foxbat/generic_connection.rb
26
25
  - lib/foxbat/client.rb
27
26
  - lib/foxbat/server.rb
28
27
  - lib/foxbat/http_server.rb
@@ -1,15 +0,0 @@
1
- import java.net.InetSocketAddress
2
- import org.jboss.netty.channel.group.DefaultChannelGroup
3
- require_relative 'pipeline'
4
- require_relative 'security'
5
-
6
- module Foxbat
7
-
8
- class GenericConnection
9
-
10
-
11
-
12
- def start; end
13
- end
14
-
15
- end