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: 49743db7faf0600dcc8a7cacb3f7a6fc7418c4d3d125efa6fdd1067b24fe4d16
4
- data.tar.gz: 031b3acc69308ce512fb67c073b1f7f1894e276e17ab23f5ff3495678c2dab99
3
+ metadata.gz: e515d6b49fbcc5b0f080ff849666e2ddea3f1d5819b8fa3298755190d32cacb4
4
+ data.tar.gz: 12b01b42ade6f5ee60ade42e4f6ee8af1bcb26999086499cefc3d6a4c39ee575
5
5
  SHA512:
6
- metadata.gz: 479ca3e747f954922315f6bb062b385ba8e7710ac37799d7a732f8da63de87321d5c497b8ee3cc605cb80c66bd9f4ebbceea6acc9486ff7d37d8f0b9c153f628
7
- data.tar.gz: 1f9a70f2ccff8c6fcaeb5a9e913657fb88ceac7c37505f21d409880740d1d7af4b952732a3607ee94908a1e8c1921d23e9997852c3622e8a315ab1168a2c2def
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 /
@@ -1,5 +1,5 @@
1
1
  module Shipeasy
2
2
  module SDK
3
- VERSION = "3.1.0"
3
+ VERSION = "3.1.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shipeasy-sdk
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0
4
+ version: 3.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shipeasy, Inc.