commit:     d2081e0e52e3ba842d2d833038e539d2e6eb3214
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Fri Aug 16 07:08:38 2024 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Fri Aug 16 07:09:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2081e0e

dev-ruby/will_paginate: ensure consistent activerecord version

Closes: https://bugs.gentoo.org/937971
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 dev-ruby/will_paginate/will_paginate-4.0.1.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/dev-ruby/will_paginate/will_paginate-4.0.1.ebuild 
b/dev-ruby/will_paginate/will_paginate-4.0.1.ebuild
index 6f155028baa5..e9b279069e15 100644
--- a/dev-ruby/will_paginate/will_paginate-4.0.1.ebuild
+++ b/dev-ruby/will_paginate/will_paginate-4.0.1.ebuild
@@ -22,6 +22,9 @@ IUSE="test"
 all_ruby_prepare() {
        # Remove tests for unpackaged ORMs
        rm -f spec/finders/{sequel,mongoid,data_mapper}* || die
+
+       sed -e '1igem "activerecord"' \
+               -i spec/spec_helper.rb || die
 }
 
 ruby_add_bdepend "

Reply via email to