appsignal 2.11.5-java → 2.11.10-java

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: 31aaeacd929612daf77bbc79223536b0862a9fba1303d39b0f6b86bbc374d41c
4
- data.tar.gz: 185a18d44f4e082553e0405666723c499752b1e40441c6755fbbc977fb137aea
3
+ metadata.gz: f459ee333cb6c489c9b87304f36d28f3b19afa043ebda292d47b03205a76eec4
4
+ data.tar.gz: 005e8940811ee1ce786110f0190abb99f173d52ee25b1f4fd2bf36a71c273254
5
5
  SHA512:
6
- metadata.gz: cb83fee11d7eb92aad10b1ab6f5781236b3cb6119ca7db33c2e3fb21b839f4bf877d1f61811f7eef4efd7f0f8ced528b4af7481f6a9b07bac82d4b9ef8a64325
7
- data.tar.gz: 4fd833ac978bea386315ed0dec8223f751910b2c4596778d4e16c7f5596cd01e093887a9e3448303429f680e68fac6f4290d1b9e3b05a690a3f8060b13cb85d9
6
+ metadata.gz: 0d438e3363e0a06472fd22897c90f42c3c0dd4d37de8635e5ad88f680241d0ba0b51a4c2334ad38ff3d2edade7333dc00a42e06522462aabb8b685bbc8f39a86
7
+ data.tar.gz: 0a03bc7a32afb7cf911e684e13eb2357817edb81d8fec6f3de2ca95bcc71b74685502c641633269d6c23650f24c7ea0a310592397da2039a193d3e3559261dda
@@ -32,6 +32,7 @@ global_job_config:
32
32
  commands:
33
33
  - checkout
34
34
  - rm -f $HOME/.rbenv/plugins/rbenv-gem-rehash/etc/rbenv.d/exec/~gem-rehash.bash
35
+ - if [ -n "$_C_VERSION" ]; then sem-version c $_C_VERSION; fi
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)
@@ -133,66 +134,6 @@ blocks:
133
134
  commands:
134
135
  - "./support/bundler_wrapper exec rake extension:install"
135
136
  jobs:
136
- - name: Ruby 2.0.0-p648 for capistrano2
137
- env_vars:
138
- - name: RUBY_VERSION
139
- value: 2.0.0-p648
140
- - name: GEMSET
141
- value: capistrano2
142
- - name: BUNDLE_GEMFILE
143
- value: gemfiles/capistrano2.gemfile
144
- - name: _RUBYGEMS_VERSION
145
- value: 2.7.8
146
- - name: _BUNDLER_VERSION
147
- value: 1.17.3
148
- commands:
149
- - "./support/bundler_wrapper exec rake test"
150
- - "./support/bundler_wrapper exec rake test:failure"
151
- - name: Ruby 2.0.0-p648 for capistrano3
152
- env_vars:
153
- - name: RUBY_VERSION
154
- value: 2.0.0-p648
155
- - name: GEMSET
156
- value: capistrano3
157
- - name: BUNDLE_GEMFILE
158
- value: gemfiles/capistrano3.gemfile
159
- - name: _RUBYGEMS_VERSION
160
- value: 2.7.8
161
- - name: _BUNDLER_VERSION
162
- value: 1.17.3
163
- commands:
164
- - "./support/bundler_wrapper exec rake test"
165
- - "./support/bundler_wrapper exec rake test:failure"
166
- - name: Ruby 2.0.0-p648 for grape
167
- env_vars:
168
- - name: RUBY_VERSION
169
- value: 2.0.0-p648
170
- - name: GEMSET
171
- value: grape
172
- - name: BUNDLE_GEMFILE
173
- value: gemfiles/grape.gemfile
174
- - name: _RUBYGEMS_VERSION
175
- value: 2.7.8
176
- - name: _BUNDLER_VERSION
177
- value: 1.17.3
178
- commands:
179
- - "./support/bundler_wrapper exec rake test"
180
- - "./support/bundler_wrapper exec rake test:failure"
181
- - name: Ruby 2.0.0-p648 for que
182
- env_vars:
183
- - name: RUBY_VERSION
184
- value: 2.0.0-p648
185
- - name: GEMSET
186
- value: que
187
- - name: BUNDLE_GEMFILE
188
- value: gemfiles/que.gemfile
189
- - name: _RUBYGEMS_VERSION
190
- value: 2.7.8
191
- - name: _BUNDLER_VERSION
192
- value: 1.17.3
193
- commands:
194
- - "./support/bundler_wrapper exec rake test"
195
- - "./support/bundler_wrapper exec rake test:failure"
196
137
  - name: Ruby 2.0.0-p648 for rails-3.2
