sprockets_terser_with_source_maps 1.1.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '098b65fa08efe0ba4340c74b8c3e7a4d072c0adbada2349ceeb5f9acc2ad2060'
|
4
|
+
data.tar.gz: cf30eb25c2f22c98036673ba21185a0fd84706129a594c3988d72469be736d3b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d443e030ab3df6f8b2ac7c8ac9cbd617f241761b976402cf3b3c2b440f91749c578206c91faaa895e0c2dc97dc505871f2b6150927058918e238741312fdd892
|
7
|
+
data.tar.gz: 692c5d37501222efa7299f4e0987491c966ff2c1c0156f50cb889012b4d106c07ad67e7aa62fffa72d1f80ccf4e1bfeff079b6db4bb40edc2cd64494dea607ad
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 2.0.0 (31 March 2024)
|
4
|
+
|
5
|
+
- Ruby required >= 2.6
|
6
|
+
- Compressor output as hash with data key
|
7
|
+
- Ruby 3.3.x added to CI matrix
|
8
|
+
- Fix GHA warning for nodejs 16 deprecation
|
9
|
+
- Documentation uri by version
|
10
|
+
|
3
11
|
## 1.1.0 (6 October 2023)
|
4
12
|
|
5
13
|
- Ruby required >= 2.2
|
@@ -13,7 +13,7 @@ module SprocketsTerserWithSourceMaps
|
|
13
13
|
@logger = Logger.new($stdout)
|
14
14
|
@logger.level = Logger::INFO
|
15
15
|
@options = options.merge(Rails.application.config.assets.terser.to_h)
|
16
|
-
super
|
16
|
+
super(@options)
|
17
17
|
end
|
18
18
|
|
19
19
|
def call(input)
|
@@ -45,7 +45,9 @@ module SprocketsTerserWithSourceMaps
|
|
45
45
|
'js.map'
|
46
46
|
)
|
47
47
|
|
48
|
-
compressed_js.concat "\n//# sourceMappingURL=#{sourcemap_url}\n"
|
48
|
+
js = compressed_js.concat "\n//# sourceMappingURL=#{sourcemap_url}\n"
|
49
|
+
|
50
|
+
{ data: js, map: sourcemap }
|
49
51
|
end
|
50
52
|
|
51
53
|
private
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sprockets_terser_with_source_maps
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 2.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Javier Menéndez Rizo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sprockets-rails
|
@@ -127,10 +127,8 @@ homepage: https://github.com/javier-menendez/sprockets_terser_with_source_maps
|
|
127
127
|
licenses:
|
128
128
|
- MIT
|
129
129
|
metadata:
|
130
|
-
homepage_uri: https://github.com/javier-menendez/sprockets_terser_with_source_maps
|
131
|
-
source_code_uri: https://github.com/javier-menendez/sprockets_terser_with_source_maps
|
132
130
|
changelog_uri: https://github.com/javier-menendez/sprockets_terser_with_source_maps/blob/main/CHANGELOG.md
|
133
|
-
documentation_uri: https://www.rubydoc.info/gems/sprockets_terser_with_source_maps
|
131
|
+
documentation_uri: https://www.rubydoc.info/gems/sprockets_terser_with_source_maps/2.0.0
|
134
132
|
bug_tracker_uri: https://github.com/javier-menendez/sprockets_terser_with_source_maps/issues
|
135
133
|
rubygems_mfa_required: 'true'
|
136
134
|
post_install_message:
|
@@ -141,7 +139,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
141
139
|
requirements:
|
142
140
|
- - ">="
|
143
141
|
- !ruby/object:Gem::Version
|
144
|
-
version: 2.
|
142
|
+
version: 2.6.0
|
145
143
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
146
144
|
requirements:
|
147
145
|
- - ">="
|