shipeasy-sdk 3.1.0 → 3.1.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e515d6b49fbcc5b0f080ff849666e2ddea3f1d5819b8fa3298755190d32cacb4
|
|
4
|
+
data.tar.gz: 12b01b42ade6f5ee60ade42e4f6ee8af1bcb26999086499cefc3d6a4c39ee575
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 73ad05284d98820cbd2adcb19d7b9e8d4fff78b96f75e236f0c1f66722a492653eb356ab371e65c1e25919b29d63f1483c241aafa9d9a6bb2c513a15fc3a3e8b
|
|
7
|
+
data.tar.gz: 483dfab6644615b3f2774afed8182f6be4267d8f5302b58bc2fe5bf1edfce1d4cdf26b4587f5ff37a7b6eb52c1d6d57bb0434d789e047cf72f36206522102c03
|
|
@@ -17,6 +17,16 @@ Shipeasy.configure do |c|
|
|
|
17
17
|
# c.api_key = Rails.application.credentials.dig(:shipeasy, :server_key)
|
|
18
18
|
c.api_key = ENV.fetch("SHIPEASY_SERVER_KEY", nil)
|
|
19
19
|
|
|
20
|
+
# Network egress — the master switch for ALL outbound requests (flag/experiment
|
|
21
|
+
# fetches, track, exposures, see() reports, usage telemetry, internal
|
|
22
|
+
# self-monitoring). Pinned to the Rails environment so the SDK is fully active
|
|
23
|
+
# in production and stays completely quiet from a dev machine or CI — reads
|
|
24
|
+
# return your in-code defaults there, nothing leaves the process. Flip this to
|
|
25
|
+
# `true` (or unset it) if you want flags to load in development too. The SDK
|
|
26
|
+
# otherwise infers this from RAILS_ENV/RACK_ENV/APP_ENV; this line just makes
|
|
27
|
+
# the intent explicit and easy to override.
|
|
28
|
+
c.is_network_enabled = Rails.env.production?
|
|
29
|
+
|
|
20
30
|
<% if options[:poll] -%>
|
|
21
31
|
# Long-running server (Puma): keep flags fresh with the background poll
|
|
22
32
|
# (initial fetch + periodic refresh). Set to false for serverless /
|
data/lib/shipeasy/sdk/version.rb
CHANGED