Sha256: c046b75055a5b0a5b3441154a6705909cbdd3249b3d13a40b54b89276b470121

Contents?: true

Size: 401 Bytes

Versions: 14

Compression:

Stored size: 401 Bytes

Contents

module Vagrant
  module Notify
    module Action
      class CheckProvider
        def initialize(app, env)
          @app = app
        end

        def call(env)
          env[:result] = true

          # Call the next if we have one (but we shouldn't, since this
          # middleware is built to run with the Call-type middlewares)
          @app.call env
        end
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
vagrant-notify-0.6.1 lib/vagrant-notify/action/check_provider.rb
vagrant-notify-0.6.0 lib/vagrant-notify/action/check_provider.rb
vagrant-notify-0.5.6 lib/vagrant-notify/action/check_provider.rb
vagrant-notify-0.5.5 lib/vagrant-notify/action/check_provider.rb
vagrant-notify-0.5.4 lib/vagrant-notify/action/check_provider.rb
vagrant-notify-0.5.3 lib/vagrant-notify/action/check_provider.rb
vagrant-notify-0.5.2 lib/vagrant-notify/action/check_provider.rb
vagrant-notify-0.5.1 lib/vagrant-notify/action/check_provider.rb
vagrant-notify-0.5.0 lib/vagrant-notify/action/check_provider.rb
vagrant-notify-0.4.0 lib/vagrant-notify/action/check_provider.rb
vagrant-notify-0.3.0 lib/vagrant-notify/action/check_provider.rb
vagrant-notify-0.2.2 lib/vagrant-notify/action/check_provider.rb
vagrant-notify-0.2.1 lib/vagrant-notify/action/check_provider.rb
vagrant-notify-0.2.0 lib/vagrant-notify/action/check_provider.rb