summaryrefslogtreecommitdiff
path: root/user/ruby-rspec-mocks/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/ruby-rspec-mocks/APKBUILD')
-rw-r--r--user/ruby-rspec-mocks/APKBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/user/ruby-rspec-mocks/APKBUILD b/user/ruby-rspec-mocks/APKBUILD
index b89f955be..aff6a8008 100644
--- a/user/ruby-rspec-mocks/APKBUILD
+++ b/user/ruby-rspec-mocks/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=ruby-rspec-mocks
_gemname=${pkgname#ruby-}
-pkgver=3.8.2
+pkgver=3.9.1
pkgrel=0
pkgdesc="RSpec's 'test double' framework, with support for stubbing and mocking"
url="https://relishapp.com/rspec/rspec-mocks/"
@@ -10,19 +10,19 @@ arch="noarch"
options="!check" # rspec's tests are written in rspec
license="MIT"
depends="ruby ruby-diff-lcs ruby-rspec-support~=${pkgver%.*}"
+makedepends=""
source="$pkgname-$pkgver.tar.gz::https://github.com/rspec/$_gemname/archive/v$pkgver.tar.gz
- gemspec.patch"
+ gemspec.patch
+ "
builddir="$srcdir/$_gemname-$pkgver"
build() {
- cd "$builddir"
gem build $_gemname.gemspec
}
package() {
local gemdir="$pkgdir/$(ruby -e 'puts Gem.default_dir')"
- cd "$builddir"
gem install --local \
--install-dir "$gemdir" \
--ignore-dependencies \
@@ -36,5 +36,5 @@ package() {
"$gemdir"/doc
}
-sha512sums="42b9b952386ce862a1cc19116991ae6b4633d551db057babe2e4aa6553acb6eafbb05b98df8a5c6cb362a00025ac3ce0f43f3c4e4ea63343c8bf0dad769a3aed ruby-rspec-mocks-3.8.2.tar.gz
+sha512sums="f804783fca4cf2258e83f82515cd5881ceae0bdd3aedb452a1db901e01de5dbca1d2bdef0ac0828a4bd23a1de58d127a42150c8c204219bca39ea7072619098f ruby-rspec-mocks-3.9.1.tar.gz
6fd7ab08b20a93f806a8d3c42da5da0a99162793079ecb1695341a04dff2a7cefdb12592d1798fb844dfbdf8ead6ad0b8729e461d3cd5af46d853b182d15228d gemspec.patch"