Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests CI workflow #1

Merged
merged 7 commits into from
Sep 27, 2024
Merged

Add tests CI workflow #1

merged 7 commits into from
Sep 27, 2024

Conversation

javierjulio
Copy link
Member

This adds a test workflow and some general clean up.

@javierjulio javierjulio self-assigned this Sep 27, 2024
This also removes the rdoc dependency (and .document file) since its not used and the Rakefile now matches what Bundler generates for a new gem.

This also moves the development dependencies from the gemspec to the Gemfile to be consistent with Bundler gem template.
We never ended up using this gem from this commit but actually the one before, commit e5b0be0, so it's safe and best to revert this unused change so it stays as it was.
The first tests are commented out because of commit e5b0be0 so this is expected to fail.

The second test failure I'm not sure how it passed before but on Ruby 3.3 or even 3.0, I still get this value which is expected considering the code calls `to_json` on the body:

```
# Ruby 3.3.5p100
>> nil.to_json
=> "null"
```
@javierjulio javierjulio merged commit e683922 into master Sep 27, 2024
1 check passed
@javierjulio javierjulio deleted the ci-ruby branch September 27, 2024 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant