Sha256: 5936a118a218e48c33398af6521e334b1316e2db337a44a10f018b2cf9fec864

Contents?: true

Size: 298 Bytes

Versions: 12

Compression:

Stored size: 298 Bytes

Contents

require 'rake'
require 'rake/tasklib'
require 'service_mock'

module ServiceMock
  module Rake
    class StopServerTask < ServiceMock::Rake::BaseTask

      def define_task
        desc 'Stop the WireMock Process'
        task name do
          server.stop
        end
      end

    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
service_mock-0.9 lib/service_mock/rake/stop_server_task.rb
service_mock-0.8 lib/service_mock/rake/stop_server_task.rb
service_mock-0.7.1 lib/service_mock/rake/stop_server_task.rb
service_mock-0.7 lib/service_mock/rake/stop_server_task.rb
service_mock-0.6 lib/service_mock/rake/stop_server_task.rb
service_mock-0.5.2 lib/service_mock/rake/stop_server_task.rb
service_mock-0.5.1 lib/service_mock/rake/stop_server_task.rb
service_mock-0.5 lib/service_mock/rake/stop_server_task.rb
service_mock-0.4 lib/service_mock/rake/stop_server_task.rb
service_mock-0.3.1 lib/service_mock/rake/stop_server_task.rb
service_mock-0.3 lib/service_mock/rake/stop_server_task.rb
service_mock-0.2 lib/service_mock/rake/stop_server_task.rb