From nobody Tue Jan 11 18:52:39 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 284B4194C5FC; Tue, 11 Jan 2022 18:52:40 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4JYKZH5hGHz4drv; Tue, 11 Jan 2022 18:52:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 78FB41E98A; Tue, 11 Jan 2022 18:52:39 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 20BIqdZ2060413; Tue, 11 Jan 2022 18:52:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20BIqdCI060412; Tue, 11 Jan 2022 18:52:39 GMT (envelope-from git) Date: Tue, 11 Jan 2022 18:52:39 GMT Message-Id: <202201111852.20BIqdCI060412@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 26c07ef81bdc - main - www/rubygem-turbo-rails: Add rubygem-turbo-rails 1.0.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 26c07ef81bdc25250f5ce5522311ef7312bcfc7a Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641927159; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=oAeYpTQvb2M9KOYN7BEEkDesSHKqeVYvWbwRxnaWFVc=; b=wL21NJ8FO436oDRjOjs8zERSpMoc5ekh+Eucy5BzgZzsZOxZJ/zMwgWgqAYMMLSeveagvB OG6I+Fp+rK0e/hh2yPEUNBJbegqCoP0B+7m8+HPh/ecJFSjANCV2eNRrqcIi+/gCrXhzoc iKlSolTatolfj3VFc8GKzOToL8z+VPJKFV+uvdlFdn8AxyWQYAt19IgiEZetVP7SXBAOnp 94dFx9h+mMPvHQ7bBJGyc65YzJJqhzLf3zly60M6x8HnZrTOrJgPcrpQZp/2aQTNBhr6cr gC3bVi+UBqVOObp4rBt1UUjeufuUsYBXDMecU7N4vGDAlhwr/G/poBoIlN/3ow== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641927159; a=rsa-sha256; cv=none; b=yEc8l1pMN2lmp3Tiw2jSOzp8F052rBlCSNyTAzr7X9u8+V1/xtkysq9762AFwsJxv7WJge QbmCiG6cXaFv54gz9yOLJYLwAvAgjEoqV1j/Tc6OWWd2NacRc8SKcrlMeFInIFTL0sC8A9 KzqEmDXsfxLCx1CgEo62X9EvK8zMKbUzIO9M48p4EQSA/ruC7G07N0RhqPmf5Iv5f/ZgS0 8orrEKvsSvtMmd/AviJ2tYdlMH6gYJC+zTnbiSohGGFPGp5WFm4BMzvkzuBIQUINxBKTmW K+Po3VTgKU3h/+Q1OLcafAbtXj2p3BbQ3N8/8ZIxqbRHVpZJnfUQ+ianXLc0Mw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=26c07ef81bdc25250f5ce5522311ef7312bcfc7a commit 26c07ef81bdc25250f5ce5522311ef7312bcfc7a Author: Po-Chuan Hsieh AuthorDate: 2022-01-11 16:56:43 +0000 Commit: Po-Chuan Hsieh 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 + +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 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