push
circleci
80 of 81 new or added lines in 4 files covered. (98.77%)
4044 existing lines in 108 files now uncovered.6288 of 11329 relevant lines covered (55.5%)
11.64 hits per line
| 1 |
# frozen_string_literal: true
|
|
| 2 |
|
|
|
UNCOV
3
|
class LibrariesController < ApplicationController |
× |
|
UNCOV
4
|
before_action :set_library, only: %i[show] |
× |
| 5 |
|
|
| 6 |
# GET /libraries
|
|
|
UNCOV
7
|
def index |
× |
|
UNCOV
8
|
@libraries = Library.order(:order, :label) |
× |
|
UNCOV
9
|
end
|
× |
| 10 |
|
|
| 11 |
# GET /libraries/1
|
|
|
UNCOV
12
|
def show; end |
× |
| 13 |
|
|
|
UNCOV
14
|
private |
× |
| 15 |
|
|
| 16 |
# Use callbacks to share common setup or constraints between actions.
|
|
|
UNCOV
17
|
def set_library |
× |
| 18 |
# nosemgrep
|
|
|
UNCOV
19
|
@library = Library.friendly.find(params[:id]) |
× |
|
UNCOV
20
|
end
|
× |
|
UNCOV
21
|
end
|
× |