summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2015-03-08 10:17:29 +0000
committerHans de Graaff <graaff@gentoo.org>2015-03-08 10:17:29 +0000
commitb1a4645e164b5d648b12c6d555d84ed439037093 (patch)
tree720fc4467d4c55d712152a7dea9844a2766d3019 /dev-ruby/mongoid
parentMigrated from java-overlay. (diff)
downloadhistorical-b1a4645e164b5d648b12c6d555d84ed439037093.tar.gz
historical-b1a4645e164b5d648b12c6d555d84ed439037093.tar.bz2
historical-b1a4645e164b5d648b12c6d555d84ed439037093.zip
Version bump.
Package-Manager: portage-2.2.14/cvs/Linux x86_64 Manifest-Sign-Key: 0x8883FA56A308A8D7!
Diffstat (limited to 'dev-ruby/mongoid')
-rw-r--r--dev-ruby/mongoid/ChangeLog9
-rw-r--r--dev-ruby/mongoid/Manifest14
-rw-r--r--dev-ruby/mongoid/mongoid-2.8.1.ebuild81
3 files changed, 101 insertions, 3 deletions
diff --git a/dev-ruby/mongoid/ChangeLog b/dev-ruby/mongoid/ChangeLog
index d0379f3d622a..16f99c1ffe20 100644
--- a/dev-ruby/mongoid/ChangeLog
+++ b/dev-ruby/mongoid/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/mongoid
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mongoid/ChangeLog,v 1.13 2014/05/26 05:30:14 mrueg Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mongoid/ChangeLog,v 1.14 2015/03/08 10:17:21 graaff Exp $
+
+*mongoid-2.8.1 (08 Mar 2015)
+
+ 08 Mar 2015; Hans de Graaff <graaff@gentoo.org> +mongoid-2.8.1.ebuild:
+ Version bump.
26 May 2014; Manuel Rüger <mrueg@gentoo.org> mongoid-2.4.10.ebuild,
mongoid-2.4.9.ebuild:
diff --git a/dev-ruby/mongoid/Manifest b/dev-ruby/mongoid/Manifest
index 71acf7a96db3..7b431dc8c84a 100644
--- a/dev-ruby/mongoid/Manifest
+++ b/dev-ruby/mongoid/Manifest
@@ -1,7 +1,19 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX mongoid-2.4.5-gentoo.patch 1203 SHA256 a7756f68450c51b1407d784616cc821ad08d26b3eaec74e062d15e2060d041a6 SHA512 5dee4f5c64d3984125e730b6f74abf4038ae8d65ce92acd8a6e9a82735dbf626b96d473bfa38159311b7ec830e9a02e7ed4c24a517cec34dd2dffb3ac59497da WHIRLPOOL 4835a945ee6ee5f934eeee0194412f92f89084ee7bf1fdc40947537635a87e0df8fd21ece351be9e550088c6bad052ebe6cef5cdb1647bfdbe00cd43072570f3
DIST mongoid-2.4.10.tar.gz 363928 SHA256 6570f81408fe71a747a76f77ba8106c94b1e79567c31952da4353e116df78e24 SHA512 8e3360fdffa09e0ae31377949d1ebadc58cbb761ce8b0ceb6944031dfb057e8e190df4c5ed025388adf385e41825d9ba1bbaab7476448e809956d16318ec42c4 WHIRLPOOL b24d2ad5d741c87ceb87c45cf6bc605a88f8559b690650ade52307446f81cf02099f95dfff0984137cefd97756ff3879ed042912520ff70de92a2dd87ea39e6f
DIST mongoid-2.4.9.tar.gz 361699 SHA256 87d1f1b85dc2b7b2a7a9fc9b13fff44588d7ff9e4136d3be65029d318d93312c SHA512 a133358ac488affd34be7d9aa7dd543fa25a2e45665cddd0c4977c83db9b8f19be6ba86a372960328b826e7c90a921adbc251454dd9d13e9c1d5ca53dd4de059 WHIRLPOOL 1a7eeb9c0fef76728c9bdd0a1d64fde874993ea9d66472892db8c0d115c84e3fe7ae0583ceb371f02ad7d124b73d79e506d92baa00b3c107ab22ea57503521da
+DIST mongoid-2.8.1.tar.gz 367336 SHA256 76289084e680fe4ba476112eadda9dac0212a28e169023e84788db8a56494305 SHA512 cdd7e92722a5451c8d9ef0a21b7176446f9d6f41f42f62e0f91006feb6217a4a5c3bf2b193ee57d196aef2a61dc13b50cd76c35da295140abc4a7136d02eda81 WHIRLPOOL b4bc238ef853b1bc8dd42169f1075bd75f6f10fbe02c41aedf93901cb66d79527d6815c8934da2738f8f82ff24081995f6487fc4959888b25014f25509110dd6
EBUILD mongoid-2.4.10.ebuild 1959 SHA256 e79f2bb08c33bbc27733128296a02684416cb7a0424036cf2ec1e1f19dca0bfd SHA512 6f0bead6e9ac100213fe8aa38d8ac49d72ff120857d140d482500ecb1f8ba44b9ebe556e2168dc850cfbf21548282c5a456630e7d7b4b70f8bdbbd7d9abae6df WHIRLPOOL 1f294639051fe137976ca3757d506aba5a48603023cf54a30242e7546da88ea0171a0c79aeb5091a8dafc96ec8c57af6ff1aa8ba11f3aaa5865049a294788eb9
EBUILD mongoid-2.4.9.ebuild 1958 SHA256 afac8e66dd8620624f19bc5c5a2b392f58db17846b0ba0c15871507baeb0c615 SHA512 634e98e459a3cb01ff76a314bc096fd249b4228329a5921e08fb1785fba8cc8a28a86bd874d80066408c961661bc9e3a8747702878eb047ad1c76588259c6689 WHIRLPOOL df2bd923dc60d203a60bbfdf50f7df86243513d1ab169e63106c06fac680260692eba7d857e5e169ea37983f11112ecd371647471c8b979e7bbb5462262fff47
-MISC ChangeLog 2284 SHA256 fe801e9b1e2ea361a4f0380b61353a09f19db151a4aee324b695cde386b5f9dc SHA512 760bbae2ca5d1b1758771cfb9603ea23fee408be516d26dc1cb678ae0117498e3c592d55950c51dad815a6590060f6a2084a3c5c99b7720fc9b98d7685ef93c1 WHIRLPOOL ea0857f8637281c267fc5b7045508a44152cf29623c2d8ea75279e1be21e5de66c66ef3c1ab5bd2f830ac1ca437b72a93b29560493da28d890d4c5276ad3dbcf
+EBUILD mongoid-2.8.1.ebuild 2301 SHA256 50872962190ad4cb1735b96f51f2492ff1ae260e9873922b73ae47bc1b872b52 SHA512 3846bb188f9e17762ddb3d75e85d1bbbff6d926a5d5fdaa8135e51afa0a7344a39baa4ba029ca8e95341e2baa75d5d5ef3da8062ad6d65a805749d2a7441faac WHIRLPOOL b130bb58b0cfea80e7c28f5366ec3a243276ca0541d3280b1ece41a52ce64ac6134ab56e216218bf04a0dd0500f4ae2d1785c63e79b8d32d92fcc703212ed223
+MISC ChangeLog 2405 SHA256 7e71a7131e65ac1a327e319217222b057ef5966b23d58aaa1c4c1a8a947138ec SHA512 7bbba931b7c2a9d0be98c396a521f8e51f987a8b58edd4a723bf6b71c1f50339cef6fe2880df4bb8c0c7e63d75e906a7254326d317033fd7f2d9d5efa7e1ebad WHIRLPOOL 8affab8a653ba4ca469e944a1a904c0db1c3f3f1247f5cdd93ce48de5f3d7cde616af58c3f123061fe41e3ecf8c570dcf7d4594682f8fa08c7ed66969bc440cc
MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2
+
+iF4EAREIAAYFAlT8IbkACgkQiIP6VqMIqNf5jAD/e0sIw6AM9wox2hTEmtgiO83u
+VOaV+EZZp0QO8qOXyYkA/13ui19si0IOHXB81Zpe8XMrnYjx12ljwk7tN6lXsG01
+=nXRT
+-----END PGP SIGNATURE-----
diff --git a/dev-ruby/mongoid/mongoid-2.8.1.ebuild b/dev-ruby/mongoid/mongoid-2.8.1.ebuild
new file mode 100644
index 000000000000..04239a478be4
--- /dev/null
+++ b/dev-ruby/mongoid/mongoid-2.8.1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/mongoid/mongoid-2.8.1.ebuild,v 1.1 2015/03/08 10:17:21 graaff Exp $
+
+EAPI=5
+USE_RUBY="ruby20 ruby21"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+# 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_RECIPE_TEST="rspec"
+
+RUBY_FAKEGEM_EXTRADOC="README.md CHANGELOG.md"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+GITHUB_USER="${PN}"
+GITHUB_PROJECT="${PN}"
+
+inherit ruby-fakegem
+
+DESCRIPTION="ODM (Object Document Mapper) Framework for MongoDB"
+HOMEPAGE="http://two.mongoid.org/"
+SRC_URI="https://github.com/${GITHUB_USER}/${GITHUB_PROJECT}/archive/v${PV}.tar.gz -> ${GITHUB_PROJECT}-${PV}.tar.gz"
+LICENSE="MIT"
+
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+
+ruby_add_rdepend "
+ >=dev-ruby/activemodel-3.1 =dev-ruby/activemodel-3*
+ >=dev-ruby/mongo-1.9:0
+ >=dev-ruby/tzinfo-0.3.22:0
+"
+
+ruby_add_bdepend "
+ test? (
+ dev-ruby/bundler
+ dev-ruby/ammeter
+ dev-ruby/mocha:0.11
+ dev-ruby/rdoc
+ dev-ruby/rspec
+ dev-util/watchr
+ )"
+
+DEPEND+=" test? ( dev-db/mongodb )"
+
+all_ruby_prepare() {
+ # Remove unsupported development dependencies and fix versions.
+ sed -i -e '/\(guard-rspec\|rb-fsevent\)/ s:^:#:' \
+ -e '/mocha/ s/= 0.11/~> 0.11.0/' mongoid.gemspec || die
+
+ # Avoid specs tied to localhost
+ rm spec/functional/mongoid/config/{database,replset_database}_spec.rb || die
+
+ # Avoid some failing specs that should be investigated later
+ sed -i -e '/sets the capped size/,/end/ s:^:#:' spec/functional/mongoid/collection_spec.rb || die
+ sed -i -e '/.from_hash/,/^ end/ s:^:#:' spec/functional/mongoid/config_spec.rb || die
+ rm spec/functional/mongoid/persistence_spec.rb || die
+}
+
+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 bundle exec rspec-2 --format progress spec || failed=1
+ kill "${mongod_pid}"
+
+ [[ "${failed}" == "1" ]] && die "tests failed"
+}