foxbat 0.2.5 → 0.2.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/foxbat/security.rb +1 -7
 - data/lib/foxbat/version.rb +1 -1
 - metadata +2 -3
 - data/lib/foxbat/generic_connection.rb +0 -15
 
    
        data/lib/foxbat/security.rb
    CHANGED
    
    | 
         @@ -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
         
     | 
    
        data/lib/foxbat/version.rb
    CHANGED
    
    
    
        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. 
     | 
| 
      
 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 
     | 
    
         
            +
            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
         
     |