diff options
author | Hans de Graaff <graaff@gentoo.org> | 2018-04-27 11:01:33 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2018-04-27 11:01:33 +0200 |
commit | 6778fe62d4ed29542f1d48e3e15de31e7b547e98 (patch) | |
tree | c63313e64c09c52b4e25518c35e9cd7567ce0d8c /dev-ruby/seed-fu | |
parent | dev-ruby/selenium-webdriver: add ruby25 (diff) | |
download | gentoo-6778fe62d4ed29542f1d48e3e15de31e7b547e98.tar.gz gentoo-6778fe62d4ed29542f1d48e3e15de31e7b547e98.tar.bz2 gentoo-6778fe62d4ed29542f1d48e3e15de31e7b547e98.zip |
dev-ruby/seed-fu: add 2.3.9
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-ruby/seed-fu')
-rw-r--r-- | dev-ruby/seed-fu/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/seed-fu/seed-fu-2.3.9.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ruby/seed-fu/Manifest b/dev-ruby/seed-fu/Manifest index d7ef9cb0eab1..e77d01ca3422 100644 --- a/dev-ruby/seed-fu/Manifest +++ b/dev-ruby/seed-fu/Manifest @@ -1 +1,2 @@ DIST seed-fu-2.3.6.tar.gz 13177 BLAKE2B 8e07c0663789eb1859fb18a59a9105d917e8bfca50498062c0a7d9003f5331599722fe8c23269e2c8c0829062881781c9b3cae6de789d6d3ddf6b91cf23c4f05 SHA512 90affb04a0a9b6917501e4961888cba6a13b0b779ca9d11481bad2267db05666467448cc58df995da71718ad46c744301de3bbbaa3edce6b1eb8884207d54771 +DIST seed-fu-2.3.9.tar.gz 13392 BLAKE2B 7468c54013f6a51bcebf4b6ad1f2401d53ddd2a5f61eddc71d0edc088ea1296acf8012ae885036d5f11c5e9336e7dbf67f2508b3d89830647b36d6f7992d574d SHA512 bf5b7a472a5af6bd40f06f60c404c8893641b222d80469765a434a126e182ae6e7fd5281a0ba9d5d61bd89aa515ee0a3f244238108cd41fb15ced501c917b216 diff --git a/dev-ruby/seed-fu/seed-fu-2.3.9.ebuild b/dev-ruby/seed-fu/seed-fu-2.3.9.ebuild new file mode 100644 index 000000000000..2340acd5f04f --- /dev/null +++ b/dev-ruby/seed-fu/seed-fu-2.3.9.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby23 ruby24" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" +RUBY_FAKEGEM_RECIPE_DOC="yard" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" +RUBY_FAKEGEM_DOCDIR="doc" + +inherit ruby-fakegem + +DESCRIPTION="Advanced seed data handling for Rails" +HOMEPAGE="https://github.com/mbleigh/seed-fu" +SRC_URI="https://github.com/mbleigh/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend " + >=dev-ruby/activerecord-3.1:* + >=dev-ruby/activesupport-3.1:*" +ruby_add_bdepend "test? ( dev-ruby/sqlite3 )" + +all_ruby_prepare() { + sed -i -e '/bundler/d' spec/spec_helper.rb || die "sed failed" + + # Avoid failing test that appears not be innocent + sed -i -e '/raise an ActiveRecord::RecordNotSaved/,/end/ s:^:#:' spec/seeder_spec.rb || die +} |