Skip to content

fix: restore PixbufUtils.mask used by prism_core #180

fix: restore PixbufUtils.mask used by prism_core

fix: restore PixbufUtils.mask used by prism_core #180

GitHub Actions / RuboCop Action failed Sep 6, 2024 in 0s

RuboCop Action

18 offense(s) found.

Annotations

Check notice on line 16 in ext/gdk_pixbuf_cairo/extconf.rb

See this annotation in the file changed.

@github-actions github-actions / RuboCop Action

ext/gdk_pixbuf_cairo/extconf.rb#L16

Prefer string interpolation to string concatenation. [Style/StringConcatenation]

Check notice on line 16 in ext/morandi_native/extconf.rb

See this annotation in the file changed.

@github-actions github-actions / RuboCop Action

ext/morandi_native/extconf.rb#L16

Prefer string interpolation to string concatenation. [Style/StringConcatenation]

Check notice on line 51 in lib/morandi/crop_utils.rb

See this annotation in the file changed.

@github-actions github-actions / RuboCop Action

lib/morandi/crop_utils.rb#L45-L51

Use `val.clamp(min, max)` instead of `if/elsif/else`. [Style/ComparableClamp]

Check notice on line 50 in lib/morandi/crop_utils.rb

See this annotation in the file changed.

@github-actions github-actions / RuboCop Action

lib/morandi/crop_utils.rb#L47-L50

Use `[val, max].min` instead. [Style/MinMaxComparison]

Check notice on line 117 in lib/morandi/image_processor.rb

See this annotation in the file changed.

@github-actions github-actions / RuboCop Action

lib/morandi/image_processor.rb#L117

Use `Comparable#clamp` instead. [Style/ComparableClamp]

Check notice on line 128 in lib/morandi/image_processor.rb

See this annotation in the file changed.

@github-actions github-actions / RuboCop Action

lib/morandi/image_processor.rb#L128

Use `Comparable#clamp` instead. [Style/ComparableClamp]

Check notice on line 45 in lib/morandi/redeye.rb

See this annotation in the file changed.

@github-actions github-actions / RuboCop Action

lib/morandi/redeye.rb#L45

Missing top-level documentation comment for `class MorandiNative::RedEye::Region`. [Style/Documentation]

Check warning on line 38 in morandi.gemspec

See this annotation in the file changed.

@github-actions github-actions / RuboCop Action

morandi.gemspec#L7-L38

`metadata['rubygems_mfa_required']` must be set to `'true'`. [Gemspec/RequireMFA]

Check notice on line 31 in morandi.gemspec

See this annotation in the file changed.

@github-actions github-actions / RuboCop Action

morandi.gemspec#L31

Specify development dependencies in Gemfile. [Gemspec/DevelopmentDependencies]

Check notice on line 32 in morandi.gemspec

See this annotation in the file changed.

@github-actions github-actions / RuboCop Action

morandi.gemspec#L32

Specify development dependencies in Gemfile. [Gemspec/DevelopmentDependencies]

Check notice on line 33 in morandi.gemspec

See this annotation in the file changed.

@github-actions github-actions / RuboCop Action

morandi.gemspec#L33

Specify development dependencies in Gemfile. [Gemspec/DevelopmentDependencies]

Check notice on line 34 in morandi.gemspec

See this annotation in the file changed.

@github-actions github-actions / RuboCop Action

morandi.gemspec#L34

Specify development dependencies in Gemfile. [Gemspec/DevelopmentDependencies]

Check notice on line 35 in morandi.gemspec

See this annotation in the file changed.

@github-actions github-actions / RuboCop Action

morandi.gemspec#L35

Specify development dependencies in Gemfile. [Gemspec/DevelopmentDependencies]

Check notice on line 36 in morandi.gemspec

See this annotation in the file changed.

@github-actions github-actions / RuboCop Action

morandi.gemspec#L36

Specify development dependencies in Gemfile. [Gemspec/DevelopmentDependencies]

Check notice on line 37 in morandi.gemspec

See this annotation in the file changed.

@github-actions github-actions / RuboCop Action

morandi.gemspec#L37

Specify development dependencies in Gemfile. [Gemspec/DevelopmentDependencies]

Check notice on line 55 in spec/visual_report_helper.rb

See this annotation in the file changed.

@github-actions github-actions / RuboCop Action

spec/visual_report_helper.rb#L15-L55

Block has too many lines. [39/25] [Metrics/BlockLength]

Check notice on line 59 in spec/visual_report_helper.rb

See this annotation in the file changed.

@github-actions github-actions / RuboCop Action

spec/visual_report_helper.rb#L59

`File.readlines` is safer than `IO.readlines`. [Security/IoMethods]

Check notice on line 76 in spec/visual_report_helper.rb

See this annotation in the file changed.

@github-actions github-actions / RuboCop Action

spec/visual_report_helper.rb#L76

Align parts of a string concatenated with backslash. [Layout/LineEndStringConcatenationIndentation]