summaryrefslogtreecommitdiff
path: root/dev-ruby
diff options
context:
space:
mode:
authorLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-09-04 12:47:55 +0000
committerLiguros - Gitlab CI/CD [develop] <gitlab@liguros.net>2022-09-04 12:47:55 +0000
commit6e6cda1a514b50dd745abd74745fbdf64db4aca6 (patch)
treeac89920e78b42b83ac9dc120ec48c0c32226e3e4 /dev-ruby
parent7a930fd9379eb46b62fba30fbd9a1a0c9e393140 (diff)
downloadbaldeagleos-repo-6e6cda1a514b50dd745abd74745fbdf64db4aca6.tar.gz
baldeagleos-repo-6e6cda1a514b50dd745abd74745fbdf64db4aca6.tar.xz
baldeagleos-repo-6e6cda1a514b50dd745abd74745fbdf64db4aca6.zip
Adding metadata
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/jbuilder/Manifest2
-rw-r--r--dev-ruby/jbuilder/jbuilder-2.10.1.ebuild30
-rw-r--r--dev-ruby/jbuilder/jbuilder-2.11.2.ebuild30
-rw-r--r--dev-ruby/rails-html-sanitizer/Manifest1
-rw-r--r--dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.4.2.ebuild30
-rw-r--r--dev-ruby/rbst/rbst-0.6.5.ebuild51
-rw-r--r--dev-ruby/roadie-rails/roadie-rails-2.3.0.ebuild2
-rw-r--r--dev-ruby/sdoc/sdoc-1.1.0-r1.ebuild32
-rw-r--r--dev-ruby/sprockets-rails/sprockets-rails-3.4.2-r1.ebuild3
-rw-r--r--dev-ruby/sshkit/sshkit-1.21.2.ebuild10
10 files changed, 42 insertions, 149 deletions
diff --git a/dev-ruby/jbuilder/Manifest b/dev-ruby/jbuilder/Manifest
index a17312792497..66af3a7b3c7c 100644
--- a/dev-ruby/jbuilder/Manifest
+++ b/dev-ruby/jbuilder/Manifest
@@ -1,3 +1 @@
-DIST jbuilder-2.10.1.gem 28160 BLAKE2B 07bde14ee6a75b5e1cec8ee1fead688c613e76713d32d419433b0f7163a9622bcc48e4b36333eb06960a9a566784d7f31843d71259226539fe569cd178315d55 SHA512 340e9d9cff969294e22a3eea57001e69402cd47b791660a1468702e046edfe4a3cc4f8fe18b87ba63e13352d020cd8fd78fcc070a287bb8da108c531f4dc22a5
-DIST jbuilder-2.11.2.gem 30208 BLAKE2B 48378a403b1949fd4dd66f468927ae9ca76ddcb88d2929ffb2c9c87b9c4d4daa4bfc147f22fc2d3578eae61e3391ecaf7dc49c324aff09c2884adcdb0aef5113 SHA512 1608649fa7f67dd09b5ac05f2e93aa78a8c25a8f29df1bacff7add554a2cb104aadaefef4b98a279a8d01fdc70372729ca05e716c81bfa55adaac7f7cfe78386
DIST jbuilder-2.11.5.gem 27648 BLAKE2B 0a40c82ad1f68df5748be4425605eafd03bcd0262957915bc491037c45c21f5542ffae3d3f4e7dc8a20874f96dc1a7c3c3dd348a4c09b08f15117ca45103d260 SHA512 65caea9426cfe146fd4aaf0c9313e04f8f9d23d72faf959da4042d090f4e31be6a7040418fa9e6dc3f02e8acb3a0e2b5d3216af4f2fed8761b70a35101f4eb96
diff --git a/dev-ruby/jbuilder/jbuilder-2.10.1.ebuild b/dev-ruby/jbuilder/jbuilder-2.10.1.ebuild
deleted file mode 100644
index b37ef8d2e4b1..000000000000
--- a/dev-ruby/jbuilder/jbuilder-2.10.1.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-USE_RUBY="ruby25 ruby26 ruby27"
-
-RUBY_FAKEGEM_TASK_TEST="TRAVIS=true test"
-
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Create JSON structures via a Builder-style DSL"
-HOMEPAGE="https://github.com/rails/jbuilder"
-
-LICENSE="MIT"
-SLOT="2"
-KEYWORDS="~amd64"
-IUSE=""
-
-ruby_add_rdepend ">=dev-ruby/activesupport-5.0.0:*"
-
-ruby_add_bdepend "test? (
- >=dev-ruby/activemodel-5.0.0
- >=dev-ruby/railties-5.0.0
-)"
-
-all_ruby_prepare() {
- sed -i -e '/bundler/ s:^:#:' Rakefile test/test_helper.rb || die
-}
diff --git a/dev-ruby/jbuilder/jbuilder-2.11.2.ebuild b/dev-ruby/jbuilder/jbuilder-2.11.2.ebuild
deleted file mode 100644
index 8010602aa4a9..000000000000
--- a/dev-ruby/jbuilder/jbuilder-2.11.2.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# 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_TASK_TEST="TRAVIS=true test"
-
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Create JSON structures via a Builder-style DSL"
-HOMEPAGE="https://github.com/rails/jbuilder"
-
-LICENSE="MIT"
-SLOT="2"
-KEYWORDS="~amd64"
-IUSE=""
-
-ruby_add_rdepend ">=dev-ruby/activesupport-5.0.0:*"
-
-ruby_add_bdepend "test? (
- >=dev-ruby/activemodel-5.0.0
- >=dev-ruby/railties-5.0.0
-)"
-
-all_ruby_prepare() {
- sed -i -e '/bundler/ s:^:#:' Rakefile test/test_helper.rb || die
-}
diff --git a/dev-ruby/rails-html-sanitizer/Manifest b/dev-ruby/rails-html-sanitizer/Manifest
index 1dae4704a48b..b4e9c6e611d0 100644
--- a/dev-ruby/rails-html-sanitizer/Manifest
+++ b/dev-ruby/rails-html-sanitizer/Manifest
@@ -1,2 +1 @@
-DIST rails-html-sanitizer-1.4.2.gem 16896 BLAKE2B 97f09d43ad99c13c07c34c0f5c47e3b34983b94773923cf7d131d1115d818ede619fc0ef268c5523524c53178afde2c9ee2652617add6b4efc282d190591be80 SHA512 9f0872f1000c758918f66a889322d3393ec678604eb3b01fc21bbb861189ec04fcf05f5c9487bd5eeb63ce6d99a80064718c82bfce2daf25c07754979a2ed747
DIST rails-html-sanitizer-1.4.3.gem 17920 BLAKE2B 2745ce137612337d4d85593b0af9a3e5102e399957b71dea366cc864a1acc66bb2bd099bd53701c71925ba64ae0287896bbd33eb64bb5ec22cbcbfb3173953dc SHA512 ead339d8ed5aefa737298d886a0db3c353254cfa57bdee7d2011f596ed2871dcad3bd16561728da2447e239fcaa908256bb6436493462bca6310a17a3812ffd9
diff --git a/dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.4.2.ebuild b/dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.4.2.ebuild
deleted file mode 100644
index 060f48c8bf9a..000000000000
--- a/dev-ruby/rails-html-sanitizer/rails-html-sanitizer-1.4.2.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-USE_RUBY="ruby26 ruby27 ruby30"
-
-RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Sanitize HTML fragments in Rails applications"
-HOMEPAGE="https://github.com/rafaelfranca/rails-html-sanitizer"
-
-LICENSE="MIT"
-SLOT="1"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux"
-IUSE=""
-
-ruby_add_rdepend ">=dev-ruby/loofah-2.3:0"
-
-ruby_add_bdepend "test? ( dev-ruby/rails-dom-testing )"
-
-all_ruby_prepare() {
- # Avoid tests that depend on nokogiri patches to libxml2.
- sed -i -e '/\(name_action\|attr\)_in_a_tag_in_safe_list_sanitizer/askip "libxml2"' test/sanitizer_test.rb || die
-}
-
-each_ruby_test() {
- ${RUBY} -Ilib:test:. -e 'Dir["test/*_test.rb"].each{|f| require f}' || die
-}
diff --git a/dev-ruby/rbst/rbst-0.6.5.ebuild b/dev-ruby/rbst/rbst-0.6.5.ebuild
deleted file mode 100644
index e9d3fc243f17..000000000000
--- a/dev-ruby/rbst/rbst-0.6.5.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{7,8,9,10} )
-USE_RUBY="ruby25 ruby26 ruby27"
-
-RUBY_FAKEGEM_NAME="RbST"
-RUBY_FAKEGEM_GEMSPEC="RbST.gemspec"
-
-inherit python-single-r1 ruby-fakegem
-
-DESCRIPTION="A simple Ruby wrapper for processing rST via docutils"
-HOMEPAGE="https://github.com/alphabetum/rbst"
-SRC_URI="https://github.com/alphabetum/rbst/archive/${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="test"
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
-
-RDEPEND="
- dev-python/docutils
- ${PYTHON_DEPS}"
-DEPEND="
- test? ( ${RDEPEND} )"
-
-ruby_add_bdepend "
- test? (
- >=dev-ruby/minitest-5.14.0:5
- >=dev-ruby/mocha-1.1.0:1.0
- )"
-
-pkg_setup() {
- python-single-r1_pkg_setup
- ruby-ng_pkg_setup
-}
-
-all_ruby_prepare() {
- # do not use bundler
- sed -i -e '/bundler/,/end/d' \
- Rakefile test/helper.rb || die
- # do not use python2
- sed -i -e '/python2/,/end/d' \
- test/test_rbst.rb || die
-
- # force our python version
- sed -i -e "s:\(python_path=\"\)python:\1${EPYTHON}:" lib/rbst.rb || die
- python_fix_shebang lib/rst2parts
-}
diff --git a/dev-ruby/roadie-rails/roadie-rails-2.3.0.ebuild b/dev-ruby/roadie-rails/roadie-rails-2.3.0.ebuild
index 91f4b1b6d504..fb1e1b8a48cc 100644
--- a/dev-ruby/roadie-rails/roadie-rails-2.3.0.ebuild
+++ b/dev-ruby/roadie-rails/roadie-rails-2.3.0.ebuild
@@ -25,7 +25,7 @@ ruby_add_rdepend ">=dev-ruby/roadie-3.1:4
ruby_add_bdepend "
test? (
dev-ruby/bundler
- || ( dev-ruby/rails:7.0 dev-ruby/rails:6.1 dev-ruby/rails:6.0 dev-ruby/rails:5.2 )
+ dev-ruby/rails:7.0 dev-ruby/rails:6.0 dev-ruby/rails:5.2
dev-ruby/rspec-rails
dev-ruby/rspec-collection_matchers )"
diff --git a/dev-ruby/sdoc/sdoc-1.1.0-r1.ebuild b/dev-ruby/sdoc/sdoc-1.1.0-r1.ebuild
new file mode 100644
index 000000000000..5458093ea0e9
--- /dev/null
+++ b/dev-ruby/sdoc/sdoc-1.1.0-r1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby27 ruby30 ruby31"
+
+inherit ruby-fakegem
+
+DESCRIPTION="rdoc generator html with javascript search index"
+HOMEPAGE="https://rubygems.org/gems/sdoc"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~riscv ~x86"
+IUSE="test"
+
+ruby_add_rdepend ">=dev-ruby/rdoc-5.0"
+
+ruby_add_bdepend "test? ( dev-ruby/minitest )"
+
+all_ruby_prepare() {
+ sed -i -e '/git ls-files/ s:^:#:' sdoc.gemspec || die
+
+ sed -i -e '/bundler/I s:^:#:' Rakefile spec/spec_helper.rb || die
+
+ # Avoid spec that appears to be broken with newer rdoc versions.
+ sed -i -e '/should display SDoc version/askip' spec/rdoc_generator_spec.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -I lib:spec:. -e 'Dir["spec/*_spec.rb"].each { require _1 }' || die
+}
diff --git a/dev-ruby/sprockets-rails/sprockets-rails-3.4.2-r1.ebuild b/dev-ruby/sprockets-rails/sprockets-rails-3.4.2-r1.ebuild
index cbec5f9a1a2a..a3e90d048c61 100644
--- a/dev-ruby/sprockets-rails/sprockets-rails-3.4.2-r1.ebuild
+++ b/dev-ruby/sprockets-rails/sprockets-rails-3.4.2-r1.ebuild
@@ -33,4 +33,7 @@ ruby_add_bdepend "
all_ruby_prepare() {
sed -i -e '/bundler/ s:^:#:' Rakefile || die
+
+ # It looks like tests are order dependent
+ sed -i -e '/test_order/ s/:alpha/:random/' test/test_helper.rb || die
}
diff --git a/dev-ruby/sshkit/sshkit-1.21.2.ebuild b/dev-ruby/sshkit/sshkit-1.21.2.ebuild
index 339616db4166..ab2109f97a2d 100644
--- a/dev-ruby/sshkit/sshkit-1.21.2.ebuild
+++ b/dev-ruby/sshkit/sshkit-1.21.2.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-USE_RUBY="ruby26 ruby27 ruby30"
+USE_RUBY="ruby27 ruby30"
# There are functional tests that require vagrant boxes to be set up.
RUBY_FAKEGEM_TASK_TEST="test:units"
@@ -24,12 +24,14 @@ ruby_add_rdepend "
>=dev-ruby/net-scp-1.1.2
"
-ruby_add_bdepend "test? ( dev-ruby/minitest dev-ruby/mocha )"
+ruby_add_bdepend "test? ( dev-ruby/minitest dev-ruby/mocha <dev-ruby/net-ssh-7 )"
all_ruby_prepare() {
sed -i -e '/bundler/I s:^:#:' Rakefile test/helper.rb || die
- sed -i -e '/\(turn\|unindent\|reporters\)/I s:^:#:' \
- -e '1irequire "set"; require "pathname"' test/helper.rb || die
+ sed -e '/\(turn\|unindent\|reporters\)/I s:^:#:' \
+ -e '1irequire "set"; require "pathname"' \
+ -e '1igem "net-ssh", "<7"' \
+ -i test/helper.rb || die
# Fix assumption about parent directory name
sed -i -e '/assert_match/ s/sshkit/sshkit.*/' test/unit/test_deprecation_logger.rb || die