appsignal 3.0.8-java → 3.0.12-java
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/.gitmodules +3 -0
- data/.rubocop.yml +3 -4
- data/.semaphore/semaphore.yml +460 -39
- data/CHANGELOG.md +21 -0
- data/README.md +13 -13
- data/Rakefile +11 -10
- data/build_matrix.yml +106 -32
- data/ext/agent.yml +40 -19
- data/lib/appsignal/cli/diagnose.rb +8 -4
- data/lib/appsignal/transaction.rb +1 -1
- data/lib/appsignal/version.rb +1 -1
- data/script/install_lintje +18 -0
- data/spec/lib/appsignal/transaction_spec.rb +7 -0
- metadata +5 -3
@@ -526,7 +526,7 @@ module Appsignal
|
|
526
526
|
end
|
527
527
|
|
528
528
|
def cleaned_backtrace(backtrace)
|
529
|
-
if defined?(::Rails) && backtrace
|
529
|
+
if defined?(::Rails) && Rails.respond_to?(:backtrace_cleaner) && backtrace
|
530
530
|
::Rails.backtrace_cleaner.clean(backtrace, nil)
|
531
531
|
else
|
532
532
|
backtrace
|
data/lib/appsignal/version.rb
CHANGED
@@ -0,0 +1,18 @@
|
|
1
|
+
#!/bin/bash
|
2
|
+
|
3
|
+
set -eu
|
4
|
+
|
5
|
+
mkdir -p $HOME/bin
|
6
|
+
cache_key=v1-lintje-$LINTJE_VERSION
|
7
|
+
cache restore $cache_key
|
8
|
+
|
9
|
+
# File exists and is executable
|
10
|
+
if [ -x "$HOME/bin/lintje" ]; then
|
11
|
+
echo "Restored Lintje $LINTJE_VERSION from cache"
|
12
|
+
else
|
13
|
+
echo "Downloading Lintje $LINTJE_VERSION"
|
14
|
+
curl -L \
|
15
|
+
https://github.com/tombruijn/lintje/releases/download/v$LINTJE_VERSION/x86_64-unknown-linux-gnu.tar.gz | \
|
16
|
+
tar -xz --directory $HOME/bin
|
17
|
+
cache store $cache_key $HOME/bin/lintje
|
18
|
+
fi
|
@@ -1321,6 +1321,13 @@ describe Appsignal::Transaction do
|
|
1321
1321
|
expect(subject).to eq ["line 1", "line 2"]
|
1322
1322
|
end
|
1323
1323
|
|
1324
|
+
context "with Rails module but without backtrace_cleaner method" do
|
1325
|
+
it "returns the backtrace uncleaned" do
|
1326
|
+
stub_const("Rails", Module.new)
|
1327
|
+
expect(subject).to eq ["line 1", "line 2"]
|
1328
|
+
end
|
1329
|
+
end
|
1330
|
+
|
1324
1331
|
if rails_present?
|
1325
1332
|
context "with rails" do
|
1326
1333
|
it "cleans the backtrace with the Rails backtrace cleaner" do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appsignal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.12
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Robert Beekman
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-
|
13
|
+
date: 2021-08-12 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rack
|
@@ -150,6 +150,7 @@ files:
|
|
150
150
|
- ".github/ISSUE_TEMPLATE/bug_report.md"
|
151
151
|
- ".github/ISSUE_TEMPLATE/chore.md"
|
152
152
|
- ".gitignore"
|
153
|
+
- ".gitmodules"
|
153
154
|
- ".rspec"
|
154
155
|
- ".rubocop.yml"
|
155
156
|
- ".rubocop_todo.yml"
|
@@ -284,6 +285,7 @@ files:
|
|
284
285
|
- mono.yml
|
285
286
|
- resources/appsignal.yml.erb
|
286
287
|
- resources/cacert.pem
|
288
|
+
- script/install_lintje
|
287
289
|
- spec/.rubocop.yml
|
288
290
|
- spec/lib/appsignal/auth_check_spec.rb
|
289
291
|
- spec/lib/appsignal/capistrano2_spec.rb
|
@@ -427,7 +429,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
427
429
|
- !ruby/object:Gem::Version
|
428
430
|
version: '0'
|
429
431
|
requirements: []
|
430
|
-
rubygems_version: 3.2.
|
432
|
+
rubygems_version: 3.2.25
|
431
433
|
signing_key:
|
432
434
|
specification_version: 4
|
433
435
|
summary: Logs performance and exception data from your app to appsignal.com
|