assemblymade/coderwall

View on GitHub
app/jobs/extract_github_profile.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method perform has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def perform(id)
    client = Octokit::Client.new
    if  ENV['TRAVIS'].blank? && client.ratelimit[:remaining] < 1000
      # If we have less than 1000 request remaining, delay this job
      # We leaving 1000 for more critical tasks
Severity: Minor
Found in app/jobs/extract_github_profile.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status