Closed avrabe closed 1 month ago
Dependency Upgrade in Cargo.toml
The tracing-subscriber
and mockito
versions were upgraded to enhance the app's stability and function. Other dependencies like reqwest
, serde
, serde_derive
, serde_json
, url
, and time
were also updated for optimal efficiency.
Example Code Added in README.md
A new block of example code was incorporated in the README.md
for better user comprehension and replicability.
Inclusion of New 'comments.rs' in Examples Directory
An additional comments.rs
file was added to the examples directory, giving more diverse instances for usage.
Enhancements to 'src/rep.rs' with New Comments Struct
A novel struct Comments
was introduced in src/rep.rs
, alongside the associated changes for better functionality.
Addition of New Test File - 'errors_test.rs'
An errors_test.rs
file was appended to the tests
directory to reinforce the code reliability through improved testing.
Additional Test Cases in 'tests/rep_test.rs'
New test cases were introduced to scrutinize the comments()
method inside the Issue
struct, ensuring the robustness of response when generating issue comments.
Attention: Patch coverage is 93.75000%
with 1 line
in your changes missing coverage. Please review.
Project coverage is 27.55%. Comparing base (
e302b90
) to head (3df0cc0
).
Files | Patch % | Lines |
---|---|---|
tests/rep_test.rs | 80.00% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Early versions of the Rest API directly added comment information into the output:
"comment": [ ]
This has been changed to provide additional meta-information and the comments moved one level deeper:
"comment": { "comments": [ ] }
The change needs a version upgrade as the interfaces changes.
fixes #63