Open
Conversation
Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](rubocop/rubocop@v1.63.4...v1.63.5) --- updated-dependencies: - dependency-name: rubocop dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Update rubocop requirement from 1.63.5 to 1.64.1 Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](rubocop/rubocop@v1.63.5...v1.64.1) --- updated-dependencies: - dependency-name: rubocop dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * Fix rubocop --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Samuel Ebeagu <samuel.ebeagu@toptal.com>
Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](rubocop/rubocop@v1.64.1...v1.65.0) --- updated-dependencies: - dependency-name: rubocop dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](rubocop/rubocop@v1.65.0...v1.65.1) --- updated-dependencies: - dependency-name: rubocop dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* ES 8.x upgrade * Fix termnite after changes * fixup es * Elastic security on: configuration example * Mass index deletion disabled by default in Elastic * Elastic docker file: increase sleep, bump image * Spec fixes * bump dependency * Bump version, update docs --------- Co-authored-by: Danil Nurgaliev <danil.nurgaliev@toptal.com>
* Fix id conversion issue in delayed_sidekiq strategy Ensure ids extracted from Redis remain strings, preventing UUID issues. Previously, ids were being converted to integers, causing problems with UUIDs in the `delayed_sidekiq` strategy. This update also enhances the test suite: - Existing tests are updated. - A new test ensures the issue is resolved. Due to SQLite's lack of UUID support, a `stub_uuid_model` method is added. This method stubs models with UUIDs, using `SecureRandom.uuid` for the primary key. Move table creations to individual methods. Having every table creation inside a single block casued Rubocop `Metrics/BlockLength` error. To fix it I moved each table creation to an individual method. * Add changelog notes --------- Co-authored-by: Sundus Yousuf <sundus.yousuf@recruitmilitray.com>
f2dace4 to
2b97a59
Compare
There was a problem hiding this comment.
Orca Security Scan Summary
| Status | Check | Issues by priority | |
|---|---|---|---|
| Infrastructure as Code | View in Orca | ||
| Secrets | View in Orca | ||
| Vulnerabilities | View in Orca |
Kodem Security Scan Summary
|
Kodem Security Scan Summary
Note: Kai marked all findings as likely false positives. |
Rails 6.1 and 7.0 have reached EOL, and 7.1 is approaching it. Requiring Rails >= 7.2 and Ruby >= 3.2 aligns with currently supported versions and fixes CI incompatibilities with older combinations.
The pinned 1.65.1 was incompatible with newer rubocop-ast, breaking CI. Bump to latest, target Ruby 3.2, and regenerate the todo file.
sqlite3 ~> 1.4 conflicts with Rails 8.0 (requires >= 2.1). Unpinned unparser pulls versions incompatible with Ruby 3.4 AST.
Bump actions/checkout to v6, run rubocop on Ruby 3.4, add workflow_dispatch for manual CI triggers, and remove the deprecated docker-compose version key.
ActiveRecord returns frozen arrays from pluck/import_fields in newer versions. Use map to build new arrays instead of mutating in place.
Ruby 3.4 changed Hash#inspect to use the new syntax ({key: value}
instead of {:key=>value}). Relax the assertions to match substrings
or patterns instead of exact inspect output.
- "related to other" -> "related to each other" - "elastisearch" -> "Elasticsearch" - "ElasticSearch" -> "Elasticsearch" (7 occurrences) - "city4..do_update!" -> "city4.do_update!" - "except except" -> "except" - Fix sentence fragment in Minitest integration section - Add missing period - "Describe the brief of the change" -> "Describe the change briefly" - "all the the" -> "all the"
The README was ~1370 lines mixing tutorial, reference, and configuration docs. Split the detailed content into focused files under docs/ while keeping the README as a concise entry point with links.
- Replace `its/should` with `specify/expect` in config_spec and repository_spec (also removes a duplicate transport_logger test) - Remove duplicate specify blocks in query_proxy_spec - Remove permanently-pending Groovy script tests in response_spec (Groovy scripting unsupported since ES 6) - Modernize version test description in chewy_spec - Remove broken xdescribe '.massacre' (never called .massacre, incorrect setup, untestable with ES 8 defaults) - Remove xcontext 'applying journal' from actions_spec (timing- dependent, full of debug prints, covered by journaling context)
The gem is no longer used anywhere in the test suite after the earlier test modernization pass.
Chewy works fine without Rails but the docs assume it everywhere. Add a standalone guide for non-Rails setup and a FAQ answering recurring user questions (UndefinedUpdateStrategy, versioning policy, OpenSearch support, Elastic Cloud connection).
A modernized, self-contained tutorial using a media library domain (books + authors). Covers index definition, model callbacks, import, strategies, a search form object pattern, controller integration, sorting, error handling and testing.
- querying.md: add sorting section and error handling for bad user queries - indexing.md: add keyword sub-field example for sorting on text fields - testing.md: add end-to-end search testing example (purge/import/query)
Cover Strategy::Base, error classes, Index::Crutch, Search::Scoping, Adapter::Base, IndicesBoost, AllowPartialSearchResults, DelayedSidekiq::Scheduler, and DelayedSidekiq::Worker.
* Allow ruby version 4.0 in gemspec * Add ruby 4.0 to CI matrix
Both services are no longer in use for this project.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.