197
138
  env_vars:
198
139
  - name: RUBY_VERSION
@@ -223,81 +164,6 @@ blocks:
223
164
  commands:
224
165
  - "./support/bundler_wrapper exec rake test"
225
166
  - "./support/bundler_wrapper exec rake test:failure"
226
- - name: Ruby 2.0.0-p648 for resque-1
227
- env_vars:
228
- - name: RUBY_VERSION
229
- value: 2.0.0-p648
230
- - name: GEMSET
231
- value: resque-1
232
- - name: BUNDLE_GEMFILE
233
- value: gemfiles/resque-1.gemfile
234
- - name: _RUBYGEMS_VERSION
235
- value: 2.7.8
236
- - name: _BUNDLER_VERSION
237
- value: 1.17.3
238
- commands:
239
- - "./support/bundler_wrapper exec rake test"
240
- - "./support/bundler_wrapper exec rake test:failure"
241
- - name: Ruby 2.0.0-p648 for sequel
242
- env_vars:
243
- - name: RUBY_VERSION
244
- value: 2.0.0-p648
245
- - name: GEMSET
246
- value: sequel
247
- - name: BUNDLE_GEMFILE
248
- value: gemfiles/sequel.gemfile
249
- - name: _RUBYGEMS_VERSION
250
- value: 2.7.8
251
- - name: _BUNDLER_VERSION
252
- value: 1.17.3
253
- commands:
254
- - "./support/bundler_wrapper exec rake test"
255
- - "./support/bundler_wrapper exec rake test:failure"
256
- - name: Ruby 2.0.0-p648 for sequel-435
257
- env_vars:
258
- - name: RUBY_VERSION
259
- value: 2.0.0-p648
260
- - name: GEMSET
261
- value: sequel-435
262
- - name: BUNDLE_GEMFILE
263
- value: gemfiles/sequel-435.gemfile
264
- - name: _RUBYGEMS_VERSION
265
- value: 2.7.8
266
- - name: _BUNDLER_VERSION
267
- value: 1.17.3
268
- commands:
269
- - "./support/bundler_wrapper exec rake test"
270
- - "./support/bundler_wrapper exec rake test:failure"
271
- - name: Ruby 2.0.0-p648 for sinatra
272
- env_vars:
273
- - name: RUBY_VERSION
274
- value: 2.0.0-p648
275
- - name: GEMSET
276
- value: sinatra
277
- - name: BUNDLE_GEMFILE
278
- value: gemfiles/sinatra.gemfile
279
- - name: _RUBYGEMS_VERSION
280
- value: 2.7.8
281
- - name: _BUNDLER_VERSION
282
- value: 1.17.3
283
- commands:
284
- - "./support/bundler_wrapper exec rake test"
285
- - "./support/bundler_wrapper exec rake test:failure"
286
- - name: Ruby 2.0.0-p648 for webmachine
287
- env_vars:
288
- - name: RUBY_VERSION
289
- value: 2.0.0-p648
290
- - name: GEMSET
291
- value: webmachine
292
- - name: BUNDLE_GEMFILE
293
- value: gemfiles/webmachine.gemfile
294
- - name: _RUBYGEMS_VERSION
295
- value: 2.7.8
296
- - name: _BUNDLER_VERSION
297
- value: 1.17.3
298
- commands:
299
- - "./support/bundler_wrapper exec rake test"
300
- - "./support/bundler_wrapper exec rake test:failure"
301
167
  - name: Ruby 2.1.10
302
168
  dependencies:
303
169
  - Validation
@@ -993,7 +859,7 @@ blocks:
993
859
  commands:
994
860
  - "./support/bundler_wrapper exec rake test"
995
861
  - "./support/bundler_wrapper exec rake test:failure"
996
- - name: Ruby 3.0.0
862
+ - name: Ruby 3.0.1
997
863
  dependencies:
998
864
  - Validation
999
865
  task:
@@ -1001,10 +867,10 @@ blocks:
1001
867
  commands:
1002
868
  - "./support/bundler_wrapper exec rake extension:install"
1003
869
  jobs:
1004
- - name: Ruby 3.0.0 for no_dependencies
870
+ - name: Ruby 3.0.1 for no_dependencies
1005
871
  env_vars:
1006
872
  - name: RUBY_VERSION
1007
- value: 3.0.0
873
+ value: 3.0.1
1008
874
  - name: GEMSET
