typesense 2.1.0.rc1 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/typesense/client.rb +2 -1
- data/lib/typesense/stats.rb +15 -0
- data/lib/typesense/version.rb +1 -1
- data/lib/typesense.rb +1 -0
- metadata +5 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 821dcb542970fb0e93bfeceed5e47b714ecfb9c0ff8920382b4959b6ddfc8c22
|
4
|
+
data.tar.gz: e17c06e9cfc5bba67a5cfe92d9a1fb35bd53b4957e9f523f5ca3ee0e819dc518
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 794ef47d87171bc57c2d51e34883414224f1bb21c46e87a5257b2cb9744ed410da1e776737461d6001b8bf0b0d89b652f92b7d138edc1099789e71f2f7441ef1
|
7
|
+
data.tar.gz: 894cce3929f9f443d4c8f885717e3b087dc4d122d5943324a9244927eabc90b068d4c39db892aa0c893dfa2eea7b44d0361f826f0448356c13bc2eacfe485bea
|
data/lib/typesense/client.rb
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
module Typesense
|
4
4
|
class Client
|
5
|
-
attr_reader :configuration, :collections, :aliases, :keys, :debug, :health, :metrics, :operations,
|
5
|
+
attr_reader :configuration, :collections, :aliases, :keys, :debug, :health, :metrics, :stats, :operations,
|
6
6
|
:multi_search, :analytics, :presets
|
7
7
|
|
8
8
|
def initialize(options = {})
|
@@ -15,6 +15,7 @@ module Typesense
|
|
15
15
|
@debug = Debug.new(@api_call)
|
16
16
|
@health = Health.new(@api_call)
|
17
17
|
@metrics = Metrics.new(@api_call)
|
18
|
+
@stats = Stats.new(@api_call)
|
18
19
|
@operations = Operations.new(@api_call)
|
19
20
|
@analytics = Analytics.new(@api_call)
|
20
21
|
@presets = Presets.new(@api_call)
|
data/lib/typesense/version.rb
CHANGED
data/lib/typesense.rb
CHANGED
@@ -29,5 +29,6 @@ require_relative 'typesense/preset'
|
|
29
29
|
require_relative 'typesense/debug'
|
30
30
|
require_relative 'typesense/health'
|
31
31
|
require_relative 'typesense/metrics'
|
32
|
+
require_relative 'typesense/stats'
|
32
33
|
require_relative 'typesense/operations'
|
33
34
|
require_relative 'typesense/error'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: typesense
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.1.0
|
4
|
+
version: 2.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Typesense, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-11-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: oj
|
@@ -90,6 +90,7 @@ files:
|
|
90
90
|
- lib/typesense/overrides.rb
|
91
91
|
- lib/typesense/preset.rb
|
92
92
|
- lib/typesense/presets.rb
|
93
|
+
- lib/typesense/stats.rb
|
93
94
|
- lib/typesense/synonym.rb
|
94
95
|
- lib/typesense/synonyms.rb
|
95
96
|
- lib/typesense/version.rb
|
@@ -110,9 +111,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
110
111
|
version: '2.7'
|
111
112
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
112
113
|
requirements:
|
113
|
-
- - "
|
114
|
+
- - ">="
|
114
115
|
- !ruby/object:Gem::Version
|
115
|
-
version:
|
116
|
+
version: '0'
|
116
117
|
requirements: []
|
117
118
|
rubygems_version: 3.4.10
|
118
119
|
signing_key:
|