diff options
Diffstat (limited to 'dev-ruby/database_cleaner')
6 files changed, 0 insertions, 133 deletions
diff --git a/dev-ruby/database_cleaner/Manifest b/dev-ruby/database_cleaner/Manifest deleted file mode 100644 index 30ff1aee20f1..000000000000 --- a/dev-ruby/database_cleaner/Manifest +++ /dev/null @@ -1,7 +0,0 @@ -AUX database_cleaner-1.6.2-table-quote.patch 1721 BLAKE2B ecf7b79cd6205b2977eb2316ffa7302f35800dfc12f115c308df424cd6b30c62f2ff649214e50189def8cb516916ccec840e301fc337c2ad72bc3f3b24dc3187 SHA512 d8b3aa504c3da30518b74600d2c1482cd3335674cdf1066d280a81848c77d3ca6aaf1a56cbb68736e6d8065e368d6a72b5a2ed711bb1509b2e2b0607258678f2 -DIST database_cleaner-1.6.2.gem 53760 BLAKE2B f36c8d4d020dd6aa7a170d2a01a4daf9413aeb41747649c862ae864d5c18ee17d16630688486d2c9b643390828f08ab7a53b2e92c752c8b73c7f4389529268ac SHA512 b28c622d6792517bf013783007829868faf68502a47d4d1bd029f627d6594edfd1f3c53533daeb2c84bae3c97d76bea8a68699531dc908661e326ecca8f2644b -DIST database_cleaner-1.7.0.gem 32256 BLAKE2B 496a1f02bb34aa2210e91367ade3575884e5c68ed18d1ba076fe8a5a7b0c5303a8acedec198a3de4adeb8f85cb2147d1c1d3c1f7badfb890ca1c7df8ecd7eae7 SHA512 4bdf6c66a0530a65ce2c746ff5190ef0aa42ab3d3ed787fbfe9c00de99d7ba816de3b6ad11cbaf4887760b9a19178f9968b8d604bc023dce83ec9ef748c0e336 -EBUILD database_cleaner-1.6.2-r1.ebuild 621 BLAKE2B ad312f4ce3f8efe62f479beddd80c14bbd95e5480196ce55afa1e63f83d6ca6a43d294240847aba6fbaae68bd09d1a2bb1b48981ca4ddf31ca463c89b7fc5f9a SHA512 14e72b46ee84fee2a90ae129ff3909f8fa55436623a8dee816b7a2ed8e31185b700f6851f83d98c44118f6662e5f461ffd197cc66326b90e8df1b2f5e97475bb -EBUILD database_cleaner-1.6.2.ebuild 571 BLAKE2B 3a16d1c4c08a510c3d12f243420497a295eb5c3bc696a14a803fc9137e03d3a445448c4ca7b08ab9a853fb83de1c9c7df7c6afdf762e4e13dd43e583f8ff5408 SHA512 9688c6f8a2b50858d0b93d3d889340cea57388a712a8be85493bf316500870426a1e056c2f0931dde170c3f6bb61b60d77afc5774162c328e0eafe752dbb6f57 -EBUILD database_cleaner-1.7.0.ebuild 571 BLAKE2B 3a16d1c4c08a510c3d12f243420497a295eb5c3bc696a14a803fc9137e03d3a445448c4ca7b08ab9a853fb83de1c9c7df7c6afdf762e4e13dd43e583f8ff5408 SHA512 9688c6f8a2b50858d0b93d3d889340cea57388a712a8be85493bf316500870426a1e056c2f0931dde170c3f6bb61b60d77afc5774162c328e0eafe752dbb6f57 -MISC metadata.xml 463 BLAKE2B aa54e63c2fc7cfa83a048cc9f70789185c9cf4836f47b751b6c48035499cf65abed563b17ad84f694a2ae00c94a451bbf4b9f9d39497cce564e6a20b8da95c81 SHA512 a12b679f4afc997a2c3081569dacdded277548662d36915ea0429ef86034cf696bf66e9dfa28538ea47c42ba6839ad5042e3a3372db49fed6758b359fc1bb51c diff --git a/dev-ruby/database_cleaner/database_cleaner-1.6.2-r1.ebuild b/dev-ruby/database_cleaner/database_cleaner-1.6.2-r1.ebuild deleted file mode 100644 index 6a4f09e7b5f8..000000000000 --- a/dev-ruby/database_cleaner/database_cleaner-1.6.2-r1.ebuild +++ /dev/null @@ -1,26 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -USE_RUBY="ruby22 ruby23 ruby24 ruby25" - -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -RUBY_FAKEGEM_TASK_DOC="examples" - -RUBY_FAKEGEM_EXTRADOC="History.rdoc README.markdown TODO" - -# There are specs and features but they all require configured databases. -RUBY_FAKEGEM_RECIPE_TEST="none" - -inherit ruby-fakegem - -DESCRIPTION="Strategies for cleaning databases" -HOMEPAGE="https://github.com/bmabey/database_cleaner" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="" - -PATCHES=( "${FILESDIR}/${P}-table-quote.patch" ) diff --git a/dev-ruby/database_cleaner/database_cleaner-1.6.2.ebuild b/dev-ruby/database_cleaner/database_cleaner-1.6.2.ebuild deleted file mode 100644 index 61a1e06221c3..000000000000 --- a/dev-ruby/database_cleaner/database_cleaner-1.6.2.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -USE_RUBY="ruby22 ruby23 ruby24 ruby25" - -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -RUBY_FAKEGEM_TASK_DOC="examples" - -RUBY_FAKEGEM_EXTRADOC="History.rdoc README.markdown TODO" - -# There are specs and features but they all require configured databases. -RUBY_FAKEGEM_RECIPE_TEST="none" - -inherit ruby-fakegem - -DESCRIPTION="Strategies for cleaning databases" -HOMEPAGE="https://github.com/bmabey/database_cleaner" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="" diff --git a/dev-ruby/database_cleaner/database_cleaner-1.7.0.ebuild b/dev-ruby/database_cleaner/database_cleaner-1.7.0.ebuild deleted file mode 100644 index 61a1e06221c3..000000000000 --- a/dev-ruby/database_cleaner/database_cleaner-1.7.0.ebuild +++ /dev/null @@ -1,24 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -USE_RUBY="ruby22 ruby23 ruby24 ruby25" - -RUBY_FAKEGEM_RECIPE_DOC="rdoc" -RUBY_FAKEGEM_TASK_DOC="examples" - -RUBY_FAKEGEM_EXTRADOC="History.rdoc README.markdown TODO" - -# There are specs and features but they all require configured databases. -RUBY_FAKEGEM_RECIPE_TEST="none" - -inherit ruby-fakegem - -DESCRIPTION="Strategies for cleaning databases" -HOMEPAGE="https://github.com/bmabey/database_cleaner" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64 ~arm ~x86" -IUSE="" diff --git a/dev-ruby/database_cleaner/files/database_cleaner-1.6.2-table-quote.patch b/dev-ruby/database_cleaner/files/database_cleaner-1.6.2-table-quote.patch deleted file mode 100644 index 2ca8c9781247..000000000000 --- a/dev-ruby/database_cleaner/files/database_cleaner-1.6.2-table-quote.patch +++ /dev/null @@ -1,37 +0,0 @@ -From 94f3c412b154100e53b0800622a503ee56e39a6d Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Andreas=20B=C3=BChmann?= <dev@uuml.de> -Date: Sun, 27 Aug 2017 09:24:41 +0200 -Subject: [PATCH] Properly quote table names in table_stats_query - ---- - lib/database_cleaner/active_record/deletion.rb | 16 +++++++++------- - 1 file changed, 9 insertions(+), 7 deletions(-) - -diff --git a/lib/database_cleaner/active_record/deletion.rb b/lib/database_cleaner/active_record/deletion.rb -index 59a41c4..d172355 100644 ---- a/lib/database_cleaner/active_record/deletion.rb -+++ b/lib/database_cleaner/active_record/deletion.rb -@@ -66,14 +66,16 @@ def table_stats_query(connection, db_name) - if @cache_tables && !@table_stats_query.nil? - return @table_stats_query - else -- @table_stats_query = connection.select_values(<<-SQL).join(' UNION ') -- SELECT CONCAT('SELECT \"', table_name, '\" AS table_name, COUNT(*) AS exact_row_count FROM ', table_name) -- FROM -- INFORMATION_SCHEMA.TABLES -- WHERE -- table_schema = '#{db_name}' -- AND #{::DatabaseCleaner::ActiveRecord::Base.exclusion_condition('table_name')}; -+ tables = connection.select_values(<<-SQL) -+ SELECT table_name -+ FROM information_schema.tables -+ WHERE table_schema = '#{db_name}' -+ AND #{::DatabaseCleaner::ActiveRecord::Base.exclusion_condition('table_name')}; - SQL -+ queries = tables.map do |table| -+ "SELECT #{connection.quote(table)} AS table_name, COUNT(*) AS exact_row_count FROM #{connection.quote_table_name(table)}" -+ end -+ @table_stats_query = queries.join(' UNION ') - end - end - diff --git a/dev-ruby/database_cleaner/metadata.xml b/dev-ruby/database_cleaner/metadata.xml deleted file mode 100644 index 6a776703d323..000000000000 --- a/dev-ruby/database_cleaner/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>zerochaos@gentoo.org</email> - <name>Rick Farina</name> - </maintainer> - <maintainer type="project"> - <email>ruby@gentoo.org</email> - <name>Gentoo Ruby Project</name> - </maintainer> - <upstream> - <remote-id type="github">bmabey/database_cleaner</remote-id> - </upstream> -</pkgmetadata> |