koko_keywords 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3aadfea96947cbf401385d94e65dcfbe8d9a4defd9eadf57dd9cac46e8b9a63e
4
- data.tar.gz: e8138d816e62343b6f5f5b7b508e43fb7a0a8ff5f8fef5eda7bf901f5466f69f
3
+ metadata.gz: 6e62d0bc41570d8c6b5305979cfb128fe396c6c2fc1215d793fa664d40269823
4
+ data.tar.gz: eda1f54501da576ca9ba75b1a44a5d1a6ca4b4ad14f4f42c2afc3bbde498870b
5
5
  SHA512:
6
- metadata.gz: '010670498399fb89f3600e4886917431775e7d727cd3c6d82dd401035301c9518cd467d92dfc9b615d0d580fa9cc78dbc486473e8d76fc40c6bfdf890e851370'
7
- data.tar.gz: a750eed1189eb9f4ca7a3adcf5c58248013c63703cd7e54167cafc36c8d56459f6b5e95d9114862e973aaf0550f3afbae3f5a3d651534205b445472b07521b37
6
+ metadata.gz: 1b5fd64a6f799415c392befeee91ec9da48ff19e9a73404d96990b864c871e8069bf25864a590c31a7fd2813d20989e487c50efa5ce515b46716cd36202c3a7e
7
+ data.tar.gz: d25e6bc6dc5e5e36c3635bbadc467945b73ea3808bcc432caedf017a46e2eb817e643635d2584747bd86a87c89944cf734774857fbfa17eb267c70fe08bf4dd0
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  Koko Keyword Python Client
2
2
  ============
3
3
 
4
- A ruby client for the [Koko Keywords API](https://r.kokocares.org/koko_keywords/docs). The client handles caching to ensure very low latency.
4
+ A ruby client for the [Koko Keywords API](https://developers.kokocares.org). The client handles caching to ensure very low latency.
5
5
 
6
6
 
7
7
  ## Install
@@ -13,7 +13,7 @@ gem install koko_keywords
13
13
  ## Usage
14
14
 
15
15
  Set the `KOKO_KEYWORDS_AUTH` environment to the authentication string provided
16
- by Koko (contact us at api@kokocares.org if you would like one).
16
+ by Koko. To get an api key, complete our [sign up form](https://r.kokocares.org/api_signup).
17
17
 
18
18
  ```
19
19
  export KOKO_KEYWORDS_AUTH=username:password
@@ -50,6 +50,8 @@ Use this to pin to a specific version of the regex otherwise the endpoint return
50
50
  KokoKeywords.match("sewerslide", version: "20220206")
51
51
  ```
52
52
 
53
+ We do not recommend setting this as we frequently update keywords for better matching performance.
54
+
53
55
  ## Performance
54
56
  The underlying library is written in Rust and cross-compiled to the four major CPU targets. Regexes are cached based on the cache expiration headers (currently set to an hour). This ensures very low latency and overhead (< 1μs/req).
55
57
 
@@ -1,3 +1,3 @@
1
1
  module KokoKeywords
2
- VERSION = "0.0.2"
2
+ VERSION = "0.1.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: koko_keywords
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kareem Kouddous
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-18 00:00:00.000000000 Z
11
+ date: 2022-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi