Sha256: b4b82cabdfd1c712db6bf24eed3752c1e822ed453bd6eecd5ff9e97b51fe7c4d

Contents?: true

Size: 455 Bytes

Versions: 17

Compression:

Stored size: 455 Bytes

Contents

require "spring/version"

module Spring
  module Client
    class Stop < Command
      def self.description
        "Stop all Spring processes for this project."
      end

      def call
        case env.stop
        when :stopped
          puts "Spring stopped."
        when :killed
          $stderr.puts "Spring did not stop; killing forcibly."
        when :not_running
          puts "Spring is not running"
        end
      end
    end
  end
end

Version data entries

17 entries across 17 versions & 3 rubygems

Version Path
spring-4.2.1 lib/spring/client/stop.rb
spring-4.2.0 lib/spring/client/stop.rb
spring-4.1.3 lib/spring/client/stop.rb
spring-4.1.2 lib/spring/client/stop.rb
spring-4.1.1 lib/spring/client/stop.rb
spring-4.1.0 lib/spring/client/stop.rb
spring-4.0.0 lib/spring/client/stop.rb
spring-3.1.1 lib/spring/client/stop.rb
spring-3.1.0 lib/spring/client/stop.rb
spring-3.0.0 lib/spring/client/stop.rb
nrispring-2.1.3 lib/spring/client/stop.rb
nrispring-2.1.2 lib/spring/client/stop.rb
nrispring-2.1.1 lib/spring/client/stop.rb
spring-2.1.1 lib/spring/client/stop.rb
chatops-rpc-0.0.2 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/spring-2.1.0/lib/spring/client/stop.rb
chatops-rpc-0.0.1 fixtures/chatops-controller-example/vendor/bundle/ruby/2.5.0/gems/spring-2.1.0/lib/spring/client/stop.rb
spring-2.1.0 lib/spring/client/stop.rb