From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-ruby/factory_girl/
Date: Thu, 5 Oct 2017 04:50:12 +0000 (UTC) [thread overview]
Message-ID: <1507178719.2c1449122287b6b35ec924c2a22fd99da2aedb39.graaff@gentoo> (raw)
commit: 2c1449122287b6b35ec924c2a22fd99da2aedb39
Author: Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 5 04:44:27 2017 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Thu Oct 5 04:45:19 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c144912
dev-ruby/factory_girl: add 4.8.1
Package-Manager: Portage-2.3.8, Repoman-2.3.3
dev-ruby/factory_girl/Manifest | 1 +
dev-ruby/factory_girl/factory_girl-4.8.1.ebuild | 49 +++++++++++++++++++++++++
2 files changed, 50 insertions(+)
diff --git a/dev-ruby/factory_girl/Manifest b/dev-ruby/factory_girl/Manifest
index e016cc077a5..0f85c83abb1 100644
--- a/dev-ruby/factory_girl/Manifest
+++ b/dev-ruby/factory_girl/Manifest
@@ -1 +1,2 @@
DIST factory_girl-4.8.0.tar.gz 66025 SHA256 81149a7466ead3f3ecd5e9a4cecd19ca20646901669b2892a62413f54a24036b SHA512 c1e89b25c0dc3292b647179c3cfb487ae235d8049f936beb926c3799e0348ee66e4e6a5d3904fd1a11660477f4c2c993e5d2640a8f54f7cfc5779027d76cca61 WHIRLPOOL 075e04007a9e98c62ca09c4798cfd3dc3e1ebe7025d5b2ae1a2510f9d1a2d34ae9f9fbd56730c09757461d5c546f36517fb914c6c375bebb494409c8db268a4b
+DIST factory_girl-4.8.1.tar.gz 66262 SHA256 874255baaadcd8bedd289b3d8c39343f7ac228a6f43464e7f67f1085fabc6228 SHA512 2c27eaec8351b009bf200e10829128c5fd3e73b0383cebf7f3ccbe062ba362b29f25e5c054ed25245202c85c6ab60c637547a8f3719e2f079c86c83c30db48a0 WHIRLPOOL d3e702547015b75ce51295a1838c9aa757ee1a8c855498a8a0395258c05abba3f5a237a201aaf4e4cf371b9a71b8c5ff9362e0f605937bf9af1aba4b442bb633
diff --git a/dev-ruby/factory_girl/factory_girl-4.8.1.ebuild b/dev-ruby/factory_girl/factory_girl-4.8.1.ebuild
new file mode 100644
index 00000000000..936a4af3f63
--- /dev/null
+++ b/dev-ruby/factory_girl/factory_girl-4.8.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+USE_RUBY="ruby22 ruby23 ruby24"
+
+RUBY_FAKEGEM_RECIPE_DOC="yard"
+
+# Tests depend on unpackaged appraisal, for now we just run the specs
+# with the version of Rails that is installed.
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_EXTRADOC="GETTING_STARTED.md NEWS README.md"
+
+RUBY_FAKEGEM_EXTRAINSTALL="features"
+
+inherit ruby-fakegem
+
+DESCRIPTION="factory_girl provides a framework and DSL for defining and using factories"
+HOMEPAGE="https://github.com/thoughtbot/factory_girl"
+SRC_URI="https://github.com/thoughtbot/factory_girl/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/activesupport-3.0.0:*"
+
+ruby_add_bdepend "
+ test? (
+ >=dev-ruby/activerecord-3.1[sqlite]
+ dev-ruby/bourne
+ >=dev-ruby/mocha-0.12.8
+ dev-ruby/rspec-its
+ dev-ruby/timecop
+ )
+"
+
+all_ruby_prepare() {
+ # Avoid unneeded test dependencies
+ sed -i -e '/simplecov/ s:^:#:' \
+ -e '1irequire "fileutils"' spec/spec_helper.rb || die
+
+ # Avoid specs that may fail due to more strict rspec 2.99
+ # interpretation.
+ sed -i -e '/callbacks using syntax methods without referencing FactoryGirl explicitly/,/^end/ s:^:#:' spec/acceptance/callbacks_spec.rb || die
+}
next reply other threads:[~2017-10-05 4:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-05 4:50 Hans de Graaff [this message]
-- strict thread matches above, loose matches on Subject: below --
2019-05-04 18:32 [gentoo-commits] repo/gentoo:master commit in: dev-ruby/factory_girl/ Hans de Graaff
2019-04-11 18:29 Hans de Graaff
2017-12-09 7:55 Hans de Graaff
2017-08-27 6:18 Hans de Graaff
2017-08-27 6:18 Hans de Graaff
2016-12-19 6:48 Hans de Graaff
2016-07-02 5:50 Hans de Graaff
2016-04-05 5:08 Hans de Graaff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1507178719.2c1449122287b6b35ec924c2a22fd99da2aedb39.graaff@gentoo \
--to=graaff@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox