Sha256: 1017cf9e9c0c496c3741f91ebd9bc0be8ad17cc401bf79db95a0415f69d50033

Contents?: true

Size: 342 Bytes

Versions: 102

Compression:

Stored size: 342 Bytes

Contents

# frozen_string_literal: true

module EacRailsBase0
  class RubocopGenerator < Rails::Generators::Base
    source_root File.expand_path('templates', __dir__)

    def install_gem
      gem 'rubocop'
    end

    def copy_bin
      copy_file 'rubocop.rb', 'bin/rubocop'
      chmod 'bin', 0o755 & ~File.umask, verbose: false
    end
  end
end

Version data entries

102 entries across 102 versions & 1 rubygems

Version Path
eac_rails_base0-0.69.0 lib/generators/eac_rails_base0/rubocop/rubocop_generator.rb
eac_rails_base0-0.68.7 lib/generators/eac_rails_base0/rubocop/rubocop_generator.rb
eac_rails_base0-0.68.6 lib/generators/eac_rails_base0/rubocop/rubocop_generator.rb
eac_rails_base0-0.68.5 lib/generators/eac_rails_base0/rubocop/rubocop_generator.rb
eac_rails_base0-0.68.4 lib/generators/eac_rails_base0/rubocop/rubocop_generator.rb
eac_rails_base0-0.68.3 lib/generators/eac_rails_base0/rubocop/rubocop_generator.rb
eac_rails_base0-0.68.2 lib/generators/eac_rails_base0/rubocop/rubocop_generator.rb
eac_rails_base0-0.68.1 lib/generators/eac_rails_base0/rubocop/rubocop_generator.rb
eac_rails_base0-0.68.0 lib/generators/eac_rails_base0/rubocop/rubocop_generator.rb
eac_rails_base0-0.67.0 lib/generators/eac_rails_base0/rubocop/rubocop_generator.rb
eac_rails_base0-0.66.0 lib/generators/eac_rails_base0/rubocop/rubocop_generator.rb
eac_rails_base0-0.65.0 lib/generators/eac_rails_base0/rubocop/rubocop_generator.rb
eac_rails_base0-0.64.0 lib/generators/eac_rails_base0/rubocop/rubocop_generator.rb
eac_rails_base0-0.63.1 lib/generators/eac_rails_base0/rubocop/rubocop_generator.rb
eac_rails_base0-0.63.0 lib/generators/eac_rails_base0/rubocop/rubocop_generator.rb
eac_rails_base0-0.62.0 lib/generators/eac_rails_base0/rubocop/rubocop_generator.rb
eac_rails_base0-0.61.1 lib/generators/eac_rails_base0/rubocop/rubocop_generator.rb
eac_rails_base0-0.61.0 lib/generators/eac_rails_base0/rubocop/rubocop_generator.rb
eac_rails_base0-0.60.4 lib/generators/eac_rails_base0/rubocop/rubocop_generator.rb
eac_rails_base0-0.60.3 lib/generators/eac_rails_base0/rubocop/rubocop_generator.rb