SpeciesFileGroup/taxonworks

View on GitHub
app/models/sqed_depiction.rb

Summary

Maintainability
A
0 mins
Test Coverage

unexpected token tLABEL (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

      metadata_map: sqed_metadata_map
Severity: Minor
Found in app/models/sqed_depiction.rb by rubocop

This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.

unexpected token tCOLON (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

      object.nil? ? SqedDepiction.where(project_id:).order(:id).first : object
Severity: Minor
Found in app/models/sqed_depiction.rb by rubocop

This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.

unexpected token tRPAREN (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

      object.nil? ? SqedDepiction.where(in_progress: false, project_id:).order(:id).first : object
Severity: Minor
Found in app/models/sqed_depiction.rb by rubocop

This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.

unexpected token tCOLON (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

      object.nil? ? SqedDepiction.where(in_progress: false, project_id:).order(:id).first : object
Severity: Minor
Found in app/models/sqed_depiction.rb by rubocop

This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.

unexpected token tCOLON (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

    object.nil? ? SqedDepiction.where(project_id:).order(id: :asc).first : object
Severity: Minor
Found in app/models/sqed_depiction.rb by rubocop

This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.

unexpected token tRPAREN (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

    q = SqedDepiction.where(project_id:)
Severity: Minor
Found in app/models/sqed_depiction.rb by rubocop

This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.

unexpected token tRPAREN (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

    sd = SqedDepiction.where(project_id:).where('id > ?', id).order(:id).limit(1)
Severity: Minor
Found in app/models/sqed_depiction.rb by rubocop

This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.

unexpected token tCOMMA (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

      has_border:,
Severity: Minor
Found in app/models/sqed_depiction.rb by rubocop

This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.

unexpected token tRPAREN (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

    object = CollectionObject.joins(:sqed_depictions).where(project_id:).where('sqed_depictions.id > ?', id).where('collection_objects.id <> ?', depiction_object.id).order(:id).first
Severity: Minor
Found in app/models/sqed_depiction.rb by rubocop

This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.

unexpected token tRPAREN (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

      object.nil? ? SqedDepiction.where(project_id:).order(:id).first : object
Severity: Minor
Found in app/models/sqed_depiction.rb by rubocop

This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.

unexpected token tRPAREN (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

    object.nil? ? SqedDepiction.where(project_id:).order(id: :asc).first : object
Severity: Minor
Found in app/models/sqed_depiction.rb by rubocop

This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.

unexpected token tRPAREN (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

    sd.any? ? sd.first : SqedDepiction.where(project_id:).first
Severity: Minor
Found in app/models/sqed_depiction.rb by rubocop

This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.

unexpected token $end (Using Ruby 2.4 parser; configure using TargetRubyVersion parameter, under AllCops)
Open

Severity: Minor
Found in app/models/sqed_depiction.rb by rubocop

This is not actually a cop. It does not inspect anything. It just provides methods to repack Parser's diagnostics/errors into RuboCop's offenses.

There are no issues that match your filters.

Category
Status