Sha256: 39f22106738412cf7fc2e3bd0d816cf327279c29d767885d3393e7e0633a68e4

Contents?: true

Size: 573 Bytes

Versions: 120

Compression:

Stored size: 573 Bytes

Contents

# frozen_string_literal: true

require 'avm/files/formatter/formats/generic_plain'
require 'avm/ruby/rubocop'

module Avm
  module Files
    class Formatter
      module Formats
        class Ruby < ::Avm::Files::Formatter::Formats::GenericPlain
          VALID_BASENAMES = %w[*.gemspec *.rake *.rb Gemfile Rakefile].freeze
          VALID_TYPES = ['x-ruby'].freeze

          def internal_apply(files)
            ::Avm::Ruby::Rubocop.new('.', ['-a', '--ignore-parent-exclusion'] + files).run
            super(files)
          end
        end
      end
    end
  end
end

Version data entries

120 entries across 120 versions & 3 rubygems

Version Path
avm-tools-0.57.0 lib/avm/files/formatter/formats/ruby.rb
avm-tools-0.56.0 lib/avm/files/formatter/formats/ruby.rb
avm-tools-0.55.0 lib/avm/files/formatter/formats/ruby.rb
avm-tools-0.54.2 lib/avm/files/formatter/formats/ruby.rb
avm-tools-0.54.1 lib/avm/files/formatter/formats/ruby.rb
avm-tools-0.54.0 lib/avm/files/formatter/formats/ruby.rb
avm-tools-0.53.0 lib/avm/files/formatter/formats/ruby.rb
avm-tools-0.52.0 lib/avm/files/formatter/formats/ruby.rb
avm-tools-0.51.0 lib/avm/files/formatter/formats/ruby.rb
avm-tools-0.50.0 lib/avm/files/formatter/formats/ruby.rb
avm-tools-0.49.0 lib/avm/files/formatter/formats/ruby.rb
avm-tools-0.48.0 lib/avm/files/formatter/formats/ruby.rb
avm-tools-0.47.0 lib/avm/files/formatter/formats/ruby.rb
avm-tools-0.46.0 lib/avm/files/formatter/formats/ruby.rb
avm-tools-0.45.0 lib/avm/files/formatter/formats/ruby.rb
avm-tools-0.44.2 lib/avm/files/formatter/formats/ruby.rb
avm-tools-0.44.1 lib/avm/files/formatter/formats/ruby.rb
avm-tools-0.44.0 lib/avm/files/formatter/formats/ruby.rb
avm-tools-0.43.0 lib/avm/files/formatter/formats/ruby.rb
avm-tools-0.42.0 lib/avm/files/formatter/formats/ruby.rb