pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/ruby-request_store



Module Name:    pkgsrc
Committed By:   taca
Date:           Mon May 25 14:40:23 UTC 2020

Added Files:
        pkgsrc/www/ruby-request_store: DESCR Makefile PLIST distinfo

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


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/www/ruby-request_store/DESCR \
    pkgsrc/www/ruby-request_store/Makefile \
    pkgsrc/www/ruby-request_store/PLIST \
    pkgsrc/www/ruby-request_store/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/www/ruby-request_store/DESCR
diff -u /dev/null pkgsrc/www/ruby-request_store/DESCR:1.1
--- /dev/null   Mon May 25 14:40:23 2020
+++ pkgsrc/www/ruby-request_store/DESCR Mon May 25 14:40:23 2020
@@ -0,0 +1,12 @@
+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...
Index: pkgsrc/www/ruby-request_store/Makefile
diff -u /dev/null pkgsrc/www/ruby-request_store/Makefile:1.1
--- /dev/null   Mon May 25 14:40:23 2020
+++ pkgsrc/www/ruby-request_store/Makefile      Mon May 25 14:40:23 2020
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2020/05/25 14:40:23 taca Exp $
+
+DISTNAME=      request_store-1.5.0
+CATEGORIES=    devel
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/steveklabnik/request_store
+COMMENT=       Per-request global storage for Rack
+LICENSE=       mit
+
+DEPENDS+=      ${RUBY_PKGPREFIX}-rack>=1.4:../../www/ruby-rack
+
+USE_LANGUAGES= # none
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/www/ruby-request_store/PLIST
diff -u /dev/null pkgsrc/www/ruby-request_store/PLIST:1.1
--- /dev/null   Mon May 25 14:40:23 2020
+++ pkgsrc/www/ruby-request_store/PLIST Mon May 25 14:40:23 2020
@@ -0,0 +1,17 @@
+@comment $NetBSD: PLIST,v 1.1 2020/05/25 14:40:23 taca Exp $
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/.gitignore
+${GEM_LIBDIR}/.travis.yml
+${GEM_LIBDIR}/Gemfile
+${GEM_LIBDIR}/LICENSE.txt
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/lib/request_store.rb
+${GEM_LIBDIR}/lib/request_store/middleware.rb
+${GEM_LIBDIR}/lib/request_store/railtie.rb
+${GEM_LIBDIR}/lib/request_store/version.rb
+${GEM_LIBDIR}/request_store.gemspec
+${GEM_LIBDIR}/test/middleware_test.rb
+${GEM_LIBDIR}/test/request_store_test.rb
+${GEM_LIBDIR}/test/test_helper.rb
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
Index: pkgsrc/www/ruby-request_store/distinfo
diff -u /dev/null pkgsrc/www/ruby-request_store/distinfo:1.1
--- /dev/null   Mon May 25 14:40:23 2020
+++ pkgsrc/www/ruby-request_store/distinfo      Mon May 25 14:40:23 2020
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2020/05/25 14:40:23 taca Exp $
+
+SHA1 (request_store-1.5.0.gem) = 885c89acee5d7ee49804085090ff91d79babac8a
+RMD160 (request_store-1.5.0.gem) = d93bbff6e4f84f0f4ff5c1af794ce16bec109888
+SHA512 (request_store-1.5.0.gem) = c01d4505d2bc0b88456d0bc49416fcbea67da1e2ab6ef0c7fc900fae8856d82157dc39d2e1d2f299000f74b140f6f13d7352f4684e247d103bbaab7b1705910f
+Size (request_store-1.5.0.gem) = 9216 bytes



Home | Main Index | Thread Index | Old Index