From nobody Tue Jan 11 18:52:34 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 80A3F194C4FB; Tue, 11 Jan 2022 18:52:37 +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 4JYKZC0ZpXz4f7Q; Tue, 11 Jan 2022 18:52:35 +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 D27611E989; Tue, 11 Jan 2022 18:52:34 +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 20BIqYeX060311; Tue, 11 Jan 2022 18:52:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 20BIqYUT060310; Tue, 11 Jan 2022 18:52:34 GMT (envelope-from git) Date: Tue, 11 Jan 2022 18:52:34 GMT Message-Id: <202201111852.20BIqYUT060310@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: b08d9d47c2d6 - main - www/rubygem-jsbundling-rails: Add rubygem-jsbundling-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: b08d9d47c2d600a0bc694f1828a2ec8535082fbf Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641927156; 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=CMUB8pQbvJi18dg2cJNmufrmNZDrpOgdgf7U4asMeAs=; b=WF3PbKPYq9M9evCJmhuPlGsFVq9Re4WyulaokQFSvgcP0Ve23tjk9jkV0ZEab+WE7z/u60 k9eY13pv0zKWNBBKZhAJSQ+mF0UOmJZfqUtRBRhgx9zOnHQq0B37f+ODalEV0270fEILHU 3DaUUXgrmno0rbkjJ0fBBIhAVPKF1CpBo2tA7yzjVU82upb0rFmK3UEzBFXwZzekOf/952 6jsAgoP4gvi11RUvKaZHO7MQLcs2YNQn+lhOfKxKsf6+Tggo2/bHO4FygCVsZbk5YEmX3G HbqoFXIvXgWC487us+rjp4tbyzK7vRZrMapfvihB7vQDULL9Qnva0Z+Y+TTB3Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641927156; a=rsa-sha256; cv=none; b=Qn0Eg82mLMr3aIVuZu3kNq6q4g/qmxYlr+2d7XEFTXL8muwJ+nqm47Wdo2BW+flVQKLfAA RcONjroSeCxQf2SdnWbdudcS+vG5xZuD6dgSMzIazCSUmKBVf8n8gNiK521bLajTxXyxRu gqk0BuI7Gw5NcfIxz7yu9iAzjVVjleYMXqx+9lTKl/OQ0O4qesxIASub8sOhskPAXXeJPD sh49V8DDiMaPftgRyCyEj1wGhdLB5vYn8kpmRhUJ9Wa4YbluifvAXR9SNQvF1QBURQXn75 2LLzHGClHtTpFNlp2uYnQKeQHFtS+XP2Kfz0rsuCX+1GrVgtOxz3sm40SWVuYg== 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=b08d9d47c2d600a0bc694f1828a2ec8535082fbf commit b08d9d47c2d600a0bc694f1828a2ec8535082fbf Author: Po-Chuan Hsieh AuthorDate: 2022-01-11 16:56:26 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-01-11 18:43:49 +0000 www/rubygem-jsbundling-rails: Add rubygem-jsbundling-rails 1.0.0 Use esbuild, rollup.js, or Webpack to bundle your JavaScript, then deliver it via the asset pipeline in Rails. This gem provides installers to get you going with the bundler of your choice in a new Rails application, and a convention to use app/assets/builds to hold your bundled output as artifacts that are not checked into source control (the installer adds this directory to .gitignore by default). You develop using this approach by running the bundler in watch mode in a terminal with yarn build --watch (and your Rails server in another, if you're not using something like puma-dev). You can also use ./bin/dev, which will start both the Rails server and the JS build watcher (along with a CSS build watcher, if you're also using cssbundling-rails). WWW: https://github.com/rails/jsbundling-rails --- www/Makefile | 1 + www/rubygem-jsbundling-rails/Makefile | 21 +++++++++++++++++++++ www/rubygem-jsbundling-rails/distinfo | 3 +++ www/rubygem-jsbundling-rails/pkg-descr | 14 ++++++++++++++ 4 files changed, 39 insertions(+) diff --git a/www/Makefile b/www/Makefile index fb4cf69e9a57..7955422d10db 100644 --- a/www/Makefile +++ b/www/Makefile @@ -1968,6 +1968,7 @@ SUBDIR += rubygem-jquery-turbolinks SUBDIR += rubygem-jquery-ui-rails-rails4 SUBDIR += rubygem-jruby-rack + SUBDIR += rubygem-jsbundling-rails SUBDIR += rubygem-jsobfu SUBDIR += rubygem-json-jwt SUBDIR += rubygem-jwt diff --git a/www/rubygem-jsbundling-rails/Makefile b/www/rubygem-jsbundling-rails/Makefile new file mode 100644 index 000000000000..1650a017aab7 --- /dev/null +++ b/www/rubygem-jsbundling-rails/Makefile @@ -0,0 +1,21 @@ +# Created by: Po-Chuan Hsieh + +PORTNAME= jsbundling-rails +PORTVERSION= 1.0.0 +CATEGORIES= www rubygems +MASTER_SITES= RG + +MAINTAINER= sunpoet@FreeBSD.org +COMMENT= Bundle and transpile JavaScript in Rails with esbuild, rollup.js, or Webpack + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/MIT-LICENSE + +RUN_DEPENDS= rubygem-railties70>=6.0.0:www/rubygem-railties70 + +USES= gem +USE_RUBY= yes + +NO_ARCH= yes + +.include diff --git a/www/rubygem-jsbundling-rails/distinfo b/www/rubygem-jsbundling-rails/distinfo new file mode 100644 index 000000000000..116f07b72d42 --- /dev/null +++ b/www/rubygem-jsbundling-rails/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1641045744 +SHA256 (rubygem/jsbundling-rails-1.0.0.gem) = 82db201c5da82530d94ac8d797d4dffc24a51b4a53ac9f13eae0680d21f9aab7 +SIZE (rubygem/jsbundling-rails-1.0.0.gem) = 9216 diff --git a/www/rubygem-jsbundling-rails/pkg-descr b/www/rubygem-jsbundling-rails/pkg-descr new file mode 100644 index 000000000000..8c5dfdc5ced3 --- /dev/null +++ b/www/rubygem-jsbundling-rails/pkg-descr @@ -0,0 +1,14 @@ +Use esbuild, rollup.js, or Webpack to bundle your JavaScript, then deliver it +via the asset pipeline in Rails. This gem provides installers to get you going +with the bundler of your choice in a new Rails application, and a convention to +use app/assets/builds to hold your bundled output as artifacts that are not +checked into source control (the installer adds this directory to .gitignore by +default). + +You develop using this approach by running the bundler in watch mode in a +terminal with yarn build --watch (and your Rails server in another, if you're +not using something like puma-dev). You can also use ./bin/dev, which will start +both the Rails server and the JS build watcher (along with a CSS build watcher, +if you're also using cssbundling-rails). + +WWW: https://github.com/rails/jsbundling-rails