Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jul 2021 18:14:59 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 5cf7ecbecc5c - main - www/rubygem-rest-client: Update to 2.1.0
Message-ID:  <202107211814.16LIExwu045077@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5cf7ecbecc5cb58569a1618eba13c7449ee55cdf

commit 5cf7ecbecc5cb58569a1618eba13c7449ee55cdf
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2021-07-21 17:22:17 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2021-07-21 18:12:10 +0000

    www/rubygem-rest-client: Update to 2.1.0
    
    - Update version requirement of RUN_DEPENDS
    
    Changes:        https://github.com/rest-client/rest-client/blob/master/history.md
---
 www/rubygem-rest-client/Makefile            | 14 ++++++++------
 www/rubygem-rest-client/distinfo            |  6 +++---
 www/rubygem-rest-client/files/patch-gemspec | 11 +++++++++++
 3 files changed, 22 insertions(+), 9 deletions(-)

diff --git a/www/rubygem-rest-client/Makefile b/www/rubygem-rest-client/Makefile
index 3cdad55d1f40..5418cbcbd137 100644
--- a/www/rubygem-rest-client/Makefile
+++ b/www/rubygem-rest-client/Makefile
@@ -1,7 +1,7 @@
 # Created by: Renaud Chaput <renchap@cocoa-x.com>
 
 PORTNAME=	rest-client
-PORTVERSION=	2.0.2
+PORTVERSION=	2.1.0
 CATEGORIES=	www rubygems
 MASTER_SITES=	RG
 
@@ -11,13 +11,15 @@ COMMENT=	Simple Simple HTTP and REST client for Ruby
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	rubygem-http-cookie>=1.0.2:www/rubygem-http-cookie \
-		rubygem-mime-types>=1.16:misc/rubygem-mime-types \
-		rubygem-netrc>=0.8:net/rubygem-netrc
+RUN_DEPENDS=	rubygem-http-accept>=1.7.0:www/rubygem-http-accept \
+		rubygem-http-cookie>=1.0.2<2.0:www/rubygem-http-cookie \
+		rubygem-mime-types>=1.16<4.0:misc/rubygem-mime-types \
+		rubygem-netrc>=0.8<1:net/rubygem-netrc
 
-NO_ARCH=	yes
-USE_RUBY=	yes
 USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
 
 PLIST_FILES=	bin/restclient
 
diff --git a/www/rubygem-rest-client/distinfo b/www/rubygem-rest-client/distinfo
index b6d626e9d6c4..aff57822befb 100644
--- a/www/rubygem-rest-client/distinfo
+++ b/www/rubygem-rest-client/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1503784190
-SHA256 (rubygem/rest-client-2.0.2.gem) = 1295e486591f8ef7786451e28d24f8aa0a04cc47767cd1859b729575b2d0ecc3
-SIZE (rubygem/rest-client-2.0.2.gem) = 149504
+TIMESTAMP = 1626714760
+SHA256 (rubygem/rest-client-2.1.0.gem) = 35a6400bdb14fae28596618e312776c158f7ebbb0ccad752ff4fa142bf2747e3
+SIZE (rubygem/rest-client-2.1.0.gem) = 147456
diff --git a/www/rubygem-rest-client/files/patch-gemspec b/www/rubygem-rest-client/files/patch-gemspec
new file mode 100644
index 000000000000..d05fec045009
--- /dev/null
+++ b/www/rubygem-rest-client/files/patch-gemspec
@@ -0,0 +1,11 @@
+--- rest-client.gemspec.orig	2021-07-19 21:01:10 UTC
++++ rest-client.gemspec
+@@ -31,7 +31,7 @@ Gem::Specification.new do |s|
+       s.add_development_dependency(%q<pry-doc>.freeze, ["~> 0"])
+       s.add_development_dependency(%q<rdoc>.freeze, [">= 2.4.2", "< 6.0"])
+       s.add_development_dependency(%q<rubocop>.freeze, ["~> 0.49"])
+-      s.add_runtime_dependency(%q<http-accept>.freeze, [">= 1.7.0", "< 2.0"])
++      s.add_runtime_dependency(%q<http-accept>.freeze, [">= 1.7.0"])
+       s.add_runtime_dependency(%q<http-cookie>.freeze, [">= 1.0.2", "< 2.0"])
+       s.add_runtime_dependency(%q<mime-types>.freeze, [">= 1.16", "< 4.0"])
+       s.add_runtime_dependency(%q<netrc>.freeze, ["~> 0.8"])



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107211814.16LIExwu045077>