Files
chromebrew/packages/ruby_rubocop.rb
github-actions[bot] 51784d35ac Update & add rubocop related gems. (#11241)
* Add/update missing ruby gems.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Remove extra blank lines.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add ruby_rubocop_chromebrew dep for unit tests.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Handle gem names with underscores and dashes.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* update rubocop

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Add ruby_rubocop_chromebrew to packages.yaml

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
Co-authored-by: Satadru Pramanik <satadru@gmail.com>
2025-02-04 17:21:48 +00:00

32 lines
867 B
Ruby

# Adapted from Arch Linux ruby-rubocop PKGBUILD at:
# https://aur.archlinux.org/cgit/aur.git/plain/PKGBUILD?h=ruby-rubocop
require 'buildsystems/ruby'
class Ruby_rubocop < RUBY
description 'A Ruby static code analyzer and formatter'
homepage 'https://rubocop.org'
version "1.71.2-#{CREW_RUBY_VER}"
license 'MIT'
compatibility 'all'
source_url 'SKIP'
depends_on 'libyaml' # R
depends_on 'ruby_json' # R
depends_on 'ruby_language_server_protocol' # R
depends_on 'ruby_parallel' # R
depends_on 'ruby_parser' # R
depends_on 'ruby_parser' # R
depends_on 'ruby_rainbow' # R
depends_on 'ruby_regexp_parser' # R
depends_on 'ruby_rubocop' # R
depends_on 'ruby_rubocop_ast' # R
depends_on 'ruby_ruby_progressbar' # R
depends_on 'ruby_unicode_display_width' # R
depends_on 'xdg_base' # L
conflicts_ok
no_fhs
no_compile_needed
end