ddtrace 0.49.0 → 0.50.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (377) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +49 -73
  3. data/.circleci/images/primary/{Dockerfile-truffleruby-21.0.0 → Dockerfile-truffleruby-21.1.0} +1 -1
  4. data/.gitignore +0 -2
  5. data/.rubocop.yml +0 -8
  6. data/.rubocop_todo.yml +7 -7
  7. data/Appraisals +1 -107
  8. data/CHANGELOG.md +47 -0
  9. data/Rakefile +278 -333
  10. data/benchmarks/data/profiler-submission-marshal.gz +0 -0
  11. data/benchmarks/profiler_submission.rb +93 -0
  12. data/ddtrace.gemspec +1 -1
  13. data/docker-compose.yml +4 -34
  14. data/docs/GettingStarted.md +24 -9
  15. data/gemfiles/jruby_9.2.0.0_contrib.gemfile.lock +1 -1
  16. data/gemfiles/jruby_9.2.0.0_contrib_old.gemfile.lock +1 -1
  17. data/gemfiles/jruby_9.2.0.0_core_old.gemfile.lock +1 -1
  18. data/gemfiles/jruby_9.2.0.0_cucumber3.gemfile.lock +1 -1
  19. data/gemfiles/jruby_9.2.0.0_cucumber4.gemfile.lock +1 -1
  20. data/gemfiles/jruby_9.2.0.0_cucumber5.gemfile.lock +1 -1
  21. data/gemfiles/jruby_9.2.0.0_rails5_mysql2.gemfile.lock +1 -1
  22. data/gemfiles/jruby_9.2.0.0_rails5_postgres.gemfile.lock +1 -1
  23. data/gemfiles/jruby_9.2.0.0_rails5_postgres_redis.gemfile.lock +1 -1
  24. data/gemfiles/jruby_9.2.0.0_rails5_postgres_redis_activesupport.gemfile.lock +1 -1
  25. data/gemfiles/jruby_9.2.0.0_rails5_postgres_sidekiq.gemfile.lock +1 -1
  26. data/gemfiles/jruby_9.2.0.0_rails61_mysql2.gemfile.lock +1 -1
  27. data/gemfiles/jruby_9.2.0.0_rails61_postgres.gemfile.lock +1 -1
  28. data/gemfiles/jruby_9.2.0.0_rails61_postgres_redis.gemfile.lock +1 -1
  29. data/gemfiles/jruby_9.2.0.0_rails61_postgres_sidekiq.gemfile.lock +1 -1
  30. data/gemfiles/jruby_9.2.0.0_rails6_mysql2.gemfile.lock +1 -1
  31. data/gemfiles/jruby_9.2.0.0_rails6_postgres.gemfile.lock +1 -1
  32. data/gemfiles/jruby_9.2.0.0_rails6_postgres_redis.gemfile.lock +1 -1
  33. data/gemfiles/jruby_9.2.0.0_rails6_postgres_redis_activesupport.gemfile.lock +1 -1
  34. data/gemfiles/jruby_9.2.0.0_rails6_postgres_sidekiq.gemfile.lock +1 -1
  35. data/gemfiles/jruby_9.2.0.0_resque2_redis3.gemfile.lock +1 -1
  36. data/gemfiles/jruby_9.2.0.0_resque2_redis4.gemfile.lock +1 -1
  37. data/gemfiles/jruby_9.2.11.1_contrib.gemfile.lock +1 -1
  38. data/gemfiles/jruby_9.2.11.1_contrib_old.gemfile.lock +1 -1
  39. data/gemfiles/jruby_9.2.11.1_core_old.gemfile.lock +1 -1
  40. data/gemfiles/jruby_9.2.11.1_cucumber3.gemfile.lock +1 -1
  41. data/gemfiles/jruby_9.2.11.1_cucumber4.gemfile.lock +1 -1
  42. data/gemfiles/jruby_9.2.11.1_cucumber5.gemfile.lock +1 -1
  43. data/gemfiles/jruby_9.2.11.1_rails5_mysql2.gemfile.lock +1 -1
  44. data/gemfiles/jruby_9.2.11.1_rails5_postgres.gemfile.lock +1 -1
  45. data/gemfiles/jruby_9.2.11.1_rails5_postgres_redis.gemfile.lock +1 -1
  46. data/gemfiles/jruby_9.2.11.1_rails5_postgres_redis_activesupport.gemfile.lock +1 -1
  47. data/gemfiles/jruby_9.2.11.1_rails5_postgres_sidekiq.gemfile.lock +1 -1
  48. data/gemfiles/jruby_9.2.11.1_rails61_mysql2.gemfile.lock +1 -1
  49. data/gemfiles/jruby_9.2.11.1_rails61_postgres.gemfile.lock +1 -1
  50. data/gemfiles/jruby_9.2.11.1_rails61_postgres_redis.gemfile.lock +1 -1
  51. data/gemfiles/jruby_9.2.11.1_rails61_postgres_sidekiq.gemfile.lock +1 -1
  52. data/gemfiles/jruby_9.2.11.1_rails6_mysql2.gemfile.lock +1 -1
  53. data/gemfiles/jruby_9.2.11.1_rails6_postgres.gemfile.lock +1 -1
  54. data/gemfiles/jruby_9.2.11.1_rails6_postgres_redis.gemfile.lock +1 -1
  55. data/gemfiles/jruby_9.2.11.1_rails6_postgres_redis_activesupport.gemfile.lock +1 -1
  56. data/gemfiles/jruby_9.2.11.1_rails6_postgres_sidekiq.gemfile.lock +1 -1
  57. data/gemfiles/jruby_9.2.11.1_resque2_redis3.gemfile.lock +1 -1
  58. data/gemfiles/jruby_9.2.11.1_resque2_redis4.gemfile.lock +1 -1
  59. data/gemfiles/ruby_2.1.10_contrib_old.gemfile.lock +1 -1
  60. data/gemfiles/ruby_2.1.10_core_old.gemfile.lock +1 -1
  61. data/gemfiles/ruby_2.1.10_rails30_postgres.gemfile.lock +1 -1
  62. data/gemfiles/ruby_2.1.10_rails30_postgres_sidekiq.gemfile.lock +1 -1
  63. data/gemfiles/ruby_2.1.10_rails32_mysql2.gemfile.lock +1 -1
  64. data/gemfiles/ruby_2.1.10_rails32_postgres.gemfile.lock +1 -1
  65. data/gemfiles/ruby_2.1.10_rails32_postgres_redis.gemfile.lock +1 -1
  66. data/gemfiles/ruby_2.1.10_rails32_postgres_sidekiq.gemfile.lock +1 -1
  67. data/gemfiles/ruby_2.1.10_rails4_mysql2.gemfile.lock +1 -1
  68. data/gemfiles/ruby_2.1.10_rails4_postgres.gemfile.lock +1 -1
  69. data/gemfiles/ruby_2.1.10_rails4_postgres_redis.gemfile.lock +1 -1
  70. data/gemfiles/ruby_2.2.10_contrib.gemfile.lock +1 -1
  71. data/gemfiles/ruby_2.2.10_core_old.gemfile.lock +1 -1
  72. data/gemfiles/ruby_2.2.10_rails30_postgres.gemfile.lock +1 -1
  73. data/gemfiles/ruby_2.2.10_rails30_postgres_sidekiq.gemfile.lock +1 -1
  74. data/gemfiles/ruby_2.2.10_rails32_mysql2.gemfile.lock +1 -1
  75. data/gemfiles/ruby_2.2.10_rails32_postgres.gemfile.lock +1 -1
  76. data/gemfiles/ruby_2.2.10_rails32_postgres_redis.gemfile.lock +1 -1
  77. data/gemfiles/ruby_2.2.10_rails32_postgres_sidekiq.gemfile.lock +1 -1
  78. data/gemfiles/ruby_2.2.10_rails4_mysql2.gemfile.lock +1 -1
  79. data/gemfiles/ruby_2.2.10_rails4_postgres.gemfile.lock +1 -1
  80. data/gemfiles/ruby_2.2.10_rails4_postgres_redis.gemfile.lock +1 -1
  81. data/gemfiles/ruby_2.2.10_rails4_postgres_sidekiq.gemfile.lock +1 -1
  82. data/gemfiles/ruby_2.2.10_rails5_mysql2.gemfile.lock +1 -1
  83. data/gemfiles/ruby_2.2.10_rails5_postgres.gemfile.lock +1 -1
  84. data/gemfiles/ruby_2.2.10_rails5_postgres_redis.gemfile.lock +1 -1
  85. data/gemfiles/ruby_2.2.10_rails5_postgres_redis_activesupport.gemfile.lock +1 -1
  86. data/gemfiles/ruby_2.2.10_rails5_postgres_sidekiq.gemfile.lock +1 -1
  87. data/gemfiles/ruby_2.3.8_contrib.gemfile.lock +1 -1
  88. data/gemfiles/ruby_2.3.8_contrib_old.gemfile.lock +1 -1
  89. data/gemfiles/ruby_2.3.8_core_old.gemfile.lock +1 -1
  90. data/gemfiles/ruby_2.3.8_cucumber3.gemfile.lock +1 -1
  91. data/gemfiles/ruby_2.3.8_cucumber4.gemfile.lock +1 -1
  92. data/gemfiles/ruby_2.3.8_rails30_postgres.gemfile.lock +1 -1
  93. data/gemfiles/ruby_2.3.8_rails30_postgres_sidekiq.gemfile.lock +1 -1
  94. data/gemfiles/ruby_2.3.8_rails32_mysql2.gemfile.lock +1 -1
  95. data/gemfiles/ruby_2.3.8_rails32_postgres.gemfile.lock +1 -1
  96. data/gemfiles/ruby_2.3.8_rails32_postgres_redis.gemfile.lock +1 -1
  97. data/gemfiles/ruby_2.3.8_rails32_postgres_sidekiq.gemfile.lock +1 -1
  98. data/gemfiles/ruby_2.3.8_rails4_mysql2.gemfile.lock +1 -1
  99. data/gemfiles/ruby_2.3.8_rails4_postgres.gemfile.lock +1 -1
  100. data/gemfiles/ruby_2.3.8_rails4_postgres_redis.gemfile.lock +1 -1
  101. data/gemfiles/ruby_2.3.8_rails4_postgres_sidekiq.gemfile.lock +1 -1
  102. data/gemfiles/ruby_2.3.8_rails5_mysql2.gemfile.lock +1 -1
  103. data/gemfiles/ruby_2.3.8_rails5_postgres.gemfile.lock +1 -1
  104. data/gemfiles/ruby_2.3.8_rails5_postgres_redis.gemfile.lock +1 -1
  105. data/gemfiles/ruby_2.3.8_rails5_postgres_redis_activesupport.gemfile.lock +1 -1
  106. data/gemfiles/ruby_2.3.8_rails5_postgres_sidekiq.gemfile.lock +1 -1
  107. data/gemfiles/ruby_2.3.8_resque2_redis3.gemfile.lock +1 -1
  108. data/gemfiles/ruby_2.3.8_resque2_redis4.gemfile.lock +1 -1
  109. data/gemfiles/ruby_2.4.6_contrib.gemfile.lock +1 -1
  110. data/gemfiles/ruby_2.4.6_contrib_old.gemfile.lock +1 -1
  111. data/gemfiles/ruby_2.4.6_core_old.gemfile.lock +1 -1
  112. data/gemfiles/ruby_2.4.6_cucumber3.gemfile.lock +1 -1
  113. data/gemfiles/ruby_2.4.6_cucumber4.gemfile.lock +1 -1
  114. data/gemfiles/ruby_2.4.6_rails5_mysql2.gemfile.lock +1 -1
  115. data/gemfiles/ruby_2.4.6_rails5_postgres.gemfile.lock +1 -1
  116. data/gemfiles/ruby_2.4.6_rails5_postgres_redis.gemfile.lock +1 -1
  117. data/gemfiles/ruby_2.4.6_rails5_postgres_redis_activesupport.gemfile.lock +1 -1
  118. data/gemfiles/ruby_2.4.6_rails5_postgres_sidekiq.gemfile.lock +1 -1
  119. data/gemfiles/ruby_2.4.6_resque2_redis3.gemfile.lock +1 -1
  120. data/gemfiles/ruby_2.4.6_resque2_redis4.gemfile.lock +1 -1
  121. data/gemfiles/ruby_2.5.6_contrib.gemfile.lock +1 -1
  122. data/gemfiles/ruby_2.5.6_contrib_old.gemfile.lock +1 -1
  123. data/gemfiles/ruby_2.5.6_core_old.gemfile.lock +1 -1
  124. data/gemfiles/ruby_2.5.6_cucumber3.gemfile.lock +1 -1
  125. data/gemfiles/ruby_2.5.6_cucumber4.gemfile.lock +1 -1
  126. data/gemfiles/ruby_2.5.6_cucumber5.gemfile.lock +1 -1
  127. data/gemfiles/ruby_2.5.6_rails5_mysql2.gemfile.lock +1 -1
  128. data/gemfiles/ruby_2.5.6_rails5_postgres.gemfile.lock +1 -1
  129. data/gemfiles/ruby_2.5.6_rails5_postgres_redis.gemfile.lock +1 -1
  130. data/gemfiles/ruby_2.5.6_rails5_postgres_redis_activesupport.gemfile.lock +1 -1
  131. data/gemfiles/ruby_2.5.6_rails5_postgres_sidekiq.gemfile.lock +1 -1
  132. data/gemfiles/ruby_2.5.6_rails61_mysql2.gemfile.lock +1 -1
  133. data/gemfiles/ruby_2.5.6_rails61_postgres.gemfile.lock +1 -1
  134. data/gemfiles/ruby_2.5.6_rails61_postgres_redis.gemfile.lock +1 -1
  135. data/gemfiles/ruby_2.5.6_rails61_postgres_sidekiq.gemfile.lock +1 -1
  136. data/gemfiles/ruby_2.5.6_rails6_mysql2.gemfile.lock +1 -1
  137. data/gemfiles/ruby_2.5.6_rails6_postgres.gemfile.lock +1 -1
  138. data/gemfiles/ruby_2.5.6_rails6_postgres_redis.gemfile.lock +1 -1
  139. data/gemfiles/ruby_2.5.6_rails6_postgres_redis_activesupport.gemfile.lock +1 -1
  140. data/gemfiles/ruby_2.5.6_rails6_postgres_sidekiq.gemfile.lock +1 -1
  141. data/gemfiles/ruby_2.5.6_resque2_redis3.gemfile.lock +1 -1
  142. data/gemfiles/ruby_2.5.6_resque2_redis4.gemfile.lock +1 -1
  143. data/gemfiles/ruby_2.6.4_contrib.gemfile.lock +1 -1
  144. data/gemfiles/ruby_2.6.4_contrib_old.gemfile.lock +1 -1
  145. data/gemfiles/ruby_2.6.4_core_old.gemfile.lock +1 -1
  146. data/gemfiles/ruby_2.6.4_cucumber3.gemfile.lock +1 -1
  147. data/gemfiles/ruby_2.6.4_cucumber4.gemfile.lock +1 -1
  148. data/gemfiles/ruby_2.6.4_cucumber5.gemfile.lock +1 -1
  149. data/gemfiles/ruby_2.6.4_rails5_mysql2.gemfile.lock +1 -1
  150. data/gemfiles/ruby_2.6.4_rails5_postgres.gemfile.lock +1 -1
  151. data/gemfiles/ruby_2.6.4_rails5_postgres_redis.gemfile.lock +1 -1
  152. data/gemfiles/ruby_2.6.4_rails5_postgres_redis_activesupport.gemfile.lock +1 -1
  153. data/gemfiles/ruby_2.6.4_rails5_postgres_sidekiq.gemfile.lock +1 -1
  154. data/gemfiles/ruby_2.6.4_rails61_mysql2.gemfile.lock +1 -1
  155. data/gemfiles/ruby_2.6.4_rails61_postgres.gemfile.lock +1 -1
  156. data/gemfiles/ruby_2.6.4_rails61_postgres_redis.gemfile.lock +1 -1
  157. data/gemfiles/ruby_2.6.4_rails61_postgres_sidekiq.gemfile.lock +1 -1
  158. data/gemfiles/ruby_2.6.4_rails6_mysql2.gemfile.lock +1 -1
  159. data/gemfiles/ruby_2.6.4_rails6_postgres.gemfile.lock +1 -1
  160. data/gemfiles/ruby_2.6.4_rails6_postgres_redis.gemfile.lock +1 -1
  161. data/gemfiles/ruby_2.6.4_rails6_postgres_redis_activesupport.gemfile.lock +1 -1
  162. data/gemfiles/ruby_2.6.4_rails6_postgres_sidekiq.gemfile.lock +1 -1
  163. data/gemfiles/ruby_2.6.4_resque2_redis3.gemfile.lock +1 -1
  164. data/gemfiles/ruby_2.6.4_resque2_redis4.gemfile.lock +1 -1
  165. data/gemfiles/ruby_2.7.0_contrib.gemfile.lock +1 -1
  166. data/gemfiles/ruby_2.7.0_contrib_old.gemfile.lock +1 -1
  167. data/gemfiles/ruby_2.7.0_core_old.gemfile.lock +1 -1
  168. data/gemfiles/ruby_2.7.0_cucumber3.gemfile.lock +1 -1
  169. data/gemfiles/ruby_2.7.0_cucumber4.gemfile.lock +1 -1
  170. data/gemfiles/ruby_2.7.0_cucumber5.gemfile.lock +1 -1
  171. data/gemfiles/ruby_2.7.0_rails5_mysql2.gemfile.lock +1 -1
  172. data/gemfiles/ruby_2.7.0_rails5_postgres.gemfile.lock +1 -1
  173. data/gemfiles/ruby_2.7.0_rails5_postgres_redis.gemfile.lock +1 -1
  174. data/gemfiles/ruby_2.7.0_rails5_postgres_redis_activesupport.gemfile.lock +1 -1
  175. data/gemfiles/ruby_2.7.0_rails5_postgres_sidekiq.gemfile.lock +1 -1
  176. data/gemfiles/ruby_2.7.0_rails61_mysql2.gemfile.lock +1 -1
  177. data/gemfiles/ruby_2.7.0_rails61_postgres.gemfile.lock +1 -1
  178. data/gemfiles/ruby_2.7.0_rails61_postgres_redis.gemfile.lock +1 -1
  179. data/gemfiles/ruby_2.7.0_rails61_postgres_sidekiq.gemfile.lock +1 -1
  180. data/gemfiles/ruby_2.7.0_rails6_mysql2.gemfile.lock +1 -1
  181. data/gemfiles/ruby_2.7.0_rails6_postgres.gemfile.lock +1 -1
  182. data/gemfiles/ruby_2.7.0_rails6_postgres_redis.gemfile.lock +1 -1
  183. data/gemfiles/ruby_2.7.0_rails6_postgres_redis_activesupport.gemfile.lock +1 -1
  184. data/gemfiles/ruby_2.7.0_rails6_postgres_sidekiq.gemfile.lock +1 -1
  185. data/gemfiles/ruby_2.7.0_resque2_redis3.gemfile.lock +1 -1
  186. data/gemfiles/ruby_2.7.0_resque2_redis4.gemfile.lock +1 -1
  187. data/gemfiles/ruby_3.0.0_contrib.gemfile +1 -0
  188. data/gemfiles/ruby_3.0.0_contrib.gemfile.lock +7 -1
  189. data/gemfiles/ruby_3.0.0_core_old.gemfile.lock +1 -1
  190. data/gemfiles/ruby_3.0.0_cucumber3.gemfile.lock +1 -1
  191. data/gemfiles/ruby_3.0.0_cucumber4.gemfile.lock +1 -1
  192. data/gemfiles/ruby_3.0.0_cucumber5.gemfile.lock +1 -1
  193. data/gemfiles/ruby_3.0.0_rails61_mysql2.gemfile.lock +1 -1
  194. data/gemfiles/ruby_3.0.0_rails61_postgres.gemfile.lock +1 -1
  195. data/gemfiles/ruby_3.0.0_rails61_postgres_redis.gemfile.lock +1 -1
  196. data/gemfiles/ruby_3.0.0_rails61_postgres_sidekiq.gemfile.lock +1 -1
  197. data/gemfiles/ruby_3.0.0_resque2_redis3.gemfile.lock +1 -1
  198. data/gemfiles/ruby_3.0.0_resque2_redis4.gemfile.lock +1 -1
  199. data/integration/apps/rack/README.md +2 -2
  200. data/integration/apps/rack/script/ci +2 -1
  201. data/integration/apps/rails-five/README.md +2 -2
  202. data/integration/apps/rails-five/script/ci +2 -1
  203. data/integration/apps/rspec/.dockerignore +1 -0
  204. data/integration/apps/rspec/.envrc.sample +1 -0
  205. data/integration/apps/rspec/.gitignore +2 -0
  206. data/integration/apps/rspec/.rspec +1 -0
  207. data/integration/apps/rspec/Dockerfile +25 -0
  208. data/integration/apps/rspec/Dockerfile-ci +11 -0
  209. data/integration/apps/rspec/Gemfile +14 -0
  210. data/integration/apps/rspec/README.md +70 -0
  211. data/integration/apps/rspec/agent.yaml +3 -0
  212. data/integration/apps/rspec/app/datadog.rb +13 -0
  213. data/integration/apps/rspec/app/fibonacci.rb +30 -0
  214. data/integration/apps/rspec/bin/run +20 -0
  215. data/integration/apps/rspec/bin/setup +17 -0
  216. data/integration/apps/rspec/bin/test +21 -0
  217. data/integration/apps/rspec/docker-compose.ci.yml +51 -0
  218. data/integration/apps/rspec/docker-compose.yml +63 -0
  219. data/integration/apps/rspec/script/build-images +37 -0
  220. data/integration/apps/rspec/script/ci +53 -0
  221. data/integration/apps/rspec/spec/fibonacci_spec.rb +16 -0
  222. data/integration/apps/rspec/spec/rspec_spec.rb +58 -0
  223. data/integration/apps/rspec/spec/spec_helper.rb +24 -0
  224. data/integration/apps/ruby/README.md +2 -2
  225. data/integration/apps/ruby/script/ci +2 -1
  226. data/lib/datadog/ci.rb +16 -0
  227. data/lib/datadog/ci/configuration/components.rb +30 -0
  228. data/lib/datadog/ci/configuration/settings.rb +36 -0
  229. data/lib/datadog/ci/context_flush.rb +28 -0
  230. data/lib/datadog/ci/contrib/cucumber/configuration/settings.rb +30 -0
  231. data/lib/datadog/ci/contrib/cucumber/ext.rb +19 -0
  232. data/lib/datadog/ci/contrib/cucumber/formatter.rb +97 -0
  233. data/lib/datadog/ci/contrib/cucumber/instrumentation.rb +26 -0
  234. data/lib/datadog/ci/contrib/cucumber/integration.rb +47 -0
  235. data/lib/datadog/ci/contrib/cucumber/patcher.rb +25 -0
  236. data/lib/datadog/ci/contrib/rspec/configuration/settings.rb +30 -0
  237. data/lib/datadog/ci/contrib/rspec/example.rb +73 -0
  238. data/lib/datadog/ci/contrib/rspec/ext.rb +18 -0
  239. data/lib/datadog/ci/contrib/rspec/integration.rb +48 -0
  240. data/lib/datadog/ci/contrib/rspec/patcher.rb +25 -0
  241. data/lib/datadog/ci/ext/app_types.rb +9 -0
  242. data/lib/datadog/ci/ext/environment.rb +303 -0
  243. data/lib/datadog/ci/ext/settings.rb +10 -0
  244. data/lib/datadog/ci/ext/test.rb +28 -0
  245. data/lib/datadog/ci/extensions.rb +17 -0
  246. data/lib/datadog/ci/test.rb +63 -0
  247. data/lib/ddtrace.rb +0 -2
  248. data/lib/ddtrace/configuration.rb +1 -23
  249. data/lib/ddtrace/configuration/agent_settings_resolver.rb +8 -19
  250. data/lib/ddtrace/configuration/base.rb +6 -9
  251. data/lib/ddtrace/configuration/components.rb +33 -10
  252. data/lib/ddtrace/configuration/options.rb +2 -2
  253. data/lib/ddtrace/configuration/settings.rb +49 -1
  254. data/lib/ddtrace/context.rb +17 -14
  255. data/lib/ddtrace/context_flush.rb +14 -2
  256. data/lib/ddtrace/contrib/action_cable/event.rb +4 -4
  257. data/lib/ddtrace/contrib/action_pack/action_controller/patcher.rb +1 -1
  258. data/lib/ddtrace/contrib/action_view/event.rb +2 -2
  259. data/lib/ddtrace/contrib/action_view/patcher.rb +4 -4
  260. data/lib/ddtrace/contrib/active_model_serializers/event.rb +2 -2
  261. data/lib/ddtrace/contrib/active_record/event.rb +2 -2
  262. data/lib/ddtrace/contrib/active_support/cache/patcher.rb +7 -7
  263. data/lib/ddtrace/contrib/active_support/cache/redis.rb +1 -5
  264. data/lib/ddtrace/contrib/active_support/notifications/event.rb +2 -2
  265. data/lib/ddtrace/contrib/active_support/notifications/subscriber.rb +1 -1
  266. data/lib/ddtrace/contrib/auto_instrument.rb +1 -1
  267. data/lib/ddtrace/contrib/aws/instrumentation.rb +29 -0
  268. data/lib/ddtrace/contrib/aws/patcher.rb +4 -0
  269. data/lib/ddtrace/contrib/concurrent_ruby/patcher.rb +1 -1
  270. data/lib/ddtrace/contrib/configurable.rb +1 -1
  271. data/lib/ddtrace/contrib/dalli/instrumentation.rb +1 -1
  272. data/lib/ddtrace/contrib/dalli/patcher.rb +1 -1
  273. data/lib/ddtrace/contrib/ethon/easy_patch.rb +1 -1
  274. data/lib/ddtrace/contrib/ethon/multi_patch.rb +1 -1
  275. data/lib/ddtrace/contrib/ethon/patcher.rb +2 -2
  276. data/lib/ddtrace/contrib/extensions.rb +3 -3
  277. data/lib/ddtrace/contrib/faraday/patcher.rb +2 -2
  278. data/lib/ddtrace/contrib/grape/instrumentation.rb +2 -2
  279. data/lib/ddtrace/contrib/grape/patcher.rb +1 -1
  280. data/lib/ddtrace/contrib/grpc/patcher.rb +1 -1
  281. data/lib/ddtrace/contrib/http/instrumentation.rb +1 -1
  282. data/lib/ddtrace/contrib/http/patcher.rb +1 -1
  283. data/lib/ddtrace/contrib/httpclient/instrumentation.rb +1 -1
  284. data/lib/ddtrace/contrib/httpclient/patcher.rb +1 -1
  285. data/lib/ddtrace/contrib/httprb/instrumentation.rb +1 -1
  286. data/lib/ddtrace/contrib/httprb/patcher.rb +1 -1
  287. data/lib/ddtrace/contrib/integration.rb +3 -3
  288. data/lib/ddtrace/contrib/kafka/event.rb +2 -2
  289. data/lib/ddtrace/contrib/mongodb/instrumentation.rb +2 -2
  290. data/lib/ddtrace/contrib/mongodb/patcher.rb +2 -2
  291. data/lib/ddtrace/contrib/mysql2/instrumentation.rb +1 -1
  292. data/lib/ddtrace/contrib/mysql2/patcher.rb +1 -1
  293. data/lib/ddtrace/contrib/patchable.rb +2 -2
  294. data/lib/ddtrace/contrib/patcher.rb +2 -2
  295. data/lib/ddtrace/contrib/presto/instrumentation.rb +1 -1
  296. data/lib/ddtrace/contrib/presto/patcher.rb +1 -1
  297. data/lib/ddtrace/contrib/qless/patcher.rb +3 -5
  298. data/lib/ddtrace/contrib/racecar/event.rb +2 -2
  299. data/lib/ddtrace/contrib/rake/instrumentation.rb +1 -1
  300. data/lib/ddtrace/contrib/rake/patcher.rb +1 -1
  301. data/lib/ddtrace/contrib/registerable.rb +2 -2
  302. data/lib/ddtrace/contrib/resque/patcher.rb +1 -1
  303. data/lib/ddtrace/contrib/rest_client/patcher.rb +1 -1
  304. data/lib/ddtrace/contrib/rest_client/request_patch.rb +1 -1
  305. data/lib/ddtrace/contrib/sequel/database.rb +1 -1
  306. data/lib/ddtrace/contrib/sequel/dataset.rb +1 -1
  307. data/lib/ddtrace/contrib/sequel/patcher.rb +2 -2
  308. data/lib/ddtrace/contrib/sinatra/patcher.rb +1 -1
  309. data/lib/ddtrace/contrib/sucker_punch/exception_handler.rb +4 -6
  310. data/lib/ddtrace/diagnostics/environment_logger.rb +2 -2
  311. data/lib/ddtrace/error.rb +52 -61
  312. data/lib/ddtrace/ext/app_types.rb +0 -1
  313. data/lib/ddtrace/ext/test.rb +2 -18
  314. data/lib/ddtrace/metrics.rb +28 -3
  315. data/lib/ddtrace/opentelemetry/extensions.rb +1 -1
  316. data/lib/ddtrace/opentracer.rb +20 -39
  317. data/lib/ddtrace/patcher.rb +2 -2
  318. data/lib/ddtrace/profiling.rb +11 -9
  319. data/lib/ddtrace/profiling/collectors/stack.rb +5 -2
  320. data/lib/ddtrace/profiling/encoding/profile.rb +6 -0
  321. data/lib/ddtrace/profiling/ext/cpu.rb +2 -2
  322. data/lib/ddtrace/profiling/ext/cthread.rb +9 -11
  323. data/lib/ddtrace/profiling/ext/forking.rb +7 -7
  324. data/lib/ddtrace/profiling/flush.rb +3 -1
  325. data/lib/ddtrace/profiling/pprof/builder.rb +26 -28
  326. data/lib/ddtrace/profiling/pprof/converter.rb +4 -0
  327. data/lib/ddtrace/profiling/pprof/stack_sample.rb +17 -1
  328. data/lib/ddtrace/profiling/pprof/template.rb +4 -0
  329. data/lib/ddtrace/profiling/scheduler.rb +12 -1
  330. data/lib/ddtrace/profiling/tasks/setup.rb +13 -13
  331. data/lib/ddtrace/profiling/transport/http/api/endpoint.rb +11 -2
  332. data/lib/ddtrace/runtime/metrics.rb +3 -5
  333. data/lib/ddtrace/sync_writer.rb +2 -1
  334. data/lib/ddtrace/tracer.rb +8 -4
  335. data/lib/ddtrace/transport/http/statistics.rb +2 -2
  336. data/lib/ddtrace/transport/http/traces.rb +3 -3
  337. data/lib/ddtrace/transport/io/traces.rb +1 -1
  338. data/lib/ddtrace/utils/forking.rb +1 -1
  339. data/lib/ddtrace/utils/object_set.rb +3 -5
  340. data/lib/ddtrace/utils/time.rb +1 -3
  341. data/lib/ddtrace/version.rb +2 -4
  342. data/lib/ddtrace/workers.rb +1 -1
  343. data/lib/ddtrace/workers/async.rb +3 -2
  344. data/lib/ddtrace/workers/loop.rb +1 -1
  345. data/lib/ddtrace/workers/polling.rb +11 -5
  346. data/lib/ddtrace/workers/queue.rb +1 -1
  347. metadata +48 -34
  348. data/.circleci/images/primary/Dockerfile-2.0.0 +0 -83
  349. data/gemfiles/ruby_2.0.0_contrib_old.gemfile +0 -64
  350. data/gemfiles/ruby_2.0.0_contrib_old.gemfile.lock +0 -290
  351. data/gemfiles/ruby_2.0.0_core_old.gemfile +0 -33
  352. data/gemfiles/ruby_2.0.0_core_old.gemfile.lock +0 -118
  353. data/gemfiles/ruby_2.0.0_rails30_postgres.gemfile +0 -39
  354. data/gemfiles/ruby_2.0.0_rails30_postgres.gemfile.lock +0 -196
  355. data/gemfiles/ruby_2.0.0_rails30_postgres_sidekiq.gemfile +0 -40
  356. data/gemfiles/ruby_2.0.0_rails30_postgres_sidekiq.gemfile.lock +0 -205
  357. data/gemfiles/ruby_2.0.0_rails32_mysql2.gemfile +0 -43
  358. data/gemfiles/ruby_2.0.0_rails32_mysql2.gemfile.lock +0 -217
  359. data/gemfiles/ruby_2.0.0_rails32_postgres.gemfile +0 -39
  360. data/gemfiles/ruby_2.0.0_rails32_postgres.gemfile.lock +0 -204
  361. data/gemfiles/ruby_2.0.0_rails32_postgres_redis.gemfile +0 -41
  362. data/gemfiles/ruby_2.0.0_rails32_postgres_redis.gemfile.lock +0 -223
  363. data/gemfiles/ruby_2.0.0_rails32_postgres_sidekiq.gemfile +0 -40
  364. data/gemfiles/ruby_2.0.0_rails32_postgres_sidekiq.gemfile.lock +0 -213
  365. data/integration/images/ruby/2.0/Dockerfile +0 -54
  366. data/lib/ddtrace/contrib/cucumber/configuration/settings.rb +0 -28
  367. data/lib/ddtrace/contrib/cucumber/ext.rb +0 -17
  368. data/lib/ddtrace/contrib/cucumber/formatter.rb +0 -98
  369. data/lib/ddtrace/contrib/cucumber/instrumentation.rb +0 -24
  370. data/lib/ddtrace/contrib/cucumber/integration.rb +0 -45
  371. data/lib/ddtrace/contrib/cucumber/patcher.rb +0 -23
  372. data/lib/ddtrace/contrib/rspec/configuration/settings.rb +0 -28
  373. data/lib/ddtrace/contrib/rspec/example.rb +0 -75
  374. data/lib/ddtrace/contrib/rspec/ext.rb +0 -16
  375. data/lib/ddtrace/contrib/rspec/integration.rb +0 -46
  376. data/lib/ddtrace/contrib/rspec/patcher.rb +0 -23
  377. data/lib/ddtrace/ext/ci.rb +0 -297
