<commit_before>require 'deployml/exceptions/missing_option'
require 'deployml/options/thin'

module DeploYML
  module Servers
    module Thin
      protected

      def initialize_server
        @thin = Options::Thin.new(config.server_options)
      end

      def thin(shell,*args)
        options = args + ['-C', @thin.config, '-s', @thin.servers]

        shell.run 'thin', *options
      end

      def server_config(shell)
        unless @thin.config
          raise(MissingOption,"No 'config' option specified under the server options",caller)
        end

        options = ['-c', dest_uri.path, *(@thin.arguments)]

        shell.run 'thin', 'config', *options
      end

      def server_start(shell)
        thin shell, 'start'
      end

      def server_stop(shell)
        thin shell, 'stop'
      end

      def server_restart(shell)
        thin shell, 'restart'
      end
    end
  end
end<commit_msg>Reduce usage of the splat operator for working with Arrays.<commit_after>require 'deployml/exceptions/missing_option'
require 'deployml/options/thin'

module DeploYML
  module Servers
    module Thin
      protected

      def initialize_server
        @thin = Options::Thin.new(config.server_options)
      end

      def thin(shell,*args)
        options = args + ['-C', @thin.config, '-s', @thin.servers]

        shell.run 'thin', *options
      end

      def server_config(shell)
        unless @thin.config
          raise(MissingOption,"No 'config' option specified under the server options",caller)
        end

        options = ['-c', dest_uri.path] + @thin.arguments

        shell.run 'thin', 'config', *options
      end

      def server_start(shell)
        thin shell, 'start'
      end

      def server_stop(shell)
        thin shell, 'stop'
      end

      def server_restart(shell)
        thin shell, 'restart'
      end
    end
  end
end
{'fraction_non_alphanumeric': 0.09904153354632587, 'fraction_numerical': 0.0, 'mean_word_length': 2.284965034965035, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5497596', 'n_tokens_mistral': 586, 'n_tokens_neox': 551, 'n_words': 150}