git: 7a1843cd0e65 - main - www/rubygem-turbo-rails-rails71: Add rubygem-turbo-rails-rails71 2.0.6
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 18 Sep 2024 06:18:52 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7a1843cd0e653a5e57543b5207b2132a051fc251
commit 7a1843cd0e653a5e57543b5207b2132a051fc251
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2024-09-18 05:52:00 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2024-09-18 06:13:07 +0000
www/rubygem-turbo-rails-rails71: Add rubygem-turbo-rails-rails71 2.0.6
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/Makefile | 1 +
www/rubygem-turbo-rails-rails71/Makefile | 22 ++++++++++++++++++++++
www/rubygem-turbo-rails-rails71/distinfo | 3 +++
www/rubygem-turbo-rails-rails71/pkg-descr | 23 +++++++++++++++++++++++
4 files changed, 49 insertions(+)
diff --git a/www/Makefile b/www/Makefile
index 4b309174bc0b..4c6716d695e9 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -2304,6 +2304,7 @@
SUBDIR += rubygem-tumblr_client
SUBDIR += rubygem-turbo-rails
SUBDIR += rubygem-turbo-rails-rails70
+ SUBDIR += rubygem-turbo-rails-rails71
SUBDIR += rubygem-turbolinks
SUBDIR += rubygem-turbolinks-source
SUBDIR += rubygem-typhoeus
diff --git a/www/rubygem-turbo-rails-rails71/Makefile b/www/rubygem-turbo-rails-rails71/Makefile
new file mode 100644
index 000000000000..073c6345fd54
--- /dev/null
+++ b/www/rubygem-turbo-rails-rails71/Makefile
@@ -0,0 +1,22 @@
+PORTNAME= turbo-rails
+PORTVERSION= 2.0.6
+CATEGORIES= www rubygems
+MASTER_SITES= RG
+PKGNAMESUFFIX= -rails71
+
+MAINTAINER= sunpoet@FreeBSD.org
+COMMENT= Speed of a single-page web application without having to write any JavaScript
+WWW= https://github.com/hotwired/turbo-rails
+
+LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/MIT-LICENSE
+
+RUN_DEPENDS= rubygem-actionpack71>=6.0.0:www/rubygem-actionpack71 \
+ rubygem-activejob71>=6.0.0:devel/rubygem-activejob71 \
+ rubygem-railties71>=6.0.0:www/rubygem-railties71
+
+USES= gem
+
+NO_ARCH= yes
+
+.include <bsd.port.mk>
diff --git a/www/rubygem-turbo-rails-rails71/distinfo b/www/rubygem-turbo-rails-rails71/distinfo
new file mode 100644
index 000000000000..8e22bc870864
--- /dev/null
+++ b/www/rubygem-turbo-rails-rails71/distinfo
@@ -0,0 +1,3 @@
+TIMESTAMP = 1721499218
+SHA256 (rubygem/turbo-rails-2.0.6.gem) = e5fd7b2fd11d24f202c5d33597d291767491b9938563d4edbd4a174166eba35b
+SIZE (rubygem/turbo-rails-2.0.6.gem) = 191488
diff --git a/www/rubygem-turbo-rails-rails71/pkg-descr b/www/rubygem-turbo-rails-rails71/pkg-descr
new file mode 100644
index 000000000000..8ec8ea2ef762
--- /dev/null
+++ b/www/rubygem-turbo-rails-rails71/pkg-descr
@@ -0,0 +1,23 @@
+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.