appsignal 2.11.1 → 2.11.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2e4d082500efd101198339616a3f7fc05170684bb6020864bda78c34121a96ff
4
- data.tar.gz: 467372cf2a4f5f0be4353a6cba168b8fad3c25b242902b4b79c949f4b9692fbc
3
+ metadata.gz: 3eace8de268efaac7ee61c98795c759947719d0d6e20e5f1593e4fc113c2eae7
4
+ data.tar.gz: cd0dc3ea721e2f52445b9097bc09c31245729519a970d14c7a105ee455c67524
5
5
  SHA512:
6
- metadata.gz: 52206e43698413eea911c3ef8c72aba46d50718abbe5f435d66d2bc235b97cbe6899e35c639bc205c0f228a8dbd52fed48493748123be3107eace29873ddd615
7
- data.tar.gz: a8eaa5c959545cc26bdc63e0d55619c906bc6496514a229febcebb606a40c552e8a981163ff532610133a17533ddca6bff3e701baa8e935a9e28df874097faca
6
+ metadata.gz: bfaddcff6f1611338345bd860395ebfe08eb86262572829f0f6274d0447c9b0ab9f6123369eb231ad31039bd3a5f96cf2597cb0fb826f583cc60ddaa70ac37f8
7
+ data.tar.gz: 5d0bb9342599fbbea0e2e1f2f9f4347dcdaa91929a33b4cf85a39533fa34d6c820c3081f6118607081161e8ef65d48696cfa00b7a9f5147e98948b63ab034109
data/.rubocop.yml CHANGED
@@ -13,6 +13,8 @@ AllCops:
13
13
  - "gemfiles/vendor/**/*"
14
14
  - "vendor/**/*"
15
15
  - "benchmark.rake"
16
+ - "lib/appsignal/integrations/object_ruby_modern.rb"
17
+ - "spec/lib/appsignal/integrations/object_spec.rb"
16
18
  DisplayCopNames: true
17
19
  UseCache: true
18
20
  CacheRootDirectory: ./tmp
@@ -31,6 +31,7 @@ global_job_config:
31
31
  prologue:
32
32
  commands:
33
33
  - checkout
34
+ - rm -f $HOME/.rbenv/plugins/rbenv-gem-rehash/etc/rbenv.d/exec/~gem-rehash.bash
34
35
  - sem-version ruby $RUBY_VERSION
35
36
  - "./support/check_versions"
36
37
  - cache restore $_BUNDLER_CACHE-bundler-$RUBY_VERSION-$GEMSET-$(checksum $BUNDLE_GEMFILE)
@@ -992,6 +993,202 @@ blocks:
992
993
  commands:
993
994
  - "./support/bundler_wrapper exec rake test"
994
995
  - "./support/bundler_wrapper exec rake test:failure"
