Skip to content

Update gem information #55

Update gem information

Update gem information #55

GitHub Actions / Rubocop Action failed Jun 10, 2024 in 1s

Rubocop Action

60 offense(s) found.

Annotations

Check notice on line 199 in lib/light/services/base.rb

See this annotation in the file changed.

@github-actions github-actions / Rubocop Action

lib/light/services/base.rb#L21-L199

Class has too many lines. [133/100] [Metrics/ClassLength]

Check notice on line 95 in lib/light/services/base.rb

See this annotation in the file changed.

@github-actions github-actions / Rubocop Action

lib/light/services/base.rb#L76-L95

Method has too many lines. [14/10] [Metrics/MethodLength]

Check notice on line 146 in lib/light/services/base.rb

See this annotation in the file changed.

@github-actions github-actions / Rubocop Action

lib/light/services/base.rb#L146

Omit the hash value. [Style/HashSyntax]

Check notice on line 192 in lib/light/services/base.rb

See this annotation in the file changed.

@github-actions github-actions / Rubocop Action

lib/light/services/base.rb#L192

Use anonymous block forwarding. [Naming/BlockForwarding]

Check notice on line 192 in lib/light/services/base.rb

See this annotation in the file changed.

@github-actions github-actions / Rubocop Action

lib/light/services/base.rb#L192

Use anonymous block arguments forwarding (`&`). [Style/ArgumentsForwarding]

Check notice on line 194 in lib/light/services/base.rb

See this annotation in the file changed.

@github-actions github-actions / Rubocop Action

lib/light/services/base.rb#L194

Use anonymous block forwarding. [Naming/BlockForwarding]

Check notice on line 194 in lib/light/services/base.rb

See this annotation in the file changed.

@github-actions github-actions / Rubocop Action

lib/light/services/base.rb#L194

Use anonymous block arguments forwarding (`&`). [Style/ArgumentsForwarding]

Check notice on line 28 in lib/light/services/messages.rb

See this annotation in the file changed.

@github-actions github-actions / Rubocop Action

lib/light/services/messages.rb#L13-L28

Assignment Branch Condition size for add is too high. [<4, 21, 9> 23.19/17] [Metrics/AbcSize]

Check notice on line 28 in lib/light/services/messages.rb

See this annotation in the file changed.

@github-actions github-actions / Rubocop Action

lib/light/services/messages.rb#L13-L28

Cyclomatic complexity for add is too high. [10/7] [Metrics/CyclomaticComplexity]

Check notice on line 28 in lib/light/services/messages.rb

See this annotation in the file changed.

@github-actions github-actions / Rubocop Action

lib/light/services/messages.rb#L13-L28

Perceived complexity for add is too high. [10/8] [Metrics/PerceivedComplexity]

Check notice on line 48 in lib/light/services/messages.rb

See this annotation in the file changed.

@github-actions github-actions / Rubocop Action

lib/light/services/messages.rb#L34-L48

Method has too many lines. [12/10] [Metrics/MethodLength]

Check notice on line 67 in lib/light/services/messages.rb

See this annotation in the file changed.

@github-actions github-actions / Rubocop Action

lib/light/services/messages.rb#L50-L67

Assignment Branch Condition size for copy_to is too high. [<8, 13, 10> 18.25/17] [Metrics/AbcSize]

Check notice on line 67 in lib/light/services/messages.rb

See this annotation in the file changed.

@github-actions github-actions / Rubocop Action

lib/light/services/messages.rb#L50-L67

Cyclomatic complexity for copy_to is too high. [10/7] [Metrics/CyclomaticComplexity]

Check notice on line 67 in lib/light/services/messages.rb

See this annotation in the file changed.

@github-actions github-actions / Rubocop Action

lib/light/services/messages.rb#L50-L67

Method has too many lines. [15/10] [Metrics/MethodLength]

Check notice on line 67 in lib/light/services/messages.rb

See this annotation in the file changed.

@github-actions github-actions / Rubocop Action

lib/light/services/messages.rb#L50-L67

Perceived complexity for copy_to is too high. [11/8] [Metrics/PerceivedComplexity]

Check notice on line 73 in lib/light/services/messages.rb

See this annotation in the file changed.

@github-actions github-actions / Rubocop Action

lib/light/services/messages.rb#L73

Use anonymous positional arguments forwarding (`*`). [Style/ArgumentsForwarding]

Check notice on line 73 in lib/light/services/messages.rb

See this annotation in the file changed.

@github-actions github-actions / Rubocop Action

lib/light/services/messages.rb#L73

Use anonymous block forwarding. [Naming/BlockForwarding]

Check notice on line 73 in lib/light/services/messages.rb

See this annotation in the file changed.

@github-actions github-actions / Rubocop Action

lib/light/services/messages.rb#L73

Use anonymous block arguments forwarding (`&`). [Style/ArgumentsForwarding]

Check notice on line 75 in lib/light/services/messages.rb

See this annotation in the file changed.

@github-actions github-actions / Rubocop Action

lib/light/services/messages.rb#L75

Use anonymous positional arguments forwarding (`*`). [Style/ArgumentsForwarding]

Check notice on line 75 in lib/light/services/messages.rb

See this annotation in the file changed.

@github-actions github-actions / Rubocop Action

lib/light/services/messages.rb#L75

Use anonymous block forwarding. [Naming/BlockForwarding]

Check notice on line 75 in lib/light/services/messages.rb

See this annotation in the file changed.

@github-actions github-actions / Rubocop Action

lib/light/services/messages.rb#L75

Use anonymous block arguments forwarding (`&`). [Style/ArgumentsForwarding]

Check notice on line 40 in lib/light/services/settings/argument.rb

See this annotation in the file changed.

@github-actions github-actions / Rubocop Action

lib/light/services/settings/argument.rb#L26-L40

Method has too many lines. [12/10] [Metrics/MethodLength]

Check notice on line 43 in lib/light/services/settings/step.rb

See this annotation in the file changed.

@github-actions github-actions / Rubocop Action

lib/light/services/settings/step.rb#L25-L43

Method has too many lines. [14/10] [Metrics/MethodLength]

Check warning on line 15 in light-services.gemspec

See this annotation in the file changed.

@github-actions github-actions / Rubocop Action

light-services.gemspec#L15

`required_ruby_version` and `TargetRubyVersion` (3.3, which may be specified in .rubocop.yml) should be equal. [Gemspec/RequiredRubyVersion]

Check notice on line 31 in spec/data/services/order/add_product.rb

See this annotation in the file changed.

@github-actions github-actions / Rubocop Action

spec/data/services/order/add_product.rb#L31

Omit the hash value. [Style/HashSyntax]