diff options
author | taca <taca@pkgsrc.org> | 2013-03-14 16:19:39 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2013-03-14 16:19:39 +0000 |
commit | 95ed4afaf7cd2025069eb357e96d536161653573 (patch) | |
tree | f91d92ed64815cefdd2da43619adb6c1f2c120cb /www | |
parent | ab7bed7848bcc4fd71a49b1bfe1323c2571f5902 (diff) | |
download | pkgsrc-95ed4afaf7cd2025069eb357e96d536161653573.tar.gz |
Update ruby-innate to 2013.02.21.
[866c9cd | 2013-02-21 12:21:46 UTC] Michael Fellinger <m.fellinger@gmail.com>
* Version 2013.02.21
[aa22191 | 2013-02-21 12:21:16 UTC] Michael Fellinger <m.fellinger@gmail.com>
* update dependencies
[1a2ee39 | 2013-02-07 00:10:01 UTC] Michael Fellinger <m.fellinger@gmail.com>
* Version 2013.02
[64ca67a | 2013-01-29 23:34:26 UTC] Michael Fellinger <m.fellinger@gmail.com>
* don't do CI for REE, it's not supported anymore, add rbx and jruby 1.9
[079975c | 2013-01-29 21:57:39 UTC] Yorick Peterse <yorickpeterse@gmail.com>
* Preserve values when calling render_full.
Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
[a90d3f9 | 2013-01-29 21:53:16 UTC] Yorick Peterse <yorickpeterse@gmail.com>
* Fix for generting URLs using anchor().
Instead of always appending "?" to the URL the anchor() method should only do
so when there actually is a query string.
Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
[d2aeb7f | 2013-01-29 21:17:08 UTC] Yorick Peterse <yorickpeterse@gmail.com>
* Caching of provides and method arities.
Caching of a controller's provide handlers as well as the method arities can
lead to a nice performance boost of around 300 transactions/second using the
following benchmark:
require 'innate'
Innate.middleware :live do
run Innate.core
end
Innate::Log.level = Logger::ERROR
Innate.options.mode = :live
ENV['RACK_ENV'] = 'none'
class MainController
Innate.node('/', self)
def index
return 'index'
end
end
[:fast_mappings, :cache_provides, :cache_method_arities].each do |key|
MainController.ancestral_trait[key] = true
end
Innate.start(:adapter => :thin)
Benchmarking this was done by running `siege -c 10 -t 5s -b HOST` and would
initially result in around 1700 trans/sec. When using this commit this sits
between 2000/2100 trans/sec.
To prevent any potential issues the caching of provides and method aritites is
disabled by default.
See Github issue #7 for more information.
Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
[06dd4c5 | 2013-01-29 18:25:49 UTC] Yorick Peterse <yorickpeterse@gmail.com>
* Revert action caching.
Instead of caching the entire action instance (which is modified further down
the chain) various parts that make up this process will be cached instead
(where possible).
Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
[32440b0 | 2013-01-15 18:38:41 UTC] Michael Fellinger <m.fellinger@gmail.com>
* prevent memory leak from action caching
[040d084 | 2013-01-15 18:37:19 UTC] Michael Fellinger <m.fellinger@gmail.com>
* clean up LRUHash a bit
[a136a72 | 2013-01-14 20:06:22 UTC] Michael Fellinger <m.fellinger@gmail.com>
* build middleware only once
[8aea7cb | 2013-01-14 18:31:37 UTC] Yorick Peterse <yorickpeterse@gmail.com>
* Only compile middleware for the current mode.
Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
Diffstat (limited to 'www')
-rw-r--r-- | www/ruby-innate/Makefile | 6 | ||||
-rw-r--r-- | www/ruby-innate/distinfo | 8 |
2 files changed, 7 insertions, 7 deletions
diff --git a/www/ruby-innate/Makefile b/www/ruby-innate/Makefile index 5673eef11f0..e7ae960658e 100644 --- a/www/ruby-innate/Makefile +++ b/www/ruby-innate/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.7 2013/03/13 12:44:11 jperkin Exp $ +# $NetBSD: Makefile,v 1.8 2013/03/14 16:19:39 taca Exp $ -DISTNAME= innate-2012.12 +DISTNAME= innate-2013.02.21 CATEGORIES= devel MAINTAINER= pkgsrc-users@netbsd.org @@ -8,7 +8,7 @@ HOMEPAGE= http://github.com/manveru/innate COMMENT= Powerful web-framework wrapper for Rack LICENSE= mit -DEPENDS+= ${RUBY_PKGPREFIX}-rack14>=1.4.1<1.5:../../www/ruby-rack14 +DEPENDS+= ${RUBY_PKGPREFIX}-rack>=1.5.2<1.6:../../www/ruby-rack .include "../../lang/ruby/gem.mk" .include "../../mk/bsd.pkg.mk" diff --git a/www/ruby-innate/distinfo b/www/ruby-innate/distinfo index 94da0f06398..60aafbbd209 100644 --- a/www/ruby-innate/distinfo +++ b/www/ruby-innate/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.6 2012/12/17 15:10:12 taca Exp $ +$NetBSD: distinfo,v 1.7 2013/03/14 16:19:39 taca Exp $ -SHA1 (innate-2012.12.gem) = d175b9c236042b6b68b817d9da67bf93ae4bd5fe -RMD160 (innate-2012.12.gem) = 8745a7409b203e094a3a078953eca6436b0d8f12 -Size (innate-2012.12.gem) = 106496 bytes +SHA1 (innate-2013.02.21.gem) = e5feb3d99f8005f64c3f1baa841a39ad1809cd6a +RMD160 (innate-2013.02.21.gem) = 203d587bdd16d3bfcab507d9acdedc4921b06c95 +Size (innate-2013.02.21.gem) = 108032 bytes |