996
+ - name: Ruby 3.0.0
997
+ dependencies:
998
+ - Validation
999
+ task:
1000
+ prologue:
1001
+ commands:
1002
+ - "./support/bundler_wrapper exec rake extension:install"
1003
+ jobs:
1004
+ - name: Ruby 3.0.0 for no_dependencies
1005
+ env_vars:
1006
+ - name: RUBY_VERSION
1007
+ value: 3.0.0
1008
+ - name: GEMSET
1009
+ value: no_dependencies
1010
+ - name: BUNDLE_GEMFILE
1011
+ value: gemfiles/no_dependencies.gemfile
1012
+ - name: _RUBYGEMS_VERSION
1013
+ value: latest
1014
+ - name: _BUNDLER_VERSION
1015
+ value: latest
1016
+ commands:
1017
+ - "./support/bundler_wrapper exec rake test"
1018
+ - "./support/bundler_wrapper exec rake test:failure"
1019
+ - name: Ruby 3.0.0 - Gems
1020
+ dependencies:
1021
+ - Ruby 3.0.0
1022
+ task:
1023
+ prologue:
1024
+ commands:
1025
+ - "./support/bundler_wrapper exec rake extension:install"
1026
+ jobs:
1027
+ - name: Ruby 3.0.0 for capistrano2
1028
+ env_vars:
1029
+ - name: RUBY_VERSION
1030
+ value: 3.0.0
1031
+ - name: GEMSET
1032
+ value: capistrano2
1033
+ - name: BUNDLE_GEMFILE
1034
+ value: gemfiles/capistrano2.gemfile
1035
+ - name: _RUBYGEMS_VERSION
1036
+ value: latest
1037
+ - name: _BUNDLER_VERSION
1038
+ value: latest
1039
+ commands:
1040
+ - "./support/bundler_wrapper exec rake test"
1041
+ - "./support/bundler_wrapper exec rake test:failure"
1042
+ - name: Ruby 3.0.0 for capistrano3
1043
+ env_vars:
1044
+ - name: RUBY_VERSION
1045
+ value: 3.0.0
1046
+ - name: GEMSET
1047
+ value: capistrano3
1048
+ - name: BUNDLE_GEMFILE
1049
+ value: gemfiles/capistrano3.gemfile
1050
+ - name: _RUBYGEMS_VERSION
1051
+ value: latest
1052
+ - name: _BUNDLER_VERSION
1053
+ value: latest
1054
+ commands:
1055
+ - "./support/bundler_wrapper exec rake test"
1056
+ - "./support/bundler_wrapper exec rake test:failure"
1057
+ - name: Ruby 3.0.0 for grape
1058
+ env_vars:
1059
+ - name: RUBY_VERSION
1060
+ value: 3.0.0
1061
+ - name: GEMSET
1062
+ value: grape
1063
+ - name: BUNDLE_GEMFILE
1064
+ value: gemfiles/grape.gemfile
1065
+ - name: _RUBYGEMS_VERSION
1066
+ value: latest
1067
+ - name: _BUNDLER_VERSION
1068
+ value: latest
1069
+ commands:
1070
+ - "./support/bundler_wrapper exec rake test"
1071
+ - "./support/bundler_wrapper exec rake test:failure"
1072
+ - name: Ruby 3.0.0 for padrino
1073
+ env_vars:
1074
+ - name: RUBY_VERSION
1075
+ value: 3.0.0
1076
+ - name: GEMSET
1077
+ value: padrino
1078
+ - name: BUNDLE_GEMFILE
1079
+ value: gemfiles/padrino.gemfile
1080
+ - name: _RUBYGEMS_VERSION
1081
+ value: latest
1082
+ - name: _BUNDLER_VERSION
1083
+ value: latest
1084
+ commands:
1085
+ - "./support/bundler_wrapper exec rake test"
1086
+ - "./support/bundler_wrapper exec rake test:failure"
1087
+ - name: Ruby 3.0.0 for que
1088
+ env_vars:
1089
+ - name: RUBY_VERSION
1090
+ value: 3.0.0
1091
+ - name: GEMSET
1092
+ value: que
1093
+ - name: BUNDLE_GEMFILE
1094
+ value: gemfiles/que.gemfile
1095
+ - name: _RUBYGEMS_VERSION
1096
+ value: latest
1097
+ - name: _BUNDLER_VERSION
1098
+ value: latest
1099
+ commands:
1100
+ - "./support/bundler_wrapper exec rake test"
1101
+ - "./support/bundler_wrapper exec rake test:failure"
1102
+ - name: Ruby 3.0.0 for que_beta
1103
+ env_vars:
1104
+ - name: RUBY_VERSION
1105
+ value: 3.0.0
1106
+ - name: GEMSET
1107
+ value: que_beta
1108
+ - name: BUNDLE_GEMFILE
1109
+ value: gemfiles/que_beta.gemfile
1110
+ - name: _RUBYGEMS_VERSION
1111
+ value: latest
1112
+ - name: _BUNDLER_VERSION
1113
+ value: latest
1114
+ commands:
1115
+ - "./support/bundler_wrapper exec rake test"
1116
+ - "./support/bundler_wrapper exec rake test:failure"
1117
+ - name: Ruby 3.0.0 for rails-6.0
1118
+ env_vars:
1119
+ - name: RUBY_VERSION
1120
+ value: 3.0.0
1121
+ - name: GEMSET
1122
+ value: rails-6.0
1123
+ - name: BUNDLE_GEMFILE
1124
+ value: gemfiles/rails-6.0.gemfile
1125
+ - name: _RUBYGEMS_VERSION
1126
+ value: latest
1127
+ - name: _BUNDLER_VERSION
1128
+ value: latest
1129
+ commands:
1130
+ - "./support/bundler_wrapper exec rake test"
1131
+ - "./support/bundler_wrapper exec rake test:failure"
1132
+ - name: Ruby 3.0.0 for resque-2
1133
+ env_vars:
1134
+ - name: RUBY_VERSION
1135
+ value: 3.0.0
1136
+ - name: GEMSET
1137
+ value: resque-2
1138
+ - name: BUNDLE_GEMFILE
1139
+ value: gemfiles/resque-2.gemfile
1140
+ - name: _RUBYGEMS_VERSION
1141
+ value: latest
1142
+ - name: _BUNDLER_VERSION
1143
+ value: latest
1144
+ commands:
1145
+ - "./support/bundler_wrapper exec rake test"
1146
+ - "./support/bundler_wrapper exec rake test:failure"
1147
+ - name: Ruby 3.0.0 for sequel
1148
+ env_vars:
1149
+ - name: RUBY_VERSION
1150
+ value: 3.0.0
1151
+ - name: GEMSET
1152
+ value: sequel
1153
+ - name: BUNDLE_GEMFILE
1154
+ value: gemfiles/sequel.gemfile
1155
+ - name: _RUBYGEMS_VERSION
1156
+ value: latest
1157
+ - name: _BUNDLER_VERSION
1158
+ value: latest
1159
+ commands:
1160
+ - "./support/bundler_wrapper exec rake test"
1161
+ - "./support/bundler_wrapper exec rake test:failure"
1162
+ - name: Ruby 3.0.0 for sinatra
1163
+ env_vars:
1164
+ - name: RUBY_VERSION
1165
+ value: 3.0.0
1166
+ - name: GEMSET
1167
+ value: sinatra
1168
+ - name: BUNDLE_GEMFILE
1169
+ value: gemfiles/sinatra.gemfile
1170
+ - name: _RUBYGEMS_VERSION
1171
+ value: latest
1172
+ - name: _BUNDLER_VERSION
1173
+ value: latest
1174
+ commands:
1175
+ - "./support/bundler_wrapper exec rake test"
1176
+ - "./support/bundler_wrapper exec rake test:failure"
1177
+ - name: Ruby 3.0.0 for webmachine
1178
+ env_vars:
1179
+ - name: RUBY_VERSION
1180
+ value: 3.0.0
1181
+ - name: GEMSET
1182
+ value: webmachine
1183
+ - name: BUNDLE_GEMFILE
1184
+ value: gemfiles/webmachine.gemfile
1185
+ - name: _RUBYGEMS_VERSION
1186
+ value: latest
1187
+ - name: _BUNDLER_VERSION
1188
+ value: latest
1189
+ commands:
1190
+ - "./support/bundler_wrapper exec rake test"
1191
+ - "./support/bundler_wrapper exec rake test:failure"
995
1192
  - name: Ruby jruby-9.1.17.0
