summaryrefslogtreecommitdiff
path: root/www/ruby-innate
AgeCommit message (Collapse)AuthorFilesLines
2013-04-06"Please write NetBSD.org instead of netbsd.org"rodent1-2/+2
2013-03-14Update ruby-innate to 2013.02.21.taca2-7/+7
[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>
2013-03-13Explicitly depend upon ruby-rack14, fixes pbulk resolution failure.jperkin1-3/+3
Reset MAINTAINER.
2012-12-17Update ruby-innate to 2012.12.taca3-9/+9
Changes are too many to write here, please refer CHANGELOG.
2012-03-20Update ruby-innate to 2012.03.taca3-8/+9
[f133be7 | Wed Mar 07 18:27:47 UTC 2012] Michael Fellinger <m.fellinger@gmail.com> * Version 2012.03 [cab2aef | Wed Mar 07 18:27:21 UTC 2012] Michael Fellinger <m.fellinger@gmail.com> * update dependency to rack 1.4.1 [e474964 | Thu Mar 01 19:22:58 UTC 2012] Yorick Peterse <yorickpeterse@gmail.com> * Fixed various YARD formatting issues. Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com> [d82fd1e | Sun Feb 26 13:22:09 UTC 2012] Michael Fellinger <m.fellinger@gmail.com> * Enable the render helper to render views without corresponding method if needs_method is enabled [918974e | Sun Feb 26 12:45:50 UTC 2012] Michael Fellinger <m.fellinger@gmail.com> * Fix initialize of Rack::Cascade on 1.4.1 [0e298de | Wed Dec 28 17:57:58 UTC 2011] Michael Fellinger <m.fellinger@gmail.com> * Here comes a better Innate::Cache::register, now with less warnings and more speed [d8a1da4 | Wed Dec 28 05:06:07 UTC 2011] Michael Fellinger <m.fellinger@gmail.com> * Version 2011.12 [13f9372 | Wed Dec 28 04:54:29 UTC 2011] Michael Fellinger <m.fellinger@gmail.com> * less obfuscation ftw [10cf300 | Wed Dec 28 04:54:09 UTC 2011] Michael Fellinger <m.fellinger@gmail.com> * minor cleanup around specs [7f61483 | Wed Dec 28 04:53:40 UTC 2011] Michael Fellinger <m.fellinger@gmail.com> * Update to Rack 1.4.0 [575e900 | Thu Dec 08 17:05:04 UTC 2011] Michael Fellinger <m.fellinger@gmail.com> * Update travis config [037f35a | Sun Nov 06 12:18:30 UTC 2011] Yorick Peterse <yorickpeterse@gmail.com> * Revert "AOP calls can now be stacked." This reverts commit 3ceb18dae7b774ab9b21cba6538b217ba35d5e21. Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com> [3ceb18d | Sun Nov 06 11:30:51 UTC 2011] Yorick Peterse <yorickpeterse@gmail.com> * AOP calls can now be stacked. This means that calling methods such as before_all() or before() multiple times in the same controller will no longer in these calls overwriting previously defined ones. A short example of this is the following: class Posts Innate.node('/posts') helper :aspect NUMBERS = [] before_all do NUMBERS << 10 end before_all do NUMBERS << 20 end def index return NUMBERS end end Visiting /posts would result in "[10, 20]" being displayed in the browser. Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com>
2011-12-16Update ruby-innate package to 2011.10.taca3-7/+11
[7ad5d81 | 2011-10-23 17:19:58 UTC] Michael Fellinger <m.fellinger@gmail.com> * Version 2011.10 [013b148 | 2011-10-22 20:12:45 UTC] Michael Fellinger <m.fellinger@gmail.com> * Remove deprecated Innate::Session.options.expires, use Innate::Session.options.ttl instead [ae24452 | 2011-10-22 20:10:57 UTC] Michael Fellinger <m.fellinger@gmail.com> * Remove deprecated shared :mock block [7bf2528 | 2011-10-21 23:41:34 UTC] Michael Fellinger <m.fellinger@gmail.com> * Another 1.8 incompatibility in the spec [97cf46a | 2011-10-21 23:39:23 UTC] Michael Fellinger <m.fellinger@gmail.com> * Make provides spec more robust [11bdba7 | 2011-10-21 22:38:16 UTC] Michael Fellinger <m.fellinger@gmail.com> * Try requiring rubygems for the lesser versions [8dcfffb | 2011-10-21 22:35:20 UTC] Michael Fellinger <m.fellinger@gmail.com> * Remove set -x, let's get down to business [7a5066f | 2011-10-21 22:33:25 UTC] Michael Fellinger <m.fellinger@gmail.com> * Try ignoring trust issues with .rvmrc [f913028 | 2011-10-21 22:16:06 UTC] Michael Fellinger <m.fellinger@gmail.com> * Load rvm manually [3791189 | 2011-10-21 22:14:12 UTC] Michael Fellinger <m.fellinger@gmail.com> * turn debugging for rvm on [845c834 | 2011-10-21 22:11:44 UTC] Michael Fellinger <m.fellinger@gmail.com> * Try debugging and loading bashrc to get rvm [85ff8df | 2011-10-21 22:09:46 UTC] Michael Fellinger <m.fellinger@gmail.com> * And make things a bit more complicated [e725da7 | 2011-10-21 21:58:22 UTC] Michael Fellinger <m.fellinger@gmail.com> * try to make travis happy [acaa77a | 2011-10-21 21:55:48 UTC] Michael Fellinger <m.fellinger@gmail.com> * Move rvm gemset import to the right place [ac0371c | 2011-10-21 16:30:40 UTC] Michael Fellinger <m.fellinger@gmail.com> * Try setup via .rvmrc .gems [156e09b | 2011-10-21 16:30:21 UTC] Michael Fellinger <m.fellinger@gmail.com> * Remove dependency on json [b5ca6a3 | 2011-10-21 15:53:08 UTC] Michael Fellinger <m.fellinger@gmail.com> * Run setup before bacon [0426977 | 2011-10-21 15:47:21 UTC] Michael Fellinger <m.fellinger@gmail.com> * Revert "Remove the unused gem install task" This reverts commit 3e1cc52743470886f7b50db633535bcf6765b638. [3e1cc52 | 2011-10-21 15:36:30 UTC] Michael Fellinger <m.fellinger@gmail.com> * Remove the unused gem install task [9390547 | 2011-10-21 15:36:15 UTC] Michael Fellinger <m.fellinger@gmail.com> * Fix location of RUBY [f086a10 | 2011-10-21 15:35:46 UTC] Michael Fellinger <m.fellinger@gmail.com> * Fix the gem package task [bed5d5a | 2011-10-21 15:35:02 UTC] Michael Fellinger <m.fellinger@gmail.com> * Update rvmrc [965ed57 | 2011-10-21 15:20:10 UTC] Michael Fellinger <m.fellinger@gmail.com> * Adding travis config [e9b0d7c | 2011-09-23 10:06:54 UTC] Yorick Peterse <yorickpeterse@gmail.com> * Updated the README, fixes #5 Signed-off-by: Yorick Peterse <yorickpeterse@gmail.com> [157a09d | 2011-08-18 08:00:28 UTC] YorickPeterse <yorickpeterse@gmail.com> * Added a .rvmrc file and updated the .gitignore file to exclude rcov data. [7df330c | 2011-07-20 08:09:53 UTC] Michael Fellinger <m.fellinger@gmail.com> * Update spec file exclusion [a4eb56a | 2011-06-01 23:07:46 UTC] Michael Fellinger <m.fellinger@gmail.com> * Update Node documentation
2011-06-19Update ruby-innate package to 2011.04.taca3-9/+8
[d05190a | 2011-04-19 02:37:16 UTC] Michael Fellinger <m.fellinger@gmail.com> * Version 2011.04 [bacc603 | 2011-04-19 02:37:03 UTC] Michael Fellinger <m.fellinger@gmail.com> * Remove rubyforge release task [05ccf96 | 2011-04-19 02:31:28 UTC] Michael Fellinger <m.fellinger@gmail.com> * Node::find_method must accept anything that responds to #to_s as method name [8d4bfd0 | 2011-02-13 23:07:12 UTC] Michael Fellinger <m.fellinger@gmail.com> * Don't mention :state, it's gone [2b3a9ca | 2011-01-26 06:12:26 UTC] Michael Fellinger <m.fellinger@gmail.com> * Version 2011.01 [6039ffa | 2010-12-11 13:58:04 UTC] Michael Fellinger <m.fellinger@gmail.com> * Adjust spec for changes in Rack [5e30254 | 2010-09-17 10:58:10 UTC] Antti Tuomi <antti.tuomi@tkk.fi> * New method for Innate::Session, #resid!, that can be used to change the session key. The intent of the method is to allow changing session keys when user logs in to prevent certain session fixation attack vectors. #resid! moves all session data under a new session key and thus invalidates the old key. It is probably a good idea to explicitly reset the session data as well on login, but the necessity of this depends on the application. [85d45ea | 2010-09-07 01:14:44 UTC] Lee Jarvis <injekt.me@gmail.com> * updated git url [51eac73 | 2010-09-06 23:25:22 UTC] Lee Jarvis <injekt.me@gmail.com> * added gitignore [32c943c | 2010-09-06 06:02:25 UTC] Lee Jarvis <injekt.me@gmail.com> * fixed pointless spec addition [b180c1c | 2010-09-06 06:00:44 UTC] Lee Jarvis <injekt.me@gmail.com> * added specs for helper suffix [c7fccc6 | 2010-09-06 05:50:45 UTC] Lee Jarvis <injekt.me@gmail.com> * removed send_file helper spec [49c9963 | 2010-09-06 05:49:54 UTC] Lee Jarvis <injekt.me@gmail.com> * removed send_file from default helpers [4ca7b0c | 2010-09-06 05:22:23 UTC] Lee Jarvis <injekt.me@gmail.com> * allow helper modules to be suffixed with 'helper' this allows us to create helpers which may have identical names as Models without having namespace conflicts [7d8437e | 2010-08-26 15:12:26 UTC] Michael Fellinger <m.fellinger@gmail.com> * Support HttpOnly [1183bca | 2010-08-20 14:15:58 UTC] Lee Jarvis <injekt.me@gmail.com> * moved send_file helper to ramaze [6412640 | 2010-07-21 04:32:15 UTC] injekt <ljjarvis@gmail.com> * fixed readme formatting [1ac3e6f | 2010-07-21 04:31:27 UTC] injekt <ljjarvis@gmail.com> * updated installation docs
2010-09-10Update www/ruby-innate to 2010.03.taca3-16/+13
* Use lang/ruby/gem.mk instead of misc/rubygems/rubygem.mk. * Remove default value of GEM_BUILD. * Update dependency according to gemspec. Changes are too may to write here, please refer CHANGELOG for detail.
2009-11-19Imported from wip/ruby-innatefhajny4-0/+168