Sha256: d6b0fd61b0e7859426eaa9a551e3cbea6fff2b2ed363f085d245da1d5126a3a0

Contents?: true

Size: 235 Bytes

Versions: 30

Compression:

Stored size: 235 Bytes

Contents

module Lumberjack
  module Rack
    class UnitOfWork
      def initialize(app)
        @app = app
      end
      
      def call(env)
        Lumberjack.unit_of_work do
          @app.call(env)
        end
      end
    end
  end
end

Version data entries

30 entries across 28 versions & 9 rubygems

Version Path
comiditaULL-0.1.1 vendor/bundle/ruby/2.3.0/gems/lumberjack-1.0.12/lib/lumberjack/rack/unit_of_work.rb
comidita_ull-0.1.1 vendor/bundle/ruby/2.3.0/gems/lumberjack-1.0.12/lib/lumberjack/rack/unit_of_work.rb
comidita_ull-0.1.0 vendor/bundle/ruby/2.3.0/gems/lumberjack-1.0.12/lib/lumberjack/rack/unit_of_work.rb
lumberjack-1.0.12 lib/lumberjack/rack/unit_of_work.rb
lumberjack-1.0.11 lib/lumberjack/rack/unit_of_work.rb
gameboard-3.1.0 vendor/bundle/ruby/2.3.0/gems/lumberjack-1.0.10/lib/lumberjack/rack/unit_of_work.rb
gameboard-3.0.0 vendor/bundle/ruby/2.3.0/gems/lumberjack-1.0.10/lib/lumberjack/rack/unit_of_work.rb
honeybadger-2.4.0 vendor/gems/ruby/2.2.0/gems/lumberjack-1.0.9/lib/lumberjack/rack/unit_of_work.rb
honeybadger-2.4.0 vendor/gems/ruby/1.9.1/gems/lumberjack-1.0.9/lib/lumberjack/rack/unit_of_work.rb
honeybadger-2.4.0 vendor/gems/ruby/2.1.0/gems/lumberjack-1.0.9/lib/lumberjack/rack/unit_of_work.rb
lumberjack-1.0.10 lib/lumberjack/rack/unit_of_work.rb
mastermind_adeybee-0.1.4 vendor/bundle/ruby/2.2.0/gems/lumberjack-1.0.9/lib/lumberjack/rack/unit_of_work.rb
mastermind_adeybee-0.1.3 vendor/bundle/ruby/2.2.0/gems/lumberjack-1.0.9/lib/lumberjack/rack/unit_of_work.rb
mastermind_adeybee-0.1.2 vendor/bundle/ruby/2.2.0/gems/lumberjack-1.0.9/lib/lumberjack/rack/unit_of_work.rb
mastermind_adeybee-0.1.1 vendor/bundle/ruby/2.2.0/gems/lumberjack-1.0.9/lib/lumberjack/rack/unit_of_work.rb
geminfo-0.1.0 path/gems/lumberjack-1.0.9/lib/lumberjack/rack/unit_of_work.rb
lumberjack-1.0.9 lib/lumberjack/rack/unit_of_work.rb
lumberjack-1.0.8 lib/lumberjack/rack/unit_of_work.rb
lumberjack-1.0.7 lib/lumberjack/rack/unit_of_work.rb
lumberjack-1.0.6 lib/lumberjack/rack/unit_of_work.rb