sqreen 1.24.1 → 1.24.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/sqreen/graft/hook.ruby_3.rb +1 -1
- data/lib/sqreen/rules/devise_signup_track_cb.rb +1 -1
- data/lib/sqreen/signals/conversions.rb +3 -2
- data/lib/sqreen/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dea2ca186e8470cf1cec16ca8ab33156c1002d28004c3a68c2296e2ec5d9b7ed
|
4
|
+
data.tar.gz: 2722948150517f7f7c29c73fa9f49acac18266e2cc286e70907b8ff91ba535d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1ecf19e0200c0c1d9012f8140996e5c1918be31a9dcca081f302cdf05e818fe5137199489d30486eca18b814e6d98bfeda5efb1ee8103efe08d158fca5f12717
|
7
|
+
data.tar.gz: 6f01d3300a326c1504917cfe2e1a25f46020f936a5400d6b347a9a1d1001f616912fb58bffe466539ecb47ef259e233a9cc5652f6da2a1739e5c4cdd5f01949b
|
data/CHANGELOG.md
CHANGED
@@ -112,7 +112,7 @@ module Sqreen
|
|
112
112
|
|
113
113
|
flow = catch(Ball.new) do |ball|
|
114
114
|
Timer.new(c.name, &timed_callbacks_proc).measure(ignore: chrono) do
|
115
|
-
c.call(CallbackCall.new(c, remaining, hooked_call.instance, hooked_call.args_passed), ball)
|
115
|
+
c.call(CallbackCall.new(c, remaining, hooked_call.instance, kwargs.empty? ? hooked_call.args_passed : hooked_call.args_passed + [kwargs]), ball)
|
116
116
|
end
|
117
117
|
end
|
118
118
|
|
@@ -20,7 +20,7 @@ module Sqreen
|
|
20
20
|
keys = args[1].class.authentication_keys
|
21
21
|
ip = framework.client_ip
|
22
22
|
category = 'auto-signup'
|
23
|
-
data = data.select { |k, _| keys.include?(k) }
|
23
|
+
data = data.select { |k, _| keys.map(&:to_s).include?(k.to_s) }
|
24
24
|
|
25
25
|
if data.empty?
|
26
26
|
Sqreen.log.debug { "#{category} from #{ip} but keys empty" }
|
@@ -197,12 +197,13 @@ module Sqreen
|
|
197
197
|
# see Sqreen::RequestRecord.processed_sdk_calls
|
198
198
|
def convert_track(call_info)
|
199
199
|
options = call_info[:args][1] || {}
|
200
|
+
args = options[:args] || {}
|
200
201
|
Kit::Signals::Specialized::SdkTrackCall.new(
|
201
202
|
signal_name: "sq.sdk.#{call_info[:args][0]}",
|
202
203
|
time: call_info[:time],
|
203
204
|
payload: Kit::Signals::Specialized::SdkTrackCall::Payload.new(
|
204
|
-
properties:
|
205
|
-
user_identifiers:
|
205
|
+
properties: args[:properties],
|
206
|
+
user_identifiers: args[:user_identifiers]
|
206
207
|
)
|
207
208
|
)
|
208
209
|
end
|
data/lib/sqreen/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sqreen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.24.
|
4
|
+
version: 1.24.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sqreen
|
@@ -354,7 +354,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
354
354
|
- !ruby/object:Gem::Version
|
355
355
|
version: '0'
|
356
356
|
requirements: []
|
357
|
-
rubygems_version: 3.2.
|
357
|
+
rubygems_version: 3.2.26
|
358
358
|
signing_key:
|
359
359
|
specification_version: 4
|
360
360
|
summary: Sqreen Ruby agent
|