RubyApp 0.7.11 → 0.7.12
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/ruby_app/rack/duration.rb +1 -1
 - data/lib/ruby_app/rack/memory.rb +1 -1
 - data/lib/ruby_app/version.rb +1 -1
 - metadata +3 -3
 
| 
         @@ -14,7 +14,7 @@ module RubyApp 
     | 
|
| 
       14 
14 
     | 
    
         
             
                  def call(environment)
         
     | 
| 
       15 
15 
     | 
    
         
             
                    if @count.modulo(@options[:interval]) == 0
         
     | 
| 
       16 
16 
     | 
    
         
             
                      @count = 1
         
     | 
| 
       17 
     | 
    
         
            -
                      RubyApp::Log.duration(RubyApp::Log::INFO, 'DURATION 
     | 
| 
      
 17 
     | 
    
         
            +
                      RubyApp::Log.duration(RubyApp::Log::INFO, 'DURATION ') do
         
     | 
| 
       18 
18 
     | 
    
         
             
                        return @application.call(environment)
         
     | 
| 
       19 
19 
     | 
    
         
             
                      end
         
     | 
| 
       20 
20 
     | 
    
         
             
                    else
         
     | 
    
        data/lib/ruby_app/rack/memory.rb
    CHANGED
    
    | 
         @@ -14,7 +14,7 @@ module RubyApp 
     | 
|
| 
       14 
14 
     | 
    
         
             
                  def call(environment)
         
     | 
| 
       15 
15 
     | 
    
         
             
                    if @count.modulo(@options[:interval]) == 0
         
     | 
| 
       16 
16 
     | 
    
         
             
                      @count = 1
         
     | 
| 
       17 
     | 
    
         
            -
                      RubyApp::Log.memory(RubyApp::Log::DEBUG, 'MEMORY 
     | 
| 
      
 17 
     | 
    
         
            +
                      RubyApp::Log.memory(RubyApp::Log::DEBUG, 'MEMORY   ') do
         
     | 
| 
       18 
18 
     | 
    
         
             
                        return @application.call(environment)
         
     | 
| 
       19 
19 
     | 
    
         
             
                      end
         
     | 
| 
       20 
20 
     | 
    
         
             
                    else
         
     | 
    
        data/lib/ruby_app/version.rb
    CHANGED
    
    
    
        metadata
    CHANGED
    
    | 
         @@ -1,7 +1,7 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            --- !ruby/object:Gem::Specification
         
     | 
| 
       2 
2 
     | 
    
         
             
            name: RubyApp
         
     | 
| 
       3 
3 
     | 
    
         
             
            version: !ruby/object:Gem::Version
         
     | 
| 
       4 
     | 
    
         
            -
              version: 0.7. 
     | 
| 
      
 4 
     | 
    
         
            +
              version: 0.7.12
         
     | 
| 
       5 
5 
     | 
    
         
             
              prerelease: 
         
     | 
| 
       6 
6 
     | 
    
         
             
            platform: ruby
         
     | 
| 
       7 
7 
     | 
    
         
             
            authors:
         
     | 
| 
         @@ -1561,7 +1561,7 @@ required_ruby_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       1561 
1561 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       1562 
1562 
     | 
    
         
             
                  segments:
         
     | 
| 
       1563 
1563 
     | 
    
         
             
                  - 0
         
     | 
| 
       1564 
     | 
    
         
            -
                  hash:  
     | 
| 
      
 1564 
     | 
    
         
            +
                  hash: -3390206230823537441
         
     | 
| 
       1565 
1565 
     | 
    
         
             
            required_rubygems_version: !ruby/object:Gem::Requirement
         
     | 
| 
       1566 
1566 
     | 
    
         
             
              none: false
         
     | 
| 
       1567 
1567 
     | 
    
         
             
              requirements:
         
     | 
| 
         @@ -1570,7 +1570,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement 
     | 
|
| 
       1570 
1570 
     | 
    
         
             
                  version: '0'
         
     | 
| 
       1571 
1571 
     | 
    
         
             
                  segments:
         
     | 
| 
       1572 
1572 
     | 
    
         
             
                  - 0
         
     | 
| 
       1573 
     | 
    
         
            -
                  hash:  
     | 
| 
      
 1573 
     | 
    
         
            +
                  hash: -3390206230823537441
         
     | 
| 
       1574 
1574 
     | 
    
         
             
            requirements: []
         
     | 
| 
       1575 
1575 
     | 
    
         
             
            rubyforge_project: 
         
     | 
| 
       1576 
1576 
     | 
    
         
             
            rubygems_version: 1.8.25
         
     |