SpeciesFileGroup/taxonworks

View on GitHub
app/models/source/bibtex.rb

Summary

Maintainability
A
0 mins
Test Coverage

TODO found
Open

  # TODO: Annote to project specific note?
Severity: Minor
Found in app/models/source/bibtex.rb by fixme

TODO found
Open

  # TODO: Serial with alternate_value on name .count = 1 assign .first
Severity: Minor
Found in app/models/source/bibtex.rb by fixme

TODO found
Open

  # TODO: Replace with taxonworks.csl.  Move unsupported fields to
Severity: Minor
Found in app/models/source/bibtex.rb by fixme

TODO found
Open

    # TODO This test for auth doesn't work with a new record.
Severity: Minor
Found in app/models/source/bibtex.rb by fixme

TODO found
Open

    # TODO: use global_id or replace with UUID or DOI if available
Severity: Minor
Found in app/models/source/bibtex.rb by fixme

TODO found
Open

  # TODO: Not used
Severity: Minor
Found in app/models/source/bibtex.rb by fixme

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

    b = BibTeX::Entry.new(bibtex_type:)
Severity: Minor
Found in app/models/source/bibtex.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

        s = Source.where(author: a, year:, year_suffix:).first
Severity: Minor
Found in app/models/source/bibtex.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

    cp = CiteProc::Processor.new(style: s, format:)
Severity: Minor
Found in app/models/source/bibtex.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

        s = Source.where(author: a, year:, year_suffix:).not_self(self).first
Severity: Minor
Found in app/models/source/bibtex.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