circleci
0 of 4 new or added lines in 3 files covered. (0.0%)
2099 existing lines in 140 files now uncovered.3881 of 6191 relevant lines covered (62.69%)
74.9 hits per line
1 |
# frozen_string_literal: true
|
|
2 |
|
|
3 |
class EventProcessor |
1✔ |
4 |
class Processor |
1✔ |
5 |
attr_reader :event
|
1✔ |
6 |
def initialize(event) |
1✔ |
UNCOV
7
|
@event = event
|
× |
8 |
end
|
|
9 |
|
|
10 |
private |
1✔ |
11 |
|
|
12 |
def event_type |
1✔ |
UNCOV
13
|
event['event']
|
× |
14 |
end
|
|
15 |
|
|
16 |
def id |
1✔ |
UNCOV
17
|
event['id']
|
× |
18 |
end
|
|
19 |
|
|
20 |
def doc |
1✔ |
UNCOV
21
|
event['doc']
|
× |
22 |
end
|
|
23 |
|
|
24 |
def bulk? |
1✔ |
UNCOV
25
|
event['bulk'] == 'true' |
× |
26 |
end
|
|
27 |
|
|
28 |
def index |
1✔ |
UNCOV
29
|
Blacklight.default_index.connection
|
× |
30 |
end
|
|
31 |
end
|
|
32 |
end
|