Skip to content

Commit

Permalink
dev-ruby/celluloid: add ruby24
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.24, Repoman-2.3.6
  • Loading branch information
graaff committed May 5, 2018
1 parent 67cc966 commit c94009b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion dev-ruby/celluloid/celluloid-0.17.3.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2

EAPI=5
USE_RUBY="ruby21 ruby22 ruby23"
USE_RUBY="ruby23 ruby24"

RUBY_FAKEGEM_RECIPE_TEST="rspec3"
# Needed by packages writing specs for celluloid
Expand Down Expand Up @@ -42,3 +42,11 @@ all_ruby_prepare() {
sed -i -e '1irequire "pathname"' spec/spec_helper.rb || die
mkdir log || die
}

each_ruby_prepare() {
case ${RUBY} in
*ruby24)
sed -i -e '/String expected, but Fixnum received/ s/Fixnum/Integer/' spec/shared/actor_examples.rb || die
;;
esac
}

0 comments on commit c94009b

Please sign in to comment.