996
1193
  dependencies:
997
1194
  - Validation
data/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # Changelog
2
2
 
3
+ # 2.11.6
4
+ - Prepend Sidekiq middleware to wrap all Sidekiq middleware. Catches more
5
+ errors and provide more complete performance measurements. PR #698
6
+
7
+ # 2.11.5
8
+ - Add more detailed logging to finish_event calls when the event is unknown, so
9
+ we know what event is being tried to finish. Commit
10
+ c888a04d1b9ac947652b29c111c650fb5a5cf71c
11
+
12
+ # 2.11.4
13
+ - Support Ruby 3.0 for Object method instrumentation with keyword arguments
14
+ (https://docs.appsignal.com/ruby/instrumentation/method-instrumentation.html)
15
+ PR #693
16
+
17
+ # 2.11.3
18
+ - Support Shoryuken batch workers. PR #687
19
+
20
+ # 2.11.2
21
+ - Support Ruby 3.0. PR #681
22
+ - Support breadcrumbs. PR #666
23
+ - Log Ruby errors on extension download. PR #679
24
+ - Fix Ruby 1.9 build. PR #680
25
+
3
26
  # 2.11.1
4
27
  - Support AS notifications instrumenters that use `start` and `finish`.
5
28
  - Updated agent with better logging and an IO stats fix.
data/README.md CHANGED
@@ -157,6 +157,15 @@ as most Linux distributions, FreeBSD, macOS, excluding Microsoft Windows.
157
157
  For more detailed information please visit our [Supported
158
158
  systems][supported-systems] page.
159
159
 
160
+ ## Releases
161
+
162
+ Following the process below to release a new version of the Ruby gem.
163
+
164
+ 1. Run: `rake publish`
165
+ 1. Update the Ruby gem version number when prompted.
166
+ 1. Update the `CHANGELOG` file with the changes since the last release.
167
+ 1. Confirm with your two-factor authentication token for Rubygems.org, _twice_.
168
+
160
169
  ## Development
161
170
 
162
171
  ### Installation
data/Rakefile CHANGED
@@ -275,7 +275,8 @@ namespace :publish do
275
275
  Dir.chdir("#{File.dirname(__FILE__)}/pkg") do
276
276
  Dir["*.gem"].each do |gem_package|
277
277
  puts "## Publishing gem package: #{gem_package}"
278
- system "gem push #{gem_package}"
278
+ result = system "gem push #{gem_package}"
279
+ raise "Failed to Push gem" unless result
279
280
  end
280
281
  end
281
282
  end
@@ -374,19 +375,21 @@ end
374
375
  begin
375
376
  require "rspec/core/rake_task"
376
377
  is_jruby = defined?(RUBY_ENGINE) && RUBY_ENGINE == "jruby"
377
- unless is_jruby
378
- jruby_opts = "--exclude-pattern=spec/lib/appsignal/extension/jruby_spec.rb"
379
- end
378
+ excludes = []
379
+ excludes << "spec/lib/appsignal/extension/jruby_spec.rb" unless is_jruby
380
+ is_ruby19 = RUBY_VERSION < "2.0"
381
+ excludes << "spec/lib/appsignal/integrations/object_spec.rb" if is_ruby19
382
+ exclude_pattern = "--exclude-pattern=#{excludes.join(",")}" if excludes.any?
380
383
 
381
384
  desc "Run the AppSignal gem test suite."
382
385
  RSpec::Core::RakeTask.new :test do |t|
383
- t.rspec_opts = jruby_opts
386
+ t.rspec_opts = exclude_pattern
384
387
  end
385
388
 
386
389
  namespace :test do
387
390
  desc "Run the Appsignal gem test in an extension failure scenario"
388
391
  RSpec::Core::RakeTask.new :failure do |t|
389
- t.rspec_opts = "#{jruby_opts} --tag extension_installation_failure"
392
+ t.rspec_opts = "#{exclude_pattern} --tag extension_installation_failure"
390
393
  end
391
394
  end
392
395
  rescue LoadError # rubocop:disable Lint/HandleExceptions
data/build_matrix.yml CHANGED
@@ -32,6 +32,7 @@ semaphore: # Default `.semaphore/semaphore.yml` contents
32
32
  prologue:
33
33
  commands:
34
34
  - checkout
35
+ - rm -f $HOME/.rbenv/plugins/rbenv-gem-rehash/etc/rbenv.d/exec/~gem-rehash.bash
35
36
  - sem-version ruby $RUBY_VERSION
36
37
  - ./support/check_versions
37
38
  - cache restore $_BUNDLER_CACHE-bundler-$RUBY_VERSION-$GEMSET-$(checksum $BUNDLE_GEMFILE)
@@ -116,6 +117,7 @@ matrix:
116
117
  gems: "minimal"
117
118
  - ruby: "2.6.5"
118
119
  - ruby: "2.7.1"
120
+ - ruby: "3.0.0"
119
121
  - ruby: "jruby-9.1.17.0"
120
122
  gems: "minimal"
121
123
  gems:
@@ -138,24 +140,29 @@ matrix:
138
140
  ruby:
139
141
  - "2.6.5"
140
142
  - "2.7.1"
143
+ - "3.0.0"
141
144
  - gem: "rails-4.2"
142
145
  bundler: "1.17.3"
143
146
  exclude:
144
147
  ruby:
145
148
  - "2.6.5"
146
149
  - "2.7.1"
150
+ - "3.0.0"
147
151
  - gem: "rails-5.0"
148
152
  exclude:
149
153
  ruby:
150
154
  - "2.0.0-p648"
155
+ - "3.0.0"
151
156
  - gem: "rails-5.1"
152
157
  exclude:
153
158
  ruby:
154
159
  - "2.0.0-p648"
160
+ - "3.0.0"
155
161
  - gem: "rails-5.2"
156
162
  exclude:
157
163
  ruby:
158
164
  - "2.0.0-p648"
165
+ - "3.0.0"
159
166
  - gem: "rails-6.0"
160
167
  exclude:
161
168
  ruby:
@@ -167,11 +174,17 @@ matrix:
167
174
  - "jruby-9.1.17.0"
168
175
  - gem: "resque-1"
169
176
  bundler: "1.17.3"
177
+ exclude:
178
+ ruby:
179
+ - "3.0.0"
170
180
  - gem: "resque-2"
171
181
  exclude:
172
182
  ruby:
173
183
  - "2.0.0-p648"
174
184
  - gem: "sequel"
175
185
  - gem: "sequel-435"
186
+ exclude:
187
+ ruby:
188
+ - "3.0.0"
176
189
  - gem: "sinatra"
177
190
  - gem: "webmachine"
data/ext/agent.yml CHANGED
@@ -1,62 +1,62 @@
1
1
  ---
2
- version: 361340a
2
+ version: d98461b
3
3
  mirrors:
4
4
  - https://appsignal-agent-releases.global.ssl.fastly.net
5
5
  - https://d135dj0rjqvssy.cloudfront.net
6
6
  triples:
7
7
  x86_64-darwin:
8
8
  static:
9
- checksum: 4e08cb0cef0ea7e30f8d507380b923f6cfa14adaea12c81804e118acd6395b57
9
+ checksum: 178ab2329c7b29cf45140e4707e75c20379fa0c7dfd7f39266a7a95aea510780
10
10
  filename: appsignal-x86_64-darwin-all-static.tar.gz
11
11
  dynamic:
12
- checksum: 1a9c3e26bd453fe60a2f511d536e64bdeddb1f939664bda90d6a41eaeedf5250
12
+ checksum: '0923985cc78c5cf278f45d530679954b94b1a91c87453369116fc05525e29864'
13
13
  filename: appsignal-x86_64-darwin-all-dynamic.tar.gz
14
14
  universal-darwin:
15
15
  static:
16
- checksum: 4e08cb0cef0ea7e30f8d507380b923f6cfa14adaea12c81804e118acd6395b57
16
+ checksum: 178ab2329c7b29cf45140e4707e75c20379fa0c7dfd7f39266a7a95aea510780
17
17
  filename: appsignal-x86_64-darwin-all-static.tar.gz
18
18
  dynamic:
19
- checksum: 1a9c3e26bd453fe60a2f511d536e64bdeddb1f939664bda90d6a41eaeedf5250
19
+ checksum: '0923985cc78c5cf278f45d530679954b94b1a91c87453369116fc05525e29864'
20
20
  filename: appsignal-x86_64-darwin-all-dynamic.tar.gz
21
21
  i686-linux:
22
22
  static:
23
- checksum: 01c027b3e472cb39d844284fcc8ba532628c00731b912e0e9718646ed124ae6e
23
+ checksum: cb772a8a178edb25d666b650efda80149c98e80e4264435d6176f8a6104f959a
24
24
  filename: appsignal-i686-linux-all-static.tar.gz
25
25
  dynamic:
26
- checksum: 30696eac3ae5646bcb21ff86a1824dd4511a41dd323514e4a97a41b5ff09e2f8
26
+ checksum: c9ac51f4d1b3cc13773d8fa8ea5cfad6af7909144d85186cef9324ec0531bdac
27
27
  filename: appsignal-i686-linux-all-dynamic.tar.gz
28
28
  x86-linux:
29
29
  static:
30
- checksum: 01c027b3e472cb39d844284fcc8ba532628c00731b912e0e9718646ed124ae6e
30
+ checksum: cb772a8a178edb25d666b650efda80149c98e80e4264435d6176f8a6104f959a
31
31
  filename: appsignal-i686-linux-all-static.tar.gz
32
32
  dynamic:
33
- checksum: 30696eac3ae5646bcb21ff86a1824dd4511a41dd323514e4a97a41b5ff09e2f8
33
+ checksum: c9ac51f4d1b3cc13773d8fa8ea5cfad6af7909144d85186cef9324ec0531bdac
34
34
  filename: appsignal-i686-linux-all-dynamic.tar.gz
35
35
  x86_64-linux:
36
36
  static:
37
- checksum: fe2038d6fa468fc23900fea6d8179d2b37d41d54f4ff33c573116183ac1cb491
37
+ checksum: d6c280e992d74f97d59da9827ec5707ca4f6776b0568cde1c083c1113e4b7104
38
38
  filename: appsignal-x86_64-linux-all-static.tar.gz
39
39
  dynamic:
40
- checksum: bcbf9546b078fb8bbaae5e7df4ed84831346c814bc865a47d32a3a095a84acbb
40
+ checksum: ef1a3f5d4b2ed61ea2ae4d5cb1a261a0e685fb9d3e7ea9efe455498aad386e59
41
41
  filename: appsignal-x86_64-linux-all-dynamic.tar.gz
42
42
  x86_64-linux-musl:
43
43
  static:
44
- checksum: b2ee5579a62b76a1d2f41f4e06749c4c549f9aaa40764862eff49c5a6a8841f1
44
+ checksum: 9cf8ad34392662746a45cfce18113ad19cc29954789e2058f30e527163f2e98a
45
45
  filename: appsignal-x86_64-linux-musl-all-static.tar.gz
46
46
  dynamic:
47
- checksum: 53cd2464853e61c2d8f911ec32ff98cb48f824293ffd575da6743bc34625a7eb
47
+ checksum: 01bd76983227648d9bc41d035e1552fcf18d62f0d6818bf7bb7fc2e7c166513d
48
48
  filename: appsignal-x86_64-linux-musl-all-dynamic.tar.gz
49
49
  x86_64-freebsd:
50
50
  static:
51
- checksum: f228dd2f2cf951c9eb9f04487be50fdfdc3d29a956e639787a4022bd73f02e53
51
+ checksum: 403a597cbdbdba08460c5c9e93347ed9ad1d24333204e6d72db342deb266a296
52
52
  filename: appsignal-x86_64-freebsd-all-static.tar.gz
53
53
  dynamic:
54
- checksum: 030b322b2cb15607260cbb0424c03f6e41646dca7aacc43a30279ad63a336541
54
+ checksum: a1faae80ae09a6588c4cd35cb91dfa4b2176fc3cb17fbf79db80194c21e75bf9
55
55
  filename: appsignal-x86_64-freebsd-all-dynamic.tar.gz
56
56
  amd64-freebsd:
57
57
  static:
58
- checksum: f228dd2f2cf951c9eb9f04487be50fdfdc3d29a956e639787a4022bd73f02e53
58
+ checksum: 403a597cbdbdba08460c5c9e93347ed9ad1d24333204e6d72db342deb266a296
59
59
  filename: appsignal-x86_64-freebsd-all-static.tar.gz
60
60
  dynamic:
61
- checksum: 030b322b2cb15607260cbb0424c03f6e41646dca7aacc43a30279ad63a336541
61
+ checksum: a1faae80ae09a6588c4cd35cb91dfa4b2176fc3cb17fbf79db80194c21e75bf9
62
62
  filename: appsignal-x86_64-freebsd-all-dynamic.tar.gz