mongodb_meilisearch 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.env +13 -0
- data/.idea/.gitignore +8 -0
- data/.idea/modules.xml +8 -0
- data/.rspec +3 -0
- data/.rubocop.yml +1859 -0
- data/CHANGELOG.md +3 -0
- data/CODE_OF_CONDUCT.md +129 -0
- data/CONTRIBUTORS.md +5 -0
- data/Gemfile +6 -0
- data/Gemfile.lock +234 -0
- data/LICENSE.txt +557 -0
- data/README.md +435 -0
- data/Rakefile +12 -0
- data/lefthook.yml +18 -0
- data/lib/mongodb_meilisearch/version.rb +9 -0
- data/lib/mongodb_meilisearch.rb +3 -0
- data/lib/search/class_methods.rb +529 -0
- data/lib/search/client.rb +41 -0
- data/lib/search/instance_methods.rb +94 -0
- data/sig/mongodb_meilisearch.rbs +4 -0
- metadata +192 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 90bfdb172f8ff15ffe0d490cbfc03939de3f3b05881b830f0515807f35882e96
|
4
|
+
data.tar.gz: 1c680831f8b35d5ee540fab9e7ec47b3b093f02a5be054a1b0c393597930e556
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: f10fe61be5b67e4e5264abed8adabb41ecdb6a3e2cbdca2ae23f5979d552498a018bf327c682cc28e54b37ce16b9c50f74dca294eb55a0acbff5277a5f0389f0
|
7
|
+
data.tar.gz: 5d39d79ddf1bc213760959fdd4ebee1451cc2b2c1a6a48b1a24e6e74bd3dff688121e12d2dad8fc103c38db14d7766fdc2c6117b592cf2445eebfd2aaa6773b9
|
data/.env
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
# We're assuming meilisearch-ruby works
|
2
|
+
# and not ACTUALLY calling it during
|
3
|
+
# our tests. You don't need to have it running
|
4
|
+
# while working on this gem.
|
5
|
+
SEARCH_ENABLED=false
|
6
|
+
|
7
|
+
# if SEARCH_ENABLED was true you'd need these too
|
8
|
+
# MEILISEARCH_API_KEY=<your api key here>
|
9
|
+
# MEILISEARCH_URL=http://127.0.0.1:7700
|
10
|
+
|
11
|
+
# # optional configuration
|
12
|
+
# MEILISEARCH_TIMEOUT=10
|
13
|
+
# MEILISEARCH_MAX_RETRIES=2
|
data/.idea/.gitignore
ADDED
data/.idea/modules.xml
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
+
<project version="4">
|
3
|
+
<component name="ProjectModuleManager">
|
4
|
+
<modules>
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/mongodb_meilisearch.iml" filepath="$PROJECT_DIR$/.idea/mongodb_meilisearch.iml" />
|
6
|
+
</modules>
|
7
|
+
</component>
|
8
|
+
</project>
|
data/.rspec
ADDED