Update xsd to 1.0.7 version #22
7 warnings
RuboCop found 7 warnings
Annotations
Check warning on line 70 in lib/my_data/resource.rb
github-actions / RuboCop
lib/my_data/resource.rb#L70
Remove the self-assignment branch (Style/RedundantSelfAssignmentBranch)
Check warning on line 145 in lib/my_data/resource.rb
github-actions / RuboCop
lib/my_data/resource.rb#L145
Remove the self-assignment branch (Style/RedundantSelfAssignmentBranch)
Check warning on line 30 in lib/my_data/type_caster.rb
github-actions / RuboCop
lib/my_data/type_caster.rb#L30
Use safe navigation (`&.`) instead of checking if an object exists before calling the method (Style/SafeNavigation)
Check warning on line 20 in lib/my_data/xsd/resource_generator.rb
github-actions / RuboCop
lib/my_data/xsd/resource_generator.rb#L18-L20
Use `each_value` instead of `each` and remove the unused `_` block argument (Style/HashEachMethods)
Check warning on line 23 in lib/my_data/xsd/structure.rb
github-actions / RuboCop
lib/my_data/xsd/structure.rb#L23
Pass a block to `to_h` instead of calling `map.to_h` (Style/MapToHash)
Check warning on line 15 in my_data.gemspec
github-actions / RuboCop
my_data.gemspec#L15
`required_ruby_version` and `TargetRubyVersion` (2.7, which may be specified in .rubocop.yml) should be equal (Gemspec/RequiredRubyVersion)
Check warning on line 162 in spec/lib/my_data/client_spec.rb
github-actions / RuboCop
spec/lib/my_data/client_spec.rb#L162
Line is too long. [155/120] (Layout/LineLength)