txlemetry-ruby 4.0.0

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.
Files changed (52) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +48 -0
  3. data/NOTICE +5 -0
  4. data/bin/txlemetry +110 -0
  5. data/lib/txlemetry/backoff_policy.rb +49 -0
  6. data/lib/txlemetry/client.rb +1266 -0
  7. data/lib/txlemetry/defaults.rb +50 -0
  8. data/lib/txlemetry/exception_capture.rb +246 -0
  9. data/lib/txlemetry/feature_flag.rb +85 -0
  10. data/lib/txlemetry/feature_flag_error.rb +37 -0
  11. data/lib/txlemetry/feature_flag_evaluations.rb +237 -0
  12. data/lib/txlemetry/feature_flag_result.rb +81 -0
  13. data/lib/txlemetry/feature_flags.rb +1516 -0
  14. data/lib/txlemetry/field_parser.rb +219 -0
  15. data/lib/txlemetry/flag_definition_cache.rb +88 -0
  16. data/lib/txlemetry/internal/context.rb +119 -0
  17. data/lib/txlemetry/logging.rb +77 -0
  18. data/lib/txlemetry/mcp/README.md +53 -0
  19. data/lib/txlemetry/mcp/analytics.rb +116 -0
  20. data/lib/txlemetry/mcp/client.rb +257 -0
  21. data/lib/txlemetry/mcp/constants.rb +111 -0
  22. data/lib/txlemetry/mcp/conversation_id.rb +89 -0
  23. data/lib/txlemetry/mcp/event_builder.rb +168 -0
  24. data/lib/txlemetry/mcp/exceptions.rb +112 -0
  25. data/lib/txlemetry/mcp/identity.rb +194 -0
  26. data/lib/txlemetry/mcp/ids.rb +56 -0
  27. data/lib/txlemetry/mcp/instrumentation.rb +736 -0
  28. data/lib/txlemetry/mcp/intent.rb +101 -0
  29. data/lib/txlemetry/mcp/log.rb +37 -0
  30. data/lib/txlemetry/mcp/options.rb +128 -0
  31. data/lib/txlemetry/mcp/rack_middleware.rb +112 -0
  32. data/lib/txlemetry/mcp/request_scope.rb +72 -0
  33. data/lib/txlemetry/mcp/sanitization.rb +504 -0
  34. data/lib/txlemetry/mcp/schema_mutation.rb +179 -0
  35. data/lib/txlemetry/mcp/server_extension.rb +54 -0
  36. data/lib/txlemetry/mcp/session.rb +71 -0
  37. data/lib/txlemetry/mcp/session_token.rb +106 -0
  38. data/lib/txlemetry/mcp/sink.rb +98 -0
  39. data/lib/txlemetry/mcp/tools.rb +91 -0
  40. data/lib/txlemetry/mcp/tracking_data.rb +89 -0
  41. data/lib/txlemetry/mcp/truncation.rb +326 -0
  42. data/lib/txlemetry/mcp.rb +224 -0
  43. data/lib/txlemetry/message_batch.rb +80 -0
  44. data/lib/txlemetry/noop_worker.rb +39 -0
  45. data/lib/txlemetry/response.rb +17 -0
  46. data/lib/txlemetry/send_feature_flags_options.rb +49 -0
  47. data/lib/txlemetry/send_worker.rb +218 -0
  48. data/lib/txlemetry/transport.rb +216 -0
  49. data/lib/txlemetry/utils.rb +183 -0
  50. data/lib/txlemetry/version.rb +5 -0
  51. data/lib/txlemetry.rb +16 -0
  52. metadata +105 -0
