public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in dev-ruby/minitest: minitest-5.0.7.ebuild ChangeLog
@ 2013-09-07 11:27 Manuel Rueger (mrueg)
  0 siblings, 0 replies; 2+ messages in thread
From: Manuel Rueger (mrueg) @ 2013-09-07 11:27 UTC (permalink / raw
  To: gentoo-commits

mrueg       13/09/07 11:27:14

  Modified:             ChangeLog
  Added:                minitest-5.0.7.ebuild
  Log:
  Version bump.
  
  (Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key )

Revision  Changes    Path
1.128                dev-ruby/minitest/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/minitest/ChangeLog?rev=1.128&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/minitest/ChangeLog?rev=1.128&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/minitest/ChangeLog?r1=1.127&r2=1.128

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/minitest/ChangeLog,v
retrieving revision 1.127
retrieving revision 1.128
diff -u -r1.127 -r1.128
--- ChangeLog	18 Aug 2013 18:45:05 -0000	1.127
+++ ChangeLog	7 Sep 2013 11:27:14 -0000	1.128
@@ -1,6 +1,11 @@
 # ChangeLog for dev-ruby/minitest
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/minitest/ChangeLog,v 1.127 2013/08/18 18:45:05 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/minitest/ChangeLog,v 1.128 2013/09/07 11:27:14 mrueg Exp $
+
+*minitest-5.0.7 (07 Sep 2013)
+
+  07 Sep 2013; Manuel Rüger <mrueg@gentoo.org> +minitest-5.0.7.ebuild:
+  Version bump.
 
   18 Aug 2013; Hans de Graaff <graaff@gentoo.org> minitest-5.0.6.ebuild:
   Move minitest 5.x to a separate slot because rails will depend on a specific



1.1                  dev-ruby/minitest/minitest-5.0.7.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/minitest/minitest-5.0.7.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/minitest/minitest-5.0.7.ebuild?rev=1.1&content-type=text/plain

Index: minitest-5.0.7.ebuild
===================================================================
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-ruby/minitest/minitest-5.0.7.ebuild,v 1.1 2013/09/07 11:27:14 mrueg Exp $

EAPI=5
USE_RUBY="ruby18 ruby19 jruby"

RUBY_FAKEGEM_TASK_DOC="docs"

RUBY_FAKEGEM_DOCDIR="doc"
RUBY_FAKEGEM_EXTRADOC="History.txt Manifest.txt README.txt"

inherit ruby-fakegem

DESCRIPTION="minitest/unit is a small and fast replacement for ruby's huge and slow test/unit."
HOMEPAGE="https://github.com/seattlerb/minitest"

LICENSE="MIT"
SLOT="5"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc test"

ruby_add_bdepend "
	doc? ( dev-ruby/hoe dev-ruby/rdoc )
	test? ( dev-ruby/hoe )"

each_ruby_prepare() {
	case ${RUBY} in
		*jruby)
			# Make sure __jtrap is available in all threads. This should
			# be fixed in jruby 1.7.x
			sed -i -e '8i  trap :INFO do ; end' lib/minitest/parallel_each.rb || die

			# Avoid failures. Most of these look like low-level jruby
			# differences and it looks like these were not run properly
			# in previous versions.
			local command="/${t}/,/^  end/ s:^:#:"
			for t in test_return_mock_does_not_raise test_mock_args_does_not_raise test_stub_block test_stub_value ; do
				sed -i -e "${command}" test/minitest/test_minitest_mock.rb || die
			done
			for t in test_run_failing test_run_skip test_run_error test_run_skip_verbose test_run_error_teardown test_runnable_methods_random test_assert_throws_different test_to_s_error_in_test_and_teardown test_run_filtered_including_suite_name_string test_run_filtered_string_method_only test_run_filtered_including_suite_name ; do
				sed -i -e "${command}" test/minitest/test_minitest_unit.rb || die
			done
			for t in test_name2 "needs to verify throw" ; do
				sed -i -e "${command}" test/minitest/test_minitest_spec.rb || die
			done
			sed -i -e '/test_report_error/,/^  end/ s:^:#:' test/minitest/test_minitest_reporter.rb || die
			;;
	esac
}





^ permalink raw reply	[flat|nested] 2+ messages in thread

