diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-03-08 01:56:25 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2012-03-08 01:56:25 +0000 |
commit | 2460a712661ea2cf02a709a7327127ba9f0fdbfc (patch) | |
tree | 7d2c4bb6375f1e56fb9d6cc9ddae7f6a7e3bc6c9 /dev-ruby | |
parent | version bump for bug #406887 (diff) | |
download | historical-2460a712661ea2cf02a709a7327127ba9f0fdbfc.tar.gz historical-2460a712661ea2cf02a709a7327127ba9f0fdbfc.tar.bz2 historical-2460a712661ea2cf02a709a7327127ba9f0fdbfc.zip |
Version bump.
Package-Manager: portage-2.2.0_alpha90/cvs/Linux x86_64
Diffstat (limited to 'dev-ruby')
-rw-r--r-- | dev-ruby/mongoid/ChangeLog | 7 | ||||
-rw-r--r-- | dev-ruby/mongoid/Manifest | 14 | ||||
-rw-r--r-- | dev-ruby/mongoid/mongoid-2.4.6.ebuild | 77 |
3 files changed, 86 insertions, 12 deletions
diff --git a/dev-ruby/mongoid/ChangeLog b/dev-ruby/mongoid/ChangeLog index 1bda9dabcbb2..9bce017fe4bb 100644 --- a/dev-ruby/mongoid/ChangeLog +++ b/dev-ruby/mongoid/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/mongoid # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mongoid/ChangeLog,v 1.7 2012/02/22 23:56:43 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mongoid/ChangeLog,v 1.8 2012/03/08 01:56:25 flameeyes Exp $ + +*mongoid-2.4.6 (08 Mar 2012) + + 08 Mar 2012; Diego E. Pettenò <flameeyes@gentoo.org> +mongoid-2.4.6.ebuild: + Version bump. *mongoid-2.4.5 (22 Feb 2012) diff --git a/dev-ruby/mongoid/Manifest b/dev-ruby/mongoid/Manifest index 41c9dbeaaa56..e4ebd1855fe7 100644 --- a/dev-ruby/mongoid/Manifest +++ b/dev-ruby/mongoid/Manifest @@ -1,17 +1,9 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX mongoid-2.4.5-gentoo.patch 1203 RMD160 87999193a3316f1f1f6f8696163364fdf467ea0d SHA1 86c88ed5fb7b6bcab432ccabfea3dc41c2becfff SHA256 a7756f68450c51b1407d784616cc821ad08d26b3eaec74e062d15e2060d041a6 DIST mongoid-2.4.4.tar.gz 355335 RMD160 79df645eba21a5da93609c2cd5c507557093ec46 SHA1 00d8dbe0df78571dde62af1fae935b6a98027dc0 SHA256 b4776e37b1550448203e1e70d676c991b1e6e5ec77ece2c6f578a31f2bee6939 DIST mongoid-2.4.5.tar.gz 356386 RMD160 cc4e78af1d11167ff70f6fde6f4ef75d90f377c8 SHA1 14f703d52ab2036161117e1daa02d7ecdff28789 SHA256 8faeaf0f2adc435f0b45fe9b0a2868f344a60e8543ec95fd6724eae96feead2b +DIST mongoid-2.4.6.tar.gz 357290 RMD160 0ea0ce89680f9c5205584f9fe22f1cc27de8ec81 SHA1 a7b2ff503155105e3a9ca69f771f71da022e61d0 SHA256 97fbda23da25fb6a708a579e34f580ab3b567169ad83ed126172501707f5cb30 EBUILD mongoid-2.4.4.ebuild 1900 RMD160 6461382fad51d05e99161044d1bcd73723679937 SHA1 3a28fa40261d06b4610e4074ab6f21d04f69e138 SHA256 430fc03ea709022ba540c33f88da08af266d43eb58ea252fda88e7554a578512 EBUILD mongoid-2.4.5.ebuild 1941 RMD160 9ed077f34eea10f5ee5752e1f1de1ed1433bbb29 SHA1 727cd9d2b7042993ea223360ba30dbee3bf34bff SHA256 90a185574113dd9d3459e829b8c01577d5d5087567909283b844e8fb10d60731 -MISC ChangeLog 1434 RMD160 60b7c4b92f7889fca4bb8018a49b9dce16b600a1 SHA1 853e27c52fa8627ab9acdf5a5ba49062e3786af8 SHA256 d8800e1e8bb6d5965b40048f3680c7901774dfbb46034c4984b795d8bf900ff5 +EBUILD mongoid-2.4.6.ebuild 1962 RMD160 0e59e129ce10a518f9a41cbf56981cf3a1c0051e SHA1 d9e77f6de2aaa296b3aba677957fa49b36ee0207 SHA256 992c64f539fa818aa87933465435ab3345890e2ec3975d259228ee8595c5cb32 +MISC ChangeLog 1560 RMD160 d44d99e0fbe2d722479868c1f36bae569ca1662a SHA1 19bb7b0ef983c8a51fc29e8ff33e1d382c0ef05f SHA256 612a6157875023750300c81d7e93cd60c8e99c058de0a12d5c5ae704b870a837 MISC metadata.xml 157 RMD160 5d9e2c7ecba96ffebd936d38acedf859cdea84e1 SHA1 8ce15dcc608eeb5616aeec610dc695cbe6f93e02 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.18 (GNU/Linux) - -iEYEARECAAYFAk9FgH8ACgkQAiZjviIA2XhyCgCghLhhVhzldYCdm4DuO4yO5Hnf -2y4Ani66ObSnSYOcKShTE60/3hnN7xOu -=NXuf ------END PGP SIGNATURE----- diff --git a/dev-ruby/mongoid/mongoid-2.4.6.ebuild b/dev-ruby/mongoid/mongoid-2.4.6.ebuild new file mode 100644 index 000000000000..068a5e80bc09 --- /dev/null +++ b/dev-ruby/mongoid/mongoid-2.4.6.ebuild @@ -0,0 +1,77 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mongoid/mongoid-2.4.6.ebuild,v 1.1 2012/03/08 01:56:25 flameeyes Exp $ + +EAPI=4 +USE_RUBY="ruby18" + +#RUBY_FAKEGEM_TASK_DOC="" +# functional testing crashes Ruby from within Portage, but works +# outside of it, needs to be investigated thoroughly, but at least +# unit testing works. +RUBY_FAKEGEM_TASK_TEST="spec:unit spec:functional" + +RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +GITHUB_USER="${PN}" +GITHUB_PROJECT="${PN}" +RUBY_S="${GITHUB_USER}-${GITHUB_PROJECT}-*" + +inherit ruby-fakegem + +DESCRIPTION="ODM (Object Document Mapper) Framework for MongoDB" +HOMEPAGE="http://mongoid.org/" +SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/tarball/v${PV} -> ${GITHUB_PROJECT}-${PV}.tar.gz" +LICENSE="MIT" + +SLOT="0" +KEYWORDS="~amd64" +IUSE="test" + +ruby_add_rdepend " + >=dev-ruby/activemodel-3.1 + >=dev-ruby/mongo-1.6 + >=dev-ruby/tzinfo-0.3.22 +" + +ruby_add_bdepend " + test? ( + dev-ruby/ammeter + dev-ruby/mocha + dev-ruby/rdoc + dev-ruby/rspec + dev-util/watchr + )" + +DEPEND+=" test? ( dev-db/mongodb )" + +all_ruby_prepare() { + # remove references to bundler, as the gemfile does not add anything + # we need to care about. + sed -i -e '/[bB]undler/d' Rakefile || die + # remove the Gemfile as well or it'll try to load it during testing + rm Gemfile || die + + #epatch "${FILESDIR}"/${PN}-2.4.5-gentoo.patch +} + +each_ruby_test() { + mkdir "${T}/mongodb_$(basename $RUBY)" + mongod --port 27017 --dbpath "${T}/mongodb_$(basename $RUBY)" \ + --noprealloc --noauth --nohttpinterface --nounixsocket --nojournal \ + --bind_ip 127.255.255.254 & + mongod_pid=$! + failed=0 + + sleep 2 + + export MONGOID_SPEC_HOST="127.255.255.254" + export MONGOID_SPEC_PORT="27017" + + ${RUBY} -S rake ${RUBY_FAKEGEM_TASK_TEST} || failed=1 + kill "${mongod_pid}" + + [[ "${failed}" == "1" ]] && die "tests failed" +} |