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

sgerrand / incident-io-rb / 36423788196
100%

Build:
DEFAULT BRANCH: main
Ran 28 Sep 2026 12:45PM UTC
Jobs 1
Files 86
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

28 Sep 2026 12:44PM UTC coverage: 100.0%. Remained the same
36423788196

push

github

web-flow
refactor: simplify the generator, client and specs (#3)

* ci: commit every generated file in the weekly update

The workflow only checked and committed lib/, so regenerated signatures in
sig/ and spec/fixtures/operations.json were never committed. `rake generate`
only writes generated files and the spec it reads is ignored by git, so
commit every change in the tree instead of listing paths again.

Also skip installing the docs and lint gem groups, which the job doesn't use.

* fix(generator): read reserved method names from Resource

RESOURCE_METHODS was a hand-kept copy of IncidentIo::Resource's methods and
had missed `given`, so an operation named "Given" would have replaced the
helper every request body uses. Read the names from the class instead, as
Model.reserved_names already does.

* refactor(generator): keep parameter and result facts in one place

- Param records its location (path, query or body), and `not_given?` holds
  the one rule for which arguments default to NOT_GIVEN. The Ruby
  signature, the RBS signature and the operations manifest all use it.
- Result stores the model name and whether it is an array, with defaults
  for the optional fields. The manifest no longer parses Ruby source, and
  Types.result_model replaces Types.result_type.
- One `wrap` helper replaces five copies of the "one line, or one item per
  line" layout code.
- Share the newest-version-by-name lookup, stop re-sorting versions that
  are already sorted, and drop the unused Field#required.

The generated code and manifest are unchanged.

* docs(sig): use the YARD summary for resource method comments

The RBS comments worked out their own first sentence, so they followed
different rules from the YARD summaries in lib/. Use the same summary for
both.

* refactor: share one retry path in Client#with_retries

The error-response path and the connection-error path each logged, slept
and counted the attempt with slightly different code. Work out the error,
delay and r... (continued)

400 of 400 branches covered (100.0%)

Branch coverage included in aggregate %.

89 of 89 new or added lines in 9 files covered. (100.0%)

3336 of 3336 relevant lines covered (100.0%)

47.17 hits per line

Jobs
ID Job ID Ran Files Coverage
1 36423788196.1 28 Sep 2026 12:45PM UTC 86
100.0
GitHub Action Run
Source Files on build 36423788196
  • Tree
  • List 86
  • Changed 9
  • Source Changed 9
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #36423788196
  • 4a8a955a on github
  • Prev Build on main (#36395581753)
  • Next Build on main (#36600791432)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc