./www/ruby-request_store, Per-request global storage for Rack

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


Branch: CURRENT, Version: 1.5.1, Package name: ruby31-request_store-1.5.1, Maintainer: pkgsrc-users

Ever needed to use a global variable in Rails? Ugh, that's the worst. If youq
need global state, you've probably reached for Thread.current. Like this:

def self.foo
Thread.current[:foo] ||= 0
end

def self.foo=(value)
Thread.current[:foo] = value
end

Ugh! I hate it. But you gotta do what you gotta do...


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

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 9.5 KB

Version history: (Expand)


CVS history: (Expand)


   2022-08-31 18:05:38 by Takahiro Kambe | Files touched by this commit (2) | Package updated
Log message:
www/ruby-request_store: update to 1.5.1

pkgsrc change: correct CATEGORIES to www.

1.5.1 (2022-01-18)

* Add Truffleruby head to CI
* GitHub is HTTPS by default
* CI: Drop unused sudo: false Travis directive
* Fix fatal crash when a mutable const is returned by the app
* Docs: add fetch
   2021-10-26 13:31:15 by Nia Alarie | Files touched by this commit (1030)
Log message:
www: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Not committed (merge conflicts):
www/nghttp2/distinfo

Unfetchable distfiles (almost certainly fetched conditionally...):
./www/nginx-devel/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx-devel/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx-devel/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx-devel/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx-devel/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx-devel/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx-devel/distinfo naxsi-1.3.tar.gz
./www/nginx-devel/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx-devel/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx-devel/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx-devel/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx-devel/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx-devel/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx-devel/distinfo njs-0.5.0.tar.gz
./www/nginx-devel/distinfo set-misc-nginx-module-0.32.tar.gz
./www/nginx/distinfo array-var-nginx-module-0.05.tar.gz
./www/nginx/distinfo echo-nginx-module-0.62.tar.gz
./www/nginx/distinfo encrypted-session-nginx-module-0.08.tar.gz
./www/nginx/distinfo form-input-nginx-module-0.12.tar.gz
./www/nginx/distinfo headers-more-nginx-module-0.33.tar.gz
./www/nginx/distinfo lua-nginx-module-0.10.19.tar.gz
./www/nginx/distinfo naxsi-1.3.tar.gz
./www/nginx/distinfo nginx-dav-ext-module-3.0.0.tar.gz
./www/nginx/distinfo nginx-rtmp-module-1.2.2.tar.gz
./www/nginx/distinfo nginx_http_push_module-1.2.10.tar.gz
./www/nginx/distinfo ngx_cache_purge-2.5.1.tar.gz
./www/nginx/distinfo ngx_devel_kit-0.3.1.tar.gz
./www/nginx/distinfo ngx_http_geoip2_module-3.3.tar.gz
./www/nginx/distinfo njs-0.5.0.tar.gz
./www/nginx/distinfo set-misc-nginx-module-0.32.tar.gz
   2021-10-07 17:09:00 by Nia Alarie | Files touched by this commit (1033)
Log message:
www: Remove SHA1 hashes for distfiles
   2020-05-25 16:40:23 by Takahiro Kambe | Files touched by this commit (4)
Log message:
www/ruby-request_store: add package version 1.5.0

Add ruby-request_store package version 1.5.0 from wip/ruby-request_store.

Ever needed to use a global variable in Rails? Ugh, that's the worst. If youq
need global state, you've probably reached for Thread.current. Like this:

    def self.foo
      Thread.current[:foo] ||= 0
    end

    def self.foo=(value)
      Thread.current[:foo] = value
    end

Ugh! I hate it. But you gotta do what you gotta do...