summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Finelli2021-10-30 10:51:54 -0400
committerMario Finelli2021-10-30 10:51:54 -0400
commitedb8091bdd4701c758e347f9990b82d7905fe0d1 (patch)
tree960f768f07e0cd4cfc295a768a88e677360ddc10
parente5640249a2bde9bbf8d7a9432045bdea9b728b14 (diff)
downloadaur-edb8091bdd4701c758e347f9990b82d7905fe0d1.tar.gz
upgpkg: ruby-rubocop 1.22.3-1
upstream release
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD11
2 files changed, 6 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d5aade65de8e..30b44af5b492 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = ruby-rubocop
pkgdesc = A Ruby static code analyzer and formatter
- pkgver = 1.22.2
+ pkgver = 1.22.3
pkgrel = 1
url = https://rubocop.org
arch = any
@@ -28,9 +28,7 @@ pkgbase = ruby-rubocop
depends = ruby-ruby-progressbar
depends = ruby-unicode-display_width
options = !emptydirs
- source = https://github.com/rubocop/rubocop/archive/v1.22.2/rubocop-1.22.2.tar.gz
- source = https://github.com/rubocop/rubocop/commit/f5981241c80eee3a9dac81d497c9b5f226dafd20.patch
- sha256sums = 3e3ed4f39c71d49a138d6783054fa4f8ea44425b746e64fa23d34c7999b4c69e
- sha256sums = 37c50948329947d2460c09b43f8b35a73a99d646d6ef464754c1de550b68eb7a
+ source = https://github.com/rubocop/rubocop/archive/v1.22.3/rubocop-1.22.3.tar.gz
+ sha256sums = a7f42855d3429a831da0b9574dc982aa82ea0e36d8bf01b7d792f442381443f4
pkgname = ruby-rubocop
diff --git a/PKGBUILD b/PKGBUILD
index d2fd672f85e9..0e42cd6d19fc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_gemname=rubocop
pkgname=ruby-${_gemname}
-pkgver=1.22.2
+pkgver=1.22.3
pkgrel=1
pkgdesc="A Ruby static code analyzer and formatter"
arch=(any)
@@ -35,17 +35,12 @@ makedepends=(rubygems ruby-rdoc)
url=https://rubocop.org
license=(MIT)
options=(!emptydirs)
-source=(https://github.com/rubocop/rubocop/archive/v$pkgver/$_gemname-$pkgver.tar.gz
- https://github.com/rubocop/rubocop/commit/f5981241c80eee3a9dac81d497c9b5f226dafd20.patch)
-sha256sums=('3e3ed4f39c71d49a138d6783054fa4f8ea44425b746e64fa23d34c7999b4c69e'
- '37c50948329947d2460c09b43f8b35a73a99d646d6ef464754c1de550b68eb7a')
+source=(https://github.com/rubocop/rubocop/archive/v$pkgver/$_gemname-$pkgver.tar.gz)
+sha256sums=('a7f42855d3429a831da0b9574dc982aa82ea0e36d8bf01b7d792f442381443f4')
prepare() {
cd $_gemname-$pkgver
- # fix a broken test about the changelog
- patch -p1 -N -i "$srcdir/f5981241c80eee3a9dac81d497c9b5f226dafd20.patch"
-
sed -i 's|~>|>=|g' ${_gemname}.gemspec
sed -i '/memory_profiler/d' Gemfile