data/CHANGELOG.md CHANGED
@@ -2,6 +2,34 @@
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## [0.50.0] - 2021-06-07
6
+
7
+ Release notes: https://github.com/DataDog/dd-trace-rb/releases/tag/v0.50.0
8
+
9
+ Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.49.0...v0.50.0
10
+
11
+ ### Added
12
+
13
+ - Add warning, update documentation, for incompatible dogstastd-ruby version ([#1544][][#1533][])
14
+ - Add CI mode and Test mode feature ([#1504][])
15
+ - Add Gem.loaded_specs fallback behavior if protobuf or dogstatsd-ruby already loaded([#1506][][#1510][])
16
+
17
+ ### Changed
18
+
19
+ - Declare EOL for Ruby 2.0 support ([#1534][])
20
+ - Rename Thread#native_thread_id to #pthread_thread_id to avoid conflict with Ruby 3.1 ([#1537][])
21
+
22
+ ### Fixed
23
+
24
+ - Fix tracer ignoring value for service tag (service.name) in DD_TAGS ([#1543][])
25
+ - Fix nested error reporting to correctly walk clause chain ([#1535][])
26
+ - Fix AWS integration to prevent S3 URL presigning from generating a remote request span ([#1494][])
27
+ - Fix backtrace handling of exception classes that return nil message ([#1500][]) ([@masato-hi][])
28
+
29
+ ### Refactored
30
+
31
+ - Cleanup Ruby 2.0 Code (dropping Ruby 2.0 support) ([#1529][][#1523][][#1524][][#1509][][#1507][][#1503][][#1502][])
32
+
5
33
  ## [0.49.0] - 2021-05-12
6
34
 
7
35
  Release notes: https://github.com/DataDog/dd-trace-rb/releases/tag/v0.49.0
@@ -2371,8 +2399,26 @@ Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.3.0...v0.3.1
2371
2399
  [#1480]: https://github.com/DataDog/dd-trace-rb/issues/1480
2372
2400
  [#1487]: https://github.com/DataDog/dd-trace-rb/issues/1487
2373
2401
  [#1489]: https://github.com/DataDog/dd-trace-rb/issues/1489
2402
+ [#1494]: https://github.com/DataDog/dd-trace-rb/issues/1494
2374
2403
  [#1495]: https://github.com/DataDog/dd-trace-rb/issues/1495
2375
2404
  [#1497]: https://github.com/DataDog/dd-trace-rb/issues/1497
2405
+ [#1500]: https://github.com/DataDog/dd-trace-rb/issues/1500
2406
+ [#1502]: https://github.com/DataDog/dd-trace-rb/issues/1502
2407
+ [#1503]: https://github.com/DataDog/dd-trace-rb/issues/1503
2408
+ [#1504]: https://github.com/DataDog/dd-trace-rb/issues/1504
2409
+ [#1506]: https://github.com/DataDog/dd-trace-rb/issues/1506
2410
+ [#1507]: https://github.com/DataDog/dd-trace-rb/issues/1507
2411
+ [#1509]: https://github.com/DataDog/dd-trace-rb/issues/1509
2412
+ [#1510]: https://github.com/DataDog/dd-trace-rb/issues/1510
2413
+ [#1523]: https://github.com/DataDog/dd-trace-rb/issues/1523
2414
+ [#1524]: https://github.com/DataDog/dd-trace-rb/issues/1524
2415
+ [#1529]: https://github.com/DataDog/dd-trace-rb/issues/1529
2416
+ [#1533]: https://github.com/DataDog/dd-trace-rb/issues/1533
2417
+ [#1534]: https://github.com/DataDog/dd-trace-rb/issues/1534
2418
+ [#1535]: https://github.com/DataDog/dd-trace-rb/issues/1535
2419
+ [#1537]: https://github.com/DataDog/dd-trace-rb/issues/1537
2420
+ [#1543]: https://github.com/DataDog/dd-trace-rb/issues/1543
2421
+ [#1544]: https://github.com/DataDog/dd-trace-rb/issues/1544
2376
2422
  [@AdrianLC]: https://github.com/AdrianLC
2377
2423
  [@Azure7111]: https://github.com/Azure7111
2378
2424
  [@BabyGroot]: https://github.com/BabyGroot
@@ -2448,6 +2494,7 @@ Git diff: https://github.com/DataDog/dd-trace-rb/compare/v0.3.0...v0.3.1
2448
2494
  [@link04]: https://github.com/link04
2449
2495
  [@lloeki]: https://github.com/lloeki
2450
2496
  [@mantrala]: https://github.com/mantrala
2497
+ [@masato-hi]: https://github.com/masato-hi
2451
2498
  [@matchbookmac]: https://github.com/matchbookmac
2452
2499
  [@mberlanda]: https://github.com/mberlanda
2453
2500
  [@mdehoog]: https://github.com/mdehoog
data/Rakefile CHANGED
@@ -19,8 +19,6 @@ namespace :spec do
19
19
  t.pattern = 'spec/**/*_spec.rb'
20
20
  t.exclude_pattern = 'spec/**/{contrib,benchmark,redis,opentracer,opentelemetry,auto_instrument}/**/*_spec.rb,'\
21
21
  ' spec/**/auto_instrument_spec.rb'
22
- # Profiler is Ruby 2.1+ only
23
- t.exclude_pattern += ',spec/**/profiling/**/*_spec.rb' if Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.1.0')
24
22
  t.rspec_opts = args.to_a.join(' ')
25
23
  end
26
24
 
@@ -89,6 +87,7 @@ namespace :spec do
89
87
  t.rspec_opts = args.to_a.join(' ')
90
88
  end
91
89
 
90
+ # Datadog Tracing integrations
92
91
  [
93
92
  :action_cable,
94
93
  :action_pack,
@@ -137,6 +136,17 @@ namespace :spec do
137
136
  t.rspec_opts = args.to_a.join(' ')
138
137
  end
139
138
  end
139
+
140
+ # Datadog CI integrations
141
+ [
142
+ :cucumber,
143
+ :rspec
144
+ ].each do |contrib|
145
+ RSpec::Core::RakeTask.new(contrib) do |t, args|
146
+ t.pattern = "spec/datadog/ci/contrib/#{contrib}/**/*_spec.rb"
147
+ t.rspec_opts = args.to_a.join(' ')
148
+ end
149
+ end
140
150
  end
141
151
 
142
152
  namespace :test do
@@ -214,63 +224,6 @@ desc 'CI task; it runs all tests for current version of Ruby'
214
224
  task :ci do
215
225
  if Gem::Version.new(RUBY_VERSION) < Gem::Version.new(Datadog::VERSION::MINIMUM_RUBY_VERSION)
216
226
  raise NotImplementedError, "Ruby versions < #{Datadog::VERSION::MINIMUM_RUBY_VERSION} are not supported!"
217
- elsif Gem::Version.new('2.0.0') <= Gem::Version.new(RUBY_VERSION) \
218
- && Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.1.0')
219
- # Main library
220
- declare 'bundle exec rake test:main'
221
- declare 'bundle exec rake spec:main'
222
- declare 'bundle exec appraisal core-old rake spec:main'
223
- declare 'bundle exec rake spec:contrib'
224
-
225
- if RUBY_PLATFORM != 'java'
226
- # Contrib specs
227
- declare 'bundle exec appraisal contrib-old rake spec:active_model_serializers'
228
- declare 'bundle exec appraisal contrib-old rake spec:active_record'
229
- declare 'bundle exec appraisal contrib-old rake spec:active_support'
230
- declare 'bundle exec appraisal contrib-old rake spec:autoinstrument'
231
- declare 'bundle exec appraisal contrib-old rake spec:aws'
232
- declare 'bundle exec appraisal contrib-old rake spec:concurrent_ruby'
233
- declare 'bundle exec appraisal contrib-old rake spec:dalli'
234
- declare 'bundle exec appraisal contrib-old rake spec:delayed_job'
235
- declare 'bundle exec appraisal contrib-old rake spec:elasticsearch'
236
- declare 'bundle exec appraisal contrib-old rake spec:ethon'
237
- declare 'bundle exec appraisal contrib-old rake spec:excon'
238
- declare 'bundle exec appraisal contrib-old rake spec:faraday'
239
- declare 'bundle exec appraisal contrib-old rake spec:http'
240
- declare 'bundle exec appraisal contrib-old rake spec:httpclient'
241
- declare 'bundle exec appraisal contrib-old rake spec:httprb'
242
- declare 'bundle exec appraisal contrib-old rake spec:mongodb'
243
- declare 'bundle exec appraisal contrib-old rake spec:mysql2'
244
- declare 'bundle exec appraisal contrib-old rake spec:rack'
245
- declare 'bundle exec appraisal contrib-old rake spec:rake'
246
- declare 'bundle exec appraisal contrib-old rake spec:redis'
247
- declare 'bundle exec appraisal contrib-old rake spec:resque'
248
- declare 'bundle exec appraisal contrib-old rake spec:rest_client'
249
- declare 'bundle exec appraisal contrib-old rake spec:rspec'
250
- declare 'bundle exec appraisal contrib-old rake spec:sequel'
251
- declare 'bundle exec appraisal contrib-old rake spec:sidekiq'
252
- declare 'bundle exec appraisal contrib-old rake spec:sinatra'
253
- declare 'bundle exec appraisal contrib-old rake spec:sucker_punch'
254
- declare 'bundle exec appraisal contrib-old rake spec:suite'
255
- # Rails minitests
256
- declare 'bundle exec appraisal rails30-postgres rake test:rails'
257
- declare 'bundle exec appraisal rails30-postgres rake spec:railsdisableenv'
258
- declare 'bundle exec appraisal rails30-postgres rake spec:railsautoinstrument'
259
- declare 'bundle exec appraisal rails32-mysql2 rake test:rails'
260
- declare 'bundle exec appraisal rails32-postgres rake test:rails'
261
- declare 'bundle exec appraisal rails32-postgres-redis rake spec:railsredis'
262
- declare 'bundle exec appraisal rails32-postgres rake spec:railsdisableenv'
263
- declare 'bundle exec appraisal rails32-postgres rake spec:railsautoinstrument'
264
- # Rails specs
265
- declare 'bundle exec appraisal rails30-postgres rake spec:rails'
266
- declare 'bundle exec appraisal rails32-mysql2 rake spec:rails'
267
- declare 'bundle exec appraisal rails32-postgres rake spec:rails'
268
- # Rails suite specs
269
- declare 'bundle exec appraisal rails32-postgres rake spec:action_pack'
270
- declare 'bundle exec appraisal rails32-postgres rake spec:action_view'
271
- declare 'bundle exec appraisal rails32-mysql2 rake spec:active_record'
272
- declare 'bundle exec appraisal rails32-postgres rake spec:active_support'
273
- end
274
227
  elsif Gem::Version.new('2.1.0') <= Gem::Version.new(RUBY_VERSION) \
275
228
  && Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.2.0')
276
229
  # Main library
@@ -280,64 +233,62 @@ task :ci do
280
233
  declare 'bundle exec rake spec:contrib'
281
234
  declare 'bundle exec rake spec:opentracer'
282
235
 
283
- if RUBY_PLATFORM != 'java'
284
- # Contrib specs
285
- declare 'bundle exec appraisal contrib-old rake spec:active_model_serializers'
286
- declare 'bundle exec appraisal contrib-old rake spec:active_record'
287
- declare 'bundle exec appraisal contrib-old rake spec:active_support'
288
- declare 'bundle exec appraisal contrib-old rake spec:autoinstrument'
289
- declare 'bundle exec appraisal contrib-old rake spec:aws'
290
- declare 'bundle exec appraisal contrib-old rake spec:concurrent_ruby'
291
- declare 'bundle exec appraisal contrib-old rake spec:dalli'
292
- declare 'bundle exec appraisal contrib-old rake spec:delayed_job'
293
- declare 'bundle exec appraisal contrib-old rake spec:elasticsearch'
294
- declare 'bundle exec appraisal contrib-old rake spec:ethon'
295
- declare 'bundle exec appraisal contrib-old rake spec:excon'
296
- declare 'bundle exec appraisal contrib-old rake spec:faraday'
297
- declare 'bundle exec appraisal contrib-old rake spec:http'
298
- declare 'bundle exec appraisal contrib-old rake spec:httpclient'
299
- declare 'bundle exec appraisal contrib-old rake spec:httprb'
300
- declare 'bundle exec appraisal contrib-old rake spec:kafka'
301
- declare 'bundle exec appraisal contrib-old rake spec:mongodb'
302
- declare 'bundle exec appraisal contrib-old rake spec:mysql2'
303
- declare 'bundle exec appraisal contrib-old rake spec:presto'
304
- declare 'bundle exec appraisal contrib-old rake spec:rack'
305
- declare 'bundle exec appraisal contrib-old rake spec:rake'
306
- declare 'bundle exec appraisal contrib-old rake spec:redis'
307
- declare 'bundle exec appraisal contrib-old rake spec:resque'
308
- declare 'bundle exec appraisal contrib-old rake spec:rest_client'
309
- declare 'bundle exec appraisal contrib-old rake spec:rspec'
310
- declare 'bundle exec appraisal contrib-old rake spec:sequel'
311
- declare 'bundle exec appraisal contrib-old rake spec:sidekiq'
312
- declare 'bundle exec appraisal contrib-old rake spec:sinatra'
313
- declare 'bundle exec appraisal contrib-old rake spec:sucker_punch'
314
- declare 'bundle exec appraisal contrib-old rake spec:suite'
315
- # Rails minitests
316
- declare 'bundle exec appraisal rails30-postgres rake test:rails'
317
- declare 'bundle exec appraisal rails30-postgres rake spec:railsdisableenv'
318
- declare 'bundle exec appraisal rails30-postgres rake spec:railsautoinstrument'
319
- declare 'bundle exec appraisal rails32-mysql2 rake test:rails'
320
- declare 'bundle exec appraisal rails32-postgres rake test:rails'
321
- declare 'bundle exec appraisal rails32-postgres-redis rake spec:railsredis'
322
- declare 'bundle exec appraisal rails32-postgres rake spec:railsdisableenv'
323
- declare 'bundle exec appraisal rails32-postgres rake spec:railsautoinstrument'
324
- declare 'bundle exec appraisal rails4-mysql2 rake test:rails'
325
- declare 'bundle exec appraisal rails4-postgres rake test:rails'
326
- declare 'bundle exec appraisal rails4-postgres-redis rake spec:railsredis'
327
- declare 'bundle exec appraisal rails4-postgres rake spec:railsdisableenv'
328
- declare 'bundle exec appraisal rails4-postgres rake spec:railsautoinstrument'
329
- # Rails specs
330
- declare 'bundle exec appraisal rails30-postgres rake spec:rails'
331
- declare 'bundle exec appraisal rails32-mysql2 rake spec:rails'
332
- declare 'bundle exec appraisal rails32-postgres rake spec:rails'
333
- declare 'bundle exec appraisal rails4-mysql2 rake spec:rails'
334
- declare 'bundle exec appraisal rails4-postgres rake spec:rails'
335
- # Rails suite specs
336
- declare 'bundle exec appraisal rails32-postgres rake spec:action_pack'
337
- declare 'bundle exec appraisal rails32-postgres rake spec:action_view'
338
- declare 'bundle exec appraisal rails32-mysql2 rake spec:active_record'
339
- declare 'bundle exec appraisal rails32-postgres rake spec:active_support'
340
- end
236
+ # Contrib specs
237
+ declare 'bundle exec appraisal contrib-old rake spec:active_model_serializers'
238
+ declare 'bundle exec appraisal contrib-old rake spec:active_record'
239
+ declare 'bundle exec appraisal contrib-old rake spec:active_support'
240
+ declare 'bundle exec appraisal contrib-old rake spec:autoinstrument'
241
+ declare 'bundle exec appraisal contrib-old rake spec:aws'
242
+ declare 'bundle exec appraisal contrib-old rake spec:concurrent_ruby'
243
+ declare 'bundle exec appraisal contrib-old rake spec:dalli'
244
+ declare 'bundle exec appraisal contrib-old rake spec:delayed_job'
245
+ declare 'bundle exec appraisal contrib-old rake spec:elasticsearch'
246
+ declare 'bundle exec appraisal contrib-old rake spec:ethon'
247
+ declare 'bundle exec appraisal contrib-old rake spec:excon'
248
+ declare 'bundle exec appraisal contrib-old rake spec:faraday'
249
+ declare 'bundle exec appraisal contrib-old rake spec:http'
250
+ declare 'bundle exec appraisal contrib-old rake spec:httpclient'
251
+ declare 'bundle exec appraisal contrib-old rake spec:httprb'
252
+ declare 'bundle exec appraisal contrib-old rake spec:kafka'
253
+ declare 'bundle exec appraisal contrib-old rake spec:mongodb'
254
+ declare 'bundle exec appraisal contrib-old rake spec:mysql2'
255
+ declare 'bundle exec appraisal contrib-old rake spec:presto'
256
+ declare 'bundle exec appraisal contrib-old rake spec:rack'
257
+ declare 'bundle exec appraisal contrib-old rake spec:rake'
258
+ declare 'bundle exec appraisal contrib-old rake spec:redis'
259
+ declare 'bundle exec appraisal contrib-old rake spec:resque'
260
+ declare 'bundle exec appraisal contrib-old rake spec:rest_client'
261
+ declare 'bundle exec appraisal contrib-old rake spec:rspec'
262
+ declare 'bundle exec appraisal contrib-old rake spec:sequel'
263
+ declare 'bundle exec appraisal contrib-old rake spec:sidekiq'
264
+ declare 'bundle exec appraisal contrib-old rake spec:sinatra'
265
+ declare 'bundle exec appraisal contrib-old rake spec:sucker_punch'
266
+ declare 'bundle exec appraisal contrib-old rake spec:suite'
267
+ # Rails minitests
268
+ declare 'bundle exec appraisal rails30-postgres rake test:rails'
269
+ declare 'bundle exec appraisal rails30-postgres rake spec:railsdisableenv'
270
+ declare 'bundle exec appraisal rails30-postgres rake spec:railsautoinstrument'
271
+ declare 'bundle exec appraisal rails32-mysql2 rake test:rails'
272
+ declare 'bundle exec appraisal rails32-postgres rake test:rails'
273
+ declare 'bundle exec appraisal rails32-postgres-redis rake spec:railsredis'
274
+ declare 'bundle exec appraisal rails32-postgres rake spec:railsdisableenv'
275
+ declare 'bundle exec appraisal rails32-postgres rake spec:railsautoinstrument'
276
+ declare 'bundle exec appraisal rails4-mysql2 rake test:rails'
277
+ declare 'bundle exec appraisal rails4-postgres rake test:rails'
278
+ declare 'bundle exec appraisal rails4-postgres-redis rake spec:railsredis'
279
+ declare 'bundle exec appraisal rails4-postgres rake spec:railsdisableenv'
280
+ declare 'bundle exec appraisal rails4-postgres rake spec:railsautoinstrument'
281
+ # Rails specs
282
+ declare 'bundle exec appraisal rails30-postgres rake spec:rails'
283
+ declare 'bundle exec appraisal rails32-mysql2 rake spec:rails'
284
+ declare 'bundle exec appraisal rails32-postgres rake spec:rails'
285
+ declare 'bundle exec appraisal rails4-mysql2 rake spec:rails'
286
+ declare 'bundle exec appraisal rails4-postgres rake spec:rails'
287
+ # Rails suite specs
288
+ declare 'bundle exec appraisal rails32-postgres rake spec:action_pack'
289
+ declare 'bundle exec appraisal rails32-postgres rake spec:action_view'
290
+ declare 'bundle exec appraisal rails32-mysql2 rake spec:active_record'
291
+ declare 'bundle exec appraisal rails32-postgres rake spec:active_support'
341
292
  elsif Gem::Version.new('2.2.0') <= Gem::Version.new(RUBY_VERSION)\
342
293
  && Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.3.0')
343
294
  # Main library
@@ -347,80 +298,78 @@ task :ci do
347
298
  declare 'bundle exec rake spec:contrib'
348
299
  declare 'bundle exec rake spec:opentracer'
349
300
 
350
- if RUBY_PLATFORM != 'java'
351
- # Contrib minitests
352
- # Contrib specs
353
- declare 'bundle exec appraisal contrib rake spec:action_pack'
354
- declare 'bundle exec appraisal contrib rake spec:action_view'
355
- declare 'bundle exec appraisal contrib rake spec:active_model_serializers'
356
- declare 'bundle exec appraisal contrib rake spec:active_record'
357
- declare 'bundle exec appraisal contrib rake spec:active_support'
358
- declare 'bundle exec appraisal contrib rake spec:autoinstrument'
359
- declare 'bundle exec appraisal contrib rake spec:aws'
360
- declare 'bundle exec appraisal contrib rake spec:concurrent_ruby'
361
- declare 'bundle exec appraisal contrib rake spec:dalli'
362
- declare 'bundle exec appraisal contrib rake spec:delayed_job'
363
- declare 'bundle exec appraisal contrib rake spec:elasticsearch'
364
- declare 'bundle exec appraisal contrib rake spec:ethon'
365
- declare 'bundle exec appraisal contrib rake spec:excon'
366
- declare 'bundle exec appraisal contrib rake spec:faraday'
367
- declare 'bundle exec appraisal contrib rake spec:grape'
368
- declare 'bundle exec appraisal contrib rake spec:graphql'
369
- declare 'bundle exec appraisal contrib rake spec:grpc'
370
- declare 'bundle exec appraisal contrib rake spec:http'
371
- declare 'bundle exec appraisal contrib rake spec:httpclient'
372
- declare 'bundle exec appraisal contrib rake spec:httprb'
373
- declare 'bundle exec appraisal contrib rake spec:kafka'
374
- declare 'bundle exec appraisal contrib rake spec:mongodb'
375
- declare 'bundle exec appraisal contrib rake spec:mysql2'
376
- declare 'bundle exec appraisal contrib rake spec:presto'
377
- declare 'bundle exec appraisal contrib rake spec:qless'
378
- declare 'bundle exec appraisal contrib rake spec:que'
379
- declare 'bundle exec appraisal contrib rake spec:racecar'
380
- declare 'bundle exec appraisal contrib rake spec:rack'
381
- declare 'bundle exec appraisal contrib rake spec:rake'
382
- declare 'bundle exec appraisal contrib rake spec:redis'
383
- declare 'bundle exec appraisal contrib rake spec:resque'
384
- declare 'bundle exec appraisal contrib rake spec:rest_client'
385
- declare 'bundle exec appraisal contrib rake spec:rspec'
386
- declare 'bundle exec appraisal contrib rake spec:sequel'
387
- declare 'bundle exec appraisal contrib rake spec:shoryuken'
388
- declare 'bundle exec appraisal contrib rake spec:sidekiq'
389
- declare 'bundle exec appraisal contrib rake spec:sinatra'
390
- declare 'bundle exec appraisal contrib rake spec:sneakers'
391
- declare 'bundle exec appraisal contrib rake spec:sucker_punch'
392
- declare 'bundle exec appraisal contrib rake spec:suite'
393
- # Rails minitests
394
- declare 'bundle exec appraisal rails30-postgres rake test:rails'
395
- declare 'bundle exec appraisal rails30-postgres rake spec:railsdisableenv'
396
- declare 'bundle exec appraisal rails30-postgres rake spec:railsautoinstrument'
397
- declare 'bundle exec appraisal rails32-mysql2 rake test:rails'
398
- declare 'bundle exec appraisal rails32-postgres rake test:rails'
399
- declare 'bundle exec appraisal rails32-postgres-redis rake spec:railsredis'
400
- declare 'bundle exec appraisal rails32-postgres rake spec:railsdisableenv'
401
- declare 'bundle exec appraisal rails32-postgres rake spec:railsautoinstrument'
402
- declare 'bundle exec appraisal rails4-mysql2 rake test:rails'
403
- declare 'bundle exec appraisal rails4-postgres rake test:rails'
404
- declare 'bundle exec appraisal rails4-postgres-redis rake spec:railsredis'
405
- declare 'bundle exec appraisal rails4-postgres rake spec:railsdisableenv'
406
- declare 'bundle exec appraisal rails4-postgres rake spec:railsautoinstrument'
407
- declare 'bundle exec appraisal rails4-postgres-sidekiq rake spec:railsactivejob'
408
- declare 'bundle exec appraisal rails5-mysql2 rake test:rails'
409
- declare 'bundle exec appraisal rails5-postgres rake test:rails'
410
- declare 'bundle exec appraisal rails5-postgres-redis rake spec:railsredis'
411
- declare 'bundle exec appraisal rails5-postgres-redis-activesupport rake spec:railsredis'
412
- declare 'bundle exec appraisal rails5-postgres-sidekiq rake spec:railsactivejob'
413
- declare 'bundle exec appraisal rails5-postgres rake spec:railsdisableenv'
414
- declare 'bundle exec appraisal rails5-postgres rake spec:railsautoinstrument'
415
- # Rails specs
416
- declare 'bundle exec appraisal rails30-postgres rake spec:rails'
417
- declare 'bundle exec appraisal rails32-mysql2 rake spec:rails'
418
- declare 'bundle exec appraisal rails32-postgres rake spec:rails'
419
- declare 'bundle exec appraisal rails4-mysql2 rake spec:rails'
420
- declare 'bundle exec appraisal rails4-postgres rake spec:rails'
421
- declare 'bundle exec appraisal rails5-mysql2 rake spec:rails'
422
- declare 'bundle exec appraisal rails5-postgres rake spec:rails'
423
- end
301
+ # Contrib minitests
302
+ # Contrib specs
303
+ declare 'bundle exec appraisal contrib rake spec:action_pack'
304
+ declare 'bundle exec appraisal contrib rake spec:action_view'
305
+ declare 'bundle exec appraisal contrib rake spec:active_model_serializers'
306
+ declare 'bundle exec appraisal contrib rake spec:active_record'
307
+ declare 'bundle exec appraisal contrib rake spec:active_support'
308
+ declare 'bundle exec appraisal contrib rake spec:autoinstrument'
309
+ declare 'bundle exec appraisal contrib rake spec:aws'
310
+ declare 'bundle exec appraisal contrib rake spec:concurrent_ruby'
311
+ declare 'bundle exec appraisal contrib rake spec:dalli'
312
+ declare 'bundle exec appraisal contrib rake spec:delayed_job'
313
+ declare 'bundle exec appraisal contrib rake spec:elasticsearch'
314
+ declare 'bundle exec appraisal contrib rake spec:ethon'
315
+ declare 'bundle exec appraisal contrib rake spec:excon'
316
+ declare 'bundle exec appraisal contrib rake spec:faraday'
317
+ declare 'bundle exec appraisal contrib rake spec:grape'
318
+ declare 'bundle exec appraisal contrib rake spec:graphql'
319
+ declare 'bundle exec appraisal contrib rake spec:grpc'
320
+ declare 'bundle exec appraisal contrib rake spec:http'
321
+ declare 'bundle exec appraisal contrib rake spec:httpclient'
322
+ declare 'bundle exec appraisal contrib rake spec:httprb'
323
+ declare 'bundle exec appraisal contrib rake spec:kafka'
324
+ declare 'bundle exec appraisal contrib rake spec:mongodb'
325
+ declare 'bundle exec appraisal contrib rake spec:mysql2'
326
+ declare 'bundle exec appraisal contrib rake spec:presto'
327
+ declare 'bundle exec appraisal contrib rake spec:qless'
328
+ declare 'bundle exec appraisal contrib rake spec:que'
329
+ declare 'bundle exec appraisal contrib rake spec:racecar'
330
+ declare 'bundle exec appraisal contrib rake spec:rack'
331
+ declare 'bundle exec appraisal contrib rake spec:rake'
332
+ declare 'bundle exec appraisal contrib rake spec:redis'
333
+ declare 'bundle exec appraisal contrib rake spec:resque'
334
+ declare 'bundle exec appraisal contrib rake spec:rest_client'
335
+ declare 'bundle exec appraisal contrib rake spec:rspec'
336
+ declare 'bundle exec appraisal contrib rake spec:sequel'
337
+ declare 'bundle exec appraisal contrib rake spec:shoryuken'
338
+ declare 'bundle exec appraisal contrib rake spec:sidekiq'
339
+ declare 'bundle exec appraisal contrib rake spec:sinatra'
340
+ declare 'bundle exec appraisal contrib rake spec:sneakers'
341
+ declare 'bundle exec appraisal contrib rake spec:sucker_punch'
342
+ declare 'bundle exec appraisal contrib rake spec:suite'
343
+ # Rails minitests
344
+ declare 'bundle exec appraisal rails30-postgres rake test:rails'
345
+ declare 'bundle exec appraisal rails30-postgres rake spec:railsdisableenv'
346
+ declare 'bundle exec appraisal rails30-postgres rake spec:railsautoinstrument'
347
+ declare 'bundle exec appraisal rails32-mysql2 rake test:rails'
348
+ declare 'bundle exec appraisal rails32-postgres rake test:rails'
349
+ declare 'bundle exec appraisal rails32-postgres-redis rake spec:railsredis'
350
+ declare 'bundle exec appraisal rails32-postgres rake spec:railsdisableenv'
351
+ declare 'bundle exec appraisal rails32-postgres rake spec:railsautoinstrument'
352
+ declare 'bundle exec appraisal rails4-mysql2 rake test:rails'
353
+ declare 'bundle exec appraisal rails4-postgres rake test:rails'
354
+ declare 'bundle exec appraisal rails4-postgres-redis rake spec:railsredis'
355
+ declare 'bundle exec appraisal rails4-postgres rake spec:railsdisableenv'
356
+ declare 'bundle exec appraisal rails4-postgres rake spec:railsautoinstrument'
357
+ declare 'bundle exec appraisal rails4-postgres-sidekiq rake spec:railsactivejob'
358
+ declare 'bundle exec appraisal rails5-mysql2 rake test:rails'
359
+ declare 'bundle exec appraisal rails5-postgres rake test:rails'
360
+ declare 'bundle exec appraisal rails5-postgres-redis rake spec:railsredis'
361
+ declare 'bundle exec appraisal rails5-postgres-redis-activesupport rake spec:railsredis'
362
+ declare 'bundle exec appraisal rails5-postgres-sidekiq rake spec:railsactivejob'
363
+ declare 'bundle exec appraisal rails5-postgres rake spec:railsdisableenv'
364
+ declare 'bundle exec appraisal rails5-postgres rake spec:railsautoinstrument'
365
+ # Rails specs
366
+ declare 'bundle exec appraisal rails30-postgres rake spec:rails'
367
+ declare 'bundle exec appraisal rails32-mysql2 rake spec:rails'
368
+ declare 'bundle exec appraisal rails32-postgres rake spec:rails'
369
+ declare 'bundle exec appraisal rails4-mysql2 rake spec:rails'
370
+ declare 'bundle exec appraisal rails4-postgres rake spec:rails'
371
+ declare 'bundle exec appraisal rails5-mysql2 rake spec:rails'
372
+ declare 'bundle exec appraisal rails5-postgres rake spec:rails'
424
373
  elsif Gem::Version.new('2.3.0') <= Gem::Version.new(RUBY_VERSION) \
425
374
  && Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.4.0')
426
375
  # Main library
@@ -430,85 +379,83 @@ task :ci do
430
379
  declare 'bundle exec rake spec:contrib'
431
380
  declare 'bundle exec rake spec:opentracer'
432
381
 
433
- if RUBY_PLATFORM != 'java'
434
- # Contrib minitests
435
- # Contrib specs
436
- declare 'bundle exec appraisal contrib rake spec:action_pack'
437
- declare 'bundle exec appraisal contrib rake spec:action_view'
438
- declare 'bundle exec appraisal contrib rake spec:active_model_serializers'
439
- declare 'bundle exec appraisal contrib rake spec:active_record'
440
- declare 'bundle exec appraisal contrib rake spec:active_support'
441
- declare 'bundle exec appraisal contrib rake spec:autoinstrument'
442
- declare 'bundle exec appraisal contrib rake spec:aws'
443
- declare 'bundle exec appraisal contrib rake spec:concurrent_ruby'
444
- declare 'bundle exec appraisal contrib rake spec:dalli'
445
- declare 'bundle exec appraisal contrib rake spec:delayed_job'
446
- declare 'bundle exec appraisal contrib rake spec:elasticsearch'
447
- declare 'bundle exec appraisal contrib rake spec:ethon'
448
- declare 'bundle exec appraisal contrib rake spec:excon'
449
- declare 'bundle exec appraisal contrib rake spec:faraday'
450
- declare 'bundle exec appraisal contrib rake spec:grape'
451
- declare 'bundle exec appraisal contrib rake spec:graphql'
452
- declare 'bundle exec appraisal contrib rake spec:grpc'
453
- declare 'bundle exec appraisal contrib rake spec:http'
454
- declare 'bundle exec appraisal contrib rake spec:httpclient'
455
- declare 'bundle exec appraisal contrib rake spec:httprb'
456
- declare 'bundle exec appraisal contrib rake spec:kafka'
457
- declare 'bundle exec appraisal contrib rake spec:mongodb'
458
- declare 'bundle exec appraisal contrib rake spec:mysql2'
459
- declare 'bundle exec appraisal contrib rake spec:presto'
460
- declare 'bundle exec appraisal contrib rake spec:que'
461
- declare 'bundle exec appraisal contrib rake spec:racecar'
462
- declare 'bundle exec appraisal contrib rake spec:rack'
463
- declare 'bundle exec appraisal contrib rake spec:rake'
464
- declare 'bundle exec appraisal contrib rake spec:redis'
465
- declare 'bundle exec appraisal contrib rake spec:resque'
466
- declare 'bundle exec appraisal contrib rake spec:rest_client'
467
- declare 'bundle exec appraisal contrib rake spec:rspec'
468
- declare 'bundle exec appraisal contrib rake spec:sequel'
469
- declare 'bundle exec appraisal contrib rake spec:shoryuken'
470
- declare 'bundle exec appraisal contrib rake spec:sidekiq'
471
- declare 'bundle exec appraisal contrib rake spec:sinatra'
472
- declare 'bundle exec appraisal contrib rake spec:sneakers'
473
- declare 'bundle exec appraisal contrib rake spec:sucker_punch'
474
- declare 'bundle exec appraisal contrib rake spec:suite'
475
- # Contrib specs with old gem versions
476
- declare 'bundle exec appraisal contrib-old rake spec:faraday'
477
- # Rails minitests
478
- declare 'bundle exec appraisal rails30-postgres rake test:rails'
479
- declare 'bundle exec appraisal rails30-postgres rake spec:railsdisableenv'
480
- declare 'bundle exec appraisal rails30-postgres rake spec:railsautoinstrument'
481
- declare 'bundle exec appraisal rails32-mysql2 rake test:rails'
482
- declare 'bundle exec appraisal rails32-postgres rake test:rails'
483
- declare 'bundle exec appraisal rails32-postgres-redis rake spec:railsredis'
484
- declare 'bundle exec appraisal rails32-postgres rake spec:railsdisableenv'
485
- declare 'bundle exec appraisal rails32-postgres rake spec:railsautoinstrument'
486
- declare 'bundle exec appraisal rails4-mysql2 rake test:rails'
487
- declare 'bundle exec appraisal rails4-postgres rake test:rails'
488
- declare 'bundle exec appraisal rails4-postgres-redis rake spec:railsredis'
489
- declare 'bundle exec appraisal rails4-postgres rake spec:railsdisableenv'
490
- declare 'bundle exec appraisal rails4-postgres rake spec:railsautoinstrument'
491
- declare 'bundle exec appraisal rails4-postgres-sidekiq rake spec:railsactivejob'
492
- declare 'bundle exec appraisal rails5-mysql2 rake test:rails'
493
- declare 'bundle exec appraisal rails5-postgres rake test:rails'
494
- declare 'bundle exec appraisal rails5-postgres-redis rake spec:railsredis'
495
- declare 'bundle exec appraisal rails5-postgres-redis-activesupport rake spec:railsredis'
496
- declare 'bundle exec appraisal rails5-postgres-sidekiq rake spec:railsactivejob'
497
- declare 'bundle exec appraisal rails5-postgres rake spec:railsdisableenv'
498
- declare 'bundle exec appraisal rails5-postgres rake spec:railsautoinstrument'
499
- # Rails specs
500
- declare 'bundle exec appraisal rails30-postgres rake spec:rails'
501
- declare 'bundle exec appraisal rails32-mysql2 rake spec:rails'
502
- declare 'bundle exec appraisal rails32-postgres rake spec:rails'
503
- declare 'bundle exec appraisal rails4-mysql2 rake spec:rails'
504
- declare 'bundle exec appraisal rails4-postgres rake spec:rails'
505
- declare 'bundle exec appraisal rails5-mysql2 rake spec:rails'
506
- declare 'bundle exec appraisal rails5-postgres rake spec:rails'
382
+ # Contrib minitests
383
+ # Contrib specs
384
+ declare 'bundle exec appraisal contrib rake spec:action_pack'
385
+ declare 'bundle exec appraisal contrib rake spec:action_view'
386
+ declare 'bundle exec appraisal contrib rake spec:active_model_serializers'
387
+ declare 'bundle exec appraisal contrib rake spec:active_record'
388
+ declare 'bundle exec appraisal contrib rake spec:active_support'
389
+ declare 'bundle exec appraisal contrib rake spec:autoinstrument'
390
+ declare 'bundle exec appraisal contrib rake spec:aws'
391
+ declare 'bundle exec appraisal contrib rake spec:concurrent_ruby'
392
+ declare 'bundle exec appraisal contrib rake spec:dalli'
393
+ declare 'bundle exec appraisal contrib rake spec:delayed_job'
394
+ declare 'bundle exec appraisal contrib rake spec:elasticsearch'
395
+ declare 'bundle exec appraisal contrib rake spec:ethon'
396
+ declare 'bundle exec appraisal contrib rake spec:excon'
397
+ declare 'bundle exec appraisal contrib rake spec:faraday'
398
+ declare 'bundle exec appraisal contrib rake spec:grape'
399
+ declare 'bundle exec appraisal contrib rake spec:graphql'
400
+ declare 'bundle exec appraisal contrib rake spec:grpc'
401
+ declare 'bundle exec appraisal contrib rake spec:http'
402
+ declare 'bundle exec appraisal contrib rake spec:httpclient'
403
+ declare 'bundle exec appraisal contrib rake spec:httprb'
404
+ declare 'bundle exec appraisal contrib rake spec:kafka'
405
+ declare 'bundle exec appraisal contrib rake spec:mongodb'
406
+ declare 'bundle exec appraisal contrib rake spec:mysql2'
407
+ declare 'bundle exec appraisal contrib rake spec:presto'
408
+ declare 'bundle exec appraisal contrib rake spec:que'
409
+ declare 'bundle exec appraisal contrib rake spec:racecar'
410
+ declare 'bundle exec appraisal contrib rake spec:rack'
411
+ declare 'bundle exec appraisal contrib rake spec:rake'
412
+ declare 'bundle exec appraisal contrib rake spec:redis'
413
+ declare 'bundle exec appraisal contrib rake spec:resque'
414
+ declare 'bundle exec appraisal contrib rake spec:rest_client'
415
+ declare 'bundle exec appraisal contrib rake spec:rspec'
416
+ declare 'bundle exec appraisal contrib rake spec:sequel'
417
+ declare 'bundle exec appraisal contrib rake spec:shoryuken'
418
+ declare 'bundle exec appraisal contrib rake spec:sidekiq'
419
+ declare 'bundle exec appraisal contrib rake spec:sinatra'
420
+ declare 'bundle exec appraisal contrib rake spec:sneakers'
421
+ declare 'bundle exec appraisal contrib rake spec:sucker_punch'
422
+ declare 'bundle exec appraisal contrib rake spec:suite'
423
+ # Contrib specs with old gem versions
424
+ declare 'bundle exec appraisal contrib-old rake spec:faraday'
425
+ # Rails minitests
426
+ declare 'bundle exec appraisal rails30-postgres rake test:rails'
427
+ declare 'bundle exec appraisal rails30-postgres rake spec:railsdisableenv'
428
+ declare 'bundle exec appraisal rails30-postgres rake spec:railsautoinstrument'
429
+ declare 'bundle exec appraisal rails32-mysql2 rake test:rails'
430
+ declare 'bundle exec appraisal rails32-postgres rake test:rails'
431
+ declare 'bundle exec appraisal rails32-postgres-redis rake spec:railsredis'
432
+ declare 'bundle exec appraisal rails32-postgres rake spec:railsdisableenv'
433
+ declare 'bundle exec appraisal rails32-postgres rake spec:railsautoinstrument'
434
+ declare 'bundle exec appraisal rails4-mysql2 rake test:rails'
435
+ declare 'bundle exec appraisal rails4-postgres rake test:rails'
436
+ declare 'bundle exec appraisal rails4-postgres-redis rake spec:railsredis'
437
+ declare 'bundle exec appraisal rails4-postgres rake spec:railsdisableenv'
438
+ declare 'bundle exec appraisal rails4-postgres rake spec:railsautoinstrument'
439
+ declare 'bundle exec appraisal rails4-postgres-sidekiq rake spec:railsactivejob'
440
+ declare 'bundle exec appraisal rails5-mysql2 rake test:rails'
441
+ declare 'bundle exec appraisal rails5-postgres rake test:rails'
442
+ declare 'bundle exec appraisal rails5-postgres-redis rake spec:railsredis'
443
+ declare 'bundle exec appraisal rails5-postgres-redis-activesupport rake spec:railsredis'
444
+ declare 'bundle exec appraisal rails5-postgres-sidekiq rake spec:railsactivejob'
445
+ declare 'bundle exec appraisal rails5-postgres rake spec:railsdisableenv'
446
+ declare 'bundle exec appraisal rails5-postgres rake spec:railsautoinstrument'
447
+ # Rails specs
448
+ declare 'bundle exec appraisal rails30-postgres rake spec:rails'
449
+ declare 'bundle exec appraisal rails32-mysql2 rake spec:rails'
450
+ declare 'bundle exec appraisal rails32-postgres rake spec:rails'
451
+ declare 'bundle exec appraisal rails4-mysql2 rake spec:rails'
452
+ declare 'bundle exec appraisal rails4-postgres rake spec:rails'
453
+ declare 'bundle exec appraisal rails5-mysql2 rake spec:rails'
454
+ declare 'bundle exec appraisal rails5-postgres rake spec:rails'
507
455
 
508
- # explicitly test resque-2x compatability
509
- declare 'bundle exec appraisal resque2-redis3 rake spec:resque'
510
- declare 'bundle exec appraisal resque2-redis4 rake spec:resque'
511
- end
456
+ # explicitly test resque-2x compatability
457
+ declare 'bundle exec appraisal resque2-redis3 rake spec:resque'
458
+ declare 'bundle exec appraisal resque2-redis4 rake spec:resque'
512
459
  elsif Gem::Version.new('2.4.0') <= Gem::Version.new(RUBY_VERSION) \
513
460
  && Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.5.0')
514
461
  # Main library
@@ -519,71 +466,69 @@ task :ci do
519
466
  declare 'bundle exec rake spec:opentracer'
520
467
  declare 'bundle exec rake spec:opentelemetry'
521
468
 
522
- if RUBY_PLATFORM != 'java'
523
- # Contrib minitests
524
- # Contrib specs
525
- declare 'bundle exec appraisal contrib rake spec:action_pack'
526
- declare 'bundle exec appraisal contrib rake spec:action_view'
527
- declare 'bundle exec appraisal contrib rake spec:active_model_serializers'
528
- declare 'bundle exec appraisal contrib rake spec:active_record'
529
- declare 'bundle exec appraisal contrib rake spec:active_support'
530
- declare 'bundle exec appraisal contrib rake spec:autoinstrument'
531
- declare 'bundle exec appraisal contrib rake spec:aws'
532
- declare 'bundle exec appraisal contrib rake spec:concurrent_ruby'
533
- declare 'bundle exec appraisal contrib rake spec:dalli'
534
- declare 'bundle exec appraisal contrib rake spec:delayed_job'
535
- declare 'bundle exec appraisal contrib rake spec:elasticsearch'
536
- declare 'bundle exec appraisal contrib rake spec:ethon'
537
- declare 'bundle exec appraisal contrib rake spec:excon'
538
- declare 'bundle exec appraisal contrib rake spec:faraday'
539
- declare 'bundle exec appraisal contrib rake spec:grape'
540
- declare 'bundle exec appraisal contrib rake spec:graphql'
541
- declare 'bundle exec appraisal contrib rake spec:grpc'
542
- declare 'bundle exec appraisal contrib rake spec:http'
543
- declare 'bundle exec appraisal contrib rake spec:httpclient'
544
- declare 'bundle exec appraisal contrib rake spec:httprb'
545
- declare 'bundle exec appraisal contrib rake spec:kafka'
546
- declare 'bundle exec appraisal contrib rake spec:mongodb'
547
- declare 'bundle exec appraisal contrib rake spec:mysql2'
548
- declare 'bundle exec appraisal contrib rake spec:presto'
549
- declare 'bundle exec appraisal contrib rake spec:que'
550
- declare 'bundle exec appraisal contrib rake spec:racecar'
551
- declare 'bundle exec appraisal contrib rake spec:rack'
552
- declare 'bundle exec appraisal contrib rake spec:rake'
553
- declare 'bundle exec appraisal contrib rake spec:redis'
554
- declare 'bundle exec appraisal contrib rake spec:resque'
555
- declare 'bundle exec appraisal contrib rake spec:rest_client'
556
- declare 'bundle exec appraisal contrib rake spec:rspec'
557
- declare 'bundle exec appraisal contrib rake spec:sequel'
558
- declare 'bundle exec appraisal contrib rake spec:shoryuken'
559
- declare 'bundle exec appraisal contrib rake spec:sidekiq'
560
- declare 'bundle exec appraisal contrib rake spec:sinatra'
561
- declare 'bundle exec appraisal contrib rake spec:sneakers'
562
- declare 'bundle exec appraisal contrib rake spec:sucker_punch'
563
- declare 'bundle exec appraisal contrib rake spec:suite'
564
- # Contrib specs with old gem versions
565
- declare 'bundle exec appraisal contrib-old rake spec:faraday'
566
- # Rails minitests
567
- # We only test Rails 5+ because older versions require Bundler < 2.0
568
- declare 'bundle exec appraisal rails5-mysql2 rake test:rails'
569
- declare 'bundle exec appraisal rails5-postgres rake test:rails'
570
- declare 'bundle exec appraisal rails5-postgres-redis rake spec:railsredis'
571
- declare 'bundle exec appraisal rails5-postgres-redis-activesupport rake spec:railsredis'
572
- declare 'bundle exec appraisal rails5-postgres-sidekiq rake spec:railsactivejob'
573
- declare 'bundle exec appraisal rails5-postgres rake spec:railsdisableenv'
574
- declare 'bundle exec appraisal rails5-postgres rake spec:railsautoinstrument'
575
- # Rails specs
576
- declare 'bundle exec appraisal rails5-mysql2 rake spec:rails'
577
- declare 'bundle exec appraisal rails5-postgres rake spec:rails'
469
+ # Contrib minitests
470
+ # Contrib specs
471
+ declare 'bundle exec appraisal contrib rake spec:action_pack'
472
+ declare 'bundle exec appraisal contrib rake spec:action_view'
473
+ declare 'bundle exec appraisal contrib rake spec:active_model_serializers'
474
+ declare 'bundle exec appraisal contrib rake spec:active_record'
475
+ declare 'bundle exec appraisal contrib rake spec:active_support'
476
+ declare 'bundle exec appraisal contrib rake spec:autoinstrument'
477
+ declare 'bundle exec appraisal contrib rake spec:aws'
478
+ declare 'bundle exec appraisal contrib rake spec:concurrent_ruby'
479
+ declare 'bundle exec appraisal contrib rake spec:dalli'
480
+ declare 'bundle exec appraisal contrib rake spec:delayed_job'
481
+ declare 'bundle exec appraisal contrib rake spec:elasticsearch'
482
+ declare 'bundle exec appraisal contrib rake spec:ethon'
483
+ declare 'bundle exec appraisal contrib rake spec:excon'
484
+ declare 'bundle exec appraisal contrib rake spec:faraday'
485
+ declare 'bundle exec appraisal contrib rake spec:grape'
486
+ declare 'bundle exec appraisal contrib rake spec:graphql'
487
+ declare 'bundle exec appraisal contrib rake spec:grpc'
488
+ declare 'bundle exec appraisal contrib rake spec:http'
489
+ declare 'bundle exec appraisal contrib rake spec:httpclient'
490
+ declare 'bundle exec appraisal contrib rake spec:httprb'
491
+ declare 'bundle exec appraisal contrib rake spec:kafka'
492
+ declare 'bundle exec appraisal contrib rake spec:mongodb'
493
+ declare 'bundle exec appraisal contrib rake spec:mysql2'
494
+ declare 'bundle exec appraisal contrib rake spec:presto'
495
+ declare 'bundle exec appraisal contrib rake spec:que'
496
+ declare 'bundle exec appraisal contrib rake spec:racecar'
497
+ declare 'bundle exec appraisal contrib rake spec:rack'
498
+ declare 'bundle exec appraisal contrib rake spec:rake'
499
+ declare 'bundle exec appraisal contrib rake spec:redis'
500
+ declare 'bundle exec appraisal contrib rake spec:resque'
501
+ declare 'bundle exec appraisal contrib rake spec:rest_client'
502
+ declare 'bundle exec appraisal contrib rake spec:rspec'
503
+ declare 'bundle exec appraisal contrib rake spec:sequel'
504
+ declare 'bundle exec appraisal contrib rake spec:shoryuken'
505
+ declare 'bundle exec appraisal contrib rake spec:sidekiq'
506
+ declare 'bundle exec appraisal contrib rake spec:sinatra'
507
+ declare 'bundle exec appraisal contrib rake spec:sneakers'
508
+ declare 'bundle exec appraisal contrib rake spec:sucker_punch'
509
+ declare 'bundle exec appraisal contrib rake spec:suite'
510
+ # Contrib specs with old gem versions
511
+ declare 'bundle exec appraisal contrib-old rake spec:faraday'
512
+ # Rails minitests
513
+ # We only test Rails 5+ because older versions require Bundler < 2.0
514
+ declare 'bundle exec appraisal rails5-mysql2 rake test:rails'
515
+ declare 'bundle exec appraisal rails5-postgres rake test:rails'
516
+ declare 'bundle exec appraisal rails5-postgres-redis rake spec:railsredis'
517
+ declare 'bundle exec appraisal rails5-postgres-redis-activesupport rake spec:railsredis'
518
+ declare 'bundle exec appraisal rails5-postgres-sidekiq rake spec:railsactivejob'
519
+ declare 'bundle exec appraisal rails5-postgres rake spec:railsdisableenv'
520
+ declare 'bundle exec appraisal rails5-postgres rake spec:railsautoinstrument'
521
+ # Rails specs
522
+ declare 'bundle exec appraisal rails5-mysql2 rake spec:rails'
523
+ declare 'bundle exec appraisal rails5-postgres rake spec:rails'
578
524
 
579
- # explicitly test resque-2x compatability
580
- declare 'bundle exec appraisal resque2-redis3 rake spec:resque'
581
- declare 'bundle exec appraisal resque2-redis4 rake spec:resque'
525
+ # explicitly test resque-2x compatability
526
+ declare 'bundle exec appraisal resque2-redis3 rake spec:resque'
527
+ declare 'bundle exec appraisal resque2-redis4 rake spec:resque'
582
528
 
583
- # explicitly test cucumber compatibility
584
- declare 'bundle exec appraisal cucumber3 rake spec:cucumber'
585
- declare 'bundle exec appraisal cucumber4 rake spec:cucumber'
586
- end
529
+ # explicitly test cucumber compatibility
530
+ declare 'bundle exec appraisal cucumber3 rake spec:cucumber'
531
+ declare 'bundle exec appraisal cucumber4 rake spec:cucumber'
587
532
  elsif Gem::Version.new('2.5.0') <= Gem::Version.new(RUBY_VERSION) \
588
533
  && Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.6.0')
589
534
  # Main library
@@ -901,7 +846,7 @@ task :ci do
901
846
  declare 'bundle exec appraisal contrib rake spec:faraday'
902
847
  declare 'bundle exec appraisal contrib rake spec:grape'
903
848
  declare 'bundle exec appraisal contrib rake spec:graphql'
904
- # declare 'bundle exec appraisal contrib rake spec:grpc' # Pending https://github.com/protocolbuffers/protobuf/issues/7922
849
+ declare 'bundle exec appraisal contrib rake spec:grpc'
905
850
  declare 'bundle exec appraisal contrib rake spec:http'
906
851
  declare 'bundle exec appraisal contrib rake spec:httpclient'
907
852
  declare 'bundle exec appraisal contrib rake spec:httprb'