git: 26c07ef81bdc - main - www/rubygem-turbo-rails: Add rubygem-turbo-rails 1.0.0

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 11 Jan 2022 18:52:39 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=26c07ef81bdc25250f5ce5522311ef7312bcfc7a

commit 26c07ef81bdc25250f5ce5522311ef7312bcfc7a
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2022-01-11 16:56:43 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2022-01-11 18:43:50 +0000

    www/rubygem-turbo-rails: Add rubygem-turbo-rails 1.0.0
    
    Turbo gives you the speed of a single-page web application without having to
    write any JavaScript. Turbo accelerates links and form submissions without
    requiring you to change your server-side generated HTML. It lets you carve up a
    page into independent frames, which can be lazy-loaded and operate as
    independent components. And finally, helps you make partial page updates using
    just HTML and a set of CRUD-like container tags. These three techniques reduce
    the amount of custom JavaScript that many web applications need to write by an
    order of magnitude. And for the few dynamic bits that are left, you're invited
    to finish the job with Stimulus.
    
    On top of accelerating web applications, Turbo was built from the ground-up to
    form the foundation of hybrid native applications. Write the navigational shell
    of your Android or iOS app using the standard platform tooling, then seamlessly
    fill in features from the web, following native navigation patterns. Not every
    mobile screen needs to be written in Swift or Kotlin to feel native. With Turbo,
    you spend less time wrangling JSON, waiting on app stores to approve updates, or
    reimplementing features you've already created in HTML.
    
    Turbo is a language-agnostic framework written in TypeScript, but this gem
    builds on top of those basics to make the integration with Rails as smooth as
    possible. You can deliver turbo updates via model callbacks over Action Cable,
    respond to controller actions with native navigation or standard redirects, and
    render turbo frames with helpers and layout-free responses.
    
    WWW: https://github.com/hotwired/turbo-rails
---
 www/Makefile                      |  1 +
 www/rubygem-turbo-rails/Makefile  | 22 ++++++++++++++++++++++
 www/rubygem-turbo-rails/distinfo  |  3 +++
 www/rubygem-turbo-rails/pkg-descr | 25 +++++++++++++++++++++++++
 4 files changed, 51 insertions(+)

diff --git a/www/Makefile b/www/Makefile
index 97622535e200..f65defb33283 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2137,6 +2137,7 @@
     SUBDIR += rubygem-toml-rb
     SUBDIR += rubygem-totoridipjp
     SUBDIR += rubygem-tumblr_client
+    SUBDIR += rubygem-turbo-rails
     SUBDIR += rubygem-turbolinks
     SUBDIR += rubygem-turbolinks-source
     SUBDIR += rubygem-typhoeus
diff --git a/www/rubygem-turbo-rails/Makefile b/www/rubygem-turbo-rails/Makefile
new file mode 100644
index 000000000000..f1c04c2d5648
--- /dev/null
+++ b/www/rubygem-turbo-rails/Makefile
@@ -0,0 +1,22 @@
+# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
+
+PORTNAME=	turbo-rails
+PORTVERSION=	1.0.0
+CATEGORIES=	www rubygems
+MASTER_SITES=	RG
+
+MAINTAINER=	sunpoet@FreeBSD.org
+COMMENT=	Speed of a single-page web application without having to write any JavaScript
+
+LICENSE=	MIT
+LICENSE_FILE=	${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS=	rubygem-actionpack70>=6.0.0:www/rubygem-actionpack70 \
+		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-turbo-rails/distinfo b/www/rubygem-turbo-rails/distinfo
new file mode 100644
index 000000000000..4c46b9b1e9c5
--- /dev/null
+++ b/www/rubygem-turbo-rails/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1641045752
+SHA256 (rubygem/turbo-rails-1.0.0.gem) = 1ee4d70a80fe177f3df910203f4427523d805ffce21c3cbab987d72d1fea27ef
+SIZE (rubygem/turbo-rails-1.0.0.gem) = 121344
diff --git a/www/rubygem-turbo-rails/pkg-descr b/www/rubygem-turbo-rails/pkg-descr
new file mode 100644
index 000000000000..cba42e7dde5e
--- /dev/null
+++ b/www/rubygem-turbo-rails/pkg-descr
@@ -0,0 +1,25 @@
+Turbo gives you the speed of a single-page web application without having to
+write any JavaScript. Turbo accelerates links and form submissions without
+requiring you to change your server-side generated HTML. It lets you carve up a
+page into independent frames, which can be lazy-loaded and operate as
+independent components. And finally, helps you make partial page updates using
+just HTML and a set of CRUD-like container tags. These three techniques reduce
+the amount of custom JavaScript that many web applications need to write by an
+order of magnitude. And for the few dynamic bits that are left, you're invited
+to finish the job with Stimulus.
+
+On top of accelerating web applications, Turbo was built from the ground-up to
+form the foundation of hybrid native applications. Write the navigational shell
+of your Android or iOS app using the standard platform tooling, then seamlessly
+fill in features from the web, following native navigation patterns. Not every
+mobile screen needs to be written in Swift or Kotlin to feel native. With Turbo,
+you spend less time wrangling JSON, waiting on app stores to approve updates, or
+reimplementing features you've already created in HTML.
+
+Turbo is a language-agnostic framework written in TypeScript, but this gem
+builds on top of those basics to make the integration with Rails as smooth as
+possible. You can deliver turbo updates via model callbacks over Action Cable,
+respond to controller actions with native navigation or standard redirects, and
+render turbo frames with helpers and layout-free responses.
+
+WWW: https://github.com/hotwired/turbo-rails