Sha256: 6d7deca8aa0c5a9664f0d2a1950a6051ae45a81af38d34661068082609cfbc48

Contents?: true

Size: 756 Bytes

Versions: 19

Compression:

Stored size: 756 Bytes

Contents

# frozen_string_literal: true

require 'avm/eac_generic_base0/sources/base'
require 'avm/eac_ruby_base1/sources/base/bundle_command'
require 'avm/eac_ruby_base1/sources/bundle_update'
require 'eac_ruby_utils/core_ext'

module Avm
  module EacRubyBase1
    module Sources
      class Base < ::Avm::EacGenericBase0::Sources::Base
        module Rubocop
          RUBOCOP_CONFIG_SUBPATH = '.rubocop.yml'

          # @return [Avm::EacRubyBase1::Sources::Base::RubocopCommand]
          def rubocop_command
            ::Avm::EacRubyBase1::Sources::Base::RubocopCommand.new(self)
          end

          # @return [Pathname]
          def rubocop_config_path
            path.join(RUBOCOP_CONFIG_SUBPATH)
          end
        end
      end
    end
  end
end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
avm-eac_ruby_base1-0.35.1 lib/avm/eac_ruby_base1/sources/base/rubocop.rb
eac_tools-0.96.1 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rubocop.rb
avm-eac_ruby_base1-0.35.0 lib/avm/eac_ruby_base1/sources/base/rubocop.rb
eac_tools-0.95.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rubocop.rb
avm-eac_ruby_base1-0.34.1 lib/avm/eac_ruby_base1/sources/base/rubocop.rb
eac_tools-0.91.1 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rubocop.rb
avm-eac_ruby_base1-0.34.0 lib/avm/eac_ruby_base1/sources/base/rubocop.rb
eac_tools-0.91.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rubocop.rb
avm-eac_ruby_base1-0.33.1 lib/avm/eac_ruby_base1/sources/base/rubocop.rb
eac_tools-0.83.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rubocop.rb
eac_tools-0.82.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rubocop.rb
eac_tools-0.81.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rubocop.rb
avm-eac_ruby_base1-0.33.0 lib/avm/eac_ruby_base1/sources/base/rubocop.rb
eac_tools-0.80.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rubocop.rb
eac_tools-0.79.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rubocop.rb
avm-eac_ruby_base1-0.32.1 lib/avm/eac_ruby_base1/sources/base/rubocop.rb
eac_tools-0.78.0 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rubocop.rb
avm-eac_ruby_base1-0.32.0 lib/avm/eac_ruby_base1/sources/base/rubocop.rb
eac_tools-0.77.1 sub/avm-eac_ruby_base1/lib/avm/eac_ruby_base1/sources/base/rubocop.rb