pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ruby-sprockets-helpers: Import ruby-sprockets-helpers-1.4.0 as wip/ruby-sprockets-helpers



Module Name:	pkgsrc-wip
Committed By:	Atsushi Toyokura <asteria.at%gmail.com@localhost>
Pushed By:	steleto
Date:		Fri Nov 3 14:17:23 2023 +0900
Changeset:	236200e4494e1c8dceb44ee11fc9fb908f4b615d

Modified Files:
	Makefile
Added Files:
	ruby-sprockets-helpers/DESCR
	ruby-sprockets-helpers/Makefile
	ruby-sprockets-helpers/PLIST
	ruby-sprockets-helpers/distinfo

Log Message:
ruby-sprockets-helpers: Import ruby-sprockets-helpers-1.4.0 as wip/ruby-sprockets-helpers

Asset path helpers for Sprockets 4.x & 3.x & <= 2.2 applications

Sprockets::Helpers adds the asset_path helpers, familiar to Rails
developers, to Sprockets 2.x assets and applications.

Features

* Includes helpers for image, javascript, stylesheet, font, video, &
  audio assets.
* Automatically appends extension if necessary.
* Optionally outputs digest paths.
* Falls back to file paths in the public directory & adds cache
  busting timestamp.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=236200e4494e1c8dceb44ee11fc9fb908f4b615d

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile                        |  1 +
 ruby-sprockets-helpers/DESCR    | 13 +++++++++++++
 ruby-sprockets-helpers/Makefile | 14 ++++++++++++++
 ruby-sprockets-helpers/PLIST    | 38 ++++++++++++++++++++++++++++++++++++++
 ruby-sprockets-helpers/distinfo |  5 +++++
 5 files changed, 71 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 3f70a7da52..623af6c206 100644
--- a/Makefile
+++ b/Makefile
@@ -4939,6 +4939,7 @@ SUBDIR+=	ruby-sdl2
 SUBDIR+=	ruby-simple-navigation
 SUBDIR+=	ruby-sinatra-simple-navigation
 SUBDIR+=	ruby-sinatra1
+SUBDIR+=	ruby-sprockets-helpers
 SUBDIR+=	ruby-sqlite3
 SUBDIR+=	ruby-table_print
 SUBDIR+=	ruby-taskwarrior-web
