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 +4 -4
- data/lib/posthog/emails.rb +3 -3
- data/lib/posthog/feature_flags.rb +2 -1
- data/lib/posthog/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 93c8a3304a464eb03c4ed4801f27c591ab001fa60077ea87503cac3ff5cb00de
|
|
4
|
+
data.tar.gz: 3c90a896cad52dcd061fd6e954cf9041cda10b910662759dd412cfee998d7bc1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 43bac42e2f95c9969fce0358edaa83e94a26099aa62b17f4dfd168cfdfbcc94d28a21587db7ee2198fa7bf3d88a1b2460bbf113b0680f9369a1c72f263eb5f97
|
|
7
|
+
data.tar.gz: 3a4f6e66fd8e63ca10bd7a68d104a97aa1a894fdca96d011f8a76de8cd87fff44e00366597c4f9973822d94c2c235e37087a5b66fdba66b018c767c888930e6b
|
data/lib/posthog/emails.rb
CHANGED
|
@@ -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/
|
|
75
|
-
UPLOADS_PATH = '/api/
|
|
76
|
-
STATUS_PATH = '/api/
|
|
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
|
-
|
|
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
|
|
data/lib/posthog/version.rb
CHANGED