Sha256: 592d691b5868c5552c48d6a92f7c5a6ce6c74d261357c179e68280f72ef0708f

Contents?: true

Size: 513 Bytes

Versions: 5

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

5 entries across 5 versions & 1 rubygems

Version Path
autowow-0.8.0 lib/autowow/commands/gem.rb
autowow-0.7.0 lib/autowow/commands/gem.rb
autowow-0.6.3 lib/autowow/commands/gem.rb
autowow-0.6.0 lib/autowow/commands/gem.rb
autowow-0.5.0 lib/autowow/commands/gem.rb