search-kit 0.0.9 → 0.0.10
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 +4 -4
- data/config/locales/en.yml +113 -0
- data/lib/search_kit/version.rb +1 -1
- data/search-kit.gemspec +1 -1
- metadata +2 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 65b870fbc9e00055953beb09400683c375d795ad
|
|
4
|
+
data.tar.gz: ddf537bf20e14664b49e4fc897a87e783b06c758
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5007c008179dd04f7fad9741f4ba44a47040569a41a41df38cc10c66b0553816ea405e290800f7f544e1b1c853a6c12e4e80b796ed402750063abfc22262a438
|
|
7
|
+
data.tar.gz: 72cab7b5f502449c9ce777f958d8bd89a672c24d0d9ef7992ec9844dd7894189f1c63ca441f53a1e7736e9cd1c18e5de123f72bfa8cafe2913d1a28bd530bbaf
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
en:
|
|
2
|
+
http:
|
|
3
|
+
400: Bad request given
|
|
4
|
+
401:
|
|
5
|
+
inactive: Inactive or expired token
|
|
6
|
+
privilege: Inadequate permissions on token
|
|
7
|
+
404: Unable to find %{type} at the given uri
|
|
8
|
+
422: Options given unprocessable
|
|
9
|
+
cli:
|
|
10
|
+
errors:
|
|
11
|
+
json_parse: "%{type} must be given in the form of a JSON string."
|
|
12
|
+
no_server: No running SearchKit service found at %{uri}.
|
|
13
|
+
unreadable: "Response unreadable: %{error}"
|
|
14
|
+
documents:
|
|
15
|
+
update:
|
|
16
|
+
command: update SLUG ID DOCUMENT
|
|
17
|
+
summary: Update a document with a json string
|
|
18
|
+
detail: |
|
|
19
|
+
Updating a document usage and purpose
|
|
20
|
+
delete:
|
|
21
|
+
command: delete SLUG ID
|
|
22
|
+
summary: Delete a document
|
|
23
|
+
detail: |
|
|
24
|
+
Deleting a document usage and purpose
|
|
25
|
+
create:
|
|
26
|
+
command: create SLUG DOCUMENT
|
|
27
|
+
summary: Create a document with a json string
|
|
28
|
+
detail: |
|
|
29
|
+
Creating a document usage and purpose
|
|
30
|
+
show:
|
|
31
|
+
command: show SLUG ID
|
|
32
|
+
summary: View a document
|
|
33
|
+
detail: |
|
|
34
|
+
# View a document (detail)
|
|
35
|
+
|
|
36
|
+
I like to pretend this is in markdown, or can be done in markdown. But is it really necessary?
|
|
37
|
+
|
|
38
|
+
1. I have no idea.
|
|
39
|
+
|
|
40
|
+
2. Who knows.
|
|
41
|
+
events:
|
|
42
|
+
complete:
|
|
43
|
+
command: complete ID
|
|
44
|
+
summary: Complete event for a given ID
|
|
45
|
+
detail: |
|
|
46
|
+
Detail about event completion
|
|
47
|
+
success: Event %{id} completed
|
|
48
|
+
pending:
|
|
49
|
+
command: pending
|
|
50
|
+
summary: Get all pending events, --channel to filter by channel
|
|
51
|
+
detail: |
|
|
52
|
+
Get all pending events, --channel to filter by channel
|
|
53
|
+
success:
|
|
54
|
+
index:
|
|
55
|
+
discovered: "Pending events:"
|
|
56
|
+
empty: No pending events found
|
|
57
|
+
filtered:
|
|
58
|
+
discovered: "Pending events for channel `%{channel}`:"
|
|
59
|
+
empty: No pending events found for channel `%{channel}`
|
|
60
|
+
publish:
|
|
61
|
+
command: publish CHANNEL PAYLOAD
|
|
62
|
+
summary: Publish an event payload (as a json string) to CHANNEL
|
|
63
|
+
detail: |
|
|
64
|
+
Publish an event payload (as a json string) to CHANNEL
|
|
65
|
+
success: |
|
|
66
|
+
Event published, check status with this command:
|
|
67
|
+
|
|
68
|
+
search-kit events status %{id}
|
|
69
|
+
|
|
70
|
+
Or look at use this command to to see this event and all neighboring events:
|
|
71
|
+
|
|
72
|
+
search-kit events pending %{channel}
|
|
73
|
+
status:
|
|
74
|
+
command: status ID
|
|
75
|
+
summary: Check status of a specific event ID
|
|
76
|
+
detail: |
|
|
77
|
+
Check status of a specific event ID
|
|
78
|
+
success: "Event %{id} status: %{status}"
|
|
79
|
+
indices:
|
|
80
|
+
archive:
|
|
81
|
+
command: archive SLUG
|
|
82
|
+
summary: Archive an index
|
|
83
|
+
detail: |
|
|
84
|
+
Archive an index
|
|
85
|
+
create:
|
|
86
|
+
command: create NAME
|
|
87
|
+
summary: Create an index
|
|
88
|
+
detail: |
|
|
89
|
+
Create an index
|
|
90
|
+
scaffold:
|
|
91
|
+
command: scaffold NAME JSON
|
|
92
|
+
summary: Create an index and populate it with a list of documents
|
|
93
|
+
detail: |
|
|
94
|
+
Create an index and populate it with a list of documents
|
|
95
|
+
show:
|
|
96
|
+
command: show SLUG
|
|
97
|
+
summary: View an index
|
|
98
|
+
detail: |
|
|
99
|
+
View an index
|
|
100
|
+
update:
|
|
101
|
+
command: update SLUG
|
|
102
|
+
summary: Update an index
|
|
103
|
+
detail: |
|
|
104
|
+
In depth detail about index updating
|
|
105
|
+
search:
|
|
106
|
+
create:
|
|
107
|
+
command: search SLUG PHRASE
|
|
108
|
+
summary: Search an index
|
|
109
|
+
detail: |
|
|
110
|
+
Search an index
|
|
111
|
+
success:
|
|
112
|
+
headline: "Searching `%{slug}` for titles matching `%{phrase}`:"
|
|
113
|
+
info: " - Found %{count} titles in %{time}ms"
|
data/lib/search_kit/version.rb
CHANGED
data/search-kit.gemspec
CHANGED
|
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
|
|
|
15
15
|
spec.license = "MIT"
|
|
16
16
|
|
|
17
17
|
spec.files = %w[search-kit.gemspec]
|
|
18
|
-
spec.files += Dir['*.md', 'bin/*', 'lib/**/*.rb']
|
|
18
|
+
spec.files += Dir['*.md', 'bin/*', 'lib/**/*.rb', 'config/**/*.yml']
|
|
19
19
|
spec.test_files = Dir['spec/**/*.rb']
|
|
20
20
|
spec.require_paths = ["lib"]
|
|
21
21
|
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: search-kit
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.10
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Joseph McCormick
|
|
@@ -217,6 +217,7 @@ files:
|
|
|
217
217
|
- CODE_OF_CONDUCT.md
|
|
218
218
|
- README.md
|
|
219
219
|
- bin/search-kit
|
|
220
|
+
- config/locales/en.yml
|
|
220
221
|
- lib/search_kit.rb
|
|
221
222
|
- lib/search_kit/cli.rb
|
|
222
223
|
- lib/search_kit/cli/all.rb
|