Sha256: 7d64347b9a605c9d190b0355e484155b6f7a0ab3ee44d7e9506d91098b2184cc

Contents?: true

Size: 422 Bytes

Versions: 64

Compression:

Stored size: 422 Bytes

Contents

# This can be removed once rack/rack@2fd9df71 is released
module Sinatra
  module Ext
    def self.get_handler(str)
      begin
        ::Object.const_get("Object", false)
        def self._const_get(str, inherit = true)
          Rack::Handler.const_get(str, inherit)
        end
      rescue
        def self._const_get(str, inherit = true)
          Rack::Handler.const_get(str)
        end
      end
    end
  end
end

Version data entries

64 entries across 61 versions & 18 rubygems

Version Path
logstash-output-scalyr-0.1.9 vendor/bundle/jruby/2.5.0/gems/sinatra-1.4.8/lib/sinatra/ext.rb
logstash-output-scalyr-0.1.8 vendor/bundle/jruby/2.5.0/gems/sinatra-1.4.8/lib/sinatra/ext.rb
logstash-output-scalyr-0.1.7 vendor/bundle/jruby/2.5.0/gems/sinatra-1.4.8/lib/sinatra/ext.rb
logstash-output-scalyr-0.1.6 vendor/bundle/jruby/2.5.0/gems/sinatra-1.4.8/lib/sinatra/ext.rb
logstash-output-newrelic-1.2.0 vendor/bundle/jruby/2.5.0/gems/sinatra-1.4.8/lib/sinatra/ext.rb
logstash-filter-csharp-0.2.1 vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.8/lib/sinatra/ext.rb
logstash-filter-csharp-0.2.1 vendor/bundle/jruby/2.5.0/gems/sinatra-1.4.8/lib/sinatra/ext.rb
logstash-filter-csharp-0.2.0 vendor/bundle/jruby/2.3.0/gems/sinatra-1.4.8/lib/sinatra/ext.rb
logstash-filter-csharp-0.2.0 vendor/bundle/jruby/2.5.0/gems/sinatra-1.4.8/lib/sinatra/ext.rb
logstash-output-scalyr-0.1.5 vendor/bundle/jruby/2.5.0/gems/sinatra-1.4.8/lib/sinatra/ext.rb
logstash-output-scalyr-0.1.4 vendor/bundle/jruby/2.5.0/gems/sinatra-1.4.8/lib/sinatra/ext.rb
logstash-output-scalyr-0.1.3 vendor/bundle/jruby/2.5.0/gems/sinatra-1.4.8/lib/sinatra/ext.rb
logstash-output-scalyr-0.1.2 vendor/bundle/jruby/2.5.0/gems/sinatra-1.4.8/lib/sinatra/ext.rb
logstash-filter-device_detection-1.0.7-java vendor/bundle/jruby/1.9/gems/sinatra-1.4.8/lib/sinatra/ext.rb
mrcooper-logstash-output-azuresearch-0.2.2 vendor/jruby/2.5.0/gems/sinatra-1.4.8/lib/sinatra/ext.rb
logstash-output-icinga-1.1.0 vendor/jruby/1.9/gems/sinatra-1.4.8/lib/sinatra/ext.rb
logstash-output-icinga-1.1.0 vendor/jruby/2.3.0/gems/sinatra-1.4.8/lib/sinatra/ext.rb
logstash-filter-cache-redis-0.3.1 vendor/bundle/jruby/1.9/gems/sinatra-1.4.8/lib/sinatra/ext.rb
logstash-filter-cache-redis-0.3.0 vendor/bundle/jruby/1.9/gems/sinatra-1.4.8/lib/sinatra/ext.rb
logstash-filter-cache-redis-0.2.0 vendor/bundle/jruby/1.9/gems/sinatra-1.4.8/lib/sinatra/ext.rb