• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

MushroomObserver / mushroom-observer / 14145379140

29 Mar 2025 11:58AM UTC coverage: 84.27% (-9.7%) from 93.985%
14145379140

Pull #2808

github

nimmolo
Handle rss_log content filters with subqueries
Pull Request #2808: Convert Query to AR scopes

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

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/app/classes/query/scope_classes/api_keys.rb
1
# frozen_string_literal: true
2

NEW
3
class Query::ScopeClasses::APIKeys < Query::BaseAR
×
NEW
4
  def model
×
NEW
5
    APIKey
×
NEW
6
  end
×
7

NEW
8
  def self.parameter_declarations
×
NEW
9
    super.merge(
×
NEW
10
      created_at: [:time],
×
NEW
11
      updated_at: [:time],
×
NEW
12
      notes_has: :string
×
NEW
13
    )
×
NEW
14
  end
×
15

NEW
16
  def initialize_flavor
×
NEW
17
    add_sort_order_to_title
×
NEW
18
    add_time_condition(:created_at, params[:created_at])
×
NEW
19
    add_time_condition(:updated_at, params[:updated_at])
×
NEW
20
    add_simple_search_condition(:notes)
×
NEW
21
    super
×
NEW
22
  end
×
23

NEW
24
  def self.default_order
×
NEW
25
    :created_at
×
NEW
26
  end
×
NEW
27
end
×
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc