./www/ruby-innate, Powerful web-framework wrapper for Rack

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2015.10.28, Package name: ruby200-innate-2015.10.28, Maintainer: pkgsrc-users

Innate is the core of Ramaze, but useful on its own. The philosophy behind
Innate is to provide a simple web-framework that:

* Stays below 2000 easily readable lines of code
* Has Rack as the only dependency
* Provides the default helpers
* Is easy to encapsulate and reuse in other contexts as a simple rack app
* Has a rock-solid and fast implementation
* Scores at least 95% in rcov
* Is fully documented using YARD


Required to run:
[www/ruby-rack] [lang/ruby200-base]

Master sites:

SHA1: 6e5fd391841815c7f1ac18536892f36d23f17379
RMD160: 7dae2d0b3d7aa8b462296740e2d573f098ae2508
Filesize: 105.5 KB

Version history: (Expand)


CVS history: (Expand)


   2015-12-13 16:39:37 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
Update ruby-innate to 2015.10.28.

[105060c | 2015-10-28 17:15:55 UTC] Michael Fellinger <m.fellinger@gmail.com>

  * update dependencies and gem setup

[cde6b36 | 2013-10-16 14:59:44 UTC] Patrik Rak <patrik@raxoft.cz>

  * Use correct session class in Current.setup.

    Current.setup should honor the passed in arguments even for session.
   2015-11-04 03:47:43 by Alistair G. Crooks | Files touched by this commit (758)
Log message:
Add SHA512 digests for distfiles for www category

Problems found locating distfiles:
	Package haskell-cgi: missing distfile haskell-cgi-20001206.tar.gz
	Package nginx: missing distfile array-var-nginx-module-0.04.tar.gz
	Package nginx: missing distfile encrypted-session-nginx-module-0.04.tar.gz
	Package nginx: missing distfile headers-more-nginx-module-0.261.tar.gz
	Package nginx: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package nginx-devel: missing distfile echo-nginx-module-0.58.tar.gz
	Package nginx-devel: missing distfile form-input-nginx-module-0.11.tar.gz
	Package nginx-devel: missing distfile lua-nginx-module-0.9.16.tar.gz
	Package nginx-devel: missing distfile nginx_http_push_module-0.692.tar.gz
	Package nginx-devel: missing distfile set-misc-nginx-module-0.29.tar.gz
	Package php-owncloud: missing distfile owncloud-8.2.0.tar.bz2

Otherwise, existing SHA1 digests verified and found to be the same on
the machine holding the existing distfiles (morden).  All existing
SHA1 digests retained for now as an audit trail.
   2015-02-03 04:04:23 by Takahiro Kambe | Files touched by this commit (1) | Package updated
Log message:
Switch to use ruby-rack15.

Bump PKGREVISION.
   2013-04-06 15:09:26 by Blue Rats | Files touched by this commit (17)
Log message:
"Please write NetBSD.org instead of netbsd.org"
   2013-03-14 17:19:39 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
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>
   2013-03-13 13:44:11 by Jonathan Perkin | Files touched by this commit (1)
Log message:
Explicitly depend upon ruby-rack14, fixes pbulk resolution failure.

Reset MAINTAINER.
   2012-12-17 16:10:12 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-innate to 2012.12.

Changes are too many to write here, please refer CHANGELOG.
   2012-03-20 14:52:43 by Takahiro Kambe | Files touched by this commit (3) | Package updated
Log message:
Update ruby-innate to 2012.03.

[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>