Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ Please mark backwards incompatible changes with an exclamation mark at the start

## [Unreleased]

### Fixed
- A `NoMethodError` that was being raised by `Elasticsearch::Stats::Indices`
when `active_support/core_ext/string` hadn't been loaded.

### Added
- It is now possible to configure the type used by the `RSpec::TestDataCollector`
class when pushing documents to Elasticsearch. If no type is specified in the
Expand Down
2 changes: 1 addition & 1 deletion lib/jay_api/elasticsearch/stats/indices.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Stats
class Indices
# A lambda used to select / reject system indices (indices whose name
# starts with dot).
SYSTEM_SELECTOR = ->(name, _data) { name.starts_with?('.') }
SYSTEM_SELECTOR = ->(name, _data) { name.start_with?('.') }

# @param [Hash{String=>Hash}] indices A +Hash+ with the information
# about the indices. Its keys are the names of the indices, its values
Expand Down