metadata ADDED
@@ -0,0 +1,105 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: txlemetry-ruby
3
+ version: !ruby/object:Gem::Version
4
+ version: 4.0.0
5
+ platform: ruby
6
+ authors:
7
+ - Txlemetry
8
+ bindir: bin
9
+ cert_chain: []
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
+ dependencies:
12
+ - !ruby/object:Gem::Dependency
13
+ name: concurrent-ruby
14
+ requirement: !ruby/object:Gem::Requirement
15
+ requirements:
16
+ - - "~>"
17
+ - !ruby/object:Gem::Version
18
+ version: '1'
19
+ type: :runtime
20
+ prerelease: false
21
+ version_requirements: !ruby/object:Gem::Requirement
22
+ requirements:
23
+ - - "~>"
24
+ - !ruby/object:Gem::Version
25
+ version: '1'
26
+ description: The Txlemetry ruby library
27
+ email: support@txlemetry.com
28
+ executables:
29
+ - txlemetry
30
+ extensions: []
31
+ extra_rdoc_files: []
32
+ files:
33
+ - LICENSE
34
+ - NOTICE
35
+ - bin/txlemetry
36
+ - lib/txlemetry.rb
37
+ - lib/txlemetry/backoff_policy.rb
38
+ - lib/txlemetry/client.rb
39
+ - lib/txlemetry/defaults.rb
40
+ - lib/txlemetry/exception_capture.rb
41
+ - lib/txlemetry/feature_flag.rb
42
+ - lib/txlemetry/feature_flag_error.rb
43
+ - lib/txlemetry/feature_flag_evaluations.rb
44
+ - lib/txlemetry/feature_flag_result.rb
45
+ - lib/txlemetry/feature_flags.rb
46
+ - lib/txlemetry/field_parser.rb
47
+ - lib/txlemetry/flag_definition_cache.rb
48
+ - lib/txlemetry/internal/context.rb
49
+ - lib/txlemetry/logging.rb
50
+ - lib/txlemetry/mcp.rb
51
+ - lib/txlemetry/mcp/README.md
52
+ - lib/txlemetry/mcp/analytics.rb
53
+ - lib/txlemetry/mcp/client.rb
54
+ - lib/txlemetry/mcp/constants.rb
55
+ - lib/txlemetry/mcp/conversation_id.rb
56
+ - lib/txlemetry/mcp/event_builder.rb
57
+ - lib/txlemetry/mcp/exceptions.rb
58
+ - lib/txlemetry/mcp/identity.rb
59
+ - lib/txlemetry/mcp/ids.rb
60
+ - lib/txlemetry/mcp/instrumentation.rb
61
+ - lib/txlemetry/mcp/intent.rb
62
+ - lib/txlemetry/mcp/log.rb
63
+ - lib/txlemetry/mcp/options.rb
64
+ - lib/txlemetry/mcp/rack_middleware.rb
65
+ - lib/txlemetry/mcp/request_scope.rb
66
+ - lib/txlemetry/mcp/sanitization.rb
67
+ - lib/txlemetry/mcp/schema_mutation.rb
68
+ - lib/txlemetry/mcp/server_extension.rb
69
+ - lib/txlemetry/mcp/session.rb
70
+ - lib/txlemetry/mcp/session_token.rb
71
+ - lib/txlemetry/mcp/sink.rb
72
+ - lib/txlemetry/mcp/tools.rb
73
+ - lib/txlemetry/mcp/tracking_data.rb
74
+ - lib/txlemetry/mcp/truncation.rb
75
+ - lib/txlemetry/message_batch.rb
76
+ - lib/txlemetry/noop_worker.rb
77
+ - lib/txlemetry/response.rb
78
+ - lib/txlemetry/send_feature_flags_options.rb
79
+ - lib/txlemetry/send_worker.rb
80
+ - lib/txlemetry/transport.rb
81
+ - lib/txlemetry/utils.rb
82
+ - lib/txlemetry/version.rb
83
+ homepage: https://txlemetry.com
84
+ licenses:
85
+ - MIT
86
+ metadata:
87
+ rubygems_mfa_required: 'true'
88
+ rdoc_options: []
89
+ require_paths:
90
+ - lib
91
+ required_ruby_version: !ruby/object:Gem::Requirement
92
+ requirements:
93
+ - - ">="
94
+ - !ruby/object:Gem::Version
95
+ version: '3.0'
96
+ required_rubygems_version: !ruby/object:Gem::Requirement
97
+ requirements:
98
+ - - ">="
99
+ - !ruby/object:Gem::Version
100
+ version: '0'
101
+ requirements: []
102
+ rubygems_version: 3.6.9
103
+ specification_version: 4
104
+ summary: Txlemetry library
105
+ test_files: []