From owner-svn-ports-all@freebsd.org Fri Apr 14 15:28:53 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 445FDD3D787; Fri, 14 Apr 2017 15:28:53 +0000 (UTC) (envelope-from jrm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 00AE5C30; Fri, 14 Apr 2017 15:28:52 +0000 (UTC) (envelope-from jrm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v3EFSql1092560; Fri, 14 Apr 2017 15:28:52 GMT (envelope-from jrm@FreeBSD.org) Received: (from jrm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v3EFSpWw092556; Fri, 14 Apr 2017 15:28:51 GMT (envelope-from jrm@FreeBSD.org) Message-Id: <201704141528.v3EFSpWw092556@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jrm set sender to jrm@FreeBSD.org using -f From: Joseph Mingrone Date: Fri, 14 Apr 2017 15:28:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r438522 - in head/www: . rubygem-rails_serve_static_assets X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Apr 2017 15:28:53 -0000 Author: jrm Date: Fri Apr 14 15:28:51 2017 New Revision: 438522 URL: https://svnweb.freebsd.org/changeset/ports/438522 Log: New port, www/rubygem-rails_serve_static_assets: Enables serving assets in production Adding www/rubygem-rails_serve_static_assets, because it is required for the upcoming www/mastodon port. WWW: https://github.com/heroku/rails_serve_static_assets/ Approved by: swills (mentor, implicit) Added: head/www/rubygem-rails_serve_static_assets/ head/www/rubygem-rails_serve_static_assets/Makefile (contents, props changed) head/www/rubygem-rails_serve_static_assets/distinfo (contents, props changed) head/www/rubygem-rails_serve_static_assets/pkg-descr (contents, props changed) Modified: head/www/Makefile Modified: head/www/Makefile ============================================================================== --- head/www/Makefile Fri Apr 14 15:19:30 2017 (r438521) +++ head/www/Makefile Fri Apr 14 15:28:51 2017 (r438522) @@ -2066,6 +2066,7 @@ SUBDIR += rubygem-rack16 SUBDIR += rubygem-rails4 SUBDIR += rubygem-rails_autolink + SUBDIR += rubygem-rails_serve_static_assets SUBDIR += rubygem-rails-settings-cached SUBDIR += rubygem-railties4 SUBDIR += rubygem-railties5 Added: head/www/rubygem-rails_serve_static_assets/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/rubygem-rails_serve_static_assets/Makefile Fri Apr 14 15:28:51 2017 (r438522) @@ -0,0 +1,19 @@ +# $FreeBSD$ + +PORTNAME= rails_serve_static_assets +PORTVERSION= 0.0.5 +CATEGORIES= www rubygems +MASTER_SITES= RG + +MAINTAINER= jrm@FreeBSD.org +COMMENT= Enables serving assets in production + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +NO_ARCH= yes + +USE_RUBY= yes +USES= gem + +.include Added: head/www/rubygem-rails_serve_static_assets/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/rubygem-rails_serve_static_assets/distinfo Fri Apr 14 15:28:51 2017 (r438522) @@ -0,0 +1,3 @@ +TIMESTAMP = 1492183315 +SHA256 (rubygem/rails_serve_static_assets-0.0.5.gem) = 203bf07eaf188512ef5c7e2243285564b29dcf77a0909b9693983495ae1380e9 +SIZE (rubygem/rails_serve_static_assets-0.0.5.gem) = 1285632 Added: head/www/rubygem-rails_serve_static_assets/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/www/rubygem-rails_serve_static_assets/pkg-descr Fri Apr 14 15:28:51 2017 (r438522) @@ -0,0 +1,8 @@ +This gem forces Rails to serve static assets. + +By default Rails4 will return a 404 if an asset is not handled via an external +proxy such as Nginx. While this default behavior may help you debug your Nginx +configuration, it makes a default Rails application with assets unusable on a +12factor platform. This gem fixes that. + +WWW: https://github.com/heroku/rails_serve_static_assets/