metaclean 4.3.0 → 4.3.1

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: 692205ff836f71791a36b778a68d0118971b6b96e7e0be2ba00502db47cefb75
4
- data.tar.gz: 8166979b18262baff9ecda5a7a51c12a49831c2003f45f6182684e19f7fd64bc
3
+ metadata.gz: c428b3f2958e89cf07a3cc42602ec6f4716cc30cd7d83ca248830f46884a38a6
4
+ data.tar.gz: b9e573fb8bf73fd0a593ad251d7f38109a38b4c45544774e3f7176d389968bc3
5
5
  SHA512:
6
- metadata.gz: e631299143c75e723d62eb37fa2674a0ffa1d9a81bf96f8947c0880344744741c041eca28deaeaefaaeafc23961a5503731a62a859a7bbf544ea4fdd94ef623a
7
- data.tar.gz: 2e90e6758bf445f6a3468f2c012a3c0d4f3724f5846ca87068ccdd4d5c5362079aa7682cdb68a0c216b489ad9b20b5db0a1df2d3a006bb3c9523d6f2ef787ac0
6
+ metadata.gz: 38c1773439adfceb3903fa989494813995a84f023c7ac7effe9122d3c603896133635fa9c9ba900cdb65f47ee7efaeb28ede85e9543c74b54ea09efcd520fcad
7
+ data.tar.gz: 23a2d419fd75ee953188252b3ba0ea95e27e6f888fd5a26895e267117e77d6b8d9015220bb5d9f1bc58ed18b84d833e3e4c4a7889883601d333e06be4dce1613
data/SECURITY.md CHANGED
@@ -46,7 +46,10 @@ clean while such metadata survives is a security issue.
46
46
 
47
47
  A non-standard ICC profile (one whose description is not a recognized standard
48
48
  color space) blocks commit unless the user explicitly accepts its identifying
49
- fields with `--allow-icc-metadata`; standard color spaces clean without it.
49
+ fields with `--allow-icc-metadata`; standard color spaces clean without it. This
50
+ determination trusts the profile's own `ProfileDescription`: a profile whose
51
+ description matches a recognized color space is treated as non-identifying, so
52
+ its remaining ICC fields are not flagged.
50
53
 
51
54
  ## Supported versions
52
55
 
data/lib/metaclean/cli.rb CHANGED
@@ -25,7 +25,6 @@ module Metaclean
25
25
 
26
26
  def run
27
27
  parse!
28
- Display.configure(quiet: @options[:quiet], redact_values: @options[:redact_values])
29
28
  Metaclean.ensure_tools!(in_place: @options[:in_place])
30
29
  runner = Runner.new(@options)
31
30
  if @options[:inspect_only]
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Metaclean
4
- VERSION = '4.3.0'
4
+ VERSION = '4.3.1'
5
5
  end
data/lib/metaclean.rb CHANGED
@@ -118,7 +118,7 @@ module Metaclean
118
118
  missing << 'exiftool' unless Exiftool.available?
119
119
  missing << 'mat2' unless Mat2.available?
120
120
  missing << 'qpdf' unless Qpdf.available?
121
- missing << 'ffmpeg' unless Ffmpeg.available?
121
+ missing << 'ffmpeg (with ffprobe)' unless Ffmpeg.available?
122
122
  missing << 'cp with metadata preservation' if in_place && !FileOps.metadata_copy_supported?
123
123
  return if missing.empty?
124
124
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: metaclean
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.0
4
+ version: 4.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Laurent Zogaj