aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2018-08-15 00:41:19 +0800
committersunpoet <sunpoet@FreeBSD.org>2018-08-15 00:41:19 +0800
commitf0b1c6df86d78023fb85748d8212c82b5ac242b8 (patch)
treee51c59edc76dec2e7fdcac0c1a6e386ad4991756
parent7f37fa483c71f85075eeb59ed4aebc6eec7821ea (diff)
downloadfreebsd-ports-gnome-f0b1c6df86d78023fb85748d8212c82b5ac242b8.tar.gz
freebsd-ports-gnome-f0b1c6df86d78023fb85748d8212c82b5ac242b8.tar.zst
freebsd-ports-gnome-f0b1c6df86d78023fb85748d8212c82b5ac242b8.zip
Fix gemspec for rubygem-hashie 3.6.0 update
- Bump PORTREVISION for package change
-rw-r--r--security/rubygem-omniauth/Makefile1
-rw-r--r--security/rubygem-omniauth/files/patch-gemspec11
2 files changed, 12 insertions, 0 deletions
diff --git a/security/rubygem-omniauth/Makefile b/security/rubygem-omniauth/Makefile
index 8320f6e27d08..42ed9973fbe7 100644
--- a/security/rubygem-omniauth/Makefile
+++ b/security/rubygem-omniauth/Makefile
@@ -2,6 +2,7 @@
PORTNAME= omniauth
PORTVERSION= 1.8.1
+PORTREVISION= 1
CATEGORIES= security rubygems
MASTER_SITES= RG
diff --git a/security/rubygem-omniauth/files/patch-gemspec b/security/rubygem-omniauth/files/patch-gemspec
new file mode 100644
index 000000000000..70f5ec8dc5de
--- /dev/null
+++ b/security/rubygem-omniauth/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- omniauth.gemspec.orig 2018-08-14 14:58:59 UTC
++++ omniauth.gemspec
+@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
+ s.specification_version = 4
+
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+- s.add_runtime_dependency(%q<hashie>.freeze, ["< 3.6.0", ">= 3.4.6"])
++ s.add_runtime_dependency(%q<hashie>.freeze, ["< 4", ">= 3.4.6"])
+ s.add_runtime_dependency(%q<rack>.freeze, ["< 3", ">= 1.6.2"])
+ s.add_development_dependency(%q<bundler>.freeze, ["~> 1.14"])
+ s.add_development_dependency(%q<rake>.freeze, ["~> 12.0"])