Sha256: 58a7e5d8e1d55d00b2a411aa27e3872487b18c5343bf9999d961805c5547a7f0

Contents?: true

Size: 265 Bytes

Versions: 12

Compression:

Stored size: 265 Bytes

Contents

module Neo4j
  module Rails
    class LuceneConnectionCloser  #:nodoc:
      def initialize(app)
        @app = app
      end

      def call(env)
        @app.call(env)
      ensure
        Neo4j::Rails::Model.close_lucene_connections
      end
    end
  end

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
neo4j-1.2.3-java lib/neo4j/rails/lucene_connection_closer.rb
neo4j-1.2.2-java lib/neo4j/rails/lucene_connection_closer.rb
neo4j-1.2.1-java lib/neo4j/rails/lucene_connection_closer.rb
neo4j-1.2.0-java lib/neo4j/rails/lucene_connection_closer.rb
neo4j-1.1.4-java lib/neo4j/rails/lucene_connection_closer.rb
neo4j-1.1.3-java lib/neo4j/rails/lucene_connection_closer.rb
neo4j-1.1.2-java lib/neo4j/rails/lucene_connection_closer.rb
neo4j-1.1.1-java lib/neo4j/rails/lucene_connection_closer.rb
neo4j-1.1.0-java lib/neo4j/rails/lucene_connection_closer.rb
neo4j-1.1.0.beta.3-java lib/neo4j/rails/lucene_connection_closer.rb
neo4j-1.1.0.beta.2-java lib/neo4j/rails/lucene_connection_closer.rb
neo4j-1.1.0.beta.1-java lib/neo4j/rails/lucene_connection_closer.rb