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

pulibrary / bibdata / 1dcebae2-3318-4e77-bc53-82276e293354

02 May 2025 04:45PM UTC coverage: 28.256% (-63.9%) from 92.189%
1dcebae2-3318-4e77-bc53-82276e293354

push

circleci

sandbergja
Add basic infrastructure for compiling rust code

* Add a rake compile task to compile
* Run the rake task in CI
* Run the rake task before rspec tests with the rust tag, to provide quick feedback on rust changes in TDD cycles

2 of 7 new or added lines in 2 files covered. (28.57%)

2467 existing lines in 97 files now uncovered.

1089 of 3854 relevant lines covered (28.26%)

0.29 hits per line

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

58.82
/app/controllers/events_controller.rb
1
class EventsController < ApplicationController
1✔
2
  before_action :set_event, only: %i[show destroy] # , :edit, :update]
1✔
3
  before_action :authenticate_user!, only: [:destroy]
1✔
4

5
  respond_to :html, :json
1✔
6

7
  def index
1✔
UNCOV
8
    @events = Event.order('start asc')
×
UNCOV
9
    respond_with(@events)
×
10
  end
11

12
  def show
1✔
13
    respond_with(@event)
×
14
  end
15

16
  def destroy
1✔
17
    @event.destroy
×
18
    respond_with(@event)
×
19
  end
20

21
  private
1✔
22

23
    def set_event
1✔
24
      # nosemgrep
25
      @event = Event.find(params[:id])
×
26
    end
27

28
    def event_params
1✔
29
      params.require(:event).permit(:start, :finish, :error, :success)
×
30
    end
31
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