app/controllers/contributors_controller.rb
Method has too many lines. [8/7] (https://github.com/bbatsov/ruby-style-guide#short-methods) Open
Open
def show
url = 'https://api.github.com/repos/AgileVentures/LocalSupport/contributors'
uri = URI.parse url
request = Net::HTTP::Get.new(uri.request_uri)
http = Net::HTTP.new(uri.host, uri.port)
- Read upRead up
- Exclude checks
This cop checks if the length of a method exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable.