ndb 1.13.0 → 1.13.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fa2bf4ade21fb245fc96e15bf2c76c794093b1fe25ad8e425ddafd941b30d8d4
4
- data.tar.gz: 354b260184a15cc4782da40ed484dad468cfd8d4f91d430dced286e41fa05155
3
+ metadata.gz: 31c254744a2a99f1f7aab98641637d5e5c72ecf0368720c7b57722301d42b8c8
4
+ data.tar.gz: 9c626e98c3fcbff0c6e0b2889bb283ac397f0b541ff70e040fe19c6ea091bcfb
5
5
  SHA512:
6
- metadata.gz: f36f3ff8671118b5d60205e401b00f3a497a8225aaf6ce506fcce063e516ddb1ec085918098fbf0c3af71125ee28baffd66bfa5c008dd0263b82411776595a67
7
- data.tar.gz: c172d8153ec72e69422b0c4588699b693a4d6be691f70efd8ad578ae224fa4eea6cd9ac03975d4e7038d5eab20efc7d4ac81d1bdbf92d04cb523b477698b1b12
6
+ metadata.gz: 82651b170132f83fbafbe1900de9d13780ac961d3c7725226343d5a4fbacffba657fcbd537f63e14ce0cdd9bba56e6dfb28b4612d81dcbb9f6e9de3a6aa3bfc4
7
+ data.tar.gz: 5a0f1364de9b2f02f05779c2463d4ee3bfc8da9d1dced25e793a47592fe0ccea9a19748a1a0165e8605dd432c9c24d18acac3584b811d91e192952654df1078e
data/README.md CHANGED
@@ -54,7 +54,7 @@ Ndb::Client.new(
54
54
  )
55
55
  ```
56
56
 
57
- - The address is, in order: `url:` (the `addr` of `Ndb.connect`), `socket:`, env `NDB_URL`, then the default socket `/var/run/ndb/ndb.sock`.
57
+ - The address is, in order: `url:` (the `addr` of `Ndb.connect`), `socket:`, env `NDB_URL`, then the default socket `/run/ndb/ndb.sock`.
58
58
  - The token is `token:`, or env `NDB_TOKEN`. It goes only in the `Authorization` header. A unix socket does not need it.
59
59
  - A bad address raises `ArgumentError` at once.
60
60
  - `ready_timeout` is how long a call retries while the daemon is not ready (`not_ready`, or the socket is missing or refuses). It uses exponential backoff (50 ms up to 1 s) with jitter. A write is retried only when the daemon certainly did not process it. A read is also retried after a dropped connection. A timeout is never retried. When the deadline passes, the last error is raised.
data/lib/ndb/client.rb CHANGED
@@ -14,7 +14,7 @@ module Ndb
14
14
  # reads the answers; it has no query semantics. Ndb::Collection is the
15
15
  # friendlier layer on top of it.
16
16
  class Client
17
- DEFAULT_SOCKET = "/var/run/ndb/ndb.sock"
17
+ DEFAULT_SOCKET = "/run/ndb/ndb.sock"
18
18
 
19
19
  attr_reader :pool, :endpoint
20
20
 
data/lib/ndb/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Ndb
4
- VERSION = "1.13.0"
4
+ VERSION = "1.13.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ndb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.13.0
4
+ version: 1.13.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - thadeu
@@ -26,11 +26,12 @@ files:
26
26
  - lib/ndb/errors.rb
27
27
  - lib/ndb/id.rb
28
28
  - lib/ndb/version.rb
29
- homepage: https://github.com/thadeu/ndb
29
+ homepage: https://ndb.clowk.in
30
30
  licenses:
31
31
  - MIT
32
32
  metadata:
33
- homepage_uri: https://github.com/thadeu/ndb
33
+ homepage_uri: https://ndb.clowk.in
34
+ documentation_uri: https://ndb.clowk.in/clients/ruby
34
35
  source_code_uri: https://github.com/thadeu/ndb/tree/main/sdk/ruby
35
36
  changelog_uri: https://github.com/thadeu/ndb/blob/main/CHANGELOG.md
36
37
  bug_tracker_uri: https://github.com/thadeu/ndb/issues