www/rubygem-turbo-rails-rails70: Add rubygem-turbo-rails-rails70 1.5.0 (copied from rubygem-turbo-rails)

This commit is contained in:
Po-Chuan Hsieh 2023-11-01 15:56:48 +08:00
parent 1d497fa0ae
commit 3d7d1efe59
No known key found for this signature in database
GPG key ID: 9A4BD10F002DD04B
4 changed files with 49 additions and 0 deletions

View file

@ -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

View file

@ -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>

View file

@ -0,0 +1,3 @@
TIMESTAMP = 1697330206
SHA256 (rubygem/turbo-rails-1.5.0.gem) = b426cc762fb0940277729b3f1751a9f0bd269f5613c1d62ac73e5f0be7c7a83e
SIZE (rubygem/turbo-rails-1.5.0.gem) = 148480

View file

@ -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.