pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/ruby-sprockets misc/ruby-sprockets: update to 4.0.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e6e8169eec57
branches:  trunk
changeset: 343459:e6e8169eec57
user:      taca <taca%pkgsrc.org@localhost>
date:      Mon Nov 04 15:41:00 2019 +0000

description:
misc/ruby-sprockets: update to 4.0.0

Update ruby-sprockets to 4.0.0.

* pkgsr change: Add "USE_LANGUAGES=     # none".


## 4.0.0

- Fixes for Ruby 2.7 keyword arguments warnings [#625](https://github.com/rails/sprockets/pull/625)
- Manifest files are sorted alphabetically [#626](https://github.com/rails/sprockets/pull/626)

## 4.0.0.beta10

- Fix YACB (Yet Another Caching Bug) [Fix broken expansion of asset link paths](https://github.com/rails/sprockets/pull/614)

## 4.0.0.beta9

- Minimum Ruby version for Sprockets 4 is now 2.5+ which matches minimum ruby verision of Rails [#604]
- Fix threading bug introduced in Sprockets 4 [#603]
- Warn when two potential manifest files exist. [#560]

## 4.0.0.beta8

- Security release for [CVE-2018-3760](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-3760)

## 4.0.0.beta7

- Fix a year long bug that caused `Sprockets::FileNotFound` errors when the asset was present [#547]
- Raise an error when two assets such as foo.js and foo.js.erb would produce the same output artifact (foo.js) [#549 #530]
- Process `*.jst.eco.erb` files with ERBProcessor

## 4.0.0.beta6

- Fix source map line offsets [#515]
- Return a `400 Bad Request` when the path encoding is invalid. [#514]

## 4.0.0.beta5

- Reduce string allocations
- Source map metadata uses compressed form specified by the [source map v3 spec](https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k). [#402] **[BREAKING]**
- Generate [index maps](https://docs.google.com/document/d/1U1RGAehQwRypUTovF1KRlpiOFze0b-_2gc6fAH0KY0k/edit#heading=h.535es3xeprgt) when decoding source maps isn't necessary. [#402]
- Remove fingerprints from source map files. [#402]

## 4.0.0.beta4

- Changing the version now busts the digest of all assets [#404]
- Exporter interface added [#386]
- Using ENV vars in templates will recompile templates when the env vars change. [#365]
- Source maps for imported sass files with sassc is now fixed [#391]
- Load paths now in error messages [#322]
- Cache key added to babel processor [#387]
- `Environment#find_asset!` can now be used to raise an exception when asset could not be found [#379]

## 4.0.0.beta3

- Source Map fixes [#255] [#367]
- Performance improvements

## 4.0.0.beta2

- Fix load_paths on Sass processors [#223]


## 4.0.0.beta1

- Initial release of Sprockets 4

Please upgrade to the latest Sprockets 3 version before upgrading to Sprockets 4. Check the 3.x branch for previous changes https://github.com/rails/sprockets/blob/3.x/CHANGELOG.md.

diffstat:

 misc/ruby-sprockets/Makefile |   9 ++++++---
 misc/ruby-sprockets/PLIST    |  31 +++++++++++++++++++------------
 misc/ruby-sprockets/distinfo |  10 +++++-----
 3 files changed, 30 insertions(+), 20 deletions(-)

diffs (131 lines):

diff -r 59f7344328ab -r e6e8169eec57 misc/ruby-sprockets/Makefile
--- a/misc/ruby-sprockets/Makefile      Mon Nov 04 15:36:29 2019 +0000
+++ b/misc/ruby-sprockets/Makefile      Mon Nov 04 15:41:00 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.16 2018/09/09 12:27:38 taca Exp $
+# $NetBSD: Makefile,v 1.17 2019/11/04 15:41:00 taca Exp $
 
-DISTNAME=      sprockets-3.7.2
+DISTNAME=      sprockets-4.0.0
 CATEGORIES=    www
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -8,7 +8,10 @@
 COMMENT=       Rack-based asset packaging system
 LICENSE=       mit
 
-DEPENDS+=      ${RUBY_PKGPREFIX}-rack16>=1.6<3:../../www/ruby-rack16
+DEPENDS+=      ${RUBY_PKGPREFIX}-rack>=2.0<3:../../www/ruby-rack
+DEPENDS+=      ${RUBY_PKGPREFIX}-concurrent-ruby>=1.0<2:../../devel/ruby-concurrent-ruby
+
+USE_LANGUAGES= # none
 
 RUBYGEM_OPTIONS+=      --format-executable
 
diff -r 59f7344328ab -r e6e8169eec57 misc/ruby-sprockets/PLIST
--- a/misc/ruby-sprockets/PLIST Mon Nov 04 15:36:29 2019 +0000
+++ b/misc/ruby-sprockets/PLIST Mon Nov 04 15:41:00 2019 +0000
@@ -1,21 +1,26 @@
-@comment $NetBSD: PLIST,v 1.9 2016/10/17 15:10:54 taca Exp $
+@comment $NetBSD: PLIST,v 1.10 2019/11/04 15:41:00 taca Exp $
 bin/sprockets${RUBY_SUFFIX}
 ${GEM_HOME}/cache/${GEM_NAME}.gem
 ${GEM_LIBDIR}/CHANGELOG.md
-${GEM_LIBDIR}/LICENSE
 ${GEM_LIBDIR}/README.md
 ${GEM_LIBDIR}/bin/sprockets
 ${GEM_LIBDIR}/lib/rake/sprocketstask.rb
 ${GEM_LIBDIR}/lib/sprockets.rb
+${GEM_LIBDIR}/lib/sprockets/add_source_map_comment_to_asset_processor.rb
 ${GEM_LIBDIR}/lib/sprockets/asset.rb
 ${GEM_LIBDIR}/lib/sprockets/autoload.rb
+${GEM_LIBDIR}/lib/sprockets/autoload/babel.rb
 ${GEM_LIBDIR}/lib/sprockets/autoload/closure.rb
 ${GEM_LIBDIR}/lib/sprockets/autoload/coffee_script.rb
 ${GEM_LIBDIR}/lib/sprockets/autoload/eco.rb
 ${GEM_LIBDIR}/lib/sprockets/autoload/ejs.rb
+${GEM_LIBDIR}/lib/sprockets/autoload/jsminc.rb
 ${GEM_LIBDIR}/lib/sprockets/autoload/sass.rb
+${GEM_LIBDIR}/lib/sprockets/autoload/sassc.rb
 ${GEM_LIBDIR}/lib/sprockets/autoload/uglifier.rb
 ${GEM_LIBDIR}/lib/sprockets/autoload/yui.rb
+${GEM_LIBDIR}/lib/sprockets/autoload/zopfli.rb
+${GEM_LIBDIR}/lib/sprockets/babel_processor.rb
 ${GEM_LIBDIR}/lib/sprockets/base.rb
 ${GEM_LIBDIR}/lib/sprockets/bower.rb
 ${GEM_LIBDIR}/lib/sprockets/bundle.rb
@@ -26,38 +31,37 @@
 ${GEM_LIBDIR}/lib/sprockets/cached_environment.rb
 ${GEM_LIBDIR}/lib/sprockets/closure_compressor.rb
 ${GEM_LIBDIR}/lib/sprockets/coffee_script_processor.rb
-${GEM_LIBDIR}/lib/sprockets/coffee_script_template.rb
 ${GEM_LIBDIR}/lib/sprockets/compressing.rb
 ${GEM_LIBDIR}/lib/sprockets/configuration.rb
 ${GEM_LIBDIR}/lib/sprockets/context.rb
 ${GEM_LIBDIR}/lib/sprockets/dependencies.rb
-${GEM_LIBDIR}/lib/sprockets/deprecation.rb
 ${GEM_LIBDIR}/lib/sprockets/digest_utils.rb
 ${GEM_LIBDIR}/lib/sprockets/directive_processor.rb
 ${GEM_LIBDIR}/lib/sprockets/eco_processor.rb
-${GEM_LIBDIR}/lib/sprockets/eco_template.rb
 ${GEM_LIBDIR}/lib/sprockets/ejs_processor.rb
-${GEM_LIBDIR}/lib/sprockets/ejs_template.rb
 ${GEM_LIBDIR}/lib/sprockets/encoding_utils.rb
-${GEM_LIBDIR}/lib/sprockets/engines.rb
 ${GEM_LIBDIR}/lib/sprockets/environment.rb
 ${GEM_LIBDIR}/lib/sprockets/erb_processor.rb
-${GEM_LIBDIR}/lib/sprockets/erb_template.rb
 ${GEM_LIBDIR}/lib/sprockets/errors.rb
+${GEM_LIBDIR}/lib/sprockets/exporters/base.rb
+${GEM_LIBDIR}/lib/sprockets/exporters/file_exporter.rb
+${GEM_LIBDIR}/lib/sprockets/exporters/zlib_exporter.rb
+${GEM_LIBDIR}/lib/sprockets/exporters/zopfli_exporter.rb
+${GEM_LIBDIR}/lib/sprockets/exporting.rb
 ${GEM_LIBDIR}/lib/sprockets/file_reader.rb
 ${GEM_LIBDIR}/lib/sprockets/http_utils.rb
+${GEM_LIBDIR}/lib/sprockets/jsminc_compressor.rb
 ${GEM_LIBDIR}/lib/sprockets/jst_processor.rb
-${GEM_LIBDIR}/lib/sprockets/legacy.rb
-${GEM_LIBDIR}/lib/sprockets/legacy_proc_processor.rb
-${GEM_LIBDIR}/lib/sprockets/legacy_tilt_processor.rb
 ${GEM_LIBDIR}/lib/sprockets/loader.rb
 ${GEM_LIBDIR}/lib/sprockets/manifest.rb
 ${GEM_LIBDIR}/lib/sprockets/manifest_utils.rb
 ${GEM_LIBDIR}/lib/sprockets/mime.rb
+${GEM_LIBDIR}/lib/sprockets/npm.rb
 ${GEM_LIBDIR}/lib/sprockets/path_dependency_utils.rb
 ${GEM_LIBDIR}/lib/sprockets/path_digest_utils.rb
 ${GEM_LIBDIR}/lib/sprockets/path_utils.rb
 ${GEM_LIBDIR}/lib/sprockets/paths.rb
+${GEM_LIBDIR}/lib/sprockets/preprocessors/default_source_map.rb
 ${GEM_LIBDIR}/lib/sprockets/processing.rb
 ${GEM_LIBDIR}/lib/sprockets/processor_utils.rb
 ${GEM_LIBDIR}/lib/sprockets/resolve.rb
@@ -66,8 +70,11 @@
 ${GEM_LIBDIR}/lib/sprockets/sass_functions.rb
 ${GEM_LIBDIR}/lib/sprockets/sass_importer.rb
 ${GEM_LIBDIR}/lib/sprockets/sass_processor.rb
-${GEM_LIBDIR}/lib/sprockets/sass_template.rb
+${GEM_LIBDIR}/lib/sprockets/sassc_compressor.rb
+${GEM_LIBDIR}/lib/sprockets/sassc_processor.rb
 ${GEM_LIBDIR}/lib/sprockets/server.rb
+${GEM_LIBDIR}/lib/sprockets/source_map_processor.rb
+${GEM_LIBDIR}/lib/sprockets/source_map_utils.rb
 ${GEM_LIBDIR}/lib/sprockets/transformers.rb
 ${GEM_LIBDIR}/lib/sprockets/uglifier_compressor.rb
 ${GEM_LIBDIR}/lib/sprockets/unloaded_asset.rb
diff -r 59f7344328ab -r e6e8169eec57 misc/ruby-sprockets/distinfo
--- a/misc/ruby-sprockets/distinfo      Mon Nov 04 15:36:29 2019 +0000
+++ b/misc/ruby-sprockets/distinfo      Mon Nov 04 15:41:00 2019 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.15 2018/09/09 12:27:38 taca Exp $
+$NetBSD: distinfo,v 1.16 2019/11/04 15:41:00 taca Exp $
 
-SHA1 (sprockets-3.7.2.gem) = 841a7f1086f1095dc11cbc422ee2487e48bc83db
-RMD160 (sprockets-3.7.2.gem) = d98c249221635d16bf2b550c26f72f89a446d149
-SHA512 (sprockets-3.7.2.gem) = d6570e06eb6bc3d405132daaa22f08fa6ee22f2ed367c48ca0975115d158153ce24ec90c12f3edfb3cc5f15d2dc94c5d95227952e159d41e3ab0adcd9700a7af
-Size (sprockets-3.7.2.gem) = 72704 bytes
+SHA1 (sprockets-4.0.0.gem) = 646de36d010119c937aa79964b436b380638f227
+RMD160 (sprockets-4.0.0.gem) = ec59b1a55ce5c431ec4275b8a5ad9ffa50020fb9
+SHA512 (sprockets-4.0.0.gem) = 72edb3668a5716ed7bb418c21be065c7de3caeb68e618de7325b80c6d0705beffeb7ccb67fb38e0fc810d15a6f8cb36fdbec48e3bd70ef020b4fc629706f3d1d
+Size (sprockets-4.0.0.gem) = 80384 bytes



Home | Main Index | Thread Index | Old Index