* [gentoo-commits] gentoo-x86 commit in dev-ruby/minitest: minitest-5.0.7.ebuild ChangeLog
@ 2013-09-09  1:06 Manuel Rueger (mrueg)
  0 siblings, 0 replies; 2+ messages in thread
From: Manuel Rueger (mrueg) @ 2013-09-09  1:06 UTC (permalink / raw
  To: gentoo-commits

mrueg       13/09/09 01:06:36

  Modified:             minitest-5.0.7.ebuild ChangeLog
  Log:
  Fix sed-calls for jruby.
  
  (Portage version: 2.2.1/cvs/Linux x86_64, signed Manifest commit with key )

Revision  Changes    Path
1.2                  dev-ruby/minitest/minitest-5.0.7.ebuild

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/minitest/minitest-5.0.7.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/minitest/minitest-5.0.7.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/minitest/minitest-5.0.7.ebuild?r1=1.1&r2=1.2

Index: minitest-5.0.7.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/minitest/minitest-5.0.7.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- minitest-5.0.7.ebuild	7 Sep 2013 11:27:14 -0000	1.1
+++ minitest-5.0.7.ebuild	9 Sep 2013 01:06:36 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/minitest/minitest-5.0.7.ebuild,v 1.1 2013/09/07 11:27:14 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/minitest/minitest-5.0.7.ebuild,v 1.2 2013/09/09 01:06:36 mrueg Exp $
 
 EAPI=5
 USE_RUBY="ruby18 ruby19 jruby"
@@ -34,14 +34,16 @@
 			# Avoid failures. Most of these look like low-level jruby
 			# differences and it looks like these were not run properly
 			# in previous versions.
-			local command="/${t}/,/^  end/ s:^:#:"
 			for t in test_return_mock_does_not_raise test_mock_args_does_not_raise test_stub_block test_stub_value ; do
+				local command="/${t}/,/^  end/ s:^:#:"
 				sed -i -e "${command}" test/minitest/test_minitest_mock.rb || die
 			done
 			for t in test_run_failing test_run_skip test_run_error test_run_skip_verbose test_run_error_teardown test_runnable_methods_random test_assert_throws_different test_to_s_error_in_test_and_teardown test_run_filtered_including_suite_name_string test_run_filtered_string_method_only test_run_filtered_including_suite_name ; do
+				command="/${t}/,/^  end/ s:^:#:"
 				sed -i -e "${command}" test/minitest/test_minitest_unit.rb || die
 			done
 			for t in test_name2 "needs to verify throw" ; do
+				command="/${t}/,/^  end/ s:^:#:"
 				sed -i -e "${command}" test/minitest/test_minitest_spec.rb || die
 			done
 			sed -i -e '/test_report_error/,/^  end/ s:^:#:' test/minitest/test_minitest_reporter.rb || die



1.129                dev-ruby/minitest/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/minitest/ChangeLog?rev=1.129&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/minitest/ChangeLog?rev=1.129&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/minitest/ChangeLog?r1=1.128&r2=1.129

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-ruby/minitest/ChangeLog,v
retrieving revision 1.128
retrieving revision 1.129
diff -u -r1.128 -r1.129
--- ChangeLog	7 Sep 2013 11:27:14 -0000	1.128
+++ ChangeLog	9 Sep 2013 01:06:36 -0000	1.129
@@ -1,6 +1,9 @@
 # ChangeLog for dev-ruby/minitest
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/minitest/ChangeLog,v 1.128 2013/09/07 11:27:14 mrueg Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/minitest/ChangeLog,v 1.129 2013/09/09 01:06:36 mrueg Exp $
+
+  09 Sep 2013; Manuel Rüger <mrueg@gentoo.org> minitest-5.0.7.ebuild:
+  Fix sed-calls for jruby.
 
 *minitest-5.0.7 (07 Sep 2013)
 





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-09-09  1:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-07 11:27 [gentoo-commits] gentoo-x86 commit in dev-ruby/minitest: minitest-5.0.7.ebuild ChangeLog Manuel Rueger (mrueg)
  -- strict thread matches above, loose matches on Subject: below --
2013-09-09  1:06 Manuel Rueger (mrueg)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox