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

ninoseki / mihari / 6986634856

25 Nov 2023 03:01AM UTC coverage: 94.762% (-0.02%) from 94.783%
6986634856

push

github

web-flow
Merge pull request #831 from ninoseki/add-query-column

feat: add query column

7 of 7 new or added lines in 4 files covered. (100.0%)

1 existing line in 1 file now uncovered.

3365 of 3551 relevant lines covered (94.76%)

79.39 hits per line

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

90.0
/lib/mihari/entities/whois.rb
1
# frozen_string_literal: true
2

3
module Mihari
4✔
4
  module Entities
4✔
5
    class WhoisRecord < Grape::Entity
4✔
6
      expose :domain, documentation: { type: String, required: true }
4✔
7
      expose :created_on, documentation: { type: Date, required: false }, as: :createdOn
4✔
8
      expose :updated_on, documentation: { type: Date, required: false }, as: :updatedOn
4✔
9
      expose :expires_on, documentation: { type: Date, required: false }, as: :expiresOn
4✔
10
      expose :registrar, documentation: { type: Hash, required: false }
4✔
11
      expose :contacts, documentation: { type: Hash, is_array: true, required: true } do |whois_record, _options|
4✔
UNCOV
12
        whois_record.contacts.map(&:to_camelback_keys)
×
13
      end
14
    end
15
  end
16
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

© 2025 Coveralls, Inc