posthog-ruby 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 +4 -4
- data/lib/posthog/feature_flags.rb +4 -2
- data/lib/posthog/version.rb +1 -1
- metadata +3 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 47b1ce0c330a250b307dd757fa3024fcd516e8cf264576e52fde101c412d2e76
|
4
|
+
data.tar.gz: '08725cd78aab55aa87b70ebcf65a2a061b641cbab043a2df61552eff199cc534'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 983808c3419cfab8772b3dbe175070d42dc10a357f1cb657bc36aa56389e867027e4c3ad3286d2d78eb2c232e2448f7190658beafcb846d2e5f72deb3d747d04
|
7
|
+
data.tar.gz: 92aab3899eb59d728170098b0b6ff62badffbcc890080c67eaf9657399f3de4f3c96d6241942ec1bf64b06bdc53e9dd588845a4c4cbe8b079759cbe51a71b0df
|
@@ -628,7 +628,8 @@ module PostHog
|
|
628
628
|
end
|
629
629
|
|
630
630
|
def _request_feature_flag_definitions
|
631
|
-
uri = URI("#{@host}/api/feature_flag/local_evaluation
|
631
|
+
uri = URI("#{@host}/api/feature_flag/local_evaluation")
|
632
|
+
uri.query = URI.encode_www_form([['token', @project_api_key]])
|
632
633
|
req = Net::HTTP::Get.new(uri)
|
633
634
|
req['Authorization'] = "Bearer #{@personal_api_key}"
|
634
635
|
|
@@ -646,7 +647,8 @@ module PostHog
|
|
646
647
|
end
|
647
648
|
|
648
649
|
def _request_remote_config_payload(flag_key)
|
649
|
-
uri = URI("#{@host}/api/projects/@current/feature_flags/#{flag_key}/remote_config
|
650
|
+
uri = URI("#{@host}/api/projects/@current/feature_flags/#{flag_key}/remote_config")
|
651
|
+
uri.query = URI.encode_www_form([['token', @project_api_key]])
|
650
652
|
req = Net::HTTP::Get.new(uri)
|
651
653
|
req['Content-Type'] = 'application/json'
|
652
654
|
req['Authorization'] = "Bearer #{@personal_api_key}"
|
data/lib/posthog/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: posthog-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.1.
|
4
|
+
version: 3.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ''
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date: 2025-07
|
10
|
+
date: 2025-08-07 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: concurrent-ruby
|
@@ -55,7 +54,6 @@ licenses:
|
|
55
54
|
- MIT
|
56
55
|
metadata:
|
57
56
|
rubygems_mfa_required: 'true'
|
58
|
-
post_install_message:
|
59
57
|
rdoc_options: []
|
60
58
|
require_paths:
|
61
59
|
- lib
|
@@ -70,8 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
70
68
|
- !ruby/object:Gem::Version
|
71
69
|
version: '0'
|
72
70
|
requirements: []
|
73
|
-
rubygems_version: 3.
|
74
|
-
signing_key:
|
71
|
+
rubygems_version: 3.6.6
|
75
72
|
specification_version: 4
|
76
73
|
summary: PostHog library
|
77
74
|
test_files: []
|