posthog-ruby 3.34.1 → 3.34.3

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: 5d1a61ed78b51ca7e97f53aa55a48578f7729ce1fe6adcd794de2c74750471dd
4
- data.tar.gz: 1b4df94adb517ad685329622b7c7c4cd9b99421130b44637a8fb0dfcc17eecd0
3
+ metadata.gz: 93c8a3304a464eb03c4ed4801f27c591ab001fa60077ea87503cac3ff5cb00de
4
+ data.tar.gz: 3c90a896cad52dcd061fd6e954cf9041cda10b910662759dd412cfee998d7bc1
5
5
  SHA512:
6
- metadata.gz: 47acf74cb7e6cc46916abe2696a06b00d0bf27839addcd01c79444c959a21c13e42c579e1fdc1c357a95b9680474519d54d269d3b316699b264658bda8afd590
7
- data.tar.gz: 7ead91dd6bc74acbbc2cbfde70caafafddba83ebe215b4239ff61871f1686de4c29db835f719213980f33d58f06b68df752113128e410ebe73b6c24312d83b1d
6
+ metadata.gz: 43bac42e2f95c9969fce0358edaa83e94a26099aa62b17f4dfd168cfdfbcc94d28a21587db7ee2198fa7bf3d88a1b2460bbf113b0680f9369a1c72f263eb5f97
7
+ data.tar.gz: 3a4f6e66fd8e63ca10bd7a68d104a97aa1a894fdca96d011f8a76de8cd87fff44e00366597c4f9973822d94c2c235e37087a5b66fdba66b018c767c888930e6b
@@ -71,9 +71,9 @@ module PostHog
71
71
  # of a bounced email: `hard`, `soft` or `unknown`.
72
72
  Status = Struct.new(:id, :status, :created_at, :status_at, :reason, keyword_init: true)
73
73
 
74
- SEND_PATH = '/api/projects/@current/messaging/send/email/'
75
- UPLOADS_PATH = '/api/projects/@current/messaging/attachments/uploads/'
76
- STATUS_PATH = '/api/projects/@current/messaging/emails/%<message_id>s/'
74
+ SEND_PATH = '/api/messaging/send/email/'
75
+ UPLOADS_PATH = '/api/messaging/attachments/uploads/'
76
+ STATUS_PATH = '/api/messaging/emails/%<message_id>s/'
77
77
  US_APP_HOST = 'https://us.posthog.com'
78
78
  EU_APP_HOST = 'https://eu.posthog.com'
79
79
  CLOUD_APP_HOSTS = {
@@ -203,7 +203,8 @@ module PostHog
203
203
  group_properties: group_properties
204
204
  }
205
205
  request_data[:flag_keys_to_evaluate] = flag_keys if flag_keys && !flag_keys.empty?
206
- request_data[:geoip_disable] = disable_geoip unless disable_geoip.nil?
206
+ # The flags endpoint treats an omitted/null value as false; serialize that same default explicitly.
207
+ request_data[:geoip_disable] = disable_geoip.nil? ? false : disable_geoip
207
208
 
208
209
  flags_response = _request_feature_flag_evaluation(request_data)
209
210
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module PostHog
4
- VERSION = '3.34.1'
4
+ VERSION = '3.34.3'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: posthog-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.34.1
4
+ version: 3.34.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - ''