diff options
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/Manifest.gz | bin | 110916 -> 110914 bytes | |||
-rw-r--r-- | dev-ruby/arel/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/arel/arel-9.0.0-r1.ebuild | 36 | ||||
-rw-r--r-- | dev-ruby/arel/files/arel-9.0.0-fix_BigDecimal.patch | 23 | ||||
-rw-r--r-- | dev-ruby/settingslogic/Manifest | 2 | ||||
-rw-r--r-- | dev-ruby/settingslogic/settingslogic-2.0.9-r2.ebuild | 7 |
6 files changed, 67 insertions, 3 deletions
diff --git a/dev-ruby/Manifest.gz b/dev-ruby/Manifest.gz Binary files differindex 5c1ece29190c..aa991234e4eb 100644 --- a/dev-ruby/Manifest.gz +++ b/dev-ruby/Manifest.gz diff --git a/dev-ruby/arel/Manifest b/dev-ruby/arel/Manifest index 48b11a3dfa69..28ace5615858 100644 --- a/dev-ruby/arel/Manifest +++ b/dev-ruby/arel/Manifest @@ -1,3 +1,5 @@ +AUX arel-9.0.0-fix_BigDecimal.patch 769 BLAKE2B 4b0024058725a87aa5718b1699bfa26363b41cbf6cd34b76cc9de5fdcee9858c4bcc8044ee9066a461bb228f9c372805da1e8bee02645342ca389fd55156cb74 SHA512 1322c6b8f3e4f1fc66baf21a6edc7b4f7f91381c38e40d711fc517dba6e1bcd690cb91ff90e00c71740077a20d57dba3373e50049126cb05c04b53d72ef5f221 DIST arel-9.0.0.tar.gz 59065 BLAKE2B c464c8c52d0fa7c5626fdc9254c74db00e4b43f68f38b75972623f28961565cd6764db967158c48e938620636343b15c4be9bb3237f9c7422730b4702450eb6d SHA512 9d2958765058fa8a4f6a8d7d4c9671d92054748eabe5b94796ff5611cdcd6bb24906cc5e813fb21396aaa681e5703d2d4bce8cc9884f2d057042d1b06bf6f0f5 +EBUILD arel-9.0.0-r1.ebuild 904 BLAKE2B 1b8b8ed07854d195a1f236476da66c2347e9075871cccce0f6759b71a60f10d08da806a9ae5e85d7dcd2b20e0451473129528c8e9991b298e01a18be1cf6090a SHA512 73c05332f754059372fdee6752261de2cf1b104bb2b917c34a805dd218f1afd4c850dfcac5e0db5d1ea910c4dc34b3a341be432456b500fe63404081f19731c2 EBUILD arel-9.0.0.ebuild 927 BLAKE2B 4d4b9739cf65d4b45fa7a45c3ba5b73f56287d499bc13509ae8209058836c448a5711a06d5bd0eda6eeb09f80afb8234128c94b60f2be2960adea9fa3302d6cf SHA512 42cf9a61ae91acd8b798ce8006df0f665fd670c8de121d89ef1e613c2d0f0f388bffa107f18c012710fd7f9e187ef8aed557f8338b0ea28980c04a0428427178 MISC metadata.xml 337 BLAKE2B 8eea382759223458a8520950cee0540695703cd9b48251a809729fee1452049e45b7591a4f0fef3d7164333c4af127264af825fed87b8e3334b626b38bd29c28 SHA512 2869b75f091f3651e1f45253693208ef51c832e219b335452fca5d1b129904220a5a1f54ee9ef516e2edf5410c03bce5b9525016834d4c71c9f4e9e5011c72ce diff --git a/dev-ruby/arel/arel-9.0.0-r1.ebuild b/dev-ruby/arel/arel-9.0.0-r1.ebuild new file mode 100644 index 000000000000..ee958f041122 --- /dev/null +++ b/dev-ruby/arel/arel-9.0.0-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +USE_RUBY="ruby26 ruby27" + +RUBY_FAKEGEM_DOCDIR="doc" +RUBY_FAKEGEM_EXTRADOC="History.txt README.md" + +RUBY_FAKEGEM_GEMSPEC="arel.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="Arel is a Relational Algebra for Ruby" +HOMEPAGE="https://github.com/rails/arel" +SRC_URI="https://github.com/rails/arel/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="MIT" +SLOT="$(ver_cut 1).0" +KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +PATCHES=( + "${FILESDIR}/${P}-fix_BigDecimal.patch" +) + +ruby_add_bdepend " + test? ( + dev-ruby/concurrent-ruby:1 + dev-ruby/test-unit:2 + >=dev-ruby/minitest-5.4:5 + )" + +all_ruby_prepare() { + sed -i -e "/[Bb]undler/d" \ + -e '/specname/,$ s:^:#:' Rakefile || die +} diff --git a/dev-ruby/arel/files/arel-9.0.0-fix_BigDecimal.patch b/dev-ruby/arel/files/arel-9.0.0-fix_BigDecimal.patch new file mode 100644 index 000000000000..fb4e4af77d10 --- /dev/null +++ b/dev-ruby/arel/files/arel-9.0.0-fix_BigDecimal.patch @@ -0,0 +1,23 @@ +From cbbe9ed392bfe146fc0871653aad9b619cef8509 Mon Sep 17 00:00:00 2001 +From: Yasuo Honda <yasuo.honda@gmail.com> +Date: Sun, 7 Jan 2018 23:43:51 +0000 +Subject: [PATCH] BigDecimal.new is deprecated in Ruby 2.5 + +Refer https://github.com/ruby/bigdecimal/pull/86 +--- + test/visitors/test_to_sql.rb | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/test/visitors/test_to_sql.rb b/test/visitors/test_to_sql.rb +index 77756b9e..4416a11b 100644 +--- a/test/visitors/test_to_sql.rb ++++ b/test/visitors/test_to_sql.rb +@@ -233,7 +233,7 @@ def dispatch + end + + it "should visit_BigDecimal" do +- compile Nodes.build_quoted(BigDecimal.new('2.14')) ++ compile Nodes.build_quoted(BigDecimal('2.14')) + end + + it "should visit_Date" do diff --git a/dev-ruby/settingslogic/Manifest b/dev-ruby/settingslogic/Manifest index 1959db26f93a..07f8e1b29826 100644 --- a/dev-ruby/settingslogic/Manifest +++ b/dev-ruby/settingslogic/Manifest @@ -1,4 +1,4 @@ AUX settingslogic-2.0.9-psych-4.patch 1279 BLAKE2B 6fafc241e1dab8aca1ae541c2057fd2649e04aa7b1b17c0bc99ee848ebac83fc3042b489d6d3bd96728234e23db7f63e9212d24964711f9815d221842ce3d79d SHA512 f4516b58bf0f8bfa83ab2d365d6fa083fa353cc54e81a815f1992c1d58deb04e827a589b5f182385f2025efd379143a96468e32e99a7daaf60b600068184c440 DIST settingslogic-2.0.9.gem 10752 BLAKE2B 7910ab9a4e61c92d5b23a34e9ba58ad89bbf71b7aaf8c2e679eab3e517ea38553d83d05a32a13151c9deaa36d0e6ae44a6afd1b13cfe452a69c668e07fa618b8 SHA512 e9229231815c8d80b7539724cda78c0cfd17bcf8423d0bc2643b3ce2a046e8014f3b398c5314b095aef480a0c7de16e0c93a6592fe8eabfea4ae94742f3dab57 -EBUILD settingslogic-2.0.9-r2.ebuild 580 BLAKE2B 650728143812963c5dd91ed42835e5d24aff7f5b6c1ac2d2bff672a5134196a66ce69ea0e33597f63436dc6665589f74467c9df6883847b96059da19d9618aaa SHA512 5d6b79a5dd3716aad825198f0de1f377e7ed38a5f5f14f76c39fb6da986aab463c82346486a472b629887a3383f566e23c96851f38d1dd176c3c6281bb92234b +EBUILD settingslogic-2.0.9-r2.ebuild 679 BLAKE2B 3b876d23908203ab5db4b3b38d30f4d396f81f1b1da6a4c1d293d55cbaa2f8890dc13049379455b25fa60e437b29d534bfbe75992987e8cca2ff084bdfa30141 SHA512 14b2e3b7964d39f4728f50f901c70dd088c0b51d8c79a77aa6050027610bb88290365c229d06bdf22900722187070b6aa17c2e32b9979a59aa1e44af398c13d3 MISC metadata.xml 352 BLAKE2B c8579ec17f151942684fb320b577fabd2d0ec4e7dbeb0ff7e86d548ef213522c48a61197c2fb50ab5fa8c660a5549fbd0da2374c13c990106209f0c8241cc796 SHA512 5824d698f1d9abfcb1c65a84095194bca44958b70a4642186631870809f32ab1c9ec78bdb981cbb3b3fe534fbbbfbb7178e24f769ed162085a03099e3f790dca diff --git a/dev-ruby/settingslogic/settingslogic-2.0.9-r2.ebuild b/dev-ruby/settingslogic/settingslogic-2.0.9-r2.ebuild index 5d2b70ee8217..2e3ba5ddc3ae 100644 --- a/dev-ruby/settingslogic/settingslogic-2.0.9-r2.ebuild +++ b/dev-ruby/settingslogic/settingslogic-2.0.9-r2.ebuild @@ -2,12 +2,12 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=8 -USE_RUBY="ruby26 ruby27" +USE_RUBY="ruby26 ruby27 ruby30 ruby31" RUBY_FAKEGEM_TASK_DOC="" RUBY_FAKEGEM_EXTRADOC="README.rdoc" -RUBY_FAKEGEM_RECIPE_TEST="rspec" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" inherit ruby-fakegem @@ -23,4 +23,7 @@ PATCHES=( "${FILESDIR}/${P}-psych-4.patch" ) all_ruby_prepare() { sed -i -e '/check_dependencies/d' Rakefile || die + + # Use rspec 3 + sed -i -e 's/be_false/be false/' spec/settingslogic_spec.rb || die } |