diff options
Diffstat (limited to 'dev-ruby/combustion/combustion-1.5.0.ebuild')
| -rw-r--r-- | dev-ruby/combustion/combustion-1.5.0.ebuild | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/dev-ruby/combustion/combustion-1.5.0.ebuild b/dev-ruby/combustion/combustion-1.5.0.ebuild deleted file mode 100644 index f45c82f52e0a..000000000000 --- a/dev-ruby/combustion/combustion-1.5.0.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -USE_RUBY="ruby32 ruby33 ruby34" - -RUBY_FAKEGEM_BINWRAP="" -RUBY_FAKEGEM_EXTRADOC="README.md" -RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" - -inherit ruby-fakegem - -DESCRIPTION="Elegant Rails Engine Testing" -HOMEPAGE="https://github.com/pat/combustion" -SRC_URI="https://github.com/pat/combustion/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm" - -ruby_add_rdepend " - >=dev-ruby/activesupport-3.0.0:* - >=dev-ruby/railties-3.0.0:* - >=dev-ruby/thor-0.14.6:* -" -# Needed for e.g. cannot load such file -- action_mailer/railtie -ruby_add_bdepend " - test? ( - >=dev-ruby/activemodel-3.0.0:* - >=dev-ruby/activerecord-3.0.0:*[sqlite] - dev-ruby/sqlite3:2 - dev-ruby/bundler - dev-ruby/net-smtp - >=dev-ruby/rails-3.0.0:* - dev-ruby/rspec:3 - ) -" - -each_ruby_prepare() { - sed -i \ - -e '/rubocop/d' \ - -e '/sqlite/ s/1.4/2.0/' \ - Gemfile || die - - # appraisal, rubocop: useless for us test deps - # mysql2, pg,: optional runtime deps - sed -i \ - -e '/appraisal/d' \ - -e '/mysql2/d' \ - -e '/pg/d' \ - -e '/rubocop/d' \ - ${PN}.gemspec || die - - sed -i -e '/rubocop/d' Rakefile || die -} - -each_ruby_test() { - local -x DB_ADAPTER=sqlite3 - ${RUBY} -S bundle exec rake spec || die -} |
