Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jan 2022 18:52:37 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 28db9d8ae0bf - main - www/rubygem-stimulus-rails: Add rubygem-stimulus-rails 1.0.2
Message-ID:  <202201111852.20BIqbbL060364@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=28db9d8ae0bfcf88ece7c9788b704f1200f223e3

commit 28db9d8ae0bfcf88ece7c9788b704f1200f223e3
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-01-11 16:56:35 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-01-11 18:43:49 +0000

    www/rubygem-stimulus-rails: Add rubygem-stimulus-rails 1.0.2
    
    Stimulus is a JavaScript framework with modest ambitions. It doesn’t seek to
    take over your entire front-end in fact, it’s not concerned with rendering HTML
    at all. Instead, it’s designed to augment your HTML with just enough behavior to
    make it shine. Stimulus pairs beautifully with Turbo to provide a complete
    solution for fast, compelling applications with a minimal amount of effort.
    Together they form the core of Hotwire.
    
    Stimulus for Rails makes it easy to use this modest framework with both
    import-mapped and JavaScript-bundled apps. It relies on either importmap-rails
    to make Stimulus available via ESM or a Node-capable Rails (like via
    jsbundling-rails) to include Stimulus in the bundle. Make sure to install one of
    these first!
    
    WWW: https://github.com/hotwired/stimulus-rails
---
 www/Makefile                         |  1 +
 www/rubygem-stimulus-rails/Makefile  | 21 +++++++++++++++++++++
 www/rubygem-stimulus-rails/distinfo  |  3 +++
 www/rubygem-stimulus-rails/pkg-descr | 14 ++++++++++++++
 4 files changed, 39 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 291f0e46c662..8491da2a95f4 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2127,6 +2127,7 @@
     SUBDIR += rubygem-sinatra1
     SUBDIR += rubygem-smashing
     SUBDIR += rubygem-socksify
+    SUBDIR += rubygem-stimulus-rails
     SUBDIR += rubygem-swd
     SUBDIR += rubygem-task_list
     SUBDIR += rubygem-thin
diff --git a/www/rubygem-stimulus-rails/Makefile b/www/rubygem-stimulus-rails/Makefile
new file mode 100644
index 000000000000..5e0110d386e4
--- /dev/null
+++ b/www/rubygem-stimulus-rails/Makefile
@@ -0,0 +1,21 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	stimulus-rails
+PORTVERSION=	1.0.2
+CATEGORIES=	www rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Modest JavaScript framework for the HTML you already have
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS=	rubygem-railties70>=6.0.0:www/rubygem-railties70
+
+USES=		gem
+USE_RUBY=	yes
+
+NO_ARCH=	yes
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-stimulus-rails/distinfo b/www/rubygem-stimulus-rails/distinfo
new file mode 100644
index 000000000000..a19e25ba11da
--- /dev/null
+++ b/www/rubygem-stimulus-rails/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1641045748
+SHA256 (rubygem/stimulus-rails-1.0.2.gem) = 1c3c8ec2ea608928e6f5fdb18e2bb1f5a72c1fa94d0395c27bf2e229e80f4e02
+SIZE (rubygem/stimulus-rails-1.0.2.gem) = 59392
diff --git a/www/rubygem-stimulus-rails/pkg-descr b/www/rubygem-stimulus-rails/pkg-descr
new file mode 100644
index 000000000000..c1f01ef1c892
--- /dev/null
+++ b/www/rubygem-stimulus-rails/pkg-descr
@@ -0,0 +1,14 @@
+Stimulus is a JavaScript framework with modest ambitions. It doesn’t seek to
+take over your entire front-end in fact, it’s not concerned with rendering HTML
+at all. Instead, it’s designed to augment your HTML with just enough behavior to
+make it shine. Stimulus pairs beautifully with Turbo to provide a complete
+solution for fast, compelling applications with a minimal amount of effort.
+Together they form the core of Hotwire.
+
+Stimulus for Rails makes it easy to use this modest framework with both
+import-mapped and JavaScript-bundled apps. It relies on either importmap-rails
+to make Stimulus available via ESM or a Node-capable Rails (like via
+jsbundling-rails) to include Stimulus in the bundle. Make sure to install one of
+these first!
+
+WWW: https://github.com/hotwired/stimulus-rails



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202201111852.20BIqbbL060364>