1009
875
  value: no_dependencies
1010
876
  - name: BUNDLE_GEMFILE
@@ -1016,18 +882,18 @@ blocks:
1016
882
  commands:
1017
883
  - "./support/bundler_wrapper exec rake test"
1018
884
  - "./support/bundler_wrapper exec rake test:failure"
1019
- - name: Ruby 3.0.0 - Gems
885
+ - name: Ruby 3.0.1 - Gems
1020
886
  dependencies:
1021
- - Ruby 3.0.0
887
+ - Ruby 3.0.1
1022
888
  task:
1023
889
  prologue:
1024
890
  commands:
1025
891
  - "./support/bundler_wrapper exec rake extension:install"
1026
892
  jobs:
1027
- - name: Ruby 3.0.0 for capistrano2
893
+ - name: Ruby 3.0.1 for capistrano2
1028
894
  env_vars:
1029
895
  - name: RUBY_VERSION
1030
- value: 3.0.0
896
+ value: 3.0.1
1031
897
  - name: GEMSET
1032
898
  value: capistrano2
1033
899
  - name: BUNDLE_GEMFILE
@@ -1039,10 +905,10 @@ blocks:
1039
905
  commands:
1040
906
  - "./support/bundler_wrapper exec rake test"
1041
907
  - "./support/bundler_wrapper exec rake test:failure"
1042
- - name: Ruby 3.0.0 for capistrano3
908
+ - name: Ruby 3.0.1 for capistrano3
1043
909
  env_vars:
1044
910
  - name: RUBY_VERSION
1045
- value: 3.0.0
911
+ value: 3.0.1
1046
912
  - name: GEMSET
1047
913
  value: capistrano3
1048
914
  - name: BUNDLE_GEMFILE
@@ -1054,10 +920,10 @@ blocks:
1054
920
  commands:
1055
921
  - "./support/bundler_wrapper exec rake test"
1056
922
  - "./support/bundler_wrapper exec rake test:failure"
1057
- - name: Ruby 3.0.0 for grape
923
+ - name: Ruby 3.0.1 for grape
1058
924
  env_vars:
1059
925
  - name: RUBY_VERSION
1060
- value: 3.0.0
926
+ value: 3.0.1
1061
927
  - name: GEMSET
1062
928
  value: grape
1063
929
  - name: BUNDLE_GEMFILE
@@ -1069,10 +935,10 @@ blocks:
1069
935
  commands:
1070
936
  - "./support/bundler_wrapper exec rake test"
1071
937
  - "./support/bundler_wrapper exec rake test:failure"
1072
- - name: Ruby 3.0.0 for padrino
938
+ - name: Ruby 3.0.1 for padrino
1073
939
  env_vars:
1074
940
  - name: RUBY_VERSION
1075
- value: 3.0.0
941
+ value: 3.0.1
1076
942
  - name: GEMSET
1077
943
  value: padrino
1078
944
  - name: BUNDLE_GEMFILE
@@ -1084,10 +950,10 @@ blocks:
1084
950
  commands:
1085
951
  - "./support/bundler_wrapper exec rake test"
1086
952
  - "./support/bundler_wrapper exec rake test:failure"
1087
- - name: Ruby 3.0.0 for que
953
+ - name: Ruby 3.0.1 for que
1088
954
  env_vars:
1089
955
  - name: RUBY_VERSION
1090
- value: 3.0.0
956
+ value: 3.0.1
1091
957
  - name: GEMSET
1092
958
  value: que
1093
959
  - name: BUNDLE_GEMFILE
@@ -1099,10 +965,10 @@ blocks:
1099
965
  commands:
1100
966
  - "./support/bundler_wrapper exec rake test"
1101
967
  - "./support/bundler_wrapper exec rake test:failure"
1102
- - name: Ruby 3.0.0 for que_beta
968
+ - name: Ruby 3.0.1 for que_beta
1103
969
  env_vars:
1104
970
  - name: RUBY_VERSION
1105
- value: 3.0.0
971
+ value: 3.0.1
1106
972
  - name: GEMSET
1107
973
  value: que_beta
1108
974
  - name: BUNDLE_GEMFILE
@@ -1114,10 +980,10 @@ blocks:
1114
980
  commands:
1115
981
  - "./support/bundler_wrapper exec rake test"
1116
982
  - "./support/bundler_wrapper exec rake test:failure"
1117
- - name: Ruby 3.0.0 for rails-6.0
983
+ - name: Ruby 3.0.1 for rails-6.0
1118
984
  env_vars:
