Sha256: 73a6627aaf54e78aaa7c55eae76d9ca0b1e387356425abf32c9d6d7be376e0ca

Contents?: true

Size: 356 Bytes

Versions: 23

Compression:

Stored size: 356 Bytes

Contents

module Spring
  module Client
    class Server < Command
      def self.description
        "Explicitly start a Spring server in the foreground"
      end

      def call
        require "spring/server"
        Spring::Server.boot(foreground: foreground?)
      end

      def foreground?
        !args.include?("--background")
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 3 rubygems

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