Sha256: e16e51505ce55ddeebf70b67d6704b3a02874bf73feba3a2bf6b3ed54f233992

Contents?: true

Size: 222 Bytes

Versions: 10

Compression:

Stored size: 222 Bytes

Contents

class RubocopLogQuery < SqlQuery
  sql_resource './rubocop_log.psql'
  fields %i(position status status_message cop message full_line file_name)

  def call
    sql_query = "#{sql} LIMIT 5"

    query(sql_query)
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
rails_app_generator-0.3.6 after_templates/application/klueless/app/queries/rubocop_log_query.rb
rails_app_generator-0.3.5 after_templates/application/klueless/app/queries/rubocop_log_query.rb
rails_app_generator-0.3.4 after_templates/application/klueless/app/queries/rubocop_log_query.rb
rails_app_generator-0.3.3 after_templates/application/klueless/app/queries/rubocop_log_query.rb
rails_app_generator-0.3.2 after_templates/application/klueless/app/queries/rubocop_log_query.rb
rails_app_generator-0.3.1 after_templates/application/klueless/app/queries/rubocop_log_query.rb
rails_app_generator-0.3.0 after_templates/application/klueless/app/queries/rubocop_log_query.rb
rails_app_generator-0.2.43 after_templates/application/klueless/app/queries/rubocop_log_query.rb
rails_app_generator-0.2.42 after_templates/application/klueless/app/queries/rubocop_log_query.rb
rails_app_generator-0.2.41 after_templates/application/klueless/app/queries/rubocop_log_query.rb