summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-12-30 17:37:14 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2015-12-30 17:37:14 +0000
commita69c46e8bf9180063d1504b13c136fa352545163 (patch)
treeeffa3a8270a469bae35ee37e05507e4d96219761 /databases
parent- Add LICENSE_FILE (diff)
- Add rubygem-activerecord-session_store 0.1.2
A session store backed by an Active Record class. A default class is provided, but any object duck-typing to an Active Record Session class with text session_id and data attributes is sufficient. WWW: https://github.com/rails/activerecord-session_store
Diffstat (limited to 'databases')
-rw-r--r--databases/Makefile1
-rw-r--r--databases/rubygem-activerecord-session_store/Makefile24
-rw-r--r--databases/rubygem-activerecord-session_store/distinfo2
-rw-r--r--databases/rubygem-activerecord-session_store/pkg-descr5
4 files changed, 32 insertions, 0 deletions
diff --git a/databases/Makefile b/databases/Makefile
index c6561de70b63..bce53211e531 100644
--- a/databases/Makefile
+++ b/databases/Makefile
@@ -841,6 +841,7 @@
SUBDIR += rubygem-activerecord-jdbc-adapter
SUBDIR += rubygem-activerecord-jdbcmysql-adapter
SUBDIR += rubygem-activerecord-mysql-adapter
+ SUBDIR += rubygem-activerecord-session_store
SUBDIR += rubygem-activerecord4
SUBDIR += rubygem-activerecord41
SUBDIR += rubygem-after_commit_queue
diff --git a/databases/rubygem-activerecord-session_store/Makefile b/databases/rubygem-activerecord-session_store/Makefile
new file mode 100644
index 000000000000..b80dad195aac
--- /dev/null
+++ b/databases/rubygem-activerecord-session_store/Makefile
@@ -0,0 +1,24 @@
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= activerecord-session_store
+PORTVERSION= 0.1.2
+CATEGORIES= databases rubygems
+MASTER_SITES= RG
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Action Dispatch session store backed by an Active Record class
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS= rubygem-actionpack4>=4.0.0:${PORTSDIR}/www/rubygem-actionpack4 \
+ rubygem-activerecord4>=4.0.0:${PORTSDIR}/databases/rubygem-activerecord4 \
+ rubygem-railties4>=4.0.0:${PORTSDIR}/www/rubygem-railties4
+
+NO_ARCH= yes
+USE_RUBY= yes
+USE_RUBYGEMS= yes
+RUBYGEM_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/databases/rubygem-activerecord-session_store/distinfo b/databases/rubygem-activerecord-session_store/distinfo
new file mode 100644
index 000000000000..af3fc0eccc3c
--- /dev/null
+++ b/databases/rubygem-activerecord-session_store/distinfo
@@ -0,0 +1,2 @@
+SHA256 (rubygem/activerecord-session_store-0.1.2.gem) = 77e8ae4e81b4ddcf6c858585ed7d3d77842e881a385e7cf8735e975830c0e5e6
+SIZE (rubygem/activerecord-session_store-0.1.2.gem) = 11264
diff --git a/databases/rubygem-activerecord-session_store/pkg-descr b/databases/rubygem-activerecord-session_store/pkg-descr
new file mode 100644
index 000000000000..a5011b53620f
--- /dev/null
+++ b/databases/rubygem-activerecord-session_store/pkg-descr
@@ -0,0 +1,5 @@
+A session store backed by an Active Record class. A default class is provided,
+but any object duck-typing to an Active Record Session class with text
+session_id and data attributes is sufficient.
+
+WWW: https://github.com/rails/activerecord-session_store