Skip to content

Commit

Permalink
fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
AndriiAndreiev committed Aug 21, 2024
1 parent de2916b commit dd4271f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/ruby/lib/readme/http_request.rb
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def host_header

def read_body(io)
return '' if io.nil?

io.rewind if io.respond_to?(:rewind)
content = io.read || ''
io.rewind if io.respond_to?(:rewind)
Expand Down
4 changes: 2 additions & 2 deletions packages/ruby/readme-metrics.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@ Gem::Specification.new do |spec|
# spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.require_paths = ['lib']

spec.add_runtime_dependency 'httparty', '~> 0.18'
spec.add_runtime_dependency 'rack', '>= 2.2', '< 4'
spec.add_dependency 'httparty', '~> 0.18'
spec.add_dependency 'rack', '>= 2.2', '< 4'
end

0 comments on commit dd4271f

Please sign in to comment.