summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO12
-rw-r--r--PKGBUILD14
2 files changed, 13 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c0b834a3990..1b77ef0ef0b 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,18 @@
# Generated by mksrcinfo v8
-# Thu Mar 17 18:55:58 UTC 2016
+# Thu Feb 7 11:08:37 UTC 2019
pkgbase = ruby-rails-html-sanitizer
pkgdesc = HTML sanitization for Rails applications
- pkgver = 1.0.3
- pkgrel = 3
+ pkgver = 1.0.4
+ pkgrel = 1
url = https://github.com/rails/rails-html-sanitizer
arch = any
license = MIT
depends = ruby
depends = ruby-loofah
- noextract = rails-html-sanitizer-1.0.3.gem
+ noextract = rails-html-sanitizer-1.0.4.gem
options = !emptydirs
- source = https://rubygems.org/downloads/rails-html-sanitizer-1.0.3.gem
- sha1sums = 9c84dca57b521ff92fbdceba1de959db539e4c19
+ source = https://rubygems.org/downloads/rails-html-sanitizer-1.0.4.gem
+ sha256sums = 99cbc3d267856f6731663e654140be298393b1ee966027efab5dbcd44ade67bf
pkgname = ruby-rails-html-sanitizer
diff --git a/PKGBUILD b/PKGBUILD
index e142e12e1b8..77bff051ba8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,8 +2,8 @@
_gemname=rails-html-sanitizer
pkgname=ruby-$_gemname
-pkgver=1.0.3
-pkgrel=3
+pkgver=1.0.4
+pkgrel=1
pkgdesc='HTML sanitization for Rails applications'
arch=(any)
url='https://github.com/rails/rails-html-sanitizer'
@@ -12,12 +12,12 @@ depends=(ruby ruby-loofah)
options=(!emptydirs)
source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
noextract=($_gemname-$pkgver.gem)
-sha1sums=('9c84dca57b521ff92fbdceba1de959db539e4c19')
+sha256sums=('99cbc3d267856f6731663e654140be298393b1ee966027efab5dbcd44ade67bf')
package() {
- local _gemdir="$(ruby -e'puts Gem.default_dir')"
- gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" \
- -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
- rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
+ local _gemdir="$(ruby -e'puts Gem.default_dir')"
+ gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" \
+ -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem
+ rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
}