typesense 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop.yml +3 -0
- data/.rubocop_todo.yml +0 -17
- data/lib/typesense.rb +1 -0
- data/lib/typesense/client.rb +2 -0
- data/lib/typesense/health.rb +15 -0
- data/lib/typesense/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: '01816d2288d2368c04508b224d54570d993d3c4388368a4538426aa6bd9fa059'
|
4
|
+
data.tar.gz: b784907e7daf269117568c3c9fa0c96dc90e9d23b1e760a322a54acaaf90a647
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34f902768512e76f2f18fee4eb70b4a28ae2b5ab54c408a361cfe94f88d3e0b892d77e2bd7e17c1f0d831e7d09d0158e66c22c8a62850138de27d1a09dc5e79a
|
7
|
+
data.tar.gz: 40c9c0fe34bd652a2ec99b8e5b26740a65a85806ce027a704b8bbab290773f8f2dd792e9ae1376cb9b4009d49836d1c15966fce3d59ec7ed3d0fef975a8add7b
|
data/.rubocop.yml
CHANGED
data/.rubocop_todo.yml
CHANGED
@@ -44,23 +44,6 @@ Metrics/MethodLength:
|
|
44
44
|
Metrics/PerceivedComplexity:
|
45
45
|
Max: 11
|
46
46
|
|
47
|
-
# Offense count: 25
|
48
|
-
# Configuration parameters: Max.
|
49
|
-
RSpec/ExampleLength:
|
50
|
-
Exclude:
|
51
|
-
- 'spec/typesense/alias_spec.rb'
|
52
|
-
- 'spec/typesense/aliases_spec.rb'
|
53
|
-
- 'spec/typesense/key_spec.rb'
|
54
|
-
- 'spec/typesense/keys_spec.rb'
|
55
|
-
- 'spec/typesense/api_call_spec.rb'
|
56
|
-
- 'spec/typesense/collection_spec.rb'
|
57
|
-
- 'spec/typesense/collections_spec.rb'
|
58
|
-
- 'spec/typesense/debug_spec.rb'
|
59
|
-
- 'spec/typesense/document_spec.rb'
|
60
|
-
- 'spec/typesense/documents_spec.rb'
|
61
|
-
- 'spec/typesense/override_spec.rb'
|
62
|
-
- 'spec/typesense/overrides_spec.rb'
|
63
|
-
|
64
47
|
# Offense count: 10
|
65
48
|
RSpec/MultipleExpectations:
|
66
49
|
Max: 5
|
data/lib/typesense.rb
CHANGED
data/lib/typesense/client.rb
CHANGED
@@ -7,6 +7,7 @@ module Typesense
|
|
7
7
|
attr_reader :aliases
|
8
8
|
attr_reader :keys
|
9
9
|
attr_reader :debug
|
10
|
+
attr_reader :health
|
10
11
|
|
11
12
|
def initialize(options = {})
|
12
13
|
@configuration = Configuration.new(options)
|
@@ -15,6 +16,7 @@ module Typesense
|
|
15
16
|
@aliases = Aliases.new(@api_call)
|
16
17
|
@keys = Keys.new(@api_call)
|
17
18
|
@debug = Debug.new(@api_call)
|
19
|
+
@health = Health.new(@api_call)
|
18
20
|
end
|
19
21
|
end
|
20
22
|
end
|
data/lib/typesense/version.rb
CHANGED
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: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Typesense, Inc.
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: awesome_print
|
@@ -244,6 +244,7 @@ files:
|
|
244
244
|
- lib/typesense/document.rb
|
245
245
|
- lib/typesense/documents.rb
|
246
246
|
- lib/typesense/error.rb
|
247
|
+
- lib/typesense/health.rb
|
247
248
|
- lib/typesense/key.rb
|
248
249
|
- lib/typesense/keys.rb
|
249
250
|
- lib/typesense/override.rb
|