1119
985
  - name: RUBY_VERSION
1120
- value: 3.0.0
986
+ value: 3.0.1
1121
987
  - name: GEMSET
1122
988
  value: rails-6.0
1123
989
  - name: BUNDLE_GEMFILE
@@ -1129,10 +995,10 @@ blocks:
1129
995
  commands:
1130
996
  - "./support/bundler_wrapper exec rake test"
1131
997
  - "./support/bundler_wrapper exec rake test:failure"
1132
- - name: Ruby 3.0.0 for resque-2
998
+ - name: Ruby 3.0.1 for resque-2
1133
999
  env_vars:
1134
1000
  - name: RUBY_VERSION
1135
- value: 3.0.0
1001
+ value: 3.0.1
1136
1002
  - name: GEMSET
1137
1003
  value: resque-2
1138
1004
  - name: BUNDLE_GEMFILE
@@ -1144,10 +1010,10 @@ blocks:
1144
1010
  commands:
1145
1011
  - "./support/bundler_wrapper exec rake test"
1146
1012
  - "./support/bundler_wrapper exec rake test:failure"
1147
- - name: Ruby 3.0.0 for sequel
1013
+ - name: Ruby 3.0.1 for sequel
1148
1014
  env_vars:
1149
1015
  - name: RUBY_VERSION
1150
- value: 3.0.0
1016
+ value: 3.0.1
1151
1017
  - name: GEMSET
1152
1018
  value: sequel
1153
1019
  - name: BUNDLE_GEMFILE
@@ -1159,10 +1025,10 @@ blocks:
1159
1025
  commands:
1160
1026
  - "./support/bundler_wrapper exec rake test"
1161
1027
  - "./support/bundler_wrapper exec rake test:failure"
1162
- - name: Ruby 3.0.0 for sinatra
1028
+ - name: Ruby 3.0.1 for sinatra
1163
1029
  env_vars:
1164
1030
  - name: RUBY_VERSION
1165
- value: 3.0.0
1031
+ value: 3.0.1
1166
1032
  - name: GEMSET
1167
1033
  value: sinatra
1168
1034
  - name: BUNDLE_GEMFILE
@@ -1174,10 +1040,10 @@ blocks:
1174
1040
  commands:
1175
1041
  - "./support/bundler_wrapper exec rake test"
1176
1042
  - "./support/bundler_wrapper exec rake test:failure"
1177
- - name: Ruby 3.0.0 for webmachine
1043
+ - name: Ruby 3.0.1 for webmachine
1178
1044
  env_vars:
1179
1045
  - name: RUBY_VERSION
1180
- value: 3.0.0
1046
+ value: 3.0.1
1181
1047
  - name: GEMSET
1182
1048
  value: webmachine
1183
1049
  - name: BUNDLE_GEMFILE
@@ -1189,7 +1055,7 @@ blocks:
1189
1055
  commands:
1190
1056
  - "./support/bundler_wrapper exec rake test"
1191
1057
  - "./support/bundler_wrapper exec rake test:failure"
1192
- - name: Ruby jruby-9.1.17.0
1058
+ - name: Ruby jruby-9.2.19.0
1193
1059
  dependencies:
1194
1060
  - Validation
1195
1061
  task:
@@ -1197,10 +1063,10 @@ blocks:
1197
1063
  commands:
1198
1064
  - "./support/bundler_wrapper exec rake extension:install"
1199
1065
  jobs:
1200
- - name: Ruby jruby-9.1.17.0 for no_dependencies
1066
+ - name: Ruby jruby-9.2.19.0 for no_dependencies
1201
1067
  env_vars:
1202
1068
  - name: RUBY_VERSION
1203
- value: jruby-9.1.17.0
1069
+ value: jruby-9.2.19.0
1204
1070
  - name: GEMSET
1205
1071
  value: no_dependencies
1206
1072
  - name: BUNDLE_GEMFILE
@@ -1209,21 +1075,24 @@ blocks:
1209
1075
  value: latest
1210
1076
  - name: _BUNDLER_VERSION
1211
1077
  value: latest
1078
+ - &1
1079
+ name: _C_VERSION
1080
+ value: '8'
1212
1081
  commands:
1213
1082
  - "./support/bundler_wrapper exec rake test"
1214
1083
  - "./support/bundler_wrapper exec rake test:failure"
1215
- - name: Ruby jruby-9.1.17.0 - Gems
1084
+ - name: Ruby jruby-9.2.19.0 - Gems
1216
1085
  dependencies:
