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

endoze / nysm
95%
master: 94%

Build:
Build:
LAST BUILD BRANCH: refs/tags/v0.2.1
DEFAULT BRANCH: master
Repo Added 25 Sep 2023 01:06AM UTC
Files 3
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

LAST BUILD ON BRANCH fix-yaml-parsing-with-lines-ending-in-spaces
branch: fix-yaml-parsing-with-lines-ending-in-spaces
CHANGE BRANCH
x
Reset
  • fix-yaml-parsing-with-lines-ending-in-spaces
  • add-automatic-releases
  • add-doppler-support
  • add-initial-implementation
  • add-keywords-and-categories-for-crates-io
  • add-tests-for-errors
  • chore-remove-arm-windows-build
  • chore-update-explicit-runners-for-arches
  • chore-update-rust-version-to-1.86-in-cargo-toml
  • feat!-add-doppler-support
  • feat-add-support-for-creating-secrets
  • feat-add-support-for-deleting-secrets
  • feat-add-support-for-github-actions-secrets
  • feat-add-windows-builds-back-in
  • master
  • refs/tags/v0.1.0
  • refs/tags/v0.1.1
  • refs/tags/v0.1.10
  • refs/tags/v0.1.2
  • refs/tags/v0.1.3
  • refs/tags/v0.1.4
  • refs/tags/v0.1.5
  • refs/tags/v0.1.6
  • refs/tags/v0.1.7
  • refs/tags/v0.1.8
  • refs/tags/v0.1.9
  • refs/tags/v0.2.0
  • refs/tags/v0.2.1
  • release-plz-2023-11-02T21-21-25Z
  • release-plz-2025-05-23T20-09-53Z
  • release-plz-2025-05-23T23-51-26Z
  • release-plz-2025-05-24T00-52-13Z
  • release-plz-2025-05-24T01-20-33Z
  • release-plz-2025-05-24T01-48-02Z
  • release-plz-2025-05-24T02-38-35Z
  • release-plz-2025-05-24T03-05-36Z
  • release-plz-2025-05-24T15-30-50Z
  • release-plz-2025-05-24T19-23-18Z
  • release-plz-2025-05-24T20-04-48Z
  • release-plz-2025-06-14T15-54-06Z
  • release-plz-2025-08-09T16-35-22Z
  • release-plz-2025-08-09T16-51-22Z
  • release-plz-2025-08-09T17-08-16Z
  • release-plz-2025-08-09T17-14-42Z
  • release-plz-2025-08-09T17-57-12Z
  • remove-windows-targets
  • update-cargo-lock-file
  • update-dependencies
  • update-release-build-platform
  • update-windows-artifact-build-image

23 May 2025 11:38PM UTC coverage: 95.402% (+2.8%) from 92.593%
15221013531

Pull #8

github

endoze
Fix yaml parsing with lines ending in spaces

In order to ensure that block scalar bodies in yaml are preserved when
round tripping from yaml -> json -> yaml, this commit adds a simple
change to clean up trailing whitespace before converting yaml -> json.
This fixes an issue where an errant whitespace character at the end of a
line inside a yaml block scalar would eventually come back formatted
poorly.

Example:

```yaml
application.yml: |-
  some_key: value_with_space_after
  another_key: true
```

After a round trip from yaml -> json -> yaml, this would output as the
following:

```yaml
application.yml: "some_key: value_with_space_after \n  another_key true"
```

After this change, we preserve the block scalar formatting by stripping
the whitespace.
Pull Request #8: Fix yaml parsing with lines ending in spaces

14 of 14 new or added lines in 2 files covered. (100.0%)

1 existing line in 1 file now uncovered.

83 of 87 relevant lines covered (95.4%)

1.63 hits per line

Relevant lines Covered
Build:
Build:
87 RELEVANT LINES 83 COVERED LINES
1.63 HITS PER LINE
Source Files on fix-yaml-parsing-with-lines-ending-in-spaces
  • Tree
  • List 3
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
15221013531 fix-yaml-parsing-with-lines-ending-in-spaces Fix yaml parsing with lines ending in spaces In order to ensure that block scalar bodies in yaml are preserved when round tripping from yaml -> json -> yaml, this commit adds a simple change to clean up trailing whitespace before converting yaml ... Pull #8 23 May 2025 11:41PM UTC endoze github
95.4
15220963493 fix-yaml-parsing-with-lines-ending-in-spaces Fix yaml parsing with lines ending in spaces In order to ensure that block scalar bodies in yaml are preserved when round tripping from yaml -> json -> yaml, this commit adds a simple change to clean up trailing whitespace before converting yaml ... Pull #8 23 May 2025 11:36PM UTC endoze github
95.4
15220948436 fix-yaml-parsing-with-lines-ending-in-spaces Fix yaml parsing with lines ending in spaces In order to ensure that block scalar bodies in yaml are preserved when round tripping from yaml -> json -> yaml, this commit adds a simple change to clean up trailing whitespace before converting yaml ... push 23 May 2025 11:35PM UTC endoze github
95.4
15220889678 fix-yaml-parsing-with-lines-ending-in-spaces Fix yaml parsing with lines ending in spaces In order to ensure that block scalar bodies in yaml are preserved when round tripping from yaml -> json -> yaml, this commit adds a simple change to clean up trailing whitespace before converting yaml ... Pull #8 23 May 2025 11:28PM UTC endoze github
95.4
See All Builds (116)
  • Repo on GitHub
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