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

pulibrary / orangelight / bcbb5bc1-bb4e-4673-8f14-c13e799f28e2
95%

Build:
DEFAULT BRANCH: main
Ran 06 Nov 2025 03:46PM UTC
Jobs 1
Files 224
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Nov 2025 03:42PM UTC coverage: 95.41% (-0.007%) from 95.417%
bcbb5bc1-bb4e-4673-8f14-c13e799f28e2

push

circleci

web-flow
Refactor hidden_fields_item helper into its own view component (#5340)

To me, this is much easier to read as HTML+ERB than the previous
implementation (which used string concatenation and Rails form
helpers).  I think that the tests (which now use Nokogiri, rather
than direct string comparison) will be less brittle to changes
like the order of attributes within a tag.

It is also 4x as fast to avoid the Rails form helpers, for what
it's worth (not that this helper was a bottleneck in any way):

Before:
```
ruby 3.4.1 (2024-12-25 revision 48d4efcb85) +YJIT +PRISM [arm64-darwin24]
Warming up --------------------------------------
Requests::ApplicationHelper#hidden_fields_item
                         2.214k i/100ms
Calculating -------------------------------------
Requests::ApplicationHelper#hidden_fields_item
                         22.325k (± 2.1%) i/s   (44.79 μs/i) -    112.914k in   5.060022s
```

After:
```
ruby 3.4.1 (2024-12-25 revision 48d4efcb85) +YJIT +PRISM [arm64-darwin24]
Warming up --------------------------------------
Requests::ItemHiddenFieldsComponent
                         8.453k i/100ms
Calculating -------------------------------------
Requests::ItemHiddenFieldsComponent
                         84.098k (± 1.3%) i/s   (11.89 μs/i) -    422.650k in   5.026524s
```

12 of 12 new or added lines in 1 file covered. (100.0%)

6195 of 6493 relevant lines covered (95.41%)

1467.21 hits per line

Jobs
ID Job ID Ran Files Coverage
1 bcbb5bc1-bb4e-4673-8f14-c13e799f28e2.1 06 Nov 2025 03:46PM UTC 224
95.41
Source Files on build bcbb5bc1-bb4e-4673-8f14-c13e799f28e2
  • Tree
  • List 224
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #BCBB5BC1...
  • 3fea2b57 on github
  • Prev Build on main (#A94C6445...)
  • Next Build on main (#214F6A51...)
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