-
Notifications
You must be signed in to change notification settings - Fork 2
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
Create GitHub actions workflow to run tests #41
Conversation
- Flaky since they rely on the sha256 fingerprint, which changes over time
it is required to run commands such as `.blank?`. Previously it was being installed upstream in the deprecated case_transform gem
- tests still failing locally...
codecov is no longer configured, is not free, and is currently blocking running tests in CI
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
|
||
spec.files = Dir['{lib}/**/*'] | ||
spec.require_paths = ['lib'] | ||
|
||
spec.add_runtime_dependency 'case_transform' | ||
spec.add_runtime_dependency 'activesupport', '~> 7.0.8' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be nice to only import active support's string inflections. But I'm not aware how this is possible in Ruby land.
# this is needed due to internet access restrictions | ||
# in the (travis) CI environment | ||
# skipped in CI because this test requires actual | ||
# private key, identity, etc set in .env variables |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And that's the only spec that fails on my machine locally. 👍
What changed in this PR and why
case_transform
gem's reliance on activesupport 7.1 and the error:The gem was removed as it was only used in two files and transforms the case in a way that we can do without an extra gem.
activesupport
gem was added because we use methods that we were inheriting fromcase_transform
dependency onactivesupport
, ie.blank?