-
Notifications
You must be signed in to change notification settings - Fork 4
Enhance TA-Lib library and update configuration #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
Conversation
- Added support for Metrics/ModuleLength in .rubocop.yml to improve code quality checks. - Updated README.md to include a badge for GitHub Actions tests and refined the gem description. - Refactored lib/ta_lib.rb to improve code organization and readability, including the introduction of a constant for parameter types. - Removed redundant tests in spec/ta_lib_spec.rb to streamline validation and improve clarity. - Enhanced input validation in various methods to ensure robustness against invalid data. These changes aim to improve the overall functionality and maintainability of the TA-Lib library.
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
- Modified the platform detection logic in `lib/ta_lib.rb` to include additional Windows variants (cygwin, mswin, mingw, bccwin, wince, emx) for loading the TA-Lib shared library. - This change enhances compatibility and ensures the correct library is loaded across a wider range of Windows environments.
…b library - Eliminated the `TA_GetVersionString` function from `lib/ta_lib.rb` to streamline the library interface. - Updated the corresponding test in `spec/ta_lib_spec.rb` to reflect the removal, marking it as skipped for Windows due to lack of implementation. - These changes enhance the clarity and maintainability of the TA-Lib library by removing unused functionality.
User description
These changes aim to improve the overall functionality and maintainability of the TA-Lib library.
PR Type
Enhancement, Documentation
Description
Refactored
lib/ta_lib.rbfor better organization and readabilityAdded Rubocop configuration to disable
Metrics/ModuleLengthUpdated README.md with GitHub Actions badge and gem description
Removed redundant tests in
spec/ta_lib_spec.rbChanges walkthrough 📝
ta_lib.rb
Refactor TA-Lib core functionality and organizationlib/ta_lib.rb
TA_PARAM_TYPEta_lib_spec.rb
Streamline and improve test coveragespec/ta_lib_spec.rb
.rubocop.yml
Update Rubocop configuration.rubocop.yml
Metrics/ModuleLengthcheckREADME.md
Update README with badge and descriptionREADME.md
talib_spec.rb
Clean up file formattingspec/talib_spec.rb