caoutsearch 0.0.0 → 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/lib/caoutsearch/index/scoping.rb +1 -1
- data/lib/caoutsearch/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ea1dcfe00e97f08d450bd38f14b72f3686a2ea52a627d8da311811391e8ab3c
|
4
|
+
data.tar.gz: 683f3d3686a32dd42b0975d7fcf4e222b49260fa43c13cc8077d57da8feccec1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd77e52fdc23d794cdea2a35661536b891abec1f9e23dab1bf197342d21588522af29a392136b1f5f8eeb79f522d5b8eb076b4f6c36fdfb9edcee965da1677dc
|
7
|
+
data.tar.gz: be1926d57b935dfc8602c4baa36ce476b3870f634de1c9a2b053a7cdcbb393d37abae1ec0a76b5cffaa9c610a0d188fba8a293b185da7137d25f2d8444643efd
|
data/README.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# Caoutsearch [\ˈkawt͡ˈsɝtʃ\\](http://ipa-reader.xyz/?text=ˈkawt͡ˈsɝtʃ)
|
2
2
|
|
3
|
+
[![Gem Version](https://badge.fury.io/rb/caoutsearch.svg)](https://rubygems.org/gems/caoutsearch)
|
4
|
+
[![CI Status](https://github.com/mon-territoire/caoutsearch/actions/workflows/ci.yml/badge.svg)](https://github.com/mon-territoire/caoutsearch/actions/workflows/ci.yml)
|
5
|
+
[![Maintainability](https://api.codeclimate.com/v1/badges/9bb8b75ea8c66b1a9c94/maintainability)](https://codeclimate.com/github/mon-territoire/caoutsearch/maintainability)
|
6
|
+
|
3
7
|
### Installation
|
4
8
|
|
5
9
|
```bash
|
@@ -37,7 +37,7 @@ module Caoutsearch
|
|
37
37
|
names += %w[_default] # Use += instead of << to create a copy
|
38
38
|
|
39
39
|
names.each do |name|
|
40
|
-
if scopes.include?
|
40
|
+
if scopes.include?(name)
|
41
41
|
scope = scopes[name]
|
42
42
|
records = scope.call(records)
|
43
43
|
elsif partial_reindexations.include?(name)
|
data/lib/caoutsearch/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: caoutsearch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Savater Sebastien
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2022-09-
|
12
|
+
date: 2022-09-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activesupport
|