summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-04-19 18:59:42 +0000
committerHans de Graaff <graaff@gentoo.org>2015-04-19 18:59:42 +0000
commit771f26be41444beaeb0531418a93e38620c03487 (patch)
tree5b16c3f54a843dcf66753bbd511bf1b77b1ed24b /dev-ruby/flexmock
parentCreate stable candidate. (diff)
downloadgentoo-2-771f26be41444beaeb0531418a93e38620c03487.tar.gz
gentoo-2-771f26be41444beaeb0531418a93e38620c03487.tar.bz2
gentoo-2-771f26be41444beaeb0531418a93e38620c03487.zip
Create stable candidate.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
Diffstat (limited to 'dev-ruby/flexmock')
-rw-r--r--dev-ruby/flexmock/ChangeLog8
-rw-r--r--dev-ruby/flexmock/flexmock-1.3.3-r1.ebuild33
-rw-r--r--dev-ruby/flexmock/flexmock-1.3.3.ebuild4
3 files changed, 42 insertions, 3 deletions
diff --git a/dev-ruby/flexmock/ChangeLog b/dev-ruby/flexmock/ChangeLog
index 0b5a0a2aa50c..1779555c8657 100644
--- a/dev-ruby/flexmock/ChangeLog
+++ b/dev-ruby/flexmock/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-ruby/flexmock
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/ChangeLog,v 1.41 2015/03/20 13:56:41 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/ChangeLog,v 1.42 2015/04/19 18:59:42 graaff Exp $
+
+*flexmock-1.3.3-r1 (19 Apr 2015)
+
+ 19 Apr 2015; Hans de Graaff <graaff@gentoo.org> flexmock-1.3.3.ebuild,
+ +flexmock-1.3.3-r1.ebuild:
+ Create stable candidate.
20 Mar 2015; Hans de Graaff <graaff@gentoo.org> flexmock-1.3.3.ebuild:
Document problems with ruby22.
diff --git a/dev-ruby/flexmock/flexmock-1.3.3-r1.ebuild b/dev-ruby/flexmock/flexmock-1.3.3-r1.ebuild
new file mode 100644
index 000000000000..2414eedbaebb
--- /dev/null
+++ b/dev-ruby/flexmock/flexmock-1.3.3-r1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/flexmock-1.3.3-r1.ebuild,v 1.1 2015/04/19 18:59:42 graaff Exp $
+
+EAPI=5
+# ruby22 -> fails specs
+USE_RUBY="ruby19 ruby20 ruby21"
+
+RUBY_FAKEGEM_DOCDIR="html"
+RUBY_FAKEGEM_EXTRADOC="CHANGES README.md doc/*.rdoc doc/releases/*"
+
+RUBY_FAKEGEM_RECIPE_TEST="none"
+RUBY_FAKEGEM_RECIPE_DOC="none"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Simple mock object library for Ruby unit testing"
+HOMEPAGE="https://github.com/jimweirich/flexmock"
+
+LICENSE="flexmock"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+ruby_add_bdepend "
+ test? (
+ dev-ruby/rspec:2
+ )"
+
+each_ruby_test() {
+ ruby-ng_rspec test/rspec_integration
+ ${RUBY} -S testrb -Ilib:. test/*_test.rb || die
+}
diff --git a/dev-ruby/flexmock/flexmock-1.3.3.ebuild b/dev-ruby/flexmock/flexmock-1.3.3.ebuild
index 12468c485784..0fb878580a46 100644
--- a/dev-ruby/flexmock/flexmock-1.3.3.ebuild
+++ b/dev-ruby/flexmock/flexmock-1.3.3.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/flexmock-1.3.3.ebuild,v 1.5 2015/03/20 13:56:41 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/flexmock/flexmock-1.3.3.ebuild,v 1.6 2015/04/19 18:59:42 graaff Exp $
EAPI=5
# ruby22 -> fails specs
-USE_RUBY="ruby19 ruby20 ruby21"
+USE_RUBY="ruby19 ruby20"
RUBY_FAKEGEM_DOCDIR="html"
RUBY_FAKEGEM_EXTRADOC="CHANGES README.md doc/*.rdoc doc/releases/*"