diff options
Diffstat (limited to 'dev-ruby/celluloid')
-rw-r--r-- | dev-ruby/celluloid/celluloid-0.17.3.ebuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/dev-ruby/celluloid/celluloid-0.17.3.ebuild b/dev-ruby/celluloid/celluloid-0.17.3.ebuild index 4db09322a87f..7e879b85be7e 100644 --- a/dev-ruby/celluloid/celluloid-0.17.3.ebuild +++ b/dev-ruby/celluloid/celluloid-0.17.3.ebuild @@ -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 @@ -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 +} |