summaryrefslogtreecommitdiff
path: root/dev-ruby
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-02-22 13:50:37 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2021-02-22 13:50:37 +0000
commita59a70b6525e61626b62ea7e2ab855f59974565e (patch)
treecb0c213e55d4131f70111896da4e2ff944f6ee5b /dev-ruby
parent7405a033cff46b48cf4bad6e5196474849e331e5 (diff)
downloadbaldeagleos-repo-a59a70b6525e61626b62ea7e2ab855f59974565e.tar.gz
baldeagleos-repo-a59a70b6525e61626b62ea7e2ab855f59974565e.tar.xz
baldeagleos-repo-a59a70b6525e61626b62ea7e2ab855f59974565e.zip
Adding metadata
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/httparty/httparty-0.18.1.ebuild4
-rw-r--r--dev-ruby/rest-client/rest-client-2.1.0.ebuild4
-rw-r--r--dev-ruby/webrobots/webrobots-0.1.2-r2.ebuild33
3 files changed, 37 insertions, 4 deletions
diff --git a/dev-ruby/httparty/httparty-0.18.1.ebuild b/dev-ruby/httparty/httparty-0.18.1.ebuild
index c7782d5184c8..0ce0a25a8724 100644
--- a/dev-ruby/httparty/httparty-0.18.1.ebuild
+++ b/dev-ruby/httparty/httparty-0.18.1.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-USE_RUBY="ruby24 ruby25 ruby26"
+USE_RUBY="ruby25 ruby26 ruby27"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
diff --git a/dev-ruby/rest-client/rest-client-2.1.0.ebuild b/dev-ruby/rest-client/rest-client-2.1.0.ebuild
index c4bda40b4646..165d50bc2b26 100644
--- a/dev-ruby/rest-client/rest-client-2.1.0.ebuild
+++ b/dev-ruby/rest-client/rest-client-2.1.0.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-USE_RUBY="ruby24 ruby25 ruby26"
+USE_RUBY="ruby25 ruby26 ruby27"
RUBY_FAKEGEM_RECIPE_TEST="rspec3"
diff --git a/dev-ruby/webrobots/webrobots-0.1.2-r2.ebuild b/dev-ruby/webrobots/webrobots-0.1.2-r2.ebuild
new file mode 100644
index 000000000000..0a5a75709837
--- /dev/null
+++ b/dev-ruby/webrobots/webrobots-0.1.2-r2.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+USE_RUBY="ruby25 ruby26 ruby27"
+
+RUBY_FAKEGEM_DOCDIR="rdoc"
+RUBY_FAKEGEM_EXTRADOC="README.rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A library to help write robots.txt compliant web robots"
+HOMEPAGE="https://github.com/knu/webrobots"
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/nokogiri-1.4.4"
+
+ruby_add_bdepend "test? ( dev-ruby/shoulda dev-ruby/test-unit:2 dev-ruby/webmock dev-ruby/vcr )"
+
+all_ruby_prepare() {
+ sed -i -e '/bundler/,/end/d' Rakefile test/helper.rb || die
+
+ # Avoid tests for live websites requirering a network connection.
+ sed -i -e '/robots.txt in the real world/,/^ end/ s:^:#:' test/test_webrobots.rb || die
+}
+
+each_ruby_test() {
+ ruby-ng_testrb-2 -Ilib test/test_*.rb
+}