Sha256: 9d5f1fb485e369291d89e4af9b1ad337cfd63b9e1b3a87507368e6e632d32e2b

Contents?: true

Size: 513 Bytes

Versions: 2

Compression:

Stored size: 513 Bytes

Contents

module Autowow
  module Commands
    module Gem
      def release
        ["rake", "release"]
      end

      def clean
        ["gem", "clean"]
      end

      def rubocop_parallel
        ["rubocop", "--parallel"]
      end

      def rubocop_autocorrect(files)
        if files.kind_of?(Array)
          ["rubocop", "--auto-correct"] + files
        else
          ["rubocop", "--auto-correct"] + files.split(" ")
        end
      end

      include ReflectionUtils::CreateModuleFunctions
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
autowow-0.9.2 lib/autowow/commands/gem.rb
autowow-0.9.1 lib/autowow/commands/gem.rb