diff options
Diffstat (limited to 'dev-util/cucumber-rails')
-rw-r--r-- | dev-util/cucumber-rails/ChangeLog | 10 | ||||
-rw-r--r-- | dev-util/cucumber-rails/Manifest | 10 | ||||
-rw-r--r-- | dev-util/cucumber-rails/cucumber-rails-0.2.3-r1.ebuild | 36 | ||||
-rw-r--r-- | dev-util/cucumber-rails/files/cucumber-rails-0.2.3-fix-broken-logic.patch | 24 |
4 files changed, 75 insertions, 5 deletions
diff --git a/dev-util/cucumber-rails/ChangeLog b/dev-util/cucumber-rails/ChangeLog index 6a27757f421e..f24a980f79e4 100644 --- a/dev-util/cucumber-rails/ChangeLog +++ b/dev-util/cucumber-rails/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-util/cucumber-rails # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/cucumber-rails/ChangeLog,v 1.3 2010/01/03 15:27:13 graaff Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/cucumber-rails/ChangeLog,v 1.4 2010/01/15 09:57:37 graaff Exp $ + +*cucumber-rails-0.2.3-r1 (15 Jan 2010) + + 15 Jan 2010; Hans de Graaff <graaff@gentoo.org> + +cucumber-rails-0.2.3-r1.ebuild, + +files/cucumber-rails-0.2.3-fix-broken-logic.patch: + Add patch already applied upstream to make scenarios without transactions + work again. *cucumber-rails-0.2.3 (03 Jan 2010) diff --git a/dev-util/cucumber-rails/Manifest b/dev-util/cucumber-rails/Manifest index 8733aa4efd4f..3a94486b21ca 100644 --- a/dev-util/cucumber-rails/Manifest +++ b/dev-util/cucumber-rails/Manifest @@ -1,18 +1,20 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX cucumber-rails-0.2.3-fix-broken-logic.patch 1062 RMD160 763adf14f18fc825d3716c4f36e885087927abf9 SHA1 64eea436ecad53bd551f8389817e62d33f8157bb SHA256 63064ad05a97b4c7b43f33f416258ab48530a962494e17828d2162c26177de02 DIST cucumber-rails-0.2.1.gem 19968 RMD160 6dd6e4ef36069de93ff469f9b79625fb57341d4c SHA1 9aaa012dd9880e63567541d06b568d5c32b633eb SHA256 1e71d424ad96724caed4cfcf886940462f7b9d538527bb2bbadba14b3ffc493b DIST cucumber-rails-0.2.2.gem 20480 RMD160 e9139fb2ce515efa6f189b9ff3aba7dac4adc3e4 SHA1 77f8bad3914cb5f35e676acd8c45899fb7350f0f SHA256 fae1813028675a4dc13d900ef062501f8f5c0411846bad0f381260433704195a DIST cucumber-rails-0.2.3.gem 21504 RMD160 e10ef137a70bb82d82245c060b11f82cd2905d56 SHA1 d769f29c2ab4944eef9783d3ffd45ba268a3a9e5 SHA256 797ffe08df2003bada64ee66efe0f415d3814dddde7e4f46b47ce8637b9f9e73 EBUILD cucumber-rails-0.2.1.ebuild 779 RMD160 28ee78a9b804cec4215cd426155a5d11501b662d SHA1 cb4c71b8e866fc35f0d93b501bd2fb64c23b15a8 SHA256 20e1cf524cc08592d1d66275e4e1b84645efbe9de129a571c2bb87f6ec5b94c4 EBUILD cucumber-rails-0.2.2.ebuild 779 RMD160 3ca2103257e80e3daa75c755a291852414495caf SHA1 e6161e44208254d49152aa8682a4bff648d2ba41 SHA256 cb5dcf9d5b27bba6c891a0087e1ba45941f097b6cd619105dba7638d41c5c0bc +EBUILD cucumber-rails-0.2.3-r1.ebuild 830 RMD160 7a81aeee566995a58437aefd0d493b2915f1c320 SHA1 cb06788c6808cdba8292e7a5e9b86404f7865eb9 SHA256 49716bbfd00c8fc302499cc84fa83c8e8a104cf19b646420be67dd796d5d8677 EBUILD cucumber-rails-0.2.3.ebuild 779 RMD160 34ea8122c1d23b35c999e14ec2ee0eef3eaa5256 SHA1 9ce9c41e95131e6a0635a48162c88ef24fc9d969 SHA256 75aceebe59d5e58a1404e01395550eaba1c4a27e6945b0c2f5ae2725bc8c392e -MISC ChangeLog 714 RMD160 15692a39b6fa0b8b2b455ccc8677982a43bdb3fd SHA1 d715f1f3cb48eeeb95a228f42af4f48c13334284 SHA256 e3849c9cad273b6015a6a4df28f3698a3660c084920e3c7a57d3c46ae5f729d6 +MISC ChangeLog 984 RMD160 b25b4d8ddf8c9b4a7e09249f64640e8c02c595cb SHA1 c76f12b16c45293afa99747e5049cd61ad116498 SHA256 2ec4eb7f6de15bd60c08b549bc9eaba854f08bb45a9a441cc8406307ba1027d8 MISC metadata.xml 222 RMD160 c395116c51764efaa671a0f89a7d8992ecbe7304 SHA1 2095e0ced2657346964271e45cc69027b0ccd49d SHA256 0adb6b2a2a8cc78f3d28b8b629db9d9e5731f21da86168ae88eeadc8b82d3225 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) -iEYEARECAAYFAktAt1oACgkQeM7EJeUH71MMAwCdGXsVv0kO1kUWLK3YpzvMZrLx -P14An1CM1e9PJ+MFDtHIMdISwVdn45qD -=TepO +iEYEARECAAYFAktQPBsACgkQeM7EJeUH71OlfACbBijysjmcHJMeE8lmjzLOb/U/ +rOgAoIDRXKxDuX1Q7+TIIgZVkt+39mHB +=XInr -----END PGP SIGNATURE----- diff --git a/dev-util/cucumber-rails/cucumber-rails-0.2.3-r1.ebuild b/dev-util/cucumber-rails/cucumber-rails-0.2.3-r1.ebuild new file mode 100644 index 000000000000..58cfd55d9066 --- /dev/null +++ b/dev-util/cucumber-rails/cucumber-rails-0.2.3-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-util/cucumber-rails/cucumber-rails-0.2.3-r1.ebuild,v 1.1 2010/01/15 09:57:37 graaff Exp $ + +EAPI=2 +USE_RUBY="ruby18" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_TASK_TEST="-f tasks/rspec.rake spec" +RUBY_FAKEGEM_EXTRAINSTALL="generators" + +inherit ruby-fakegem + +DESCRIPTION="Executable feature scenarios for Rails" +HOMEPAGE="http://github.com/aslakhellesoy/cucumber/wikis" +LICENSE="Ruby" + +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="" + +RUBY_PATCHES=( "${P}-fix-broken-logic.patch" ) + +ruby_add_bdepend test dev-ruby/rspec + +ruby_add_rdepend ">=dev-util/cucumber-0.5.1" + +each_ruby_install() { + each_fakegem_install + + ruby_fakegem_doins VERSION +} + +all_ruby_install() { + dodoc History.txt README.rdoc +} diff --git a/dev-util/cucumber-rails/files/cucumber-rails-0.2.3-fix-broken-logic.patch b/dev-util/cucumber-rails/files/cucumber-rails-0.2.3-fix-broken-logic.patch new file mode 100644 index 000000000000..033a741e85a6 --- /dev/null +++ b/dev-util/cucumber-rails/files/cucumber-rails-0.2.3-fix-broken-logic.patch @@ -0,0 +1,24 @@ +commit 38e7cf431da7935abf22d1bf3df2416f999fd070 +Author: Michael MacDonald <michaelm@amc.org.au> +Date: Thu Jan 7 10:01:47 2010 +1100 + + Bugfix: Update Before hooks for using transactional fixtures with switch in behaviour of tags with Cucumber 0.6.0. Closes #6. + +diff --git a/lib/cucumber/rails/active_record.rb b/lib/cucumber/rails/active_record.rb +index c8e0479..466031d 100644 +--- a/lib/cucumber/rails/active_record.rb ++++ b/lib/cucumber/rails/active_record.rb +@@ -3,11 +3,11 @@ if defined?(ActiveRecord::Base) + $__cucumber_global_use_txn = !!Cucumber::Rails::World.use_transactional_fixtures if $__cucumber_global_use_txn.nil? + end + +- Before('~@no-txn', '~@selenium', '~@culerity', '~@javascript') do ++ Before('~@no-txn,~@selenium,~@culerity,~@javascript') do + Cucumber::Rails::World.use_transactional_fixtures = $__cucumber_global_use_txn + end + +- Before('@no-txn', '@selenium', '@culerity', '@javascript') do ++ Before('@no-txn,@selenium,@culerity,@javascript') do + Cucumber::Rails::World.use_transactional_fixtures = false + end + |