diff options
Diffstat (limited to 'dev-ruby/async_sinatra')
-rw-r--r-- | dev-ruby/async_sinatra/ChangeLog | 10 | ||||
-rw-r--r-- | dev-ruby/async_sinatra/Manifest | 16 | ||||
-rw-r--r-- | dev-ruby/async_sinatra/async_sinatra-1.0.0.ebuild | 46 | ||||
-rw-r--r-- | dev-ruby/async_sinatra/files/async_sinatra-0.4.0-rack.patch | 22 | ||||
-rw-r--r-- | dev-ruby/async_sinatra/files/async_sinatra-1.0.0-extended-sinatra.patch | 19 |
5 files changed, 8 insertions, 105 deletions
diff --git a/dev-ruby/async_sinatra/ChangeLog b/dev-ruby/async_sinatra/ChangeLog index 32fc53d435e8..aafb69434916 100644 --- a/dev-ruby/async_sinatra/ChangeLog +++ b/dev-ruby/async_sinatra/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-ruby/async_sinatra -# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/async_sinatra/ChangeLog,v 1.8 2013/12/25 06:48:12 graaff Exp $ +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/async_sinatra/ChangeLog,v 1.9 2014/03/08 02:05:18 mrueg Exp $ + + 08 Mar 2014; Manuel Rüger <mrueg@gentoo.org> -async_sinatra-1.0.0.ebuild, + -files/async_sinatra-0.4.0-rack.patch, + -files/async_sinatra-1.0.0-extended-sinatra.patch: + Cleanup old. *async_sinatra-1.1.0 (25 Dec 2013) @@ -41,4 +46,3 @@ 19 Apr 2010; Diego E. Pettenò <flameeyes@gentoo.org> +async_sinatra-0.1.5.ebuild, +metadata.xml: Initial import of async_sinatra gem. - diff --git a/dev-ruby/async_sinatra/Manifest b/dev-ruby/async_sinatra/Manifest index c69ce5cbaea4..bb462bd75776 100644 --- a/dev-ruby/async_sinatra/Manifest +++ b/dev-ruby/async_sinatra/Manifest @@ -1,18 +1,4 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 - -AUX async_sinatra-0.4.0-rack.patch 634 SHA256 5c901319f80556474971a72f0aa0846b36ee2e42a500ad41526f151cb7d7c32d SHA512 dc03c54f466eec108b4a1f212e607233deb8193719193e6e7a7a4b74264b628f00bae037dfe650d53ca7601f4ec8ce7b34b10b14221b171f7d0e404a93c05177 WHIRLPOOL 1868024480550d863a45a97c8d5af05d961cddbca570f22eac0408caace3a3b7327ab3f0398e1861f156c69f4699ac6cba62f891669871ce97d3f428532107eb -AUX async_sinatra-1.0.0-extended-sinatra.patch 712 SHA256 2f5e47e77500bd51864a11c56fd06fd0fccfcf14f67063f275432282477901cc SHA512 8f38ead24b140bbc24bff93d75733409a7c07438229486ec20188f655a25dd66795c713a300afb33ad2292855c7c1e3eaf709719cd0dffb977dfbcf004b535f7 WHIRLPOOL fe0d80202920ce4c28d1d396352ec4db06d14c7cc19ddcc4891a8be94f126bbb2a39cd8e439a53f3fc1bebbbc49b597792d6463fce43ed1d52f6434cbb9bf637 -DIST async_sinatra-1.0.0-git.tgz 8028 SHA256 3af2ee78ccc5b93e7d3f13ef5515a18336acdce19cfbf239259db0d320597496 SHA512 89be4d3aef3d3b67da3dc7efd8820515cc3f81ecbceb9a80b2ef7a6c953bfb2153d12f38e6299e545f841d5d31ec89ac18fd83347ec51136ae74da9ff5dc5661 WHIRLPOOL 795bf3bcaeb2de241dcfb29e1809e90ec4bf61831485a8416a67ab379515ff08bb8139f33429429d0312d602596c08aade4f59e67b5ba548909c3637d45a1268 DIST async_sinatra-1.1.0-git.tgz 8033 SHA256 e7754a084be23f82a6e2a102225a39b6a60e846ba1e2889feab4c53c751ef89f SHA512 7729e5a55084a66af678b83e099a85581fa9d78a562646f33d59d6673fb42575bab46b5e395d35a211f6487ad876b7cd176c96309c43a1e40aa24ca3b1ebf0b2 WHIRLPOOL fe8c88d4df8bfec56bf59b062b61fe8779a98aea817860d29f47ae916347ac95b57babb33814f48d9ef6c5acce461838b5ec2d267ec62c7b5cb4444a1c66969d -EBUILD async_sinatra-1.0.0.ebuild 1300 SHA256 4353fb1f4a8b2fcba1caa331ea27a98669023046d047e243fd5b6617673ff1b6 SHA512 6970ac3eba7d6852e93ab44fa6bc89ab0577bd74ca420dcf35d0398ccb5fab3fe5ab7608e90353f2f0220104d65f282594f474ef36f6cc0b5eb2918d4f36af90 WHIRLPOOL 83293a56501100dd012563f50abda385bb1de5ba1372670d53425119ded06fd3b34279e0b7ec2b14ef0e0741b6fbea503ba56e7576f3ce6a1b55fb575e92a9a6 EBUILD async_sinatra-1.1.0.ebuild 1213 SHA256 cf9b587b10a3730b0c661c08a2082f89059e32269ce0663b1b5c65d6b8ab0633 SHA512 3ed06d182d847ff046e5d4576117e0a48f8d6a20ed6713d7971a5ded067eaa5172211acfea6ecda573350f4028e6f497dbd3f8b763a84f1c175c68c084a88064 WHIRLPOOL 7a13f021867be2b63c2c43be019a31c5317653bccc99ceccebd2901d4e94b11050b51a249a887efbf107ef96b3631f4dbbc865cc233a7727c144e6dbe00bab2a -MISC ChangeLog 1366 SHA256 b9d2b04d01957fd6e7bc536993b2f44d283788db1ddc0986154bf392a1539fce SHA512 f39b2469cebf1cc9d27da21f2c8cf0a53c4d13953e5da7ee512d0e442b45c4ed61a457d4df9b3a94074897a784a926578608f081a112858578c74d3054f7f838 WHIRLPOOL 899b20b69f3326b164bc185b835772ef7aa2479c189e196a8519ba3beb4ab4f09e7926b9b577b454f1b883e875146b4e15dc08d5fbb8f0840446a50e3b0afa95 +MISC ChangeLog 1551 SHA256 771f07276bbe752a4716c0496b5fe8b3f9954f2efc89cca562f69b3a557bd67c SHA512 161030aed0dac97eee21284146e7da2cbea08055e5ab305815e929efa76256005f6803ae83a54b183c983f7b3270d77cc6ba681afe2dd569886c93973bb529fa WHIRLPOOL 46bed833cf0a443eeee2db3e0a0741e4edb4173b02c20ee0e3e6f1bc9316307278be0db92bac10445eaa14ed10f8b43a1bee99e2e23d57bac1b386bff41b76bf MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.22 (GNU/Linux) - -iF4EAREIAAYFAlK6f7QACgkQiIP6VqMIqNeFagD7Bd2ArBzEp7WX1T6K3Cpxwn7D -sSUgRT+9BPoDWvb/3qsA/RKx2y6sl/fWucTR3+9dbfosKfIZ5Ca6iSp7LEd6NBPg -=+rv6 ------END PGP SIGNATURE----- diff --git a/dev-ruby/async_sinatra/async_sinatra-1.0.0.ebuild b/dev-ruby/async_sinatra/async_sinatra-1.0.0.ebuild deleted file mode 100644 index 611ee96fad6b..000000000000 --- a/dev-ruby/async_sinatra/async_sinatra-1.0.0.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/async_sinatra/async_sinatra-1.0.0.ebuild,v 1.1 2012/12/14 16:08:57 graaff Exp $ - -EAPI=5 -USE_RUBY="ruby18 ree18 ruby19" - -RUBY_FAKEGEM_DOCDIR="doc" -RUBY_FAKEGEM_EXTRADOC="CHANGELOG.rdoc README.rdoc" -RUBY_FAKEGEM_TASK_DOC="docs" - -inherit ruby-fakegem - -DESCRIPTION="Asynchronous response API for Sinatra and Thin" -HOMEPAGE="http://libraggi.rubyforge.org/async_sinatra" -SRC_URI="https://github.com/raggi/async_sinatra/archive/v${PV}.tar.gz -> ${P}-git.tgz" - -LICENSE="MIT" -SLOT="0" -KEYWORDS="~amd64" -IUSE="test" - -RUBY_PATCHES=( "${FILESDIR}/${P}-extended-sinatra.patch" ) - -ruby_add_bdepend "test? ( - >=dev-ruby/hoe-2.9.1 - >=dev-ruby/minitest-2.5.1 - >=dev-ruby/rubyforge-2.0.4 - >=dev-ruby/eventmachine-0.12.11 - )" -ruby_add_bdepend "doc? ( >=dev-ruby/hoe-2.9.1 )" - -ruby_add_rdepend ">=dev-ruby/sinatra-1.3.2 - >=dev-ruby/rack-1.4.1" - -all_ruby_prepare() { - # Remove development dependencies that we don't have from the gemspec - sed -i -e '/\(hoe-doofus\|hoe-seattlerb\|hoe-git\|hoe-gemspec2\)/d' async_sinatra.gemspec || die -} - -all_ruby_install() { - all_fakegem_install - - insinto /usr/share/doc/${PF}/ - doins -r examples || die "Failed to install examples" -} diff --git a/dev-ruby/async_sinatra/files/async_sinatra-0.4.0-rack.patch b/dev-ruby/async_sinatra/files/async_sinatra-0.4.0-rack.patch deleted file mode 100644 index 2785db63a146..000000000000 --- a/dev-ruby/async_sinatra/files/async_sinatra-0.4.0-rack.patch +++ /dev/null @@ -1,22 +0,0 @@ -Fix expectation for newer versions of rack. See -https://github.com/raggi/async_sinatra/issues/#issue/10 - ---- test/test_async.rb.~1~ 2011-02-20 15:05:47.480108199 +0100 -+++ test/test_async.rb 2011-02-20 15:09:38.494594250 +0100 -@@ -96,8 +96,7 @@ - - def assert_redirect(path) - r = last_request.env -- uri = r['rack.url_scheme'] + '://' + r['SERVER_NAME'] + path -- assert_equal uri, last_response.location -+ assert_equal path, last_response.location - end - - def test_basic_async_get -@@ -194,4 +193,4 @@ - assert_equal 302, last_response.status - assert_redirect '/' - end --end -\ No newline at end of file -+end diff --git a/dev-ruby/async_sinatra/files/async_sinatra-1.0.0-extended-sinatra.patch b/dev-ruby/async_sinatra/files/async_sinatra-1.0.0-extended-sinatra.patch deleted file mode 100644 index 9c3ccc0cf912..000000000000 --- a/dev-ruby/async_sinatra/files/async_sinatra-1.0.0-extended-sinatra.patch +++ /dev/null @@ -1,19 +0,0 @@ -commit f00c791c8baa150bea4de7a4efbe941b93470c02 -Author: Sam Soffes <sam@samsoff.es> -Date: Fri Sep 14 11:55:10 2012 -0700 - - Support Sinatra::ExtendedRack. Fixes #30 - -diff --git a/lib/sinatra/async/test.rb b/lib/sinatra/async/test.rb -index 1571dbe..7e98aca 100644 ---- a/lib/sinatra/async/test.rb -+++ b/lib/sinatra/async/test.rb -@@ -87,6 +87,8 @@ class Sinatra::Async::Test - # This hack exists because sinatra is now returning a proper rack stack. - # We might need to consider alternative approaches in future. - app = app() -+ app = app.app if app.is_a?(Sinatra::ExtendedRack) -+ - until app.nil? || app.is_a?(Sinatra::Base) - app = app.instance_variable_get(:@app) - end |