Add Rubocop CI (#7083)

* Rename IgnoredPatterns to AllowedPatterns.

* Exclude docopt.rb (not our code) from Rubocop

* Disable Style/RedundantReturn

* Disable Style/MutableConstant

* Disable Style/NumericLiterals

* Set Layout/IndentationStyle to spaces

* Temporarily disable various cops.

* Add Rubocop CI via Octocop

* Lint tree with rubocop -A -c .rubocop.yml

Co-authored-by: Satadru Pramanik <satadru@gmail.com>
This commit is contained in:
Maximilian Downey Twiss
2022-08-23 03:31:25 +10:00
committed by GitHub
parent 4c0f15a6f3
commit de24923ee8
1144 changed files with 7527 additions and 7515 deletions

View File

@@ -9,17 +9,17 @@ class Siege < Package
source_url 'http://download.joedog.org/siege/siege-4.0.5.tar.gz'
source_sha256 '3b4b7001afa4d80f3f4939066a4932e198e9f949dcc0e3affecbedd922800231'
binary_url ({
binary_url({
aarch64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/siege/4.0.5_armv7l/siege-4.0.5-chromeos-armv7l.tar.xz',
armv7l: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/siege/4.0.5_armv7l/siege-4.0.5-chromeos-armv7l.tar.xz',
i686: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/siege/4.0.5_i686/siege-4.0.5-chromeos-i686.tar.xz',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/siege/4.0.5_x86_64/siege-4.0.5-chromeos-x86_64.tar.xz',
x86_64: 'https://gitlab.com/api/v4/projects/26210301/packages/generic/siege/4.0.5_x86_64/siege-4.0.5-chromeos-x86_64.tar.xz'
})
binary_sha256 ({
binary_sha256({
aarch64: 'bdebecd0f52474101942d8f0d993389b1ed3f6aa32d9c3c5a9ffd8ed719814a3',
armv7l: 'bdebecd0f52474101942d8f0d993389b1ed3f6aa32d9c3c5a9ffd8ed719814a3',
i686: '152e9eaff55b5cf304aa34a3eb3f4a17a2918a84f1e224c34713cde9334c1f99',
x86_64: 'b2bb5b875c5e4e7acec1d7c3a3e5e111751ca3ba6a9098be18c0bce295e240b6',
x86_64: 'b2bb5b875c5e4e7acec1d7c3a3e5e111751ca3ba6a9098be18c0bce295e240b6'
})
def self.build