git: 3d7d1efe59fd - main - www/rubygem-turbo-rails-rails70: Add rubygem-turbo-rails-rails70 1.5.0 (copied from rubygem-turbo-rails)
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 01 Nov 2023 07:59:31 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=3d7d1efe59fd94c5b4b90df8325c7973d4c85a28 commit 3d7d1efe59fd94c5b4b90df8325c7973d4c85a28 Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2023-11-01 07:56:48 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2023-11-01 07:56:48 +0000 www/rubygem-turbo-rails-rails70: Add rubygem-turbo-rails-rails70 1.5.0 (copied from rubygem-turbo-rails) --- www/Makefile | 1 + www/rubygem-turbo-rails-rails70/Makefile | 22 ++++++++++++++++++++++ www/rubygem-turbo-rails-rails70/distinfo | 3 +++ www/rubygem-turbo-rails-rails70/pkg-descr | 23 +++++++++++++++++++++++ 4 files changed, 49 insertions(+) diff --git a/www/Makefile b/www/Makefile index 9e6145a08bc1..9071654c982a 100644 --- a/www/Makefile +++ b/www/Makefile @@ -2275,6 +2275,7 @@ SUBDIR += rubygem-totoridipjp SUBDIR += rubygem-tumblr_client SUBDIR += rubygem-turbo-rails + SUBDIR += rubygem-turbo-rails-rails70 SUBDIR += rubygem-turbolinks SUBDIR += rubygem-turbolinks-source SUBDIR += rubygem-typhoeus diff --git a/www/rubygem-turbo-rails-rails70/Makefile b/www/rubygem-turbo-rails-rails70/Makefile new file mode 100644 index 000000000000..d24c84d80aa9 --- /dev/null +++ b/www/rubygem-turbo-rails-rails70/Makefile @@ -0,0 +1,22 @@ +PORTNAME= turbo-rails +PORTVERSION= 1.5.0 +CATEGORIES= www rubygems +MASTER_SITES= RG +PKGNAMESUFFIX= -rails70 + +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-actionpack70>=6.0.0:www/rubygem-actionpack70 \ + rubygem-activejob70>=6.0.0:devel/rubygem-activejob70 \ + rubygem-railties70>=6.0.0:www/rubygem-railties70 + +USES= gem + +NO_ARCH= yes + +.include <bsd.port.mk> diff --git a/www/rubygem-turbo-rails-rails70/distinfo b/www/rubygem-turbo-rails-rails70/distinfo new file mode 100644 index 000000000000..02029acd973d --- /dev/null +++ b/www/rubygem-turbo-rails-rails70/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1697330206 +SHA256 (rubygem/turbo-rails-1.5.0.gem) = b426cc762fb0940277729b3f1751a9f0bd269f5613c1d62ac73e5f0be7c7a83e +SIZE (rubygem/turbo-rails-1.5.0.gem) = 148480 diff --git a/www/rubygem-turbo-rails-rails70/pkg-descr b/www/rubygem-turbo-rails-rails70/pkg-descr new file mode 100644 index 000000000000..8ec8ea2ef762 --- /dev/null +++ b/www/rubygem-turbo-rails-rails70/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.