1217
- - Ruby jruby-9.1.17.0
1086
+ - Ruby jruby-9.2.19.0
1218
1087
  task:
1219
1088
  prologue:
1220
1089
  commands:
1221
1090
  - "./support/bundler_wrapper exec rake extension:install"
1222
1091
  jobs:
1223
- - name: Ruby jruby-9.1.17.0 for rails-5.2
1092
+ - name: Ruby jruby-9.2.19.0 for rails-5.2
1224
1093
  env_vars:
1225
1094
  - name: RUBY_VERSION
1226
- value: jruby-9.1.17.0
1095
+ value: jruby-9.2.19.0
1227
1096
  - name: GEMSET
1228
1097
  value: rails-5.2
1229
1098
  - name: BUNDLE_GEMFILE
@@ -1232,6 +1101,23 @@ blocks:
1232
1101
  value: latest
1233
1102
  - name: _BUNDLER_VERSION
1234
1103
  value: latest
1104
+ - *1
1105
+ commands:
1106
+ - "./support/bundler_wrapper exec rake test"
1107
+ - "./support/bundler_wrapper exec rake test:failure"
1108
+ - name: Ruby jruby-9.2.19.0 for rails-6.0
1109
+ env_vars:
1110
+ - name: RUBY_VERSION
1111
+ value: jruby-9.2.19.0
1112
+ - name: GEMSET
1113
+ value: rails-6.0
1114
+ - name: BUNDLE_GEMFILE
1115
+ value: gemfiles/rails-6.0.gemfile
1116
+ - name: _RUBYGEMS_VERSION
1117
+ value: latest
1118
+ - name: _BUNDLER_VERSION
1119
+ value: latest
1120
+ - *1
1235
1121
  commands:
1236
1122
  - "./support/bundler_wrapper exec rake test"
1237
1123
  - "./support/bundler_wrapper exec rake test:failure"
data/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # Changelog
2
2
 
3
+ # 2.11.10
4
+ - Backport extension fallbacks on extension installation failure, that caused
5
+ NoMethodErrors. PR #736
6
+
7
+ # 2.11.9
8
+ - Fix and simplify Ruby method delegation for object method instrumentation in
9
+ the different Ruby versions. PR #706
10
+
11
+ # 2.11.8
12
+ - Mark minutely probe thread as fork-safe by @pixeltrix. PR #704
13
+
14
+ # 2.11.7
15
+ - Fix ActionCable integration in test environment using `stub_connection`.
16
+ PR #705
17
+
18
+ # 2.11.6
19
+ - Prepend Sidekiq middleware to wrap all Sidekiq middleware. Catches more
20
+ errors and provide more complete performance measurements. PR #698
21
+
3
22
  # 2.11.5
4
23
  - Add more detailed logging to finish_event calls when the event is unknown, so
5
24
  we know what event is being tried to finish. Commit
data/Rakefile CHANGED
@@ -73,7 +73,7 @@ namespace :build_matrix do
73
73
 
74
74
  job = {
75
75
  "name" => "Ruby #{ruby_version} for #{gem["gem"]}",
76
- "env_vars" => env,
76
+ "env_vars" => env + ruby.fetch("env_vars", []),
77
77
  "commands" => [
78
78
  "./support/bundler_wrapper exec rake test",
79
79
  "./support/bundler_wrapper exec rake test:failure"
@@ -387,10 +387,20 @@ begin
387
387
  end
388
388
 
389
389
  namespace :test do
390
- desc "Run the Appsignal gem test in an extension failure scenario"
391
- RSpec::Core::RakeTask.new :failure do |t|
390
+ RSpec::Core::RakeTask.new :rspec_failure do |t|
392
391
  t.rspec_opts = "#{exclude_pattern} --tag extension_installation_failure"
393
392
  end
393
+
394
+ desc "Intentionally fail the extension installation"
395
+ task :prepare_failure do
396
+ # ENV var to make sure installation fails on purpurse
397
+ ENV["_TEST_APPSIGNAL_EXTENSION_FAILURE"] = "true"
398
+ # Run extension installation with intentional failure
399
+ `rake extension:install`
400
+ end
401
+
402
+ desc "Run the Appsignal gem test in an extension failure scenario"
403
+ task :failure => [:prepare_failure, :rspec_failure]
394
404
  end
395
405
  rescue LoadError # rubocop:disable Lint/HandleExceptions
396
406
  # When running rake install, there is no RSpec yet.