github
477 of 2306 new or added lines in 78 files covered. (20.69%)
1381 existing lines in 27 files now uncovered.26562 of 31520 relevant lines covered (84.27%)
536.24 hits per line
| 1 |
# frozen_string_literal: true
|
|
| 2 |
|
|
|
NEW
|
class Query::ScopeClasses::APIKeys < Query::BaseAR |
× |
|
NEW
|
def model |
× |
|
NEW
|
APIKey
|
× |
|
NEW
|
end
|
× |
| 7 |
|
|
|
NEW
|
def self.parameter_declarations |
× |
|
NEW
|
super.merge(
|
× |
|
NEW
|
created_at: [:time], |
× |
|
NEW
|
updated_at: [:time], |
× |
|
NEW
|
notes_has: :string |
× |
|
NEW
|
) |
× |
|
NEW
|
end
|
× |
| 15 |
|
|
|
NEW
|
def initialize_flavor |
× |
|
NEW
|
add_sort_order_to_title |
× |
|
NEW
|
add_time_condition(:created_at, params[:created_at]) |
× |
|
NEW
|
add_time_condition(:updated_at, params[:updated_at]) |
× |
|
NEW
|
add_simple_search_condition(:notes)
|
× |
|
NEW
|
super
|
× |
|
NEW
|
end
|
× |
| 23 |
|
|
|
NEW
|
def self.default_order |
× |
|
NEW
|
:created_at
|
× |
|
NEW
|
end
|
× |
|
NEW
|
end
|
× |