feat-sdk 0.3.0 → 0.3.1

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: 4dfb1cd9905d46890db88dea9411a6dc3755208286fbbec6565d8742459d5008
4
- data.tar.gz: 63c030396f376ff362b3d0d5b7c07a7cc926b4dd5141c9516988dbcb87a3419f
3
+ metadata.gz: e1763ee75c7a532be1d5231e465e65760d47da3d5d59339132a26472ce2155c1
4
+ data.tar.gz: 3cfb9801d98da9222c0b4fa4c65189c6373ee66912d88a7ef6f2a0682e52c56c
5
5
  SHA512:
6
- metadata.gz: 347f444e5f8354f9b4b4d8957c812bde443a502b7c6cc54623df05983abe332cafd77f37ffebbb01d8cd8e8940d280a8004068e16403398721b2bb6bcc2ec4c6
7
- data.tar.gz: e192084e64f93ff51ab4e14aa4384ec0954be13f6e4996c00371185deee30a9fe67b718d3065a07b64d2bd15dd98a4bfcf0677bb54e67a0959015ad542504fee
6
+ metadata.gz: 9ae68666f5685a58096cae556877b18e14104f4110233153a144fdd547cd8afbb7550e2019e24c459b73538a0d85dd17da21beeab85934b7c3378fee2c249993
7
+ data.tar.gz: 8eff4fb31602a23122d59d07a4d689c26eb263af8f2b95e31f153dd3d2e0d3b740b801390a568f336bcb6274ffde833adcae73324342a6f671819f2c0c77e5d8
data/README.md CHANGED
@@ -55,7 +55,7 @@ Use a **server** API key (`feat_sdk_...`).
55
55
  connection and applies each new datafile the instant it changes. Updates are
56
56
  version-ordered (an older or equal datafile is never adopted) and guarded by a
57
57
  mutex shared with the evaluator.
58
- - Keeps a slow background poll (every 5 minutes by default) as a safety net.
58
+ - Keeps a slow background poll (every 10 minutes by default) as a safety net.
59
59
  ETag-aware via `If-None-Match`. If the stream drops, it reconnects with
60
60
  exponential backoff while the poll keeps the datafile fresh.
61
61
  - Evaluation runs in-process: no per-flag network call.
@@ -73,7 +73,7 @@ client = Feat::Client.new(
73
73
  )
74
74
  ```
75
75
 
76
- When streaming is on, `safety_poll_interval:` (default 300 seconds) controls the
76
+ When streaming is on, `safety_poll_interval:` (default 600 seconds) controls the
77
77
  backstop poll cadence.
78
78
 
79
79
  ## License
data/lib/feat/client.rb CHANGED
@@ -19,7 +19,7 @@ module Feat
19
19
  DEFAULT_POLL_INTERVAL = 30.0
20
20
  # When streaming carries updates, the poll is a backstop only and runs
21
21
  # far less often.
22
- DEFAULT_SAFETY_POLL_INTERVAL = 300.0
22
+ DEFAULT_SAFETY_POLL_INTERVAL = 600.0
23
23
  MIN_POLL_INTERVAL = 5.0
24
24
  MAX_DATAFILE_BYTES = 10 * 1024 * 1024
25
25
  OPEN_TIMEOUT_SECONDS = 3
data/lib/feat/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Feat
2
- VERSION = "0.3.0".freeze
2
+ VERSION = "0.3.1".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: feat-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - feat HQ
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-06-27 00:00:00.000000000 Z
11
+ date: 2026-07-08 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Server-side Ruby SDK for feat. Polls a per-environment datafile and evaluates
14
14
  flags locally with no per-flag network call. Stdlib only.