payloop 0.1.0 → 0.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: 046f4c8d567e9eb4bf8f6797ef0a693f90a279f04de29d9d875030b264323788
4
- data.tar.gz: 1fa3b863d95bf6568bb78b0df6819bde803449786ecad95c97c8dde57394689e
3
+ metadata.gz: 959126f07dc93d39fbb949ee79fd33960cdfd1ff43f8760c408f66b9dcd3bb36
4
+ data.tar.gz: 073dc2ecdfdbdd7e8a295d55a04de87a0626a2a917a0724c81deb78dd75b95dd
5
5
  SHA512:
6
- metadata.gz: 97cf236a7d99c0cef892e2f8c3d615d47bbba504073d5f64a67b11023859c5ed1ff6ddc67a43b3287ac85ffe37d31e633f1531078ac0ac6ff69f795c30921566
7
- data.tar.gz: 205bb28b079d0459021cfb8cd6f1032df7ff7d1c351d9280c4bad530d1fdc73a8e07943d2fc6b36b60bfbcc23df66c1c1c607577e03f6f9fe2af7a7442225291
6
+ metadata.gz: 33cd64b18a4f6f44ece8ec51a804877e9e65e009e55c6163d020b72dcf040862457b9c3820bbeed89fda7eb58aba1b09458dc775e17d784f26580dc679e4d17d
7
+ data.tar.gz: 34337dccc3c9d9765980b2ad058a292fc771086fd47b3b9aa3ea5b973969ec42c46c3b6952c82ded7448bddb7e0fc9c2814260f9bc51e532040b08102210c464
data/CHANGELOG.md CHANGED
@@ -40,4 +40,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
40
40
 
41
41
  ### Added
42
42
  - Support for Sentinel intercept.
43
- - Support for Gemini AI client tracking.
43
+ - Support for Gemini AI client tracking.
44
+
45
+ ## [0.1.1] - 2026-02-11
46
+
47
+ ### Fixed
48
+ - Stopped sending collector calls for intercepted requests
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Payloop
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
@@ -81,6 +81,9 @@ module Payloop
81
81
  )
82
82
 
83
83
  response
84
+ rescue PayloopRequestInterceptedError => e
85
+ # We don't want to send intercepts to collector
86
+ raise e
84
87
  rescue StandardError => e
85
88
  params = kwargs.any? ? kwargs : (args.first || {})
86
89
 
@@ -76,6 +76,9 @@ module Payloop
76
76
  )
77
77
 
78
78
  response
79
+ rescue PayloopRequestInterceptedError => e
80
+ # We don't want to send intercepts to collector
81
+ raise e
79
82
  rescue StandardError => e
80
83
  payloop_submit_error_analytics(
81
84
  method: :generate_content,
@@ -132,6 +135,9 @@ module Payloop
132
135
  )
133
136
 
134
137
  response
138
+ rescue PayloopRequestInterceptedError => e
139
+ # We don't want to send intercepts to collector
140
+ raise e
135
141
  rescue StandardError => e
136
142
  payloop_submit_error_analytics(
137
143
  method: :stream_generate_content,
@@ -100,6 +100,9 @@ module Payloop
100
100
  )
101
101
 
102
102
  response
103
+ rescue PayloopRequestInterceptedError => e
104
+ # We don't want to send intercepts to collector
105
+ raise e
103
106
  rescue StandardError => e
104
107
  params = kwargs.any? ? kwargs : (args.first || {})
105
108
 
@@ -88,6 +88,9 @@ module Payloop
88
88
  )
89
89
 
90
90
  response
91
+ rescue PayloopRequestInterceptedError => e
92
+ # We don't want to send intercepts to collector
93
+ raise e
91
94
  rescue StandardError => e
92
95
  payloop_submit_error_analytics(
93
96
  method: :chat,
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: payloop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Payloop
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2026-02-03 00:00:00.000000000 Z
11
+ date: 2026-02-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: concurrent-ruby