estella 7.0.0 → 7.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d9d4bb9a6de7a94bdb5387ba3a75e14f1018dd335e10602aca51375eac4bdbb6
4
- data.tar.gz: e66b62c6b09fc373017299954b05dc402f9475d9ad507e573912eaae3cc72339
3
+ metadata.gz: 2a5151c04f19b07be3fdbad365ace53fa98ff3e656ae93c88d0601ecc8fd1025
4
+ data.tar.gz: 8d98facfdab1abbfa74e204cfa3b9d3b1406d03e0991e410ef19c6264f21a58a
5
5
  SHA512:
6
- metadata.gz: 411b917c23df28896f0271907fa26a8c994913e570d3354a1442c11d506bc81627f0190964b3f3be8720259609789010f44711d78d4f6a01b5d1a300fcf3b9e8
7
- data.tar.gz: 7800b28b9761e32d43f77cb0b04915ae33c1eca8ff44b2c72361b6a6302bc3e3573d2872af906a563b8e73964c68cad37d5f14cd78509461ae096021976b92cd
6
+ metadata.gz: 2cfa9184c385690fb88018d7f5ae67fcd8c736f551d2afbf456e9527bb699d4dd66f0d7cf8e94d143386b424630e266b0e805fc24abc1d350a515585ae592ff9
7
+ data.tar.gz: '084f9ca79e95c59ca88320ede69fc9c78747ca1881c1d98cd98cd784c0d5ab67d31ce47e47e7441168881b8a4e1a47b0bd08600461f3444b0f3b56ab612f3eef'
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  ### Next Release
4
4
 
5
+ ### v7.0.1
6
+
7
+ * [#43](https://github.com/artsy/estella/pull/43): chore: docs - [@ovasdi]
8
+ * [#42](https://github.com/artsy/estella/pull/42): feat: searchable module index_slug supports FriendlyId - [@ovasdi]
9
+
5
10
  ### v7.0.0
6
11
 
7
12
  * [#40](https://github.com/artsy/estella/pull/40): compatibility with elasticsearch v7 - [@joeyAghion]
data/README.md CHANGED
@@ -1,8 +1,7 @@
1
1
  # estella
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/estella.svg)](https://badge.fury.io/rb/estella)
4
- [![Build Status](https://travis-ci.org/artsy/estella.svg?branch=main)](https://travis-ci.org/artsy/estella)
5
- [![License Status](https://git.legal/projects/3493/badge.svg)](https://git.legal/projects/3493)
4
+ [![Build Status](https://dl.circleci.com/status-badge/img/gh/artsy/estella/tree/main.svg?style=svg)](https://dl.circleci.com/status-badge/redirect/gh/artsy/estella/tree/main)
6
5
  [![Coverage Status](https://coveralls.io/repos/github/artsy/estella/badge.svg?branch=main)](https://coveralls.io/github/artsy/estella?branch=main)
7
6
 
8
7
  Builds on [elasticsearch-model](https://github.com/elastic/elasticsearch-rails/tree/main/elasticsearch-model) to make your Ruby objects searchable with Elasticsearch. Provides fine-grained control of fields, analysis, filters, weightings and boosts.
data/RELEASING.md CHANGED
@@ -11,7 +11,7 @@ bundle install
11
11
  rake
12
12
  ```
13
13
 
14
- Check that the last build succeeded in [Travis CI](https://travis-ci.org/dblock/estella) for all supported platforms.
14
+ Check that the last build succeeded in [Circle CI](https://app.circleci.com/pipelines/github/artsy/estella) for all supported platforms.
15
15
 
16
16
  Increment the version, modify [lib/estella/version.rb](lib/estella/version.rb).
17
17
 
@@ -57,10 +57,10 @@ module Estella
57
57
  end
58
58
 
59
59
  module ClassMethods
60
- # support for mongoid::slug
60
+ # support for mongoid::slug and friendly_id (AR slugs)
61
61
  # indexes slug attribute by default
62
62
  def index_slug
63
- if defined? slug
63
+ if method_defined?(:slug) || method_defined?(:friendly_id)
64
64
  indexed_fields.merge!(slug: { type: :keyword })
65
65
  indexed_json.merge!(slug: :slug)
66
66
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Estella
4
- VERSION = '7.0.0'
4
+ VERSION = '7.0.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: estella
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.0
4
+ version: 7.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Anil Bawa-Cavia
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2024-03-12 00:00:00.000000000 Z
12
+ date: 2024-09-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activemodel
@@ -200,7 +200,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
200
200
  - !ruby/object:Gem::Version
201
201
  version: '0'
202
202
  requirements: []
203
- rubygems_version: 3.5.6
203
+ rubygems_version: 3.5.14
204
204
  signing_key:
205
205
  specification_version: 4
206
206
  summary: Make your Ruby objects searchable with Elasticsearch.