jugglite 0.0.3 → 0.0.4
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/CHANGELOG +4 -0
 - data/bin/jugglite +6 -3
 - data/lib/jugglite/version.rb +1 -1
 - metadata +2 -2
 
    
        data/CHANGELOG
    CHANGED
    
    
    
        data/bin/jugglite
    CHANGED
    
    | 
         @@ -1,12 +1,15 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            #!/usr/bin/env ruby
         
     | 
| 
       2 
2 
     | 
    
         
             
            require 'jugglite'
         
     | 
| 
       3 
3 
     | 
    
         | 
| 
       4 
     | 
    
         
            -
            # You  
     | 
| 
       5 
     | 
    
         
            -
            # eg: 
     | 
| 
      
 4 
     | 
    
         
            +
            # You can use some of the options you would pass to thin
         
     | 
| 
      
 5 
     | 
    
         
            +
            # eg:
         
     | 
| 
      
 6 
     | 
    
         
            +
            # --max-conns NUM (might require a higher system "ulimit -n" setting)
         
     | 
| 
       6 
7 
     | 
    
         
             
            # --port PORT
         
     | 
| 
       7 
8 
     | 
    
         
             
            # --address HOST
         
     | 
| 
      
 9 
     | 
    
         
            +
            # --socket FILE
         
     | 
| 
       8 
10 
     | 
    
         
             
            options = Thin::Runner.new(ARGV).options
         
     | 
| 
       9 
     | 
    
         
            -
             
     | 
| 
      
 11 
     | 
    
         
            +
            listen_options = if options[:socket] then [options[:socket]] else [options[:address], options[:port]] end
         
     | 
| 
      
 12 
     | 
    
         
            +
            thin = Thin::Server.new(Jugglite::App.new, *listen_options, options)
         
     | 
| 
       10 
13 
     | 
    
         | 
| 
       11 
14 
     | 
    
         
             
            # Need to increase the descriptor-table for EventMachine
         
     | 
| 
       12 
15 
     | 
    
         
             
            if options[:max_conns]
         
     | 
    
        data/lib/jugglite/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: jugglite
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.0. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.0.4
         
     | 
| 
       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-12- 
     | 
| 
      
 12 
     | 
    
         
            +
            date: 2012-12-13 00:00:00.000000000 Z
         
     | 
| 
       13 
13 
     | 
    
         
             
            dependencies:
         
     | 
| 
       14 
14 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       15 
15 
     | 
    
         
             
              name: thin
         
     |