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

balvig / spyke / 927b013b-9cb0-4457-9e98-8e8cab771509
99%

Build:
DEFAULT BRANCH: main
Ran 04 Nov 2025 01:35AM UTC
Jobs 1
Files 22
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

04 Nov 2025 01:35AM UTC coverage: 98.955%. Remained the same
927b013b-9cb0-4457-9e98-8e8cab771509

push

circleci

web-flow
Fix filename for multipart requests (#165)

I received an incorrect file name from Tempfile in API POST and this
solves the problem:

Before:
```
#<Multipart::Post::UploadIO:0x0000000131bd8e40
 @content_type="application/pdf",
 @io=#<File:/var/folders/pj/v2_fjn1x14g6ltszhng1vm780000gn/T/2025-10-07_1131180842_20251000183.pdf20251022-11937-oot4>,
 @local_path="/var/folders/pj/v2_fjn1x14g6ltszhng1vm780000gn/T/2025-10-07_1131180842_20251000183.pdf20251022-11937-oot4",
 @opts={},
 @original_filename="2025-10-07_1131180842_20251000183.pdf20251022-11937-oot4">
```

After my fix:
```
#<Multipart::Post::UploadIO:0x00000001301c3a28
 @content_type="application/pdf",
 @io=#<File:/var/folders/pj/v2_fjn1x14g6ltszhng1vm780000gn/T/2025-10-07_1131180842_20251000183.pdf20251022-12992-xip0mm>,
 @local_path="/var/folders/pj/v2_fjn1x14g6ltszhng1vm780000gn/T/2025-10-07_1131180842_20251000183.pdf20251022-12992-xip0mm",
 @opts={},
 @original_filename="2025-10-07_1131180842_20251000183.pdf">
```

---------

Co-authored-by: Jens Balvig <jens@balvig.com>

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

3 existing lines in 2 files now uncovered.

568 of 574 relevant lines covered (98.95%)

109.02 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
75.0
-8.33% lib/spyke.rb
2
85.71
7.14% lib/spyke/scope_registry.rb
Jobs
ID Job ID Ran Files Coverage
1 927b013b-9cb0-4457-9e98-8e8cab771509.1 04 Nov 2025 01:35AM UTC 44
98.95
Source Files on build 927b013b-9cb0-4457-9e98-8e8cab771509
  • Tree
  • List 22
  • Changed 22
  • Source Changed 1
  • Coverage Changed 22
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • CircleCI Build #927B013B...
  • f49174bd on github
  • Prev Build on main (#A5C317AE...)
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

© 2026 Coveralls, Inc