diff --git a/ruby-sprockets-helpers/DESCR b/ruby-sprockets-helpers/DESCR
new file mode 100644
index 0000000000..853a2fb233
--- /dev/null
+++ b/ruby-sprockets-helpers/DESCR
@@ -0,0 +1,13 @@
+Asset path helpers for Sprockets 4.x & 3.x & <= 2.2 applications
+
+Sprockets::Helpers adds the asset_path helpers, familiar to Rails
+developers, to Sprockets 2.x assets and applications.
+
+Features
+
+* Includes helpers for image, javascript, stylesheet, font, video, &
+  audio assets.
+* Automatically appends extension if necessary.
+* Optionally outputs digest paths.
+* Falls back to file paths in the public directory & adds cache
+  busting timestamp.
diff --git a/ruby-sprockets-helpers/Makefile b/ruby-sprockets-helpers/Makefile
new file mode 100644
index 0000000000..d712ab30f9
--- /dev/null
+++ b/ruby-sprockets-helpers/Makefile
@@ -0,0 +1,14 @@
+# $NetBSD$
+
+DISTNAME=	sprockets-helpers-1.4.0
+CATEGORIES=	misc
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/petebrowne/sprockets-helpers
+COMMENT=	Asset path helpers for Sprockets 2.x & 3.x applications
+LICENSE=	mit
+
+DEPENDS+=	${RUBY_PKGPREFIX}-sprockets>=2.2:../../misc/ruby-sprockets
+
+.include "../../lang/ruby/gem.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/ruby-sprockets-helpers/PLIST b/ruby-sprockets-helpers/PLIST
new file mode 100644
index 0000000000..63b1844704
--- /dev/null
+++ b/ruby-sprockets-helpers/PLIST
@@ -0,0 +1,38 @@
+@comment $NetBSD$
+${GEM_HOME}/cache/${GEM_NAME}.gem
+${GEM_LIBDIR}/.gitignore
+${GEM_LIBDIR}/Appraisals
+${GEM_LIBDIR}/Gemfile
+${GEM_LIBDIR}/LICENSE
+${GEM_LIBDIR}/README.md
+${GEM_LIBDIR}/Rakefile
+${GEM_LIBDIR}/gemfiles/sprockets_2.0.gemfile
+${GEM_LIBDIR}/gemfiles/sprockets_2.1.gemfile
+${GEM_LIBDIR}/gemfiles/sprockets_2.2.gemfile
+${GEM_LIBDIR}/gemfiles/sprockets_2.3.gemfile
+${GEM_LIBDIR}/gemfiles/sprockets_2.4.gemfile
+${GEM_LIBDIR}/gemfiles/sprockets_2.5.gemfile
+${GEM_LIBDIR}/gemfiles/sprockets_2.6.gemfile
+${GEM_LIBDIR}/gemfiles/sprockets_2.7.gemfile
+${GEM_LIBDIR}/gemfiles/sprockets_2.8.gemfile
+${GEM_LIBDIR}/gemfiles/sprockets_2.9.gemfile
+${GEM_LIBDIR}/gemfiles/sprockets_3.0.gemfile
+${GEM_LIBDIR}/gemfiles/sprockets_3.1.gemfile
+${GEM_LIBDIR}/gemfiles/sprockets_3.2.gemfile
+${GEM_LIBDIR}/gemfiles/sprockets_4.0.gemfile
+${GEM_LIBDIR}/lib/sinatra/sprockets-helpers.rb
+${GEM_LIBDIR}/lib/sinatra/sprockets/helpers.rb
+${GEM_LIBDIR}/lib/sprockets-helpers.rb
+${GEM_LIBDIR}/lib/sprockets/helpers.rb
+${GEM_LIBDIR}/lib/sprockets/helpers/asset_path.rb
+${GEM_LIBDIR}/lib/sprockets/helpers/base_path.rb
+${GEM_LIBDIR}/lib/sprockets/helpers/file_path.rb
+${GEM_LIBDIR}/lib/sprockets/helpers/manifest_path.rb
+${GEM_LIBDIR}/lib/sprockets/helpers/settings.rb
+${GEM_LIBDIR}/lib/sprockets/helpers/version.rb
+${GEM_LIBDIR}/spec/spec_helper.rb
+${GEM_LIBDIR}/spec/sprockets-helpers_spec.rb
+${GEM_LIBDIR}/sprockets-helpers.gemspec
+${GEM_HOME}/specifications/${GEM_NAME}.gemspec
+@pkgdir lib/ruby/gems/3.2.0/plugins
+@pkgdir lib/ruby/gems/3.2.0/extensions
diff --git a/ruby-sprockets-helpers/distinfo b/ruby-sprockets-helpers/distinfo
new file mode 100644
index 0000000000..6a1c997c20
--- /dev/null
+++ b/ruby-sprockets-helpers/distinfo
@@ -0,0 +1,5 @@
+$NetBSD$
+
+BLAKE2s (sprockets-helpers-1.4.0.gem) = c5c5207a484c37f6010015478a2c7a3a59e500a9edfecc7db7ffe0539399a6a1
+SHA512 (sprockets-helpers-1.4.0.gem) = 8fc14f1a46d08dad8de17cbb4138a15c22bba0eeca09b566ea812ddf912b4a4121a52871e67e015150ca7e74c89ae65fd1049ea6776614ebedfe9a3300dd12a1
+Size (sprockets-helpers-1.4.0.gem) = 16896 bytes


Home | Main Index | Thread Index | Old Index