From 8e03f63d27a064fe016228304b0e78da619ac39206ff50a00870d41c241d8236 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Thu, 6 Feb 2025 18:29:37 +0100 Subject: [PATCH] Sync from SUSE:SLFO:Main rubygem-sprockets revision a778f181fa63f0ea8f2b17bc2e4b3971 --- .gitattributes | 23 +++ gem2rpm.yml | 70 +++++++ rubygem-sprockets.changes | 422 ++++++++++++++++++++++++++++++++++++++ rubygem-sprockets.spec | 58 ++++++ sprockets-4.2.1.gem | 3 + 5 files changed, 576 insertions(+) create mode 100644 .gitattributes create mode 100644 gem2rpm.yml create mode 100644 rubygem-sprockets.changes create mode 100644 rubygem-sprockets.spec create mode 100644 sprockets-4.2.1.gem diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/gem2rpm.yml b/gem2rpm.yml new file mode 100644 index 0000000..01b0245 --- /dev/null +++ b/gem2rpm.yml @@ -0,0 +1,70 @@ +# --- +# ## used by gem2rpm +# :summary: this is a custom summary +# ## used by gem2rpm +# :description: |- +# this is a custom description +# +# it can be multiline +# ## used by gem2rpm +# :license: MIT or Ruby +# ## used by gem2rpm and gem_packages +# :version_suffix: -x_y +# ## used by gem2rpm and gem_packages +# :disable_docs: true +# ## used by gem2rpm +# :disable_automatic_rdoc_dep: true +# ## used by gem2rpm +# :preamble: |- +# BuildRequires: foobar +# Requires: foobar +# ## used by gem2rpm +# :patches: +# foo.patch: -p1 +# bar.patch: +# ## used by gem2rpm +:sources: +# - foo.desktop +# - bar.desktop +# :gem_install_args: '....' +# ## used by gem2rpm +# :pre_install: |- +# %if 0%{?use_system_libev} +# export USE_VENDORED_LIBEV="no" +# %endif +# ## used by gem2rpm +# :post_install: |- +# # delete custom files here or do other fancy stuff +# install -D -m 0644 %{S:1} %{buildroot}%{_bindir}/gem2rpm-opensuse +# ## used by gem2rpm +# :testsuite_command: |- +# (pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test) +# ## used by gem2rpm +# :filelist: |- +# /usr/bin/gem2rpm-opensuse +# ## used by gem2rpm +# :scripts: +# :post: |- +# /bin/echo foo +# ## used by gem_packages +# :main: +# :preamble: |- +# Requires: util-linux +# Recommends: pwgen +# :filelist: |- +# /usr/bin/gem2rpm-opensuse +# ## used by gem_packages +# :custom: +# apache: +# :preamble: |- +# Requires: ..... +# :filelist: |- +# /etc/apache2/conf.d/passenger.conf +# :summary: Custom summary is optional +# :description: |- +# Custom description is optional +# +# bar +# :post: |- +# /bin/echo foo +# diff --git a/rubygem-sprockets.changes b/rubygem-sprockets.changes new file mode 100644 index 0000000..496e430 --- /dev/null +++ b/rubygem-sprockets.changes @@ -0,0 +1,422 @@ +------------------------------------------------------------------- +Tue Nov 14 15:39:10 UTC 2023 - Dan Čermák + +- New upstream release 4.2.1, see bundled CHANGELOG.md + +------------------------------------------------------------------- +Fri Jul 8 08:51:43 UTC 2022 - Manuel Schnitzer + +- updated to version 4.1.1 + + no changelog found + +------------------------------------------------------------------- +Fri Mar 11 09:59:25 UTC 2022 - Manuel Schnitzer + +- updated to version 4.0.3 + + * Fix `Manifest#find` yielding from a Promise causing issue on Ruby 3.1.0-dev. [#720](https://github.com/rails/sprockets/pull/720) + * Better detect the ERB version to avoid deprecation warnings. [#719](https://github.com/rails/sprockets/pull/719) + * Allow assets already fingerprinted to be served through `Sprockets::Server` + * Do not fingerprint files that already contain a valid digest in their name + * Remove remaining support for Ruby < 2.4.[#672](https://github.com/rails/sprockets/pull/672) + +------------------------------------------------------------------- +Thu Jun 25 09:46:47 UTC 2020 - Manuel Schnitzer + +- updated to version 4.0.2 + + * Fix `etag` and digest path compilation that were generating string with invalid digest since 4.0.1. + +------------------------------------------------------------------- +Tue Nov 12 14:21:25 UTC 2019 - Manuel Schnitzer + +- updated to version 4.0.0 + + * Fixes for Ruby 2.7 keyword arguments warnings #625 + * Manifest files are sorted alphabetically #626 + +------------------------------------------------------------------- +Tue Jun 19 16:14:03 UTC 2018 - factory-auto@kulow.org + +- updated to version 3.7.2 + see installed CHANGELOG.md + + **3.7.2** (June 19, 2018) + + * Security release for [CVE-2018-3760](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-3760). + (bsc#1098369) + +------------------------------------------------------------------- +Tue Dec 20 05:46:36 UTC 2016 - coolo@suse.com + +- updated to version 3.7.1 + see installed CHANGELOG.md + +------------------------------------------------------------------- +Sat Jul 23 04:33:33 UTC 2016 - coolo@suse.com + +- updated to version 3.7.0 + see installed CHANGELOG.md + + ** 3.7.0** (July 21, 2016) + + * Deprecated interfaces now emit deprecation warnings #345 + +------------------------------------------------------------------- +Mon Jul 4 10:13:20 UTC 2016 - coolo@suse.com + +- updated to version 3.6.3 + see installed CHANGELOG.md + + **3.6.3** (July 1, 2016) + + * Faster asset lookup in large directories #336 + * Faster PathUtils.match_path_extname https://github.com/rails/sprockets/commit/697269cf81e5261fdd7072e32bd489403027fd7e + * Fixed uglifier comment stripping #326 + * Error messages now show load path info #313 + +------------------------------------------------------------------- +Wed Jun 29 04:33:20 UTC 2016 - coolo@suse.com + +- updated to version 3.6.2 + see installed CHANGELOG.md + + **3.6.2** (June 21, 2016) + + * More performance improvements. + +------------------------------------------------------------------- +Sat Jun 18 04:36:58 UTC 2016 - coolo@suse.com + +- updated to version 3.6.1 + see installed CHANGELOG.md + + **3.6.1** (June 17, 2016) + + * Some performance improvements. + +------------------------------------------------------------------- +Thu Apr 7 04:40:02 UTC 2016 - coolo@suse.com + +- updated to version 3.6.0 + see installed CHANGELOG.md + +------------------------------------------------------------------- +Sat Dec 12 05:31:55 UTC 2015 - coolo@suse.com + +- updated to version 3.5.2 + see installed CHANGELOG.md + + **3.5.2** (December 8, 2015) + + * Fix JRuby bug with concurrent-ruby. + * Fix disabling gzip generation in cached environments. + +------------------------------------------------------------------- +Tue Dec 8 05:33:34 UTC 2015 - coolo@suse.com + +- updated to version 3.5.1 + see installed CHANGELOG.md + + **3.5.1** (December 5, 2015) + + * Fix gzip asset generation for assets already on disk. + +------------------------------------------------------------------- +Fri Dec 4 05:32:38 UTC 2015 - coolo@suse.com + +- updated to version 3.5.0 + see installed CHANGELOG.md + + **Master** + + **3.5.0** (December 3, 2015) + + * Reintroduce Gzip file generation for non-binary assets. + +------------------------------------------------------------------- +Thu Nov 26 05:36:14 UTC 2015 - coolo@suse.com + +- updated to version 3.4.1 + see installed CHANGELOG.md + + **3.4.1** (November 25, 2015) + + * PathUtils::Entries will no longer error on an empty directory. + +------------------------------------------------------------------- +Tue Oct 6 04:32:47 UTC 2015 - coolo@suse.com + +- updated to version 3.4.0 + see installed CHANGELOG.md + + **3.4.0** (October 5, 2015) + + * Expose method to override the sass cache in the SassProcessor. + +------------------------------------------------------------------- +Sat Sep 26 04:30:21 UTC 2015 - coolo@suse.com + +- updated to version 3.3.5 + see installed CHANGELOG.md + + **3.3.5** (September 25, 2015) + + * Fix bug related to absolute path being reintroduced into history cache #141. + +------------------------------------------------------------------- +Wed Sep 2 04:31:50 UTC 2015 - coolo@suse.com + +- updated to version 3.3.4 + see installed CHANGELOG.md + + **3.3.4** (September 1, 2015) + + * Relative cache contents now work with windows. + +------------------------------------------------------------------- +Mon Aug 24 04:31:26 UTC 2015 - coolo@suse.com + +- updated to version 3.3.3 + see installed CHANGELOG.md + + **3.3.3** (August 21, 2015) + + * Remove more absolute paths from cache contents. + + **3.3.2** (August 19, 2015) + + * Fix cache contents to use relative paths instead of absolute paths. + + **3.3.1** (August 15, 2015) + + * Fix legacy Tilt integration when locals is required argument. + +------------------------------------------------------------------- +Thu Aug 13 04:30:50 UTC 2015 - coolo@suse.com + +- updated to version 3.3.0 + no changelog found + +------------------------------------------------------------------- +Wed Jun 3 04:39:24 UTC 2015 - coolo@suse.com + +- updated to version 3.2.0 + no changelog found + +------------------------------------------------------------------- +Mon May 11 04:29:31 UTC 2015 - coolo@suse.com + +- updated to version 3.1.0 + no changelog found + +------------------------------------------------------------------- +Tue Apr 28 07:48:46 UTC 2015 - coolo@suse.com + +- updated to version 3.0.3 + no changelog found + +------------------------------------------------------------------- +Thu Apr 23 08:09:18 UTC 2015 - coolo@suse.com + +- updated to version 3.0.2 + no changelog found + +------------------------------------------------------------------- +Wed Apr 15 04:30:24 UTC 2015 - coolo@suse.com + +- updated to version 3.0.1 + +------------------------------------------------------------------- +Mon Apr 13 05:21:37 UTC 2015 - coolo@suse.com + +- updated to version 3.0.0 + * New processor API. Tilt interface is deprecated. + * Improved file store caching backend. + * MIME Types now accept charset custom charset detecters. Improves support for UTF-16/32 files. + * Environment#version no longer affects asset digests. Only used for busting the asset cache. + * Removed builtin support for LESS. + * Removed `//= include` directive support. + * Deprecated `BundledAsset#to_a`. Use `BundledAsset#included` to access debugging subcomponents. + * Support circular dependencies. For parity with ES6 modules. + * Manifest compilation will no longer generate .gz files by default. [Mixing + Content-Encoding and ETags is just a bad + idea](https://issues.apache.org/bugzilla/show_bug.cgi?id=39727) + * Added linked or referenced assets. When an asset is compiled, any of its links will be compiled as well. + * Introduce some limitations around enumerating all logical paths. 4.x will deprecate it and favor linked manifests for compliation. + * Add Asset integrity attribute for Subresource Integrity + * Default digest changed to SHA256. Configuring `digest_class` is deprecated. + * Rename `Asset#digest` to `Asset#hexdigest`. `Asset#digest` is deprecated and will + return a raw byte String in 4.x. + * Added transitional compatibility flag to `Environment#resolve(path, compat: true)`. 2.x mode operates with `compat: true` and 4.x with `compat: false` + * `manifest-abc123.json` renamed to `.sprockets-abc123.json` + +------------------------------------------------------------------- +Tue Feb 10 08:01:48 UTC 2015 - coolo@suse.com + +- updated to version 2.12.3 + * Security: Fix directory traversal bug in development mode server. + +------------------------------------------------------------------- +Sun Oct 12 16:49:48 UTC 2014 - coolo@suse.com + +- updated to version 2.12.2 + * Ensure internal asset lookups calls are still restricted to load paths within + asset compiles. Though, you should not depend on internal asset resolves to be + completely restricted for security reasons. Assets themselves should be + considered full scripting environments with filesystem access. +- adapt to new rubygem packaging + +------------------------------------------------------------------- +Tue Apr 22 15:04:01 UTC 2014 - coolo@suse.com + +- updated to version 2.12.1 + * Fix making manifest target directory when its different than the output directory. + +------------------------------------------------------------------- +Fri Mar 21 12:54:12 UTC 2014 - coolo@suse.com + +- updated to version 2.12.0 + * Avoid context reference in SassImporter hack so its Marshallable. Fixes + issues with Sass 3.3.x. + +------------------------------------------------------------------- +Sat Feb 22 06:25:42 UTC 2014 - coolo@suse.com + +- updated to version 2.11.0 + * Support for `.bower.json` + +------------------------------------------------------------------- +Sat Nov 23 09:32:22 UTC 2013 - coolo@suse.com + +- updated to version 2.10.1 + `depend_on_asset` *path* works like `depend_on`, but operates + recursively reading the file and following the directives found. +- fix usage of update-alternatives + +------------------------------------------------------------------- +Sat May 25 10:29:20 UTC 2013 - coolo@suse.com + +- updated to version 2.10.0 + * Support for `bower.json` + +------------------------------------------------------------------- +Wed Apr 24 05:49:57 UTC 2013 - coolo@suse.com + +- updated to version 2.9.3 + * Fixed sass caching bug + +------------------------------------------------------------------- +Fri Apr 12 11:50:13 UTC 2013 - coolo@suse.com + +- updated to version 2.9.2 + * Improve file freshness check performance + * Directive processor encoding fixes + * Support for Uglifier 2.x + +------------------------------------------------------------------- +Sun Mar 3 09:35:52 UTC 2013 - coolo@suse.com + +- updated to version 2.9.0 + * Write out gzipped variants of bundled assets. + +------------------------------------------------------------------- +Tue Dec 18 14:51:41 UTC 2012 - coolo@suse.com + +- updated to version 2.8.2 + * Fixed top level Sass constant references + * Fixed manifest logger when environment is disabled + +------------------------------------------------------------------- +Thu Nov 1 07:19:06 UTC 2012 - coolo@suse.com + +- updated to version 2.8.1 + * Fixed Sass importer bug + +------------------------------------------------------------------- +Sun Oct 28 05:56:16 UTC 2012 - coolo@suse.com + +- updated to version 2.8.0 + * Allow manifest location to be seperated from output directory + * Pass logical path and absolute path to each_logical_path iterator + +------------------------------------------------------------------- +Fri Oct 12 09:46:51 UTC 2012 - coolo@suse.com + +- updated to version 2.7.0 + * Added --css-compressor and --js-compressor command line flags + * Added css/js compressor shorthand + * Change default manifest.json filename to be a randomized manifest-16HEXBYTES.json + * Allow nil environment to be passed to manifest + * Allow manifest instance to be set on rake task + +------------------------------------------------------------------- +Sun Sep 23 09:15:14 UTC 2012 - coolo@suse.com + +- updated to version 2.6.0 + Added bower component.json require support + +------------------------------------------------------------------- +Tue Sep 4 18:41:28 UTC 2012 - coolo@suse.com + +- updated to version 2.5.0 + * Fixed Ruby 2.0 RegExp warning + * Provide stubbed implementation of context *_path helpers + * Add SassCompressor + +------------------------------------------------------------------- +Wed Aug 1 09:11:59 UTC 2012 - cfarrell@suse.com + +- license update: MIT + See data/LICENSE + +------------------------------------------------------------------- +Wed Aug 1 05:25:51 UTC 2012 - coolo@suse.com + +- no need for the extra suffix, renamed back to rubygem-sprockets + +------------------------------------------------------------------- +Sun Jul 15 11:39:04 UTC 2012 - coolo@suse.com + +- update to 2.4.5 + * Tweaked some logger levels + * Canonicalize logical path extensions + * Check absolute paths passed to depend_on + +------------------------------------------------------------------- +Sun Jun 10 14:32:41 UTC 2012 - coolo@suse.com + +- update to 2.4.3 + * Exposed :sprockets in sass options + * Include dependency paths in asset mtime + +------------------------------------------------------------------- +Tue May 8 05:02:57 UTC 2012 - coolo@suse.com + +- update to 2.4.2 + * Fixed MultiJson feature detect + +------------------------------------------------------------------- +Sat Apr 28 11:46:04 UTC 2012 - coolo@suse.com + +- update to 2.4.1 + * Fixed MultiJson API change + * Fixed gzip mtime + +------------------------------------------------------------------- +Wed Apr 4 18:55:53 UTC 2012 - coolo@suse.com + +- fork for 2.4 branch + +------------------------------------------------------------------- +Fri Mar 23 10:57:02 UTC 2012 - saschpe@suse.de + +- Spec file cleanup: + * Factory preparation + +------------------------------------------------------------------- +Thu Jan 26 15:55:00 UTC 2012 - mrueckert@suse.de + +- initial package for the 2.1 branch + diff --git a/rubygem-sprockets.spec b/rubygem-sprockets.spec new file mode 100644 index 0000000..d135d5c --- /dev/null +++ b/rubygem-sprockets.spec @@ -0,0 +1,58 @@ +# +# spec file for package rubygem-sprockets +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +# +# This file was generated with a gem2rpm.yml and not just plain gem2rpm. +# All sections marked as MANUAL, license headers, summaries and descriptions +# can be maintained in that file. Please consult this file before editing any +# of those fields +# + +Name: rubygem-sprockets +Version: 4.2.1 +Release: 0 +%define mod_name sprockets +%define mod_full_name %{mod_name}-%{version} +BuildRequires: %{ruby >= 2.5.0} +BuildRequires: %{rubygem gem2rpm} +BuildRequires: ruby-macros >= 5 +BuildRequires: update-alternatives +URL: https://github.com/rails/sprockets +Source: https://rubygems.org/gems/%{mod_full_name}.gem +Source1: gem2rpm.yml +Summary: Rack-based asset packaging system +License: MIT +PreReq: update-alternatives + +%description +Sprockets is a Rack-based asset packaging system that concatenates and serves +JavaScript, CoffeeScript, CSS, Sass, and SCSS. + +%prep + +%build + +%install +%gem_install \ + --symlink-binaries \ + --doc-files="CHANGELOG.md MIT-LICENSE README.md" \ + -f + +%gem_packages + +%changelog diff --git a/sprockets-4.2.1.gem b/sprockets-4.2.1.gem new file mode 100644 index 0000000..732f626 --- /dev/null +++ b/sprockets-4.2.1.gem @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:951b13dd2f2fcae840a7184722689a803e0ff9d2702d902bd844b196da773f97 +size 83456