aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2021-12-02 22:45:59 +0100
committerJakub Jirutka <jakub@jirutka.cz>2021-12-02 22:48:51 +0100
commit7791d1f6b5c2c4665035bc279972d1fe503ba358 (patch)
tree4ef1750b9dfc668366c8fcda6c3478eeebd6534d
parentd8003db32b826505088f6593c6a7c3fcea0d7810 (diff)
main/ruby-rbs: upgrade to 1.4.0
To match version with "bundled gems" in ruby package.
-rw-r--r--main/ruby-rbs/APKBUILD6
-rw-r--r--main/ruby-rbs/gemspec.patch7
2 files changed, 6 insertions, 7 deletions
diff --git a/main/ruby-rbs/APKBUILD b/main/ruby-rbs/APKBUILD
index 0e7888b27ac..20d389b527f 100644
--- a/main/ruby-rbs/APKBUILD
+++ b/main/ruby-rbs/APKBUILD
@@ -4,7 +4,7 @@ pkgname=ruby-rbs
_gemname=rbs
# Keep version in sync with "Bundled gems" (https://stdgems.org) for the
# packaged Ruby version.
-pkgver=1.0.4
+pkgver=1.4.0
pkgrel=0
pkgdesc="Type Signature for Ruby"
url="https://github.com/ruby/rbs"
@@ -57,6 +57,6 @@ doc() {
}
sha512sums="
-d998a1613b7653278460f5cee19f38bbdd13aa46d9deb8e4da8fd710a78c6ede2784580481cad43700f3d2c4c51d0d0b70eac23b156215ad3df2d227d1f6a3b6 rbs-1.0.4.tar.gz
-e31431de3e1b13d9ac11277457f7856349029be9b775f1bab87eecd53998737b793cd310ba772ff122424b4c2c79e90dc4ed00debcc26a6d4d496ed19ac28aff gemspec.patch
+831206afc76f6aabeb99916c715562f4cf32556cd2950ee94321755b947f5632d9ce0c7d14d8b4aa4310130a43e448819f79bcd9c9b49903f7744f4aecc853d0 rbs-1.4.0.tar.gz
+314ac25c79f5b643f80502158347d76a2149437192da3eae75426d54835d3035f3549e2e3462a230941ce54cf82ad03d16a7936ab40a7f7b42a17d51a2f6015f gemspec.patch
"
diff --git a/main/ruby-rbs/gemspec.patch b/main/ruby-rbs/gemspec.patch
index 30877555b05..62a27e73581 100644
--- a/main/ruby-rbs/gemspec.patch
+++ b/main/ruby-rbs/gemspec.patch
@@ -1,12 +1,11 @@
--- a/rbs.gemspec
+++ b/rbs.gemspec
-@@ -26,10 +26,7 @@
- end
+@@ -27,9 +27,7 @@
# Specify which files should be added to the gem when it is released.
-- # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
+ # The `git ls-files -z` loads the files in the RubyGem that have been added into git.
- spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
-- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
+- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|bin)/}) }
- end
+ spec.files = Dir["core/**/*.rbs", "exe/*", "lib/**/*.rb", "schema/**/*.json", "sig/**/*.rbs", "stdlib/**/*.rbs"]
spec.files << "lib/rbs/parser.rb"