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

umbrellio / table_sync / 18192685574

02 Oct 2025 12:17PM UTC coverage: 99.722% (-0.3%) from 100.0%
18192685574

push

github

web-flow
Validate data types of fields upon receive (#94)

95 of 98 new or added lines in 10 files covered. (96.94%)

1075 of 1078 relevant lines covered (99.72%)

161.01 hits per line

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

90.0
/lib/table_sync/utils/schema/validator.rb
1
# frozen_string_literal: true
2

3
require_relative "validator/type"
4✔
4

5
class TableSync::Utils::Schema
4✔
6
  class Validator
4✔
7
    attr_reader :type
4✔
8

9
    def initialize(type)
4✔
10
      @type = type
2,816✔
11
    end
12

13
    def validate(value)
4✔
14
      type.validate(value)
872✔
15
    end
16

17
    def inspect
4✔
NEW
18
      type.inspect
×
19
    end
20
  end
21
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