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

pulibrary / oawaiver / 6acc8c7f-621a-4b60-be45-eefe009667b0

23 Sep 2024 06:03PM UTC coverage: 99.185% (-0.8%) from 100.0%
6acc8c7f-621a-4b60-be45-eefe009667b0

Pull #198

circleci

jrgriffiniii
Bump vite from 5.3.4 to 5.3.6

Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.3.4 to 5.3.6.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.3.6/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.3.6/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
Pull Request #198: Bump vite from 5.3.4 to 5.3.6

730 of 736 relevant lines covered (99.18%)

17.76 hits per line

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

62.5
/app/services/waiver_info_report.rb
1
# frozen_string_literal: true
2

3
class WaiverInfoReport
1✔
4
  def self.headers
1✔
5
    [
×
6
      "created_at",
7
      "updated_at",
8
      "requester_email",
9
      "author_first_name",
10
      "author_last_name",
11
      "author_status",
12
      "author_department",
13
      "author_email",
14
      "title",
15
      "journal",
16
      "journal_issn",
17
      "notes"
18
    ]
19
  end
20

21
  # rubocop:disable Metrics/MethodLength
22
  def rows
1✔
23
    @models.map do |model|
×
24
      [
25
        model.created_at,
×
26
        model.updated_at,
27
        model.requester_email,
28
        model.author_first_name,
29
        model.author_last_name,
30
        model.author_status,
31
        model.author_department,
32
        model.author_email,
33
        model.title,
34
        model.journal,
35
        model.journal_issn,
36
        model.notes
37
      ]
38
    end
39
  end
40
  # rubocop:enable Metrics/MethodLength
41

42
  def file_path
1✔
43
    @file_path ||= Pathname.new(@path)
10✔
44
  end
45

46
  def generate
1✔
47
    CSV.open(file_path, "wb", encoding: "utf-8") do |csv|
10✔
48
      csv << self.class.headers
×
49
      rows.each do |row|
×
50
        csv << row
×
51
      end
52
    end
53
  end
54

55
  def initialize(models:, path:)
1✔
56
    @models = models
10✔
57
    @path = path
10✔
58
  end
59
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