telebugs 0.6.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/telebugs/middleware/root_directory_filter.rb +1 -0
- data/lib/telebugs/report.rb +7 -1
- data/lib/telebugs/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: ece3ebc75dc41f4d196b0c6080a970b0fd66c35b8c6ae494542a84f0989e5c4e
|
4
|
+
data.tar.gz: 44c0627c1e634d1e3618843d7d2c2df9344b4e9d75cccf9b9e86c345c1e84dd2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2fe739be52b05fa197e49f2cb700dd412d30d8cba7dc1d5d5a28bd7891cd25aba11ae33d05bf5388c5aae48b757bc5064d6c462186116dd546aa14730dde4e8f
|
7
|
+
data.tar.gz: 44fe0d4e8acf1adb5738b96bf1f60c7ae2fbd057326256d1ccfc55b057e0deb4e44c78f98cb4336656e549699c16f4324b03a0621f49edcc77357149d0de3923
|
data/lib/telebugs/report.rb
CHANGED
@@ -19,6 +19,11 @@ module Telebugs
|
|
19
19
|
# The maximum size of hashes, arrays and strings in the report.
|
20
20
|
DATA_MAX_SIZE = 10000
|
21
21
|
|
22
|
+
REPORTER = {
|
23
|
+
library: {name: "telebugs", version: Telebugs::VERSION}.freeze,
|
24
|
+
platform: {name: "Ruby", version: RUBY_VERSION}.freeze
|
25
|
+
}.freeze
|
26
|
+
|
22
27
|
attr_reader :data
|
23
28
|
attr_accessor :ignored
|
24
29
|
|
@@ -27,7 +32,8 @@ module Telebugs
|
|
27
32
|
@truncator = Truncator.new(DATA_MAX_SIZE)
|
28
33
|
|
29
34
|
@data = {
|
30
|
-
errors: errors_as_json(error)
|
35
|
+
errors: errors_as_json(error),
|
36
|
+
reporters: [REPORTER]
|
31
37
|
}
|
32
38
|
end
|
33
39
|
|
data/lib/telebugs/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: telebugs
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kyrylo Silin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-06-
|
11
|
+
date: 2024-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: concurrent-ruby
|