Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/www/ruby-request_store www/ruby-request_store: add pac...
details: https://anonhg.NetBSD.org/pkgsrc/rev/f5319c525d6b
branches: trunk
changeset: 432798:f5319c525d6b
user: taca <taca%pkgsrc.org@localhost>
date: Mon May 25 14:40:23 2020 +0000
description:
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...
diffstat:
www/ruby-request_store/DESCR | 12 ++++++++++++
www/ruby-request_store/Makefile | 16 ++++++++++++++++
www/ruby-request_store/PLIST | 17 +++++++++++++++++
www/ruby-request_store/distinfo | 6 ++++++
4 files changed, 51 insertions(+), 0 deletions(-)
diffs (67 lines):
diff -r 9404c7101e3c -r f5319c525d6b www/ruby-request_store/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-request_store/DESCR Mon May 25 14:40:23 2020 +0000
@@ -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...
diff -r 9404c7101e3c -r f5319c525d6b www/ruby-request_store/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-request_store/Makefile Mon May 25 14:40:23 2020 +0000
@@ -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"
diff -r 9404c7101e3c -r f5319c525d6b www/ruby-request_store/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-request_store/PLIST Mon May 25 14:40:23 2020 +0000
@@ -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
diff -r 9404c7101e3c -r f5319c525d6b www/ruby-request_store/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-request_store/distinfo Mon May 25 14:40:23 2020 +0000
@@ -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