ddtrace 0.50.0 → 0.52.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1082) hide show
  1. checksums.yaml +4 -4
  2. data/.editorconfig +22 -0
  3. data/.gitignore +7 -0
  4. data/CHANGELOG.md +131 -0
  5. data/CONTRIBUTING.md +1 -5
  6. data/ddtrace.gemspec +10 -1
  7. data/docs/DevelopmentGuide.md +15 -0
  8. data/docs/GettingStarted.md +42 -4
  9. data/docs/ProfilingDevelopment.md +33 -14
  10. data/ext/ddtrace_profiling_native_extension/extconf.rb +28 -0
  11. data/ext/ddtrace_profiling_native_extension/profiling.c +17 -0
  12. data/lib/datadog/ci.rb +1 -0
  13. data/lib/datadog/ci/configuration/components.rb +1 -0
  14. data/lib/datadog/ci/configuration/settings.rb +1 -0
  15. data/lib/datadog/ci/context_flush.rb +1 -0
  16. data/lib/datadog/ci/contrib/cucumber/configuration/settings.rb +2 -1
  17. data/lib/datadog/ci/contrib/cucumber/ext.rb +1 -0
  18. data/lib/datadog/ci/contrib/cucumber/formatter.rb +1 -0
  19. data/lib/datadog/ci/contrib/cucumber/instrumentation.rb +1 -0
  20. data/lib/datadog/ci/contrib/cucumber/integration.rb +1 -0
  21. data/lib/datadog/ci/contrib/cucumber/patcher.rb +1 -0
  22. data/lib/datadog/ci/contrib/rspec/configuration/settings.rb +2 -1
  23. data/lib/datadog/ci/contrib/rspec/example.rb +1 -0
  24. data/lib/datadog/ci/contrib/rspec/ext.rb +1 -0
  25. data/lib/datadog/ci/contrib/rspec/integration.rb +1 -0
  26. data/lib/datadog/ci/contrib/rspec/patcher.rb +1 -0
  27. data/lib/datadog/ci/ext/app_types.rb +1 -0
  28. data/lib/datadog/ci/ext/environment.rb +229 -89
  29. data/lib/datadog/ci/ext/settings.rb +1 -0
  30. data/lib/datadog/ci/ext/test.rb +8 -1
  31. data/lib/datadog/ci/extensions.rb +1 -0
  32. data/lib/datadog/ci/test.rb +14 -0
  33. data/lib/datadog/contrib.rb +69 -0
  34. data/lib/datadog/core/environment/cgroup.rb +52 -0
  35. data/lib/datadog/core/environment/class_count.rb +20 -0
  36. data/lib/datadog/core/environment/container.rb +91 -0
  37. data/lib/datadog/core/environment/ext.rb +27 -0
  38. data/lib/datadog/core/environment/gc.rb +19 -0
  39. data/lib/datadog/core/environment/identity.rb +51 -0
  40. data/lib/datadog/core/environment/socket.rb +17 -0
  41. data/lib/datadog/core/environment/thread_count.rb +19 -0
  42. data/lib/datadog/core/environment/variable_helpers.rb +42 -0
  43. data/lib/ddtrace.rb +19 -49
  44. data/lib/ddtrace/analytics.rb +1 -0
  45. data/lib/ddtrace/auto_instrument.rb +2 -0
  46. data/lib/ddtrace/auto_instrument_base.rb +1 -0
  47. data/lib/ddtrace/buffer.rb +7 -5
  48. data/lib/ddtrace/chunker.rb +1 -0
  49. data/lib/ddtrace/configuration.rb +21 -2
  50. data/lib/ddtrace/configuration/agent_settings_resolver.rb +1 -0
  51. data/lib/ddtrace/configuration/base.rb +4 -3
  52. data/lib/ddtrace/configuration/components.rb +54 -11
  53. data/lib/ddtrace/configuration/dependency_resolver.rb +1 -0
  54. data/lib/ddtrace/configuration/option.rb +1 -0
  55. data/lib/ddtrace/configuration/option_definition.rb +1 -0
  56. data/lib/ddtrace/configuration/option_definition_set.rb +1 -0
  57. data/lib/ddtrace/configuration/option_set.rb +1 -0
  58. data/lib/ddtrace/configuration/options.rb +1 -0
  59. data/lib/ddtrace/configuration/pin_setup.rb +1 -0
  60. data/lib/ddtrace/configuration/settings.rb +24 -9
  61. data/lib/ddtrace/context.rb +1 -0
  62. data/lib/ddtrace/context_flush.rb +1 -0
  63. data/lib/ddtrace/context_provider.rb +1 -0
  64. data/lib/ddtrace/contrib/action_cable/configuration/settings.rb +1 -0
  65. data/lib/ddtrace/contrib/action_cable/event.rb +1 -0
  66. data/lib/ddtrace/contrib/action_cable/events.rb +1 -0
  67. data/lib/ddtrace/contrib/action_cable/events/broadcast.rb +1 -0
  68. data/lib/ddtrace/contrib/action_cable/events/perform_action.rb +1 -0
  69. data/lib/ddtrace/contrib/action_cable/events/transmit.rb +1 -0
  70. data/lib/ddtrace/contrib/action_cable/ext.rb +1 -0
  71. data/lib/ddtrace/contrib/action_cable/instrumentation.rb +1 -0
  72. data/lib/ddtrace/contrib/action_cable/integration.rb +1 -0
  73. data/lib/ddtrace/contrib/action_cable/patcher.rb +1 -0
  74. data/lib/ddtrace/contrib/action_pack/action_controller/instrumentation.rb +21 -10
  75. data/lib/ddtrace/contrib/action_pack/action_controller/patcher.rb +1 -0
  76. data/lib/ddtrace/contrib/action_pack/configuration/settings.rb +1 -0
  77. data/lib/ddtrace/contrib/action_pack/ext.rb +1 -0
  78. data/lib/ddtrace/contrib/action_pack/integration.rb +1 -0
  79. data/lib/ddtrace/contrib/action_pack/patcher.rb +1 -0
  80. data/lib/ddtrace/contrib/action_pack/utils.rb +1 -0
  81. data/lib/ddtrace/contrib/action_view/configuration/settings.rb +1 -0
  82. data/lib/ddtrace/contrib/action_view/event.rb +1 -0
  83. data/lib/ddtrace/contrib/action_view/events.rb +1 -0
  84. data/lib/ddtrace/contrib/action_view/events/render_partial.rb +1 -0
  85. data/lib/ddtrace/contrib/action_view/events/render_template.rb +1 -0
  86. data/lib/ddtrace/contrib/action_view/ext.rb +1 -0
  87. data/lib/ddtrace/contrib/action_view/instrumentation/partial_renderer.rb +1 -0
  88. data/lib/ddtrace/contrib/action_view/instrumentation/template_renderer.rb +1 -0
  89. data/lib/ddtrace/contrib/action_view/integration.rb +1 -0
  90. data/lib/ddtrace/contrib/action_view/patcher.rb +1 -0
  91. data/lib/ddtrace/contrib/action_view/utils.rb +1 -0
  92. data/lib/ddtrace/contrib/active_model_serializers/configuration/settings.rb +1 -0
  93. data/lib/ddtrace/contrib/active_model_serializers/event.rb +1 -0
  94. data/lib/ddtrace/contrib/active_model_serializers/events.rb +1 -0
  95. data/lib/ddtrace/contrib/active_model_serializers/events/render.rb +1 -0
  96. data/lib/ddtrace/contrib/active_model_serializers/events/serialize.rb +1 -0
  97. data/lib/ddtrace/contrib/active_model_serializers/ext.rb +1 -0
  98. data/lib/ddtrace/contrib/active_model_serializers/integration.rb +1 -0
  99. data/lib/ddtrace/contrib/active_model_serializers/patcher.rb +1 -0
  100. data/lib/ddtrace/contrib/active_record/configuration/makara_resolver.rb +1 -0
  101. data/lib/ddtrace/contrib/active_record/configuration/resolver.rb +3 -2
  102. data/lib/ddtrace/contrib/active_record/configuration/settings.rb +1 -0
  103. data/lib/ddtrace/contrib/active_record/event.rb +1 -0
  104. data/lib/ddtrace/contrib/active_record/events.rb +1 -0
  105. data/lib/ddtrace/contrib/active_record/events/instantiation.rb +1 -0
  106. data/lib/ddtrace/contrib/active_record/events/sql.rb +1 -0
  107. data/lib/ddtrace/contrib/active_record/ext.rb +1 -0
  108. data/lib/ddtrace/contrib/active_record/integration.rb +1 -0
  109. data/lib/ddtrace/contrib/active_record/patcher.rb +1 -0
  110. data/lib/ddtrace/contrib/active_record/utils.rb +4 -3
  111. data/lib/ddtrace/contrib/active_support/cache/instrumentation.rb +1 -0
  112. data/lib/ddtrace/contrib/active_support/cache/patcher.rb +1 -0
  113. data/lib/ddtrace/contrib/active_support/cache/redis.rb +1 -0
  114. data/lib/ddtrace/contrib/active_support/configuration/settings.rb +1 -0
  115. data/lib/ddtrace/contrib/active_support/ext.rb +1 -0
  116. data/lib/ddtrace/contrib/active_support/integration.rb +1 -0
  117. data/lib/ddtrace/contrib/active_support/notifications/event.rb +1 -0
  118. data/lib/ddtrace/contrib/active_support/notifications/subscriber.rb +1 -0
  119. data/lib/ddtrace/contrib/active_support/notifications/subscription.rb +1 -0
  120. data/lib/ddtrace/contrib/active_support/patcher.rb +1 -0
  121. data/lib/ddtrace/contrib/analytics.rb +1 -0
  122. data/lib/ddtrace/contrib/auto_instrument.rb +2 -1
  123. data/lib/ddtrace/contrib/aws/configuration/settings.rb +1 -0
  124. data/lib/ddtrace/contrib/aws/ext.rb +1 -0
  125. data/lib/ddtrace/contrib/aws/instrumentation.rb +1 -0
  126. data/lib/ddtrace/contrib/aws/integration.rb +1 -0
  127. data/lib/ddtrace/contrib/aws/parsed_context.rb +1 -0
  128. data/lib/ddtrace/contrib/aws/patcher.rb +2 -1
  129. data/lib/ddtrace/contrib/aws/services.rb +1 -0
  130. data/lib/ddtrace/contrib/concurrent_ruby/configuration/settings.rb +1 -0
  131. data/lib/ddtrace/contrib/concurrent_ruby/context_composite_executor_service.rb +1 -0
  132. data/lib/ddtrace/contrib/concurrent_ruby/ext.rb +1 -0
  133. data/lib/ddtrace/contrib/concurrent_ruby/future_patch.rb +1 -0
  134. data/lib/ddtrace/contrib/concurrent_ruby/integration.rb +1 -0
  135. data/lib/ddtrace/contrib/concurrent_ruby/patcher.rb +2 -0
  136. data/lib/ddtrace/contrib/configurable.rb +1 -0
  137. data/lib/ddtrace/contrib/configuration/resolver.rb +1 -0
  138. data/lib/ddtrace/contrib/configuration/resolvers/pattern_resolver.rb +1 -0
  139. data/lib/ddtrace/contrib/configuration/settings.rb +1 -0
  140. data/lib/ddtrace/contrib/dalli/configuration/settings.rb +1 -0
  141. data/lib/ddtrace/contrib/dalli/ext.rb +1 -0
  142. data/lib/ddtrace/contrib/dalli/instrumentation.rb +1 -0
  143. data/lib/ddtrace/contrib/dalli/integration.rb +1 -0
  144. data/lib/ddtrace/contrib/dalli/patcher.rb +1 -0
  145. data/lib/ddtrace/contrib/dalli/quantize.rb +1 -0
  146. data/lib/ddtrace/contrib/delayed_job/configuration/settings.rb +1 -0
  147. data/lib/ddtrace/contrib/delayed_job/ext.rb +1 -0
  148. data/lib/ddtrace/contrib/delayed_job/integration.rb +1 -0
  149. data/lib/ddtrace/contrib/delayed_job/patcher.rb +1 -0
  150. data/lib/ddtrace/contrib/delayed_job/plugin.rb +1 -0
  151. data/lib/ddtrace/contrib/elasticsearch/configuration/settings.rb +1 -0
  152. data/lib/ddtrace/contrib/elasticsearch/ext.rb +1 -0
  153. data/lib/ddtrace/contrib/elasticsearch/integration.rb +1 -0
  154. data/lib/ddtrace/contrib/elasticsearch/patcher.rb +1 -0
  155. data/lib/ddtrace/contrib/elasticsearch/quantize.rb +3 -0
  156. data/lib/ddtrace/contrib/ethon/configuration/settings.rb +1 -0
  157. data/lib/ddtrace/contrib/ethon/easy_patch.rb +1 -0
  158. data/lib/ddtrace/contrib/ethon/ext.rb +1 -0
  159. data/lib/ddtrace/contrib/ethon/integration.rb +1 -0
  160. data/lib/ddtrace/contrib/ethon/multi_patch.rb +1 -0
  161. data/lib/ddtrace/contrib/ethon/patcher.rb +2 -0
  162. data/lib/ddtrace/contrib/excon/configuration/settings.rb +1 -0
  163. data/lib/ddtrace/contrib/excon/ext.rb +1 -0
  164. data/lib/ddtrace/contrib/excon/integration.rb +1 -0
  165. data/lib/ddtrace/contrib/excon/middleware.rb +1 -0
  166. data/lib/ddtrace/contrib/excon/patcher.rb +1 -0
  167. data/lib/ddtrace/contrib/extensions.rb +37 -11
  168. data/lib/ddtrace/contrib/faraday/configuration/settings.rb +1 -0
  169. data/lib/ddtrace/contrib/faraday/connection.rb +1 -0
  170. data/lib/ddtrace/contrib/faraday/ext.rb +1 -0
  171. data/lib/ddtrace/contrib/faraday/integration.rb +1 -0
  172. data/lib/ddtrace/contrib/faraday/middleware.rb +1 -0
  173. data/lib/ddtrace/contrib/faraday/patcher.rb +1 -0
  174. data/lib/ddtrace/contrib/faraday/rack_builder.rb +1 -0
  175. data/lib/ddtrace/contrib/grape/configuration/settings.rb +1 -0
  176. data/lib/ddtrace/contrib/grape/endpoint.rb +26 -16
  177. data/lib/ddtrace/contrib/grape/ext.rb +1 -0
  178. data/lib/ddtrace/contrib/grape/instrumentation.rb +2 -1
  179. data/lib/ddtrace/contrib/grape/integration.rb +1 -0
  180. data/lib/ddtrace/contrib/grape/patcher.rb +1 -0
  181. data/lib/ddtrace/contrib/graphql/configuration/settings.rb +1 -0
  182. data/lib/ddtrace/contrib/graphql/ext.rb +1 -0
  183. data/lib/ddtrace/contrib/graphql/integration.rb +1 -0
  184. data/lib/ddtrace/contrib/graphql/patcher.rb +1 -0
  185. data/lib/ddtrace/contrib/grpc/configuration/settings.rb +2 -0
  186. data/lib/ddtrace/contrib/grpc/datadog_interceptor.rb +5 -0
  187. data/lib/ddtrace/contrib/grpc/datadog_interceptor/client.rb +1 -0
  188. data/lib/ddtrace/contrib/grpc/datadog_interceptor/server.rb +3 -4
  189. data/lib/ddtrace/contrib/grpc/ext.rb +1 -0
  190. data/lib/ddtrace/contrib/grpc/integration.rb +1 -0
  191. data/lib/ddtrace/contrib/grpc/intercept_with_datadog.rb +1 -0
  192. data/lib/ddtrace/contrib/grpc/patcher.rb +2 -0
  193. data/lib/ddtrace/contrib/http/circuit_breaker.rb +1 -0
  194. data/lib/ddtrace/contrib/http/configuration/settings.rb +1 -0
  195. data/lib/ddtrace/contrib/http/ext.rb +1 -0
  196. data/lib/ddtrace/contrib/http/instrumentation.rb +1 -0
  197. data/lib/ddtrace/contrib/http/integration.rb +1 -0
  198. data/lib/ddtrace/contrib/http/patcher.rb +1 -0
  199. data/lib/ddtrace/contrib/http_annotation_helper.rb +1 -0
  200. data/lib/ddtrace/contrib/httpclient/configuration/settings.rb +1 -0
  201. data/lib/ddtrace/contrib/httpclient/ext.rb +1 -0
  202. data/lib/ddtrace/contrib/httpclient/instrumentation.rb +1 -0
  203. data/lib/ddtrace/contrib/httpclient/integration.rb +1 -0
  204. data/lib/ddtrace/contrib/httpclient/patcher.rb +2 -1
  205. data/lib/ddtrace/contrib/httprb/configuration/settings.rb +1 -0
  206. data/lib/ddtrace/contrib/httprb/ext.rb +1 -0
  207. data/lib/ddtrace/contrib/httprb/instrumentation.rb +1 -0
  208. data/lib/ddtrace/contrib/httprb/integration.rb +1 -0
  209. data/lib/ddtrace/contrib/httprb/patcher.rb +2 -1
  210. data/lib/ddtrace/contrib/integration.rb +1 -0
  211. data/lib/ddtrace/contrib/kafka/configuration/settings.rb +1 -0
  212. data/lib/ddtrace/contrib/kafka/consumer_event.rb +1 -0
  213. data/lib/ddtrace/contrib/kafka/consumer_group_event.rb +1 -0
  214. data/lib/ddtrace/contrib/kafka/event.rb +1 -0
  215. data/lib/ddtrace/contrib/kafka/events.rb +1 -0
  216. data/lib/ddtrace/contrib/kafka/events/connection/request.rb +1 -0
  217. data/lib/ddtrace/contrib/kafka/events/consumer/process_batch.rb +1 -0
  218. data/lib/ddtrace/contrib/kafka/events/consumer/process_message.rb +1 -0
  219. data/lib/ddtrace/contrib/kafka/events/consumer_group/heartbeat.rb +1 -0
  220. data/lib/ddtrace/contrib/kafka/events/consumer_group/join_group.rb +1 -0
  221. data/lib/ddtrace/contrib/kafka/events/consumer_group/leave_group.rb +1 -0
  222. data/lib/ddtrace/contrib/kafka/events/consumer_group/sync_group.rb +1 -0
  223. data/lib/ddtrace/contrib/kafka/events/produce_operation/send_messages.rb +1 -0
  224. data/lib/ddtrace/contrib/kafka/events/producer/deliver_messages.rb +1 -0
  225. data/lib/ddtrace/contrib/kafka/ext.rb +1 -0
  226. data/lib/ddtrace/contrib/kafka/integration.rb +1 -0
  227. data/lib/ddtrace/contrib/kafka/patcher.rb +1 -0
  228. data/lib/ddtrace/contrib/lograge/configuration/settings.rb +19 -0
  229. data/lib/ddtrace/contrib/lograge/ext.rb +11 -0
  230. data/lib/ddtrace/contrib/lograge/instrumentation.rb +39 -0
  231. data/lib/ddtrace/contrib/lograge/integration.rb +46 -0
  232. data/lib/ddtrace/contrib/lograge/patcher.rb +26 -0
  233. data/lib/ddtrace/contrib/mongodb/configuration/settings.rb +1 -0
  234. data/lib/ddtrace/contrib/mongodb/ext.rb +1 -0
  235. data/lib/ddtrace/contrib/mongodb/instrumentation.rb +1 -0
  236. data/lib/ddtrace/contrib/mongodb/integration.rb +1 -0
  237. data/lib/ddtrace/contrib/mongodb/parsers.rb +1 -0
  238. data/lib/ddtrace/contrib/mongodb/patcher.rb +1 -0
  239. data/lib/ddtrace/contrib/mongodb/subscribers.rb +1 -0
  240. data/lib/ddtrace/contrib/mysql2/configuration/settings.rb +1 -0
  241. data/lib/ddtrace/contrib/mysql2/ext.rb +1 -0
  242. data/lib/ddtrace/contrib/mysql2/instrumentation.rb +1 -0
  243. data/lib/ddtrace/contrib/mysql2/integration.rb +1 -0
  244. data/lib/ddtrace/contrib/mysql2/patcher.rb +1 -0
  245. data/lib/ddtrace/contrib/patchable.rb +1 -0
  246. data/lib/ddtrace/contrib/patcher.rb +2 -1
  247. data/lib/ddtrace/contrib/presto/configuration/settings.rb +1 -0
  248. data/lib/ddtrace/contrib/presto/ext.rb +1 -0
  249. data/lib/ddtrace/contrib/presto/instrumentation.rb +1 -0
  250. data/lib/ddtrace/contrib/presto/integration.rb +1 -0
  251. data/lib/ddtrace/contrib/presto/patcher.rb +1 -0
  252. data/lib/ddtrace/contrib/qless/configuration/settings.rb +1 -0
  253. data/lib/ddtrace/contrib/qless/ext.rb +1 -0
  254. data/lib/ddtrace/contrib/qless/integration.rb +1 -0
  255. data/lib/ddtrace/contrib/qless/patcher.rb +2 -0
  256. data/lib/ddtrace/contrib/qless/qless_job.rb +1 -0
  257. data/lib/ddtrace/contrib/qless/tracer_cleaner.rb +1 -0
  258. data/lib/ddtrace/contrib/que/configuration/settings.rb +1 -0
  259. data/lib/ddtrace/contrib/que/ext.rb +1 -0
  260. data/lib/ddtrace/contrib/que/integration.rb +1 -0
  261. data/lib/ddtrace/contrib/que/patcher.rb +1 -0
  262. data/lib/ddtrace/contrib/que/tracer.rb +1 -0
  263. data/lib/ddtrace/contrib/racecar/configuration/settings.rb +1 -0
  264. data/lib/ddtrace/contrib/racecar/event.rb +1 -0
  265. data/lib/ddtrace/contrib/racecar/events.rb +1 -0
  266. data/lib/ddtrace/contrib/racecar/events/batch.rb +1 -0
  267. data/lib/ddtrace/contrib/racecar/events/consume.rb +1 -0
  268. data/lib/ddtrace/contrib/racecar/events/message.rb +1 -0
  269. data/lib/ddtrace/contrib/racecar/ext.rb +1 -0
  270. data/lib/ddtrace/contrib/racecar/integration.rb +1 -0
  271. data/lib/ddtrace/contrib/racecar/patcher.rb +1 -0
  272. data/lib/ddtrace/contrib/rack/configuration/settings.rb +1 -0
  273. data/lib/ddtrace/contrib/rack/ext.rb +1 -0
  274. data/lib/ddtrace/contrib/rack/integration.rb +1 -0
  275. data/lib/ddtrace/contrib/rack/middlewares.rb +2 -1
  276. data/lib/ddtrace/contrib/rack/patcher.rb +1 -0
  277. data/lib/ddtrace/contrib/rack/request_queue.rb +1 -0
  278. data/lib/ddtrace/contrib/rails/auto_instrument_railtie.rb +1 -0
  279. data/lib/ddtrace/contrib/rails/configuration/settings.rb +1 -0
  280. data/lib/ddtrace/contrib/rails/ext.rb +1 -0
  281. data/lib/ddtrace/contrib/rails/framework.rb +26 -1
  282. data/lib/ddtrace/contrib/rails/integration.rb +1 -0
  283. data/lib/ddtrace/contrib/rails/log_injection.rb +1 -40
  284. data/lib/ddtrace/contrib/rails/middlewares.rb +1 -0
  285. data/lib/ddtrace/contrib/rails/patcher.rb +12 -9
  286. data/lib/ddtrace/contrib/rails/railtie.rb +1 -0
  287. data/lib/ddtrace/contrib/rails/utils.rb +1 -0
  288. data/lib/ddtrace/contrib/rake/configuration/settings.rb +1 -0
  289. data/lib/ddtrace/contrib/rake/ext.rb +1 -0
  290. data/lib/ddtrace/contrib/rake/instrumentation.rb +1 -0
  291. data/lib/ddtrace/contrib/rake/integration.rb +1 -0
  292. data/lib/ddtrace/contrib/rake/patcher.rb +1 -0
  293. data/lib/ddtrace/contrib/redis/configuration/resolver.rb +1 -0
  294. data/lib/ddtrace/contrib/redis/configuration/settings.rb +1 -0
  295. data/lib/ddtrace/contrib/redis/ext.rb +1 -0
  296. data/lib/ddtrace/contrib/redis/integration.rb +1 -0
  297. data/lib/ddtrace/contrib/redis/patcher.rb +1 -0
  298. data/lib/ddtrace/contrib/redis/quantize.rb +1 -0
  299. data/lib/ddtrace/contrib/redis/tags.rb +1 -0
  300. data/lib/ddtrace/contrib/redis/vendor/resolver.rb +1 -0
  301. data/lib/ddtrace/contrib/registerable.rb +3 -2
  302. data/lib/ddtrace/contrib/registry.rb +1 -0
  303. data/lib/ddtrace/contrib/resque/configuration/settings.rb +1 -0
  304. data/lib/ddtrace/contrib/resque/ext.rb +1 -0
  305. data/lib/ddtrace/contrib/resque/integration.rb +1 -0
  306. data/lib/ddtrace/contrib/resque/patcher.rb +1 -0
  307. data/lib/ddtrace/contrib/resque/resque_job.rb +1 -0
  308. data/lib/ddtrace/contrib/rest_client/configuration/settings.rb +1 -0
  309. data/lib/ddtrace/contrib/rest_client/ext.rb +1 -0
  310. data/lib/ddtrace/contrib/rest_client/integration.rb +1 -0
  311. data/lib/ddtrace/contrib/rest_client/patcher.rb +2 -0
  312. data/lib/ddtrace/contrib/rest_client/request_patch.rb +1 -0
  313. data/lib/ddtrace/contrib/semantic_logger/configuration/settings.rb +19 -0
  314. data/lib/ddtrace/contrib/semantic_logger/ext.rb +11 -0
  315. data/lib/ddtrace/contrib/semantic_logger/instrumentation.rb +43 -0
  316. data/lib/ddtrace/contrib/semantic_logger/integration.rb +48 -0
  317. data/lib/ddtrace/contrib/semantic_logger/patcher.rb +26 -0
  318. data/lib/ddtrace/contrib/sequel/configuration/settings.rb +1 -0
  319. data/lib/ddtrace/contrib/sequel/database.rb +1 -0
  320. data/lib/ddtrace/contrib/sequel/dataset.rb +1 -0
  321. data/lib/ddtrace/contrib/sequel/ext.rb +1 -0
  322. data/lib/ddtrace/contrib/sequel/integration.rb +1 -0
  323. data/lib/ddtrace/contrib/sequel/patcher.rb +1 -0
  324. data/lib/ddtrace/contrib/sequel/utils.rb +1 -0
  325. data/lib/ddtrace/contrib/shoryuken/configuration/settings.rb +1 -0
  326. data/lib/ddtrace/contrib/shoryuken/ext.rb +1 -0
  327. data/lib/ddtrace/contrib/shoryuken/integration.rb +1 -0
  328. data/lib/ddtrace/contrib/shoryuken/patcher.rb +1 -0
  329. data/lib/ddtrace/contrib/shoryuken/tracer.rb +1 -0
  330. data/lib/ddtrace/contrib/sidekiq/client_tracer.rb +1 -0
  331. data/lib/ddtrace/contrib/sidekiq/configuration/settings.rb +1 -0
  332. data/lib/ddtrace/contrib/sidekiq/ext.rb +1 -0
  333. data/lib/ddtrace/contrib/sidekiq/integration.rb +1 -0
  334. data/lib/ddtrace/contrib/sidekiq/patcher.rb +1 -0
  335. data/lib/ddtrace/contrib/sidekiq/server_tracer.rb +1 -0
  336. data/lib/ddtrace/contrib/sidekiq/tracing.rb +1 -0
  337. data/lib/ddtrace/contrib/sinatra/configuration/settings.rb +1 -0
  338. data/lib/ddtrace/contrib/sinatra/env.rb +1 -0
  339. data/lib/ddtrace/contrib/sinatra/ext.rb +1 -0
  340. data/lib/ddtrace/contrib/sinatra/headers.rb +1 -0
  341. data/lib/ddtrace/contrib/sinatra/integration.rb +1 -0
  342. data/lib/ddtrace/contrib/sinatra/patcher.rb +2 -0
  343. data/lib/ddtrace/contrib/sinatra/tracer.rb +13 -3
  344. data/lib/ddtrace/contrib/sinatra/tracer_middleware.rb +8 -1
  345. data/lib/ddtrace/contrib/sneakers/configuration/settings.rb +1 -0
  346. data/lib/ddtrace/contrib/sneakers/ext.rb +1 -0
  347. data/lib/ddtrace/contrib/sneakers/integration.rb +1 -0
  348. data/lib/ddtrace/contrib/sneakers/patcher.rb +1 -0
  349. data/lib/ddtrace/contrib/sneakers/tracer.rb +1 -0
  350. data/lib/ddtrace/contrib/status_code_matcher.rb +1 -0
  351. data/lib/ddtrace/contrib/sucker_punch/configuration/settings.rb +1 -0
  352. data/lib/ddtrace/contrib/sucker_punch/exception_handler.rb +1 -0
  353. data/lib/ddtrace/contrib/sucker_punch/ext.rb +1 -0
  354. data/lib/ddtrace/contrib/sucker_punch/instrumentation.rb +1 -0
  355. data/lib/ddtrace/contrib/sucker_punch/integration.rb +1 -0
  356. data/lib/ddtrace/contrib/sucker_punch/patcher.rb +2 -0
  357. data/lib/ddtrace/correlation.rb +2 -1
  358. data/lib/ddtrace/diagnostics/environment_logger.rb +4 -3
  359. data/lib/ddtrace/diagnostics/health.rb +1 -0
  360. data/lib/ddtrace/distributed_tracing/headers/b3.rb +1 -0
  361. data/lib/ddtrace/distributed_tracing/headers/b3_single.rb +1 -0
  362. data/lib/ddtrace/distributed_tracing/headers/datadog.rb +1 -0
  363. data/lib/ddtrace/distributed_tracing/headers/headers.rb +1 -0
  364. data/lib/ddtrace/distributed_tracing/headers/helpers.rb +1 -0
  365. data/lib/ddtrace/encoding.rb +3 -0
  366. data/lib/ddtrace/error.rb +1 -0
  367. data/lib/ddtrace/event.rb +1 -0
  368. data/lib/ddtrace/ext/analytics.rb +1 -0
  369. data/lib/ddtrace/ext/app_types.rb +1 -0
  370. data/lib/ddtrace/ext/correlation.rb +1 -0
  371. data/lib/ddtrace/ext/diagnostics.rb +1 -0
  372. data/lib/ddtrace/ext/distributed.rb +1 -0
  373. data/lib/ddtrace/ext/environment.rb +8 -0
  374. data/lib/ddtrace/ext/errors.rb +1 -0
  375. data/lib/ddtrace/ext/forced_tracing.rb +1 -0
  376. data/lib/ddtrace/ext/git.rb +10 -1
  377. data/lib/ddtrace/ext/http.rb +1 -0
  378. data/lib/ddtrace/ext/integration.rb +1 -0
  379. data/lib/ddtrace/ext/manual_tracing.rb +1 -0
  380. data/lib/ddtrace/ext/metrics.rb +1 -0
  381. data/lib/ddtrace/ext/net.rb +1 -0
  382. data/lib/ddtrace/ext/priority.rb +1 -0
  383. data/lib/ddtrace/ext/profiling.rb +3 -0
  384. data/lib/ddtrace/ext/runtime.rb +1 -9
  385. data/lib/ddtrace/ext/sampling.rb +1 -0
  386. data/lib/ddtrace/ext/sql.rb +1 -0
  387. data/lib/ddtrace/ext/test.rb +1 -0
  388. data/lib/ddtrace/ext/transport.rb +1 -0
  389. data/lib/ddtrace/forced_tracing.rb +1 -0
  390. data/lib/ddtrace/logger.rb +1 -0
  391. data/lib/ddtrace/metrics.rb +60 -33
  392. data/lib/ddtrace/opentelemetry/extensions.rb +1 -0
  393. data/lib/ddtrace/opentelemetry/span.rb +1 -0
  394. data/lib/ddtrace/opentracer.rb +1 -0
  395. data/lib/ddtrace/opentracer/binary_propagator.rb +1 -0
  396. data/lib/ddtrace/opentracer/carrier.rb +1 -0
  397. data/lib/ddtrace/opentracer/distributed_headers.rb +1 -0
  398. data/lib/ddtrace/opentracer/global_tracer.rb +1 -0
  399. data/lib/ddtrace/opentracer/propagator.rb +1 -0
  400. data/lib/ddtrace/opentracer/rack_propagator.rb +1 -0
  401. data/lib/ddtrace/opentracer/scope.rb +1 -0
  402. data/lib/ddtrace/opentracer/scope_manager.rb +1 -0
  403. data/lib/ddtrace/opentracer/span.rb +1 -0
  404. data/lib/ddtrace/opentracer/span_context.rb +1 -0
  405. data/lib/ddtrace/opentracer/span_context_factory.rb +1 -0
  406. data/lib/ddtrace/opentracer/text_map_propagator.rb +1 -0
  407. data/lib/ddtrace/opentracer/thread_local_scope.rb +1 -0
  408. data/lib/ddtrace/opentracer/thread_local_scope_manager.rb +1 -0
  409. data/lib/ddtrace/opentracer/tracer.rb +1 -0
  410. data/lib/ddtrace/patcher.rb +1 -0
  411. data/lib/ddtrace/pin.rb +1 -0
  412. data/lib/ddtrace/pipeline.rb +1 -0
  413. data/lib/ddtrace/pipeline/span_filter.rb +1 -0
  414. data/lib/ddtrace/pipeline/span_processor.rb +1 -0
  415. data/lib/ddtrace/profiling.rb +64 -20
  416. data/lib/ddtrace/profiling/backtrace_location.rb +1 -0
  417. data/lib/ddtrace/profiling/buffer.rb +1 -0
  418. data/lib/ddtrace/profiling/collectors/stack.rb +11 -16
  419. data/lib/ddtrace/profiling/encoding/profile.rb +1 -0
  420. data/lib/ddtrace/profiling/event.rb +1 -0
  421. data/lib/ddtrace/profiling/events/stack.rb +16 -37
  422. data/lib/ddtrace/profiling/exporter.rb +1 -0
  423. data/lib/ddtrace/profiling/ext/cpu.rb +16 -1
  424. data/lib/ddtrace/profiling/ext/cthread.rb +1 -0
  425. data/lib/ddtrace/profiling/ext/forking.rb +1 -0
  426. data/lib/ddtrace/profiling/flush.rb +10 -9
  427. data/lib/ddtrace/profiling/native_extension.rb +18 -0
  428. data/lib/ddtrace/profiling/pprof/builder.rb +1 -0
  429. data/lib/ddtrace/profiling/pprof/converter.rb +1 -0
  430. data/lib/ddtrace/profiling/pprof/message_set.rb +4 -1
  431. data/lib/ddtrace/profiling/pprof/payload.rb +2 -1
  432. data/lib/ddtrace/profiling/pprof/pprof_pb.rb +1 -0
  433. data/lib/ddtrace/profiling/pprof/stack_sample.rb +16 -5
  434. data/lib/ddtrace/profiling/pprof/string_table.rb +1 -0
  435. data/lib/ddtrace/profiling/pprof/template.rb +1 -0
  436. data/lib/ddtrace/profiling/preload.rb +1 -0
  437. data/lib/ddtrace/profiling/profiler.rb +1 -0
  438. data/lib/ddtrace/profiling/recorder.rb +3 -2
  439. data/lib/ddtrace/profiling/scheduler.rb +21 -3
  440. data/lib/ddtrace/profiling/tasks/setup.rb +9 -4
  441. data/lib/ddtrace/profiling/trace_identifiers/ddtrace.rb +41 -0
  442. data/lib/ddtrace/profiling/trace_identifiers/helper.rb +46 -0
  443. data/lib/ddtrace/profiling/transport/client.rb +3 -0
  444. data/lib/ddtrace/profiling/transport/http.rb +29 -27
  445. data/lib/ddtrace/profiling/transport/http/api.rb +1 -0
  446. data/lib/ddtrace/profiling/transport/http/api/endpoint.rb +1 -0
  447. data/lib/ddtrace/profiling/transport/http/api/instance.rb +1 -0
  448. data/lib/ddtrace/profiling/transport/http/api/spec.rb +1 -0
  449. data/lib/ddtrace/profiling/transport/http/builder.rb +1 -0
  450. data/lib/ddtrace/profiling/transport/http/client.rb +1 -0
  451. data/lib/ddtrace/profiling/transport/http/response.rb +1 -0
  452. data/lib/ddtrace/profiling/transport/io.rb +1 -0
  453. data/lib/ddtrace/profiling/transport/io/client.rb +1 -0
  454. data/lib/ddtrace/profiling/transport/io/response.rb +1 -0
  455. data/lib/ddtrace/profiling/transport/parcel.rb +1 -0
  456. data/lib/ddtrace/profiling/transport/request.rb +1 -0
  457. data/lib/ddtrace/profiling/transport/response.rb +1 -0
  458. data/lib/ddtrace/propagation/grpc_propagator.rb +1 -0
  459. data/lib/ddtrace/propagation/http_propagator.rb +3 -2
  460. data/lib/ddtrace/quantization/hash.rb +1 -0
  461. data/lib/ddtrace/quantization/http.rb +3 -0
  462. data/lib/ddtrace/runtime/metrics.rb +19 -10
  463. data/lib/ddtrace/sampler.rb +1 -0
  464. data/lib/ddtrace/sampling.rb +1 -0
  465. data/lib/ddtrace/sampling/matcher.rb +1 -0
  466. data/lib/ddtrace/sampling/rate_limiter.rb +1 -0
  467. data/lib/ddtrace/sampling/rule.rb +2 -1
  468. data/lib/ddtrace/sampling/rule_sampler.rb +2 -1
  469. data/lib/ddtrace/span.rb +37 -12
  470. data/lib/ddtrace/sync_writer.rb +3 -2
  471. data/lib/ddtrace/tasks/exec.rb +4 -5
  472. data/lib/ddtrace/tasks/help.rb +1 -0
  473. data/lib/ddtrace/tracer.rb +6 -14
  474. data/lib/ddtrace/transport/http.rb +10 -7
  475. data/lib/ddtrace/transport/http/adapters/net.rb +1 -0
  476. data/lib/ddtrace/transport/http/adapters/registry.rb +1 -0
  477. data/lib/ddtrace/transport/http/adapters/test.rb +1 -0
  478. data/lib/ddtrace/transport/http/adapters/unix_socket.rb +1 -0
  479. data/lib/ddtrace/transport/http/api.rb +1 -0
  480. data/lib/ddtrace/transport/http/api/endpoint.rb +1 -0
  481. data/lib/ddtrace/transport/http/api/fallbacks.rb +1 -0
  482. data/lib/ddtrace/transport/http/api/instance.rb +1 -0
  483. data/lib/ddtrace/transport/http/api/map.rb +1 -0
  484. data/lib/ddtrace/transport/http/api/spec.rb +1 -0
  485. data/lib/ddtrace/transport/http/builder.rb +1 -0
  486. data/lib/ddtrace/transport/http/client.rb +3 -1
  487. data/lib/ddtrace/transport/http/env.rb +1 -0
  488. data/lib/ddtrace/transport/http/response.rb +1 -0
  489. data/lib/ddtrace/transport/http/statistics.rb +1 -0
  490. data/lib/ddtrace/transport/http/traces.rb +1 -0
  491. data/lib/ddtrace/transport/io.rb +1 -0
  492. data/lib/ddtrace/transport/io/client.rb +2 -1
  493. data/lib/ddtrace/transport/io/response.rb +1 -0
  494. data/lib/ddtrace/transport/io/traces.rb +3 -0
  495. data/lib/ddtrace/transport/parcel.rb +3 -0
  496. data/lib/ddtrace/transport/request.rb +1 -0
  497. data/lib/ddtrace/transport/response.rb +1 -0
  498. data/lib/ddtrace/transport/statistics.rb +1 -0
  499. data/lib/ddtrace/transport/traces.rb +3 -2
  500. data/lib/ddtrace/utils.rb +14 -2
  501. data/lib/ddtrace/utils/compression.rb +1 -0
  502. data/lib/ddtrace/utils/database.rb +1 -0
  503. data/lib/ddtrace/utils/forking.rb +1 -0
  504. data/lib/ddtrace/utils/object_set.rb +1 -0
  505. data/lib/ddtrace/utils/only_once.rb +1 -0
  506. data/lib/ddtrace/utils/sequence.rb +1 -0
  507. data/lib/ddtrace/utils/string_table.rb +1 -0
  508. data/lib/ddtrace/utils/time.rb +3 -0
  509. data/lib/ddtrace/vendor/active_record/connection_specification.rb +1 -0
  510. data/lib/ddtrace/vendor/multipart-post/multipart.rb +1 -0
  511. data/lib/ddtrace/vendor/multipart-post/multipart/post.rb +1 -0
  512. data/lib/ddtrace/vendor/multipart-post/multipart/post/composite_read_io.rb +1 -0
  513. data/lib/ddtrace/vendor/multipart-post/multipart/post/multipartable.rb +1 -0
  514. data/lib/ddtrace/vendor/multipart-post/multipart/post/parts.rb +1 -0
  515. data/lib/ddtrace/vendor/multipart-post/multipart/post/version.rb +1 -0
  516. data/lib/ddtrace/vendor/multipart-post/net/http/post/multipart.rb +1 -0
  517. data/lib/ddtrace/version.rb +2 -1
  518. data/lib/ddtrace/worker.rb +1 -0
  519. data/lib/ddtrace/workers.rb +2 -1
  520. data/lib/ddtrace/workers/async.rb +2 -1
  521. data/lib/ddtrace/workers/loop.rb +1 -0
  522. data/lib/ddtrace/workers/polling.rb +1 -0
  523. data/lib/ddtrace/workers/queue.rb +1 -0
  524. data/lib/ddtrace/workers/runtime_metrics.rb +1 -0
  525. data/lib/ddtrace/workers/trace_writer.rb +3 -2
  526. data/lib/ddtrace/writer.rb +3 -2
  527. metadata +34 -562
  528. data/.circleci/config.yml +0 -870
  529. data/.circleci/images/primary/Dockerfile-2.1.10 +0 -83
  530. data/.circleci/images/primary/Dockerfile-2.2.10 +0 -83
  531. data/.circleci/images/primary/Dockerfile-2.3.8 +0 -85
  532. data/.circleci/images/primary/Dockerfile-2.4.6 +0 -83
  533. data/.circleci/images/primary/Dockerfile-2.5.6 +0 -83
  534. data/.circleci/images/primary/Dockerfile-2.6.4 +0 -83
  535. data/.circleci/images/primary/Dockerfile-2.7.0 +0 -83
  536. data/.circleci/images/primary/Dockerfile-3.0.0 +0 -73
  537. data/.circleci/images/primary/Dockerfile-jruby-9.2-latest +0 -88
  538. data/.circleci/images/primary/Dockerfile-jruby-9.2.0.0 +0 -73
  539. data/.circleci/images/primary/Dockerfile-truffleruby-21.1.0 +0 -73
  540. data/.dockerignore +0 -0
  541. data/.env +0 -26
  542. data/.github/CODEOWNERS +0 -1
  543. data/.github/workflows/add-milestone-to-pull-requests.yml +0 -42
  544. data/.github/workflows/create-next-milestone.yml +0 -20
  545. data/.gitlab-ci.yml +0 -27
  546. data/.rspec +0 -1
  547. data/.rubocop.yml +0 -351
  548. data/.rubocop_todo.yml +0 -438
  549. data/.simplecov +0 -47
  550. data/Appraisals +0 -1323
  551. data/Gemfile +0 -69
  552. data/Rakefile +0 -939
  553. data/benchmarks/data/profiler-submission-marshal.gz +0 -0
  554. data/benchmarks/postgres_database.yml +0 -9
  555. data/benchmarks/profiler_sample_loop.rb +0 -69
  556. data/benchmarks/profiler_submission.rb +0 -93
  557. data/benchmarks/sidekiq_test.rb +0 -154
  558. data/docker-compose.yml +0 -414
  559. data/gemfiles/jruby_9.2.0.0_contrib.gemfile +0 -79
  560. data/gemfiles/jruby_9.2.0.0_contrib.gemfile.lock +0 -1518
  561. data/gemfiles/jruby_9.2.0.0_contrib_old.gemfile +0 -35
  562. data/gemfiles/jruby_9.2.0.0_contrib_old.gemfile.lock +0 -157
  563. data/gemfiles/jruby_9.2.0.0_core_old.gemfile +0 -34
  564. data/gemfiles/jruby_9.2.0.0_core_old.gemfile.lock +0 -153
  565. data/gemfiles/jruby_9.2.0.0_cucumber3.gemfile +0 -35
  566. data/gemfiles/jruby_9.2.0.0_cucumber3.gemfile.lock +0 -174
  567. data/gemfiles/jruby_9.2.0.0_cucumber4.gemfile +0 -35
  568. data/gemfiles/jruby_9.2.0.0_cucumber4.gemfile.lock +0 -206
  569. data/gemfiles/jruby_9.2.0.0_cucumber5.gemfile +0 -35
  570. data/gemfiles/jruby_9.2.0.0_cucumber5.gemfile.lock +0 -206
  571. data/gemfiles/jruby_9.2.0.0_rails5_mysql2.gemfile +0 -40
  572. data/gemfiles/jruby_9.2.0.0_rails5_mysql2.gemfile.lock +0 -271
  573. data/gemfiles/jruby_9.2.0.0_rails5_postgres.gemfile +0 -40
  574. data/gemfiles/jruby_9.2.0.0_rails5_postgres.gemfile.lock +0 -271
  575. data/gemfiles/jruby_9.2.0.0_rails5_postgres_redis.gemfile +0 -41
  576. data/gemfiles/jruby_9.2.0.0_rails5_postgres_redis.gemfile.lock +0 -273
  577. data/gemfiles/jruby_9.2.0.0_rails5_postgres_redis_activesupport.gemfile +0 -41
  578. data/gemfiles/jruby_9.2.0.0_rails5_postgres_redis_activesupport.gemfile.lock +0 -273
  579. data/gemfiles/jruby_9.2.0.0_rails5_postgres_sidekiq.gemfile +0 -42
  580. data/gemfiles/jruby_9.2.0.0_rails5_postgres_sidekiq.gemfile.lock +0 -279
  581. data/gemfiles/jruby_9.2.0.0_rails61_mysql2.gemfile +0 -40
  582. data/gemfiles/jruby_9.2.0.0_rails61_mysql2.gemfile.lock +0 -290
  583. data/gemfiles/jruby_9.2.0.0_rails61_postgres.gemfile +0 -40
  584. data/gemfiles/jruby_9.2.0.0_rails61_postgres.gemfile.lock +0 -290
  585. data/gemfiles/jruby_9.2.0.0_rails61_postgres_redis.gemfile +0 -41
  586. data/gemfiles/jruby_9.2.0.0_rails61_postgres_redis.gemfile.lock +0 -292
  587. data/gemfiles/jruby_9.2.0.0_rails61_postgres_sidekiq.gemfile +0 -41
  588. data/gemfiles/jruby_9.2.0.0_rails61_postgres_sidekiq.gemfile.lock +0 -297
  589. data/gemfiles/jruby_9.2.0.0_rails6_mysql2.gemfile +0 -40
  590. data/gemfiles/jruby_9.2.0.0_rails6_mysql2.gemfile.lock +0 -287
  591. data/gemfiles/jruby_9.2.0.0_rails6_postgres.gemfile +0 -40
  592. data/gemfiles/jruby_9.2.0.0_rails6_postgres.gemfile.lock +0 -287
  593. data/gemfiles/jruby_9.2.0.0_rails6_postgres_redis.gemfile +0 -41
  594. data/gemfiles/jruby_9.2.0.0_rails6_postgres_redis.gemfile.lock +0 -289
  595. data/gemfiles/jruby_9.2.0.0_rails6_postgres_redis_activesupport.gemfile +0 -41
  596. data/gemfiles/jruby_9.2.0.0_rails6_postgres_redis_activesupport.gemfile.lock +0 -289
  597. data/gemfiles/jruby_9.2.0.0_rails6_postgres_sidekiq.gemfile +0 -42
  598. data/gemfiles/jruby_9.2.0.0_rails6_postgres_sidekiq.gemfile.lock +0 -295
  599. data/gemfiles/jruby_9.2.0.0_resque2_redis3.gemfile +0 -36
  600. data/gemfiles/jruby_9.2.0.0_resque2_redis3.gemfile.lock +0 -180
  601. data/gemfiles/jruby_9.2.0.0_resque2_redis4.gemfile +0 -36
  602. data/gemfiles/jruby_9.2.0.0_resque2_redis4.gemfile.lock +0 -180
  603. data/gemfiles/jruby_9.2.11.1_contrib.gemfile +0 -79
  604. data/gemfiles/jruby_9.2.11.1_contrib.gemfile.lock +0 -1518
  605. data/gemfiles/jruby_9.2.11.1_contrib_old.gemfile +0 -35
  606. data/gemfiles/jruby_9.2.11.1_contrib_old.gemfile.lock +0 -157
  607. data/gemfiles/jruby_9.2.11.1_core_old.gemfile +0 -34
  608. data/gemfiles/jruby_9.2.11.1_core_old.gemfile.lock +0 -153
  609. data/gemfiles/jruby_9.2.11.1_cucumber3.gemfile +0 -35
  610. data/gemfiles/jruby_9.2.11.1_cucumber3.gemfile.lock +0 -174
  611. data/gemfiles/jruby_9.2.11.1_cucumber4.gemfile +0 -35
  612. data/gemfiles/jruby_9.2.11.1_cucumber4.gemfile.lock +0 -206
  613. data/gemfiles/jruby_9.2.11.1_cucumber5.gemfile +0 -35
  614. data/gemfiles/jruby_9.2.11.1_cucumber5.gemfile.lock +0 -206
  615. data/gemfiles/jruby_9.2.11.1_rails5_mysql2.gemfile +0 -40
  616. data/gemfiles/jruby_9.2.11.1_rails5_mysql2.gemfile.lock +0 -271
  617. data/gemfiles/jruby_9.2.11.1_rails5_postgres.gemfile +0 -40
  618. data/gemfiles/jruby_9.2.11.1_rails5_postgres.gemfile.lock +0 -271
  619. data/gemfiles/jruby_9.2.11.1_rails5_postgres_redis.gemfile +0 -41
  620. data/gemfiles/jruby_9.2.11.1_rails5_postgres_redis.gemfile.lock +0 -273
  621. data/gemfiles/jruby_9.2.11.1_rails5_postgres_redis_activesupport.gemfile +0 -41
  622. data/gemfiles/jruby_9.2.11.1_rails5_postgres_redis_activesupport.gemfile.lock +0 -273
  623. data/gemfiles/jruby_9.2.11.1_rails5_postgres_sidekiq.gemfile +0 -42
  624. data/gemfiles/jruby_9.2.11.1_rails5_postgres_sidekiq.gemfile.lock +0 -279
  625. data/gemfiles/jruby_9.2.11.1_rails61_mysql2.gemfile +0 -40
  626. data/gemfiles/jruby_9.2.11.1_rails61_mysql2.gemfile.lock +0 -290
  627. data/gemfiles/jruby_9.2.11.1_rails61_postgres.gemfile +0 -40
  628. data/gemfiles/jruby_9.2.11.1_rails61_postgres.gemfile.lock +0 -290
  629. data/gemfiles/jruby_9.2.11.1_rails61_postgres_redis.gemfile +0 -41
  630. data/gemfiles/jruby_9.2.11.1_rails61_postgres_redis.gemfile.lock +0 -292
  631. data/gemfiles/jruby_9.2.11.1_rails61_postgres_sidekiq.gemfile +0 -41
  632. data/gemfiles/jruby_9.2.11.1_rails61_postgres_sidekiq.gemfile.lock +0 -297
  633. data/gemfiles/jruby_9.2.11.1_rails6_mysql2.gemfile +0 -40
  634. data/gemfiles/jruby_9.2.11.1_rails6_mysql2.gemfile.lock +0 -287
  635. data/gemfiles/jruby_9.2.11.1_rails6_postgres.gemfile +0 -40
  636. data/gemfiles/jruby_9.2.11.1_rails6_postgres.gemfile.lock +0 -287
  637. data/gemfiles/jruby_9.2.11.1_rails6_postgres_redis.gemfile +0 -41
  638. data/gemfiles/jruby_9.2.11.1_rails6_postgres_redis.gemfile.lock +0 -289
  639. data/gemfiles/jruby_9.2.11.1_rails6_postgres_redis_activesupport.gemfile +0 -41
  640. data/gemfiles/jruby_9.2.11.1_rails6_postgres_redis_activesupport.gemfile.lock +0 -289
  641. data/gemfiles/jruby_9.2.11.1_rails6_postgres_sidekiq.gemfile +0 -42
  642. data/gemfiles/jruby_9.2.11.1_rails6_postgres_sidekiq.gemfile.lock +0 -295
  643. data/gemfiles/jruby_9.2.11.1_resque2_redis3.gemfile +0 -36
  644. data/gemfiles/jruby_9.2.11.1_resque2_redis3.gemfile.lock +0 -180
  645. data/gemfiles/jruby_9.2.11.1_resque2_redis4.gemfile +0 -36
  646. data/gemfiles/jruby_9.2.11.1_resque2_redis4.gemfile.lock +0 -180
  647. data/gemfiles/ruby_2.1.10_contrib_old.gemfile +0 -66
  648. data/gemfiles/ruby_2.1.10_contrib_old.gemfile.lock +0 -305
  649. data/gemfiles/ruby_2.1.10_core_old.gemfile +0 -33
  650. data/gemfiles/ruby_2.1.10_core_old.gemfile.lock +0 -118
  651. data/gemfiles/ruby_2.1.10_rails30_postgres.gemfile +0 -39
  652. data/gemfiles/ruby_2.1.10_rails30_postgres.gemfile.lock +0 -196
  653. data/gemfiles/ruby_2.1.10_rails30_postgres_sidekiq.gemfile +0 -40
  654. data/gemfiles/ruby_2.1.10_rails30_postgres_sidekiq.gemfile.lock +0 -205
  655. data/gemfiles/ruby_2.1.10_rails32_mysql2.gemfile +0 -42
  656. data/gemfiles/ruby_2.1.10_rails32_mysql2.gemfile.lock +0 -215
  657. data/gemfiles/ruby_2.1.10_rails32_postgres.gemfile +0 -39
  658. data/gemfiles/ruby_2.1.10_rails32_postgres.gemfile.lock +0 -204
  659. data/gemfiles/ruby_2.1.10_rails32_postgres_redis.gemfile +0 -41
  660. data/gemfiles/ruby_2.1.10_rails32_postgres_redis.gemfile.lock +0 -223
  661. data/gemfiles/ruby_2.1.10_rails32_postgres_sidekiq.gemfile +0 -40
  662. data/gemfiles/ruby_2.1.10_rails32_postgres_sidekiq.gemfile.lock +0 -213
  663. data/gemfiles/ruby_2.1.10_rails4_mysql2.gemfile +0 -38
  664. data/gemfiles/ruby_2.1.10_rails4_mysql2.gemfile.lock +0 -218
  665. data/gemfiles/ruby_2.1.10_rails4_postgres.gemfile +0 -38
  666. data/gemfiles/ruby_2.1.10_rails4_postgres.gemfile.lock +0 -218
  667. data/gemfiles/ruby_2.1.10_rails4_postgres_redis.gemfile +0 -40
  668. data/gemfiles/ruby_2.1.10_rails4_postgres_redis.gemfile.lock +0 -237
  669. data/gemfiles/ruby_2.2.10_contrib.gemfile +0 -73
  670. data/gemfiles/ruby_2.2.10_contrib.gemfile.lock +0 -1450
  671. data/gemfiles/ruby_2.2.10_core_old.gemfile +0 -33
  672. data/gemfiles/ruby_2.2.10_core_old.gemfile.lock +0 -118
  673. data/gemfiles/ruby_2.2.10_rails30_postgres.gemfile +0 -39
  674. data/gemfiles/ruby_2.2.10_rails30_postgres.gemfile.lock +0 -196
  675. data/gemfiles/ruby_2.2.10_rails30_postgres_sidekiq.gemfile +0 -40
  676. data/gemfiles/ruby_2.2.10_rails30_postgres_sidekiq.gemfile.lock +0 -205
  677. data/gemfiles/ruby_2.2.10_rails32_mysql2.gemfile +0 -41
  678. data/gemfiles/ruby_2.2.10_rails32_mysql2.gemfile.lock +0 -212
  679. data/gemfiles/ruby_2.2.10_rails32_postgres.gemfile +0 -39
  680. data/gemfiles/ruby_2.2.10_rails32_postgres.gemfile.lock +0 -204
  681. data/gemfiles/ruby_2.2.10_rails32_postgres_redis.gemfile +0 -41
  682. data/gemfiles/ruby_2.2.10_rails32_postgres_redis.gemfile.lock +0 -223
  683. data/gemfiles/ruby_2.2.10_rails32_postgres_sidekiq.gemfile +0 -40
  684. data/gemfiles/ruby_2.2.10_rails32_postgres_sidekiq.gemfile.lock +0 -213
  685. data/gemfiles/ruby_2.2.10_rails4_mysql2.gemfile +0 -38
  686. data/gemfiles/ruby_2.2.10_rails4_mysql2.gemfile.lock +0 -218
  687. data/gemfiles/ruby_2.2.10_rails4_postgres.gemfile +0 -38
  688. data/gemfiles/ruby_2.2.10_rails4_postgres.gemfile.lock +0 -218
  689. data/gemfiles/ruby_2.2.10_rails4_postgres_redis.gemfile +0 -40
  690. data/gemfiles/ruby_2.2.10_rails4_postgres_redis.gemfile.lock +0 -237
  691. data/gemfiles/ruby_2.2.10_rails4_postgres_sidekiq.gemfile +0 -40
  692. data/gemfiles/ruby_2.2.10_rails4_postgres_sidekiq.gemfile.lock +0 -229
  693. data/gemfiles/ruby_2.2.10_rails5_mysql2.gemfile +0 -38
  694. data/gemfiles/ruby_2.2.10_rails5_mysql2.gemfile.lock +0 -234
  695. data/gemfiles/ruby_2.2.10_rails5_postgres.gemfile +0 -38
  696. data/gemfiles/ruby_2.2.10_rails5_postgres.gemfile.lock +0 -234
  697. data/gemfiles/ruby_2.2.10_rails5_postgres_redis.gemfile +0 -39
  698. data/gemfiles/ruby_2.2.10_rails5_postgres_redis.gemfile.lock +0 -236
  699. data/gemfiles/ruby_2.2.10_rails5_postgres_redis_activesupport.gemfile +0 -39
  700. data/gemfiles/ruby_2.2.10_rails5_postgres_redis_activesupport.gemfile.lock +0 -236
  701. data/gemfiles/ruby_2.2.10_rails5_postgres_sidekiq.gemfile +0 -40
  702. data/gemfiles/ruby_2.2.10_rails5_postgres_sidekiq.gemfile.lock +0 -245
  703. data/gemfiles/ruby_2.3.8_contrib.gemfile +0 -73
  704. data/gemfiles/ruby_2.3.8_contrib.gemfile.lock +0 -1459
  705. data/gemfiles/ruby_2.3.8_contrib_old.gemfile +0 -34
  706. data/gemfiles/ruby_2.3.8_contrib_old.gemfile.lock +0 -127
  707. data/gemfiles/ruby_2.3.8_core_old.gemfile +0 -33
  708. data/gemfiles/ruby_2.3.8_core_old.gemfile.lock +0 -123
  709. data/gemfiles/ruby_2.3.8_cucumber3.gemfile +0 -34
  710. data/gemfiles/ruby_2.3.8_cucumber3.gemfile.lock +0 -144
  711. data/gemfiles/ruby_2.3.8_cucumber4.gemfile +0 -34
  712. data/gemfiles/ruby_2.3.8_cucumber4.gemfile.lock +0 -174
  713. data/gemfiles/ruby_2.3.8_rails30_postgres.gemfile +0 -39
  714. data/gemfiles/ruby_2.3.8_rails30_postgres.gemfile.lock +0 -201
  715. data/gemfiles/ruby_2.3.8_rails30_postgres_sidekiq.gemfile +0 -40
  716. data/gemfiles/ruby_2.3.8_rails30_postgres_sidekiq.gemfile.lock +0 -210
  717. data/gemfiles/ruby_2.3.8_rails32_mysql2.gemfile +0 -41
  718. data/gemfiles/ruby_2.3.8_rails32_mysql2.gemfile.lock +0 -217
  719. data/gemfiles/ruby_2.3.8_rails32_postgres.gemfile +0 -39
  720. data/gemfiles/ruby_2.3.8_rails32_postgres.gemfile.lock +0 -209
  721. data/gemfiles/ruby_2.3.8_rails32_postgres_redis.gemfile +0 -41
  722. data/gemfiles/ruby_2.3.8_rails32_postgres_redis.gemfile.lock +0 -228
  723. data/gemfiles/ruby_2.3.8_rails32_postgres_sidekiq.gemfile +0 -40
  724. data/gemfiles/ruby_2.3.8_rails32_postgres_sidekiq.gemfile.lock +0 -218
  725. data/gemfiles/ruby_2.3.8_rails4_mysql2.gemfile +0 -38
  726. data/gemfiles/ruby_2.3.8_rails4_mysql2.gemfile.lock +0 -223
  727. data/gemfiles/ruby_2.3.8_rails4_postgres.gemfile +0 -38
  728. data/gemfiles/ruby_2.3.8_rails4_postgres.gemfile.lock +0 -223
  729. data/gemfiles/ruby_2.3.8_rails4_postgres_redis.gemfile +0 -40
  730. data/gemfiles/ruby_2.3.8_rails4_postgres_redis.gemfile.lock +0 -242
  731. data/gemfiles/ruby_2.3.8_rails4_postgres_sidekiq.gemfile +0 -40
  732. data/gemfiles/ruby_2.3.8_rails4_postgres_sidekiq.gemfile.lock +0 -234
  733. data/gemfiles/ruby_2.3.8_rails5_mysql2.gemfile +0 -37
  734. data/gemfiles/ruby_2.3.8_rails5_mysql2.gemfile.lock +0 -234
  735. data/gemfiles/ruby_2.3.8_rails5_postgres.gemfile +0 -37
  736. data/gemfiles/ruby_2.3.8_rails5_postgres.gemfile.lock +0 -234
  737. data/gemfiles/ruby_2.3.8_rails5_postgres_redis.gemfile +0 -38
  738. data/gemfiles/ruby_2.3.8_rails5_postgres_redis.gemfile.lock +0 -236
  739. data/gemfiles/ruby_2.3.8_rails5_postgres_redis_activesupport.gemfile +0 -38
  740. data/gemfiles/ruby_2.3.8_rails5_postgres_redis_activesupport.gemfile.lock +0 -236
  741. data/gemfiles/ruby_2.3.8_rails5_postgres_sidekiq.gemfile +0 -39
  742. data/gemfiles/ruby_2.3.8_rails5_postgres_sidekiq.gemfile.lock +0 -245
  743. data/gemfiles/ruby_2.3.8_resque2_redis3.gemfile +0 -35
  744. data/gemfiles/ruby_2.3.8_resque2_redis3.gemfile.lock +0 -150
  745. data/gemfiles/ruby_2.3.8_resque2_redis4.gemfile +0 -35
  746. data/gemfiles/ruby_2.3.8_resque2_redis4.gemfile.lock +0 -150
  747. data/gemfiles/ruby_2.4.6_contrib.gemfile +0 -78
  748. data/gemfiles/ruby_2.4.6_contrib.gemfile.lock +0 -1513
  749. data/gemfiles/ruby_2.4.6_contrib_old.gemfile +0 -38
  750. data/gemfiles/ruby_2.4.6_contrib_old.gemfile.lock +0 -155
  751. data/gemfiles/ruby_2.4.6_core_old.gemfile +0 -37
  752. data/gemfiles/ruby_2.4.6_core_old.gemfile.lock +0 -151
  753. data/gemfiles/ruby_2.4.6_cucumber3.gemfile +0 -38
  754. data/gemfiles/ruby_2.4.6_cucumber3.gemfile.lock +0 -172
  755. data/gemfiles/ruby_2.4.6_cucumber4.gemfile +0 -38
  756. data/gemfiles/ruby_2.4.6_cucumber4.gemfile.lock +0 -202
  757. data/gemfiles/ruby_2.4.6_rails5_mysql2.gemfile +0 -41
  758. data/gemfiles/ruby_2.4.6_rails5_mysql2.gemfile.lock +0 -262
  759. data/gemfiles/ruby_2.4.6_rails5_postgres.gemfile +0 -41
  760. data/gemfiles/ruby_2.4.6_rails5_postgres.gemfile.lock +0 -262
  761. data/gemfiles/ruby_2.4.6_rails5_postgres_redis.gemfile +0 -42
  762. data/gemfiles/ruby_2.4.6_rails5_postgres_redis.gemfile.lock +0 -264
  763. data/gemfiles/ruby_2.4.6_rails5_postgres_redis_activesupport.gemfile +0 -42
  764. data/gemfiles/ruby_2.4.6_rails5_postgres_redis_activesupport.gemfile.lock +0 -264
  765. data/gemfiles/ruby_2.4.6_rails5_postgres_sidekiq.gemfile +0 -43
  766. data/gemfiles/ruby_2.4.6_rails5_postgres_sidekiq.gemfile.lock +0 -273
  767. data/gemfiles/ruby_2.4.6_resque2_redis3.gemfile +0 -39
  768. data/gemfiles/ruby_2.4.6_resque2_redis3.gemfile.lock +0 -178
  769. data/gemfiles/ruby_2.4.6_resque2_redis4.gemfile +0 -39
  770. data/gemfiles/ruby_2.4.6_resque2_redis4.gemfile.lock +0 -178
  771. data/gemfiles/ruby_2.5.6_contrib.gemfile +0 -83
  772. data/gemfiles/ruby_2.5.6_contrib.gemfile.lock +0 -1526
  773. data/gemfiles/ruby_2.5.6_contrib_old.gemfile +0 -39
  774. data/gemfiles/ruby_2.5.6_contrib_old.gemfile.lock +0 -165
  775. data/gemfiles/ruby_2.5.6_core_old.gemfile +0 -38
  776. data/gemfiles/ruby_2.5.6_core_old.gemfile.lock +0 -161
  777. data/gemfiles/ruby_2.5.6_cucumber3.gemfile +0 -39
  778. data/gemfiles/ruby_2.5.6_cucumber3.gemfile.lock +0 -182
  779. data/gemfiles/ruby_2.5.6_cucumber4.gemfile +0 -39
  780. data/gemfiles/ruby_2.5.6_cucumber4.gemfile.lock +0 -214
  781. data/gemfiles/ruby_2.5.6_cucumber5.gemfile +0 -39
  782. data/gemfiles/ruby_2.5.6_cucumber5.gemfile.lock +0 -214
  783. data/gemfiles/ruby_2.5.6_rails5_mysql2.gemfile +0 -44
  784. data/gemfiles/ruby_2.5.6_rails5_mysql2.gemfile.lock +0 -276
  785. data/gemfiles/ruby_2.5.6_rails5_postgres.gemfile +0 -44
  786. data/gemfiles/ruby_2.5.6_rails5_postgres.gemfile.lock +0 -276
  787. data/gemfiles/ruby_2.5.6_rails5_postgres_redis.gemfile +0 -45
  788. data/gemfiles/ruby_2.5.6_rails5_postgres_redis.gemfile.lock +0 -278
  789. data/gemfiles/ruby_2.5.6_rails5_postgres_redis_activesupport.gemfile +0 -45
  790. data/gemfiles/ruby_2.5.6_rails5_postgres_redis_activesupport.gemfile.lock +0 -278
  791. data/gemfiles/ruby_2.5.6_rails5_postgres_sidekiq.gemfile +0 -46
  792. data/gemfiles/ruby_2.5.6_rails5_postgres_sidekiq.gemfile.lock +0 -284
  793. data/gemfiles/ruby_2.5.6_rails61_mysql2.gemfile +0 -44
  794. data/gemfiles/ruby_2.5.6_rails61_mysql2.gemfile.lock +0 -295
  795. data/gemfiles/ruby_2.5.6_rails61_postgres.gemfile +0 -44
  796. data/gemfiles/ruby_2.5.6_rails61_postgres.gemfile.lock +0 -295
  797. data/gemfiles/ruby_2.5.6_rails61_postgres_redis.gemfile +0 -45
  798. data/gemfiles/ruby_2.5.6_rails61_postgres_redis.gemfile.lock +0 -297
  799. data/gemfiles/ruby_2.5.6_rails61_postgres_sidekiq.gemfile +0 -45
  800. data/gemfiles/ruby_2.5.6_rails61_postgres_sidekiq.gemfile.lock +0 -302
  801. data/gemfiles/ruby_2.5.6_rails6_mysql2.gemfile +0 -44
  802. data/gemfiles/ruby_2.5.6_rails6_mysql2.gemfile.lock +0 -292
  803. data/gemfiles/ruby_2.5.6_rails6_postgres.gemfile +0 -44
  804. data/gemfiles/ruby_2.5.6_rails6_postgres.gemfile.lock +0 -292
  805. data/gemfiles/ruby_2.5.6_rails6_postgres_redis.gemfile +0 -45
  806. data/gemfiles/ruby_2.5.6_rails6_postgres_redis.gemfile.lock +0 -294
  807. data/gemfiles/ruby_2.5.6_rails6_postgres_redis_activesupport.gemfile +0 -45
  808. data/gemfiles/ruby_2.5.6_rails6_postgres_redis_activesupport.gemfile.lock +0 -294
  809. data/gemfiles/ruby_2.5.6_rails6_postgres_sidekiq.gemfile +0 -46
  810. data/gemfiles/ruby_2.5.6_rails6_postgres_sidekiq.gemfile.lock +0 -300
  811. data/gemfiles/ruby_2.5.6_resque2_redis3.gemfile +0 -40
  812. data/gemfiles/ruby_2.5.6_resque2_redis3.gemfile.lock +0 -188
  813. data/gemfiles/ruby_2.5.6_resque2_redis4.gemfile +0 -40
  814. data/gemfiles/ruby_2.5.6_resque2_redis4.gemfile.lock +0 -188
  815. data/gemfiles/ruby_2.6.4_contrib.gemfile +0 -79
  816. data/gemfiles/ruby_2.6.4_contrib.gemfile.lock +0 -1524
  817. data/gemfiles/ruby_2.6.4_contrib_old.gemfile +0 -39
  818. data/gemfiles/ruby_2.6.4_contrib_old.gemfile.lock +0 -167
  819. data/gemfiles/ruby_2.6.4_core_old.gemfile +0 -38
  820. data/gemfiles/ruby_2.6.4_core_old.gemfile.lock +0 -163
  821. data/gemfiles/ruby_2.6.4_cucumber3.gemfile +0 -39
  822. data/gemfiles/ruby_2.6.4_cucumber3.gemfile.lock +0 -184
  823. data/gemfiles/ruby_2.6.4_cucumber4.gemfile +0 -39
  824. data/gemfiles/ruby_2.6.4_cucumber4.gemfile.lock +0 -216
  825. data/gemfiles/ruby_2.6.4_cucumber5.gemfile +0 -39
  826. data/gemfiles/ruby_2.6.4_cucumber5.gemfile.lock +0 -216
  827. data/gemfiles/ruby_2.6.4_rails5_mysql2.gemfile +0 -42
  828. data/gemfiles/ruby_2.6.4_rails5_mysql2.gemfile.lock +0 -276
  829. data/gemfiles/ruby_2.6.4_rails5_postgres.gemfile +0 -42
  830. data/gemfiles/ruby_2.6.4_rails5_postgres.gemfile.lock +0 -276
  831. data/gemfiles/ruby_2.6.4_rails5_postgres_redis.gemfile +0 -43
  832. data/gemfiles/ruby_2.6.4_rails5_postgres_redis.gemfile.lock +0 -278
  833. data/gemfiles/ruby_2.6.4_rails5_postgres_redis_activesupport.gemfile +0 -43
  834. data/gemfiles/ruby_2.6.4_rails5_postgres_redis_activesupport.gemfile.lock +0 -278
  835. data/gemfiles/ruby_2.6.4_rails5_postgres_sidekiq.gemfile +0 -44
  836. data/gemfiles/ruby_2.6.4_rails5_postgres_sidekiq.gemfile.lock +0 -284
  837. data/gemfiles/ruby_2.6.4_rails61_mysql2.gemfile +0 -42
  838. data/gemfiles/ruby_2.6.4_rails61_mysql2.gemfile.lock +0 -295
  839. data/gemfiles/ruby_2.6.4_rails61_postgres.gemfile +0 -42
  840. data/gemfiles/ruby_2.6.4_rails61_postgres.gemfile.lock +0 -295
  841. data/gemfiles/ruby_2.6.4_rails61_postgres_redis.gemfile +0 -43
  842. data/gemfiles/ruby_2.6.4_rails61_postgres_redis.gemfile.lock +0 -297
  843. data/gemfiles/ruby_2.6.4_rails61_postgres_sidekiq.gemfile +0 -43
  844. data/gemfiles/ruby_2.6.4_rails61_postgres_sidekiq.gemfile.lock +0 -302
  845. data/gemfiles/ruby_2.6.4_rails6_mysql2.gemfile +0 -42
  846. data/gemfiles/ruby_2.6.4_rails6_mysql2.gemfile.lock +0 -292
  847. data/gemfiles/ruby_2.6.4_rails6_postgres.gemfile +0 -42
  848. data/gemfiles/ruby_2.6.4_rails6_postgres.gemfile.lock +0 -292
  849. data/gemfiles/ruby_2.6.4_rails6_postgres_redis.gemfile +0 -43
  850. data/gemfiles/ruby_2.6.4_rails6_postgres_redis.gemfile.lock +0 -294
  851. data/gemfiles/ruby_2.6.4_rails6_postgres_redis_activesupport.gemfile +0 -43
  852. data/gemfiles/ruby_2.6.4_rails6_postgres_redis_activesupport.gemfile.lock +0 -294
  853. data/gemfiles/ruby_2.6.4_rails6_postgres_sidekiq.gemfile +0 -44
  854. data/gemfiles/ruby_2.6.4_rails6_postgres_sidekiq.gemfile.lock +0 -300
  855. data/gemfiles/ruby_2.6.4_resque2_redis3.gemfile +0 -40
  856. data/gemfiles/ruby_2.6.4_resque2_redis3.gemfile.lock +0 -190
  857. data/gemfiles/ruby_2.6.4_resque2_redis4.gemfile +0 -40
  858. data/gemfiles/ruby_2.6.4_resque2_redis4.gemfile.lock +0 -190
  859. data/gemfiles/ruby_2.7.0_contrib.gemfile +0 -78
  860. data/gemfiles/ruby_2.7.0_contrib.gemfile.lock +0 -1523
  861. data/gemfiles/ruby_2.7.0_contrib_old.gemfile +0 -39
  862. data/gemfiles/ruby_2.7.0_contrib_old.gemfile.lock +0 -167
  863. data/gemfiles/ruby_2.7.0_core_old.gemfile +0 -38
  864. data/gemfiles/ruby_2.7.0_core_old.gemfile.lock +0 -163
  865. data/gemfiles/ruby_2.7.0_cucumber3.gemfile +0 -39
  866. data/gemfiles/ruby_2.7.0_cucumber3.gemfile.lock +0 -184
  867. data/gemfiles/ruby_2.7.0_cucumber4.gemfile +0 -39
  868. data/gemfiles/ruby_2.7.0_cucumber4.gemfile.lock +0 -216
  869. data/gemfiles/ruby_2.7.0_cucumber5.gemfile +0 -39
  870. data/gemfiles/ruby_2.7.0_cucumber5.gemfile.lock +0 -216
  871. data/gemfiles/ruby_2.7.0_rails5_mysql2.gemfile +0 -42
  872. data/gemfiles/ruby_2.7.0_rails5_mysql2.gemfile.lock +0 -276
  873. data/gemfiles/ruby_2.7.0_rails5_postgres.gemfile +0 -42
  874. data/gemfiles/ruby_2.7.0_rails5_postgres.gemfile.lock +0 -276
  875. data/gemfiles/ruby_2.7.0_rails5_postgres_redis.gemfile +0 -44
  876. data/gemfiles/ruby_2.7.0_rails5_postgres_redis.gemfile.lock +0 -295
  877. data/gemfiles/ruby_2.7.0_rails5_postgres_redis_activesupport.gemfile +0 -44
  878. data/gemfiles/ruby_2.7.0_rails5_postgres_redis_activesupport.gemfile.lock +0 -295
  879. data/gemfiles/ruby_2.7.0_rails5_postgres_sidekiq.gemfile +0 -44
  880. data/gemfiles/ruby_2.7.0_rails5_postgres_sidekiq.gemfile.lock +0 -284
  881. data/gemfiles/ruby_2.7.0_rails61_mysql2.gemfile +0 -42
  882. data/gemfiles/ruby_2.7.0_rails61_mysql2.gemfile.lock +0 -295
  883. data/gemfiles/ruby_2.7.0_rails61_postgres.gemfile +0 -42
  884. data/gemfiles/ruby_2.7.0_rails61_postgres.gemfile.lock +0 -295
  885. data/gemfiles/ruby_2.7.0_rails61_postgres_redis.gemfile +0 -43
  886. data/gemfiles/ruby_2.7.0_rails61_postgres_redis.gemfile.lock +0 -297
  887. data/gemfiles/ruby_2.7.0_rails61_postgres_sidekiq.gemfile +0 -43
  888. data/gemfiles/ruby_2.7.0_rails61_postgres_sidekiq.gemfile.lock +0 -302
  889. data/gemfiles/ruby_2.7.0_rails6_mysql2.gemfile +0 -42
  890. data/gemfiles/ruby_2.7.0_rails6_mysql2.gemfile.lock +0 -292
  891. data/gemfiles/ruby_2.7.0_rails6_postgres.gemfile +0 -42
  892. data/gemfiles/ruby_2.7.0_rails6_postgres.gemfile.lock +0 -292
  893. data/gemfiles/ruby_2.7.0_rails6_postgres_redis.gemfile +0 -44
  894. data/gemfiles/ruby_2.7.0_rails6_postgres_redis.gemfile.lock +0 -311
  895. data/gemfiles/ruby_2.7.0_rails6_postgres_redis_activesupport.gemfile +0 -44
  896. data/gemfiles/ruby_2.7.0_rails6_postgres_redis_activesupport.gemfile.lock +0 -311
  897. data/gemfiles/ruby_2.7.0_rails6_postgres_sidekiq.gemfile +0 -44
  898. data/gemfiles/ruby_2.7.0_rails6_postgres_sidekiq.gemfile.lock +0 -300
  899. data/gemfiles/ruby_2.7.0_resque2_redis3.gemfile +0 -40
  900. data/gemfiles/ruby_2.7.0_resque2_redis3.gemfile.lock +0 -190
  901. data/gemfiles/ruby_2.7.0_resque2_redis4.gemfile +0 -40
  902. data/gemfiles/ruby_2.7.0_resque2_redis4.gemfile.lock +0 -190
  903. data/gemfiles/ruby_3.0.0_contrib.gemfile +0 -78
  904. data/gemfiles/ruby_3.0.0_contrib.gemfile.lock +0 -1540
  905. data/gemfiles/ruby_3.0.0_core_old.gemfile +0 -39
  906. data/gemfiles/ruby_3.0.0_core_old.gemfile.lock +0 -165
  907. data/gemfiles/ruby_3.0.0_cucumber3.gemfile +0 -40
  908. data/gemfiles/ruby_3.0.0_cucumber3.gemfile.lock +0 -186
  909. data/gemfiles/ruby_3.0.0_cucumber4.gemfile +0 -40
  910. data/gemfiles/ruby_3.0.0_cucumber4.gemfile.lock +0 -218
  911. data/gemfiles/ruby_3.0.0_cucumber5.gemfile +0 -40
  912. data/gemfiles/ruby_3.0.0_cucumber5.gemfile.lock +0 -218
  913. data/gemfiles/ruby_3.0.0_rails61_mysql2.gemfile +0 -43
  914. data/gemfiles/ruby_3.0.0_rails61_mysql2.gemfile.lock +0 -295
  915. data/gemfiles/ruby_3.0.0_rails61_postgres.gemfile +0 -43
  916. data/gemfiles/ruby_3.0.0_rails61_postgres.gemfile.lock +0 -295
  917. data/gemfiles/ruby_3.0.0_rails61_postgres_redis.gemfile +0 -44
  918. data/gemfiles/ruby_3.0.0_rails61_postgres_redis.gemfile.lock +0 -297
  919. data/gemfiles/ruby_3.0.0_rails61_postgres_sidekiq.gemfile +0 -44
  920. data/gemfiles/ruby_3.0.0_rails61_postgres_sidekiq.gemfile.lock +0 -302
  921. data/gemfiles/ruby_3.0.0_resque2_redis3.gemfile +0 -41
  922. data/gemfiles/ruby_3.0.0_resque2_redis3.gemfile.lock +0 -192
  923. data/gemfiles/ruby_3.0.0_resque2_redis4.gemfile +0 -41
  924. data/gemfiles/ruby_3.0.0_resque2_redis4.gemfile.lock +0 -192
  925. data/integration/README.md +0 -67
  926. data/integration/apps/rack/.dockerignore +0 -1
  927. data/integration/apps/rack/.envrc.sample +0 -1
  928. data/integration/apps/rack/.gitignore +0 -4
  929. data/integration/apps/rack/.rspec +0 -1
  930. data/integration/apps/rack/Dockerfile +0 -28
  931. data/integration/apps/rack/Dockerfile-ci +0 -11
  932. data/integration/apps/rack/Gemfile +0 -24
  933. data/integration/apps/rack/README.md +0 -93
  934. data/integration/apps/rack/app/acme.rb +0 -80
  935. data/integration/apps/rack/app/datadog.rb +0 -17
  936. data/integration/apps/rack/bin/run +0 -22
  937. data/integration/apps/rack/bin/setup +0 -17
  938. data/integration/apps/rack/bin/test +0 -24
  939. data/integration/apps/rack/config.ru +0 -6
  940. data/integration/apps/rack/config/puma.rb +0 -14
  941. data/integration/apps/rack/config/unicorn.rb +0 -23
  942. data/integration/apps/rack/docker-compose.ci.yml +0 -62
  943. data/integration/apps/rack/docker-compose.yml +0 -78
  944. data/integration/apps/rack/script/build-images +0 -38
  945. data/integration/apps/rack/script/ci +0 -51
  946. data/integration/apps/rack/spec/integration/basic_spec.rb +0 -10
  947. data/integration/apps/rack/spec/spec_helper.rb +0 -16
  948. data/integration/apps/rack/spec/support/integration_helper.rb +0 -22
  949. data/integration/apps/rails-five/.dockerignore +0 -1
  950. data/integration/apps/rails-five/.env +0 -3
  951. data/integration/apps/rails-five/.envrc.sample +0 -1
  952. data/integration/apps/rails-five/.gitignore +0 -30
  953. data/integration/apps/rails-five/Dockerfile +0 -25
  954. data/integration/apps/rails-five/Dockerfile-ci +0 -11
  955. data/integration/apps/rails-five/Gemfile +0 -104
  956. data/integration/apps/rails-five/README.md +0 -94
  957. data/integration/apps/rails-five/Rakefile +0 -6
  958. data/integration/apps/rails-five/app/channels/application_cable/channel.rb +0 -4
  959. data/integration/apps/rails-five/app/channels/application_cable/connection.rb +0 -4
  960. data/integration/apps/rails-five/app/controllers/application_controller.rb +0 -2
  961. data/integration/apps/rails-five/app/controllers/basic_controller.rb +0 -36
  962. data/integration/apps/rails-five/app/controllers/concerns/.keep +0 -0
  963. data/integration/apps/rails-five/app/controllers/health_controller.rb +0 -9
  964. data/integration/apps/rails-five/app/controllers/jobs_controller.rb +0 -12
  965. data/integration/apps/rails-five/app/jobs/application_job.rb +0 -2
  966. data/integration/apps/rails-five/app/jobs/test_job.rb +0 -12
  967. data/integration/apps/rails-five/app/mailers/application_mailer.rb +0 -4
  968. data/integration/apps/rails-five/app/models/application_record.rb +0 -3
  969. data/integration/apps/rails-five/app/models/concerns/.keep +0 -0
  970. data/integration/apps/rails-five/app/models/test.rb +0 -2
  971. data/integration/apps/rails-five/app/views/layouts/mailer.html.erb +0 -13
  972. data/integration/apps/rails-five/app/views/layouts/mailer.text.erb +0 -1
  973. data/integration/apps/rails-five/bin/bundle +0 -3
  974. data/integration/apps/rails-five/bin/rails +0 -9
  975. data/integration/apps/rails-five/bin/rake +0 -9
  976. data/integration/apps/rails-five/bin/run +0 -24
  977. data/integration/apps/rails-five/bin/setup +0 -27
  978. data/integration/apps/rails-five/bin/spring +0 -17
  979. data/integration/apps/rails-five/bin/test +0 -21
  980. data/integration/apps/rails-five/bin/update +0 -28
  981. data/integration/apps/rails-five/config.ru +0 -5
  982. data/integration/apps/rails-five/config/application.rb +0 -97
  983. data/integration/apps/rails-five/config/boot.rb +0 -4
  984. data/integration/apps/rails-five/config/cable.yml +0 -10
  985. data/integration/apps/rails-five/config/credentials.yml.enc +0 -1
  986. data/integration/apps/rails-five/config/database.yml +0 -28
  987. data/integration/apps/rails-five/config/environment.rb +0 -5
  988. data/integration/apps/rails-five/config/environments/development.rb +0 -51
  989. data/integration/apps/rails-five/config/environments/production.rb +0 -82
  990. data/integration/apps/rails-five/config/environments/test.rb +0 -43
  991. data/integration/apps/rails-five/config/initializers/datadog.rb +0 -18
  992. data/integration/apps/rails-five/config/initializers/filter_parameter_logging.rb +0 -4
  993. data/integration/apps/rails-five/config/initializers/resque.rb +0 -4
  994. data/integration/apps/rails-five/config/initializers/rollbar.rb +0 -5
  995. data/integration/apps/rails-five/config/initializers/wrap_parameters.rb +0 -14
  996. data/integration/apps/rails-five/config/locales/en.yml +0 -33
  997. data/integration/apps/rails-five/config/puma.rb +0 -24
  998. data/integration/apps/rails-five/config/routes.rb +0 -11
  999. data/integration/apps/rails-five/config/spring.rb +0 -6
  1000. data/integration/apps/rails-five/config/unicorn.rb +0 -29
  1001. data/integration/apps/rails-five/db/migrate/20190927215052_create_tests.rb +0 -11
  1002. data/integration/apps/rails-five/db/schema.rb +0 -23
  1003. data/integration/apps/rails-five/db/seeds.rb +0 -7
  1004. data/integration/apps/rails-five/docker-compose.ci.yml +0 -98
  1005. data/integration/apps/rails-five/docker-compose.yml +0 -100
  1006. data/integration/apps/rails-five/lib/tasks/.keep +0 -0
  1007. data/integration/apps/rails-five/log/.keep +0 -0
  1008. data/integration/apps/rails-five/public/robots.txt +0 -1
  1009. data/integration/apps/rails-five/script/build-images +0 -35
  1010. data/integration/apps/rails-five/script/ci +0 -51
  1011. data/integration/apps/rails-five/spec/integration/basic_spec.rb +0 -10
  1012. data/integration/apps/rails-five/spec/spec_helper.rb +0 -16
  1013. data/integration/apps/rails-five/spec/support/integration_helper.rb +0 -22
  1014. data/integration/apps/rails-five/storage/.keep +0 -0
  1015. data/integration/apps/rails-five/tmp/.keep +0 -0
  1016. data/integration/apps/rails-five/vendor/.keep +0 -0
  1017. data/integration/apps/rspec/.dockerignore +0 -1
  1018. data/integration/apps/rspec/.envrc.sample +0 -1
  1019. data/integration/apps/rspec/.gitignore +0 -2
  1020. data/integration/apps/rspec/.rspec +0 -1
  1021. data/integration/apps/rspec/Dockerfile +0 -25
  1022. data/integration/apps/rspec/Dockerfile-ci +0 -11
  1023. data/integration/apps/rspec/Gemfile +0 -14
  1024. data/integration/apps/rspec/README.md +0 -70
  1025. data/integration/apps/rspec/agent.yaml +0 -3
  1026. data/integration/apps/rspec/app/datadog.rb +0 -13
  1027. data/integration/apps/rspec/app/fibonacci.rb +0 -30
  1028. data/integration/apps/rspec/bin/run +0 -20
  1029. data/integration/apps/rspec/bin/setup +0 -17
  1030. data/integration/apps/rspec/bin/test +0 -21
  1031. data/integration/apps/rspec/docker-compose.ci.yml +0 -51
  1032. data/integration/apps/rspec/docker-compose.yml +0 -63
  1033. data/integration/apps/rspec/script/build-images +0 -37
  1034. data/integration/apps/rspec/script/ci +0 -53
  1035. data/integration/apps/rspec/spec/fibonacci_spec.rb +0 -16
  1036. data/integration/apps/rspec/spec/rspec_spec.rb +0 -58
  1037. data/integration/apps/rspec/spec/spec_helper.rb +0 -24
  1038. data/integration/apps/ruby/.dockerignore +0 -1
  1039. data/integration/apps/ruby/.envrc.sample +0 -1
  1040. data/integration/apps/ruby/.gitignore +0 -2
  1041. data/integration/apps/ruby/Dockerfile +0 -25
  1042. data/integration/apps/ruby/Dockerfile-ci +0 -11
  1043. data/integration/apps/ruby/Gemfile +0 -11
  1044. data/integration/apps/ruby/README.md +0 -70
  1045. data/integration/apps/ruby/agent.yaml +0 -3
  1046. data/integration/apps/ruby/app/datadog.rb +0 -13
  1047. data/integration/apps/ruby/app/fibonacci.rb +0 -58
  1048. data/integration/apps/ruby/bin/run +0 -20
  1049. data/integration/apps/ruby/bin/setup +0 -17
  1050. data/integration/apps/ruby/bin/test +0 -21
  1051. data/integration/apps/ruby/docker-compose.ci.yml +0 -51
  1052. data/integration/apps/ruby/docker-compose.yml +0 -63
  1053. data/integration/apps/ruby/script/build-images +0 -38
  1054. data/integration/apps/ruby/script/ci +0 -51
  1055. data/integration/images/agent/Dockerfile +0 -2
  1056. data/integration/images/agent/agent.yaml +0 -3
  1057. data/integration/images/include/datadog/analyzer.rb +0 -71
  1058. data/integration/images/include/datadog/demo_env.rb +0 -101
  1059. data/integration/images/include/http-health-check +0 -33
  1060. data/integration/images/ruby/2.1/Dockerfile +0 -54
  1061. data/integration/images/ruby/2.2/Dockerfile +0 -54
  1062. data/integration/images/ruby/2.3/Dockerfile +0 -70
  1063. data/integration/images/ruby/2.4/Dockerfile +0 -54
  1064. data/integration/images/ruby/2.5/Dockerfile +0 -54
  1065. data/integration/images/ruby/2.6/Dockerfile +0 -54
  1066. data/integration/images/ruby/2.7/Dockerfile +0 -54
  1067. data/integration/images/ruby/3.0/Dockerfile +0 -54
  1068. data/integration/images/wrk/Dockerfile +0 -33
  1069. data/integration/images/wrk/scripts/entrypoint.sh +0 -17
  1070. data/integration/images/wrk/scripts/scenarios/basic/default.lua +0 -1
  1071. data/integration/images/wrk/scripts/scenarios/basic/fibonacci.lua +0 -1
  1072. data/integration/script/build-images +0 -43
  1073. data/lib/ddtrace/environment.rb +0 -41
  1074. data/lib/ddtrace/runtime/cgroup.rb +0 -44
  1075. data/lib/ddtrace/runtime/class_count.rb +0 -17
  1076. data/lib/ddtrace/runtime/container.rb +0 -87
  1077. data/lib/ddtrace/runtime/gc.rb +0 -16
  1078. data/lib/ddtrace/runtime/identity.rb +0 -48
  1079. data/lib/ddtrace/runtime/object_space.rb +0 -19
  1080. data/lib/ddtrace/runtime/socket.rb +0 -14
  1081. data/lib/ddtrace/runtime/thread_count.rb +0 -16
  1082. data/tasks/release_gem.rake +0 -28
data/Gemfile DELETED
@@ -1,69 +0,0 @@
1
- source 'https://rubygems.org'
2
-
3
- gemspec
4
-
5
- # Development dependencies
6
- gem 'addressable', '~> 2.4.0' # locking transitive dependency of webmock
7
- gem 'appraisal', '~> 2.2'
8
- gem 'benchmark-ips', '~> 2.8'
9
- gem 'benchmark-memory', '~> 0.1'
10
- gem 'builder'
11
- gem 'climate_control', '~> 0.2.0'
12
- # Leave it open as we also have it as an integration and want Appraisal to control the version under test.
13
- gem 'concurrent-ruby'
14
- gem 'memory_profiler', '~> 0.9'
15
- gem 'minitest', '= 5.10.1'
16
- gem 'minitest-around', '0.5.0'
17
- gem 'minitest-stub_any_instance', '1.0.2'
18
- gem 'pimpmychangelog', '>= 0.1.2'
19
- gem 'pry'
20
- if RUBY_PLATFORM != 'java'
21
- # There's a few incompatibilities between pry/pry-byebug on older Rubies
22
- gem 'pry-byebug' if RUBY_VERSION >= '2.6.0' && RUBY_ENGINE != 'truffleruby'
23
- gem 'pry-nav' if RUBY_VERSION < '2.6.0'
24
- gem 'pry-stack_explorer'
25
- else
26
- gem 'pry-debugger-jruby'
27
- end
28
- gem 'rake', '>= 10.5'
29
- gem 'redcarpet', '~> 3.4' if RUBY_PLATFORM != 'java'
30
- gem 'rspec', '~> 3.10'
31
- gem 'rspec-collection_matchers', '~> 1.1'
32
- gem 'rspec_junit_formatter', '>= 0.4.1'
33
- gem 'rspec_n', '~> 1.3' if RUBY_VERSION >= '2.3.0'
34
- gem 'ruby-prof', '~> 1.4' if RUBY_PLATFORM != 'java' && RUBY_VERSION >= '2.4.0'
35
- if RUBY_VERSION >= '2.5.0'
36
- # Merging branch coverage results does not work for old, unsupported rubies.
37
- # We have a fix up for review, https://github.com/simplecov-ruby/simplecov/pull/972,
38
- # but given it only affects unsupported version of Ruby, it might not get merged.
39
- gem 'simplecov', git: 'https://github.com/DataDog/simplecov', ref: '3bb6b7ee58bf4b1954ca205f50dd44d6f41c57db'
40
- else
41
- # Compatible with older rubies. This version still produces compatible output
42
- # with a newer version when the reports are merged.
43
- gem 'simplecov', '~> 0.17'
44
- end
45
- gem 'warning', '~> 1' if RUBY_VERSION >= '2.5.0'
46
- gem 'webmock', '>= 3.10.0'
47
- if RUBY_VERSION < '2.3.0'
48
- gem 'rexml', '< 3.2.5' # Pinned due to https://github.com/ruby/rexml/issues/69
49
- end
50
- gem 'webrick', '>= 1.7.0' if RUBY_VERSION >= '3.0.0' # No longer bundled by default since Ruby 3.0
51
- gem 'yard', '~> 0.9'
52
-
53
- if RUBY_VERSION >= '2.4.0'
54
- gem 'rubocop', '~> 1.10', require: false
55
- gem 'rubocop-performance', '~> 1.9', require: false
56
- gem 'rubocop-rspec', '~> 2.2', require: false
57
- end
58
-
59
- # Optional extensions
60
- # TODO: Move this to Appraisals?
61
- gem 'dogstatsd-ruby', '>= 3.3.0'
62
- gem 'opentracing', '>= 0.4.1'
63
-
64
- # Profiler optional dependencies
65
- # NOTE: We're excluding versions 3.7.0 and 3.7.1 for the reasons documented in #1424 and the big comment in
66
- # lib/ddtrace/profiling.rb: it breaks for some older rubies in CI without BUNDLE_FORCE_RUBY_PLATFORM=true.
67
- # Since most of our customers won't have BUNDLE_FORCE_RUBY_PLATFORM=true, it's not something we want to add
68
- # to our CI, so we just shortcut and exclude specific versions that were affecting our CI.
69
- gem 'google-protobuf', ['~> 3.0', '!= 3.7.0', '!= 3.7.1'] if RUBY_PLATFORM != 'java'
data/Rakefile DELETED
@@ -1,939 +0,0 @@
1
- require 'bundler/gem_tasks'
2
- require 'ddtrace/version'
3
- require 'rubocop/rake_task' if Gem.loaded_specs.key? 'rubocop'
4
- require 'rspec/core/rake_task'
5
- require 'rake/testtask'
6
- require 'appraisal'
7
- require 'yard'
8
-
9
- Dir.glob('tasks/*.rake').each { |r| import r }
10
-
11
- desc 'Run RSpec'
12
- # rubocop:disable Metrics/BlockLength
13
- namespace :spec do
14
- task all: [:main, :benchmark,
15
- :rails, :railsredis, :railsactivejob,
16
- :elasticsearch, :http, :redis, :sidekiq, :sinatra]
17
-
18
- RSpec::Core::RakeTask.new(:main) do |t, args|
19
- t.pattern = 'spec/**/*_spec.rb'
20
- t.exclude_pattern = 'spec/**/{contrib,benchmark,redis,opentracer,opentelemetry,auto_instrument}/**/*_spec.rb,'\
21
- ' spec/**/auto_instrument_spec.rb'
22
- t.rspec_opts = args.to_a.join(' ')
23
- end
24
-
25
- RSpec::Core::RakeTask.new(:benchmark) do |t, args|
26
- t.pattern = 'spec/ddtrace/benchmark/**/*_spec.rb'
27
- t.rspec_opts = args.to_a.join(' ')
28
- end
29
-
30
- RSpec::Core::RakeTask.new(:opentracer) do |t, args|
31
- t.pattern = 'spec/ddtrace/opentracer/**/*_spec.rb'
32
- t.rspec_opts = args.to_a.join(' ')
33
- end
34
-
35
- RSpec::Core::RakeTask.new(:opentelemetry) do |t, args|
36
- t.pattern = 'spec/ddtrace/opentelemetry/**/*_spec.rb'
37
- t.rspec_opts = args.to_a.join(' ')
38
- end
39
-
40
- RSpec::Core::RakeTask.new(:rails) do |t, args|
41
- t.pattern = 'spec/ddtrace/contrib/rails/**/*_spec.rb'
42
- t.exclude_pattern = 'spec/ddtrace/contrib/rails/**/*{active_job,disable_env,redis_cache,auto_instrument}*_spec.rb'
43
- t.rspec_opts = args.to_a.join(' ')
44
- end
45
-
46
- RSpec::Core::RakeTask.new(:railsredis) do |t, args|
47
- t.pattern = 'spec/ddtrace/contrib/rails/**/*redis*_spec.rb'
48
- t.rspec_opts = args.to_a.join(' ')
49
- end
50
-
51
- RSpec::Core::RakeTask.new(:railsactivejob) do |t, args|
52
- t.pattern = 'spec/ddtrace/contrib/rails/**/*active_job*_spec.rb'
53
- t.rspec_opts = args.to_a.join(' ')
54
- end
55
-
56
- RSpec::Core::RakeTask.new(:railsdisableenv) do |t, args|
57
- t.pattern = 'spec/ddtrace/contrib/rails/**/*disable_env*_spec.rb'
58
- t.rspec_opts = args.to_a.join(' ')
59
- end
60
-
61
- RSpec::Core::RakeTask.new(:railsautoinstrument) do |t, args|
62
- t.pattern = 'spec/ddtrace/contrib/rails/**/*auto_instrument*_spec.rb'
63
- t.rspec_opts = args.to_a.join(' ')
64
- end
65
-
66
- RSpec::Core::RakeTask.new(:autoinstrument) do |t, args|
67
- t.pattern = 'spec/ddtrace/auto_instrument_spec.rb'
68
- t.rspec_opts = args.to_a.join(' ')
69
- end
70
-
71
- RSpec::Core::RakeTask.new(:contrib) do |t, args|
72
- contrib_paths = [
73
- 'analytics',
74
- 'configurable',
75
- 'configuration/*',
76
- 'configuration/resolvers/*',
77
- 'extensions',
78
- 'integration',
79
- 'patchable',
80
- 'patcher',
81
- 'registerable',
82
- 'registry',
83
- 'registry/*'
84
- ].join(',')
85
-
86
- t.pattern = "spec/**/contrib/{#{contrib_paths}}_spec.rb"
87
- t.rspec_opts = args.to_a.join(' ')
88
- end
89
-
90
- # Datadog Tracing integrations
91
- [
92
- :action_cable,
93
- :action_pack,
94
- :action_view,
95
- :active_model_serializers,
96
- :active_record,
97
- :active_support,
98
- :aws,
99
- :concurrent_ruby,
100
- :cucumber,
101
- :dalli,
102
- :delayed_job,
103
- :elasticsearch,
104
- :ethon,
105
- :excon,
106
- :faraday,
107
- :grape,
108
- :graphql,
109
- :grpc,
110
- :http,
111
- :httpclient,
112
- :httprb,
113
- :kafka,
114
- :mongodb,
115
- :mysql2,
116
- :presto,
117
- :qless,
118
- :que,
119
- :racecar,
120
- :rack,
121
- :rake,
122
- :redis,
123
- :resque,
124
- :rest_client,
125
- :rspec,
126
- :sequel,
127
- :shoryuken,
128
- :sidekiq,
129
- :sinatra,
130
- :sneakers,
131
- :sucker_punch,
132
- :suite
133
- ].each do |contrib|
134
- RSpec::Core::RakeTask.new(contrib) do |t, args|
135
- t.pattern = "spec/ddtrace/contrib/#{contrib}/**/*_spec.rb"
136
- t.rspec_opts = args.to_a.join(' ')
137
- end
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
150
- end
151
-
152
- namespace :test do
153
- task all: [:main,
154
- :rails]
155
-
156
- Rake::TestTask.new(:main) do |t|
157
- t.libs << %w[test lib]
158
- t.test_files = FileList['test/**/*_test.rb'].reject do |path|
159
- path.include?('contrib') ||
160
- path.include?('benchmark') ||
161
- path.include?('redis')
162
- end
163
- end
164
-
165
- Rake::TestTask.new(:rails) do |t|
166
- t.libs << %w[test lib]
167
- t.test_files = FileList['test/contrib/rails/**/*_test.rb']
168
- end
169
- end
170
-
171
- Rake::TestTask.new(:benchmark) do |t|
172
- t.libs << %w[test lib]
173
- t.test_files = FileList['test/benchmark_test.rb']
174
- end
175
-
176
- if defined?(RuboCop::RakeTask)
177
- RuboCop::RakeTask.new(:rubocop) do |t|
178
- t.options << ['-D', '--force-exclusion']
179
- t.patterns = ['lib/**/*.rb', 'test/**/*.rb', 'spec/**/*.rb', 'Gemfile', 'Rakefile']
180
- end
181
- end
182
-
183
- YARD::Rake::YardocTask.new(:docs) do |t|
184
- t.options += ['--title', "ddtrace #{Datadog::VERSION::STRING} documentation"]
185
- t.options += ['--markup', 'markdown']
186
- t.options += ['--markup-provider', 'redcarpet']
187
- end
188
-
189
- # Deploy tasks
190
- S3_BUCKET = 'gems.datadoghq.com'.freeze
191
- S3_DIR = ENV['S3_DIR']
192
-
193
- desc 'release the docs website'
194
- task :'release:docs' => :docs do
195
- raise 'Missing environment variable S3_DIR' if !S3_DIR || S3_DIR.empty?
196
-
197
- sh "aws s3 cp --recursive doc/ s3://#{S3_BUCKET}/#{S3_DIR}/docs/"
198
- end
199
-
200
- # Declare a command for execution.
201
- # Jobs are parallelized if running in CI.
202
- def declare(*args)
203
- total_executors = ENV.key?('CIRCLE_NODE_TOTAL') ? ENV['CIRCLE_NODE_TOTAL'].to_i : nil
204
- current_executor = ENV.key?('CIRCLE_NODE_INDEX') ? ENV['CIRCLE_NODE_INDEX'].to_i : nil
205
-
206
- ruby_runtime = if defined?(RUBY_ENGINE_VERSION)
207
- "#{RUBY_ENGINE}-#{RUBY_ENGINE_VERSION}"
208
- else
209
- "#{RUBY_ENGINE}-#{RUBY_VERSION}" # For Ruby < 2.3
210
- end
211
-
212
- args[0].sub!(/^bundle exec appraisal /, "bundle exec appraisal #{ruby_runtime}-")
213
-
214
- if total_executors && current_executor && total_executors > 1
215
- @execution_count ||= 0
216
- @execution_count += 1
217
- sh(*args) if @execution_count % total_executors == current_executor
218
- else
219
- sh(*args)
220
- end
221
- end
222
-
223
- desc 'CI task; it runs all tests for current version of Ruby'
224
- task :ci do
225
- if Gem::Version.new(RUBY_VERSION) < Gem::Version.new(Datadog::VERSION::MINIMUM_RUBY_VERSION)
226
- raise NotImplementedError, "Ruby versions < #{Datadog::VERSION::MINIMUM_RUBY_VERSION} are not supported!"
227
- elsif Gem::Version.new('2.1.0') <= Gem::Version.new(RUBY_VERSION) \
228
- && Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.2.0')
229
- # Main library
230
- declare 'bundle exec rake test:main'
231
- declare 'bundle exec rake spec:main'
232
- declare 'bundle exec appraisal core-old rake spec:main'
233
- declare 'bundle exec rake spec:contrib'
234
- declare 'bundle exec rake spec:opentracer'
235
-
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'
292
- elsif Gem::Version.new('2.2.0') <= Gem::Version.new(RUBY_VERSION)\
293
- && Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.3.0')
294
- # Main library
295
- declare 'bundle exec rake test:main'
296
- declare 'bundle exec rake spec:main'
297
- declare 'bundle exec appraisal core-old rake spec:main'
298
- declare 'bundle exec rake spec:contrib'
299
- declare 'bundle exec rake spec:opentracer'
300
-
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'
373
- elsif Gem::Version.new('2.3.0') <= Gem::Version.new(RUBY_VERSION) \
374
- && Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.4.0')
375
- # Main library
376
- declare 'bundle exec rake test:main'
377
- declare 'bundle exec rake spec:main'
378
- declare 'bundle exec appraisal core-old rake spec:main'
379
- declare 'bundle exec rake spec:contrib'
380
- declare 'bundle exec rake spec:opentracer'
381
-
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'
455
-
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'
459
- elsif Gem::Version.new('2.4.0') <= Gem::Version.new(RUBY_VERSION) \
460
- && Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.5.0')
461
- # Main library
462
- declare 'bundle exec rake test:main'
463
- declare 'bundle exec rake spec:main'
464
- declare 'bundle exec appraisal core-old rake spec:main'
465
- declare 'bundle exec rake spec:contrib'
466
- declare 'bundle exec rake spec:opentracer'
467
- declare 'bundle exec rake spec:opentelemetry'
468
-
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'
524
-
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'
528
-
529
- # explicitly test cucumber compatibility
530
- declare 'bundle exec appraisal cucumber3 rake spec:cucumber'
531
- declare 'bundle exec appraisal cucumber4 rake spec:cucumber'
532
- elsif Gem::Version.new('2.5.0') <= Gem::Version.new(RUBY_VERSION) \
533
- && Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.6.0')
534
- # Main library
535
- declare 'bundle exec rake test:main'
536
- declare 'bundle exec rake spec:main'
537
- declare 'bundle exec appraisal core-old rake spec:main'
538
- declare 'bundle exec rake spec:contrib'
539
- declare 'bundle exec rake spec:opentracer'
540
- declare 'bundle exec rake spec:opentelemetry'
541
- # Contrib minitests
542
- # Contrib specs
543
- declare 'bundle exec appraisal contrib rake spec:action_pack'
544
- declare 'bundle exec appraisal contrib rake spec:action_view'
545
- declare 'bundle exec appraisal contrib rake spec:active_model_serializers'
546
- declare 'bundle exec appraisal contrib rake spec:active_record'
547
- declare 'bundle exec appraisal contrib rake spec:active_support'
548
- declare 'bundle exec appraisal contrib rake spec:autoinstrument'
549
- declare 'bundle exec appraisal contrib rake spec:aws'
550
- declare 'bundle exec appraisal contrib rake spec:concurrent_ruby'
551
- declare 'bundle exec appraisal contrib rake spec:cucumber'
552
- declare 'bundle exec appraisal contrib rake spec:dalli'
553
- declare 'bundle exec appraisal contrib rake spec:delayed_job'
554
- declare 'bundle exec appraisal contrib rake spec:elasticsearch'
555
- declare 'bundle exec appraisal contrib rake spec:ethon'
556
- declare 'bundle exec appraisal contrib rake spec:excon'
557
- declare 'bundle exec appraisal contrib rake spec:faraday'
558
- declare 'bundle exec appraisal contrib rake spec:grape'
559
- declare 'bundle exec appraisal contrib rake spec:graphql'
560
- declare 'bundle exec appraisal contrib rake spec:grpc' if RUBY_PLATFORM != 'java' # protobuf not supported
561
- declare 'bundle exec appraisal contrib rake spec:http'
562
- declare 'bundle exec appraisal contrib rake spec:httpclient'
563
- declare 'bundle exec appraisal contrib rake spec:httprb'
564
- declare 'bundle exec appraisal contrib rake spec:kafka'
565
- declare 'bundle exec appraisal contrib rake spec:mongodb'
566
- declare 'bundle exec appraisal contrib rake spec:mysql2' if RUBY_PLATFORM != 'java' # built-in jdbc is used instead
567
- declare 'bundle exec appraisal contrib rake spec:presto'
568
- declare 'bundle exec appraisal contrib rake spec:qless'
569
- declare 'bundle exec appraisal contrib rake spec:que'
570
- declare 'bundle exec appraisal contrib rake spec:racecar'
571
- declare 'bundle exec appraisal contrib rake spec:rack'
572
- declare 'bundle exec appraisal contrib rake spec:rake'
573
- declare 'bundle exec appraisal contrib rake spec:redis'
574
- declare 'bundle exec appraisal contrib rake spec:resque'
575
- declare 'bundle exec appraisal contrib rake spec:rest_client'
576
- declare 'bundle exec appraisal contrib rake spec:rspec'
577
- declare 'bundle exec appraisal contrib rake spec:sequel'
578
- declare 'bundle exec appraisal contrib rake spec:shoryuken'
579
- declare 'bundle exec appraisal contrib rake spec:sidekiq'
580
- declare 'bundle exec appraisal contrib rake spec:sinatra'
581
- declare 'bundle exec appraisal contrib rake spec:sneakers'
582
- declare 'bundle exec appraisal contrib rake spec:sucker_punch'
583
- declare 'bundle exec appraisal contrib rake spec:suite'
584
- # Contrib specs with old gem versions
585
- declare 'bundle exec appraisal contrib-old rake spec:faraday'
586
- # Rails minitests
587
- # We only test Rails 5+ because older versions require Bundler < 2.0
588
- declare 'bundle exec appraisal rails5-mysql2 rake test:rails'
589
- declare 'bundle exec appraisal rails5-postgres rake test:rails'
590
- declare 'bundle exec appraisal rails5-postgres-redis rake spec:railsredis'
591
- declare 'bundle exec appraisal rails5-postgres-redis-activesupport rake spec:railsredis'
592
- declare 'bundle exec appraisal rails5-postgres-sidekiq rake spec:railsactivejob'
593
- declare 'bundle exec appraisal rails5-postgres rake spec:railsdisableenv'
594
- declare 'bundle exec appraisal rails5-postgres rake spec:railsautoinstrument'
595
- declare 'bundle exec appraisal rails6-mysql2 rake test:rails'
596
- declare 'bundle exec appraisal rails6-postgres rake test:rails'
597
- declare 'bundle exec appraisal rails6-postgres-redis rake spec:railsredis'
598
- declare 'bundle exec appraisal rails6-postgres-redis-activesupport rake spec:railsredis'
599
- declare 'bundle exec appraisal rails6-postgres-sidekiq rake spec:railsactivejob'
600
- declare 'bundle exec appraisal rails6-postgres rake spec:railsdisableenv'
601
- declare 'bundle exec appraisal rails6-postgres rake spec:railsautoinstrument'
602
- # Rails specs
603
- declare 'bundle exec appraisal rails5-mysql2 rake spec:action_cable'
604
- declare 'bundle exec appraisal rails5-mysql2 rake spec:rails'
605
- declare 'bundle exec appraisal rails5-postgres rake spec:rails'
606
- declare 'bundle exec appraisal rails6-mysql2 rake spec:action_cable'
607
- declare 'bundle exec appraisal rails6-mysql2 rake spec:rails'
608
- declare 'bundle exec appraisal rails6-postgres rake spec:rails'
609
- declare 'bundle exec appraisal rails61-mysql2 rake spec:action_cable'
610
- declare 'bundle exec appraisal rails61-mysql2 rake spec:rails'
611
- declare 'bundle exec appraisal rails61-mysql2 rake test:rails'
612
- declare 'bundle exec appraisal rails61-postgres rake spec:rails'
613
- declare 'bundle exec appraisal rails61-postgres rake spec:railsdisableenv'
614
- declare 'bundle exec appraisal rails61-postgres rake test:rails'
615
- declare 'bundle exec appraisal rails61-postgres-redis rake spec:railsredis'
616
- declare 'bundle exec appraisal rails61-postgres-sidekiq rake spec:railsactivejob'
617
-
618
- # explicitly test resque-2x compatability
619
- declare 'bundle exec appraisal resque2-redis3 rake spec:resque'
620
- declare 'bundle exec appraisal resque2-redis4 rake spec:resque'
621
-
622
- # explicitly test cucumber compatibility
623
- declare 'bundle exec appraisal cucumber3 rake spec:cucumber'
624
- declare 'bundle exec appraisal cucumber4 rake spec:cucumber'
625
- declare 'bundle exec appraisal cucumber5 rake spec:cucumber'
626
- elsif Gem::Version.new('2.6.0') <= Gem::Version.new(RUBY_VERSION) \
627
- && Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.7.0')
628
- # Main library
629
- declare 'bundle exec rake test:main'
630
- declare 'bundle exec rake spec:main'
631
- declare 'bundle exec appraisal core-old rake spec:main'
632
- declare 'bundle exec rake spec:contrib'
633
- declare 'bundle exec rake spec:opentracer'
634
- declare 'bundle exec rake spec:opentelemetry'
635
-
636
- if RUBY_PLATFORM != 'java'
637
- # Contrib minitests
638
- # Contrib specs
639
- declare 'bundle exec appraisal contrib rake spec:action_pack'
640
- declare 'bundle exec appraisal contrib rake spec:action_view'
641
- declare 'bundle exec appraisal contrib rake spec:active_model_serializers'
642
- declare 'bundle exec appraisal contrib rake spec:active_record'
643
- declare 'bundle exec appraisal contrib rake spec:active_support'
644
- declare 'bundle exec appraisal contrib rake spec:autoinstrument'
645
- declare 'bundle exec appraisal contrib rake spec:aws'
646
- declare 'bundle exec appraisal contrib rake spec:concurrent_ruby'
647
- declare 'bundle exec appraisal contrib rake spec:cucumber'
648
- declare 'bundle exec appraisal contrib rake spec:dalli'
649
- declare 'bundle exec appraisal contrib rake spec:delayed_job'
650
- declare 'bundle exec appraisal contrib rake spec:elasticsearch'
651
- declare 'bundle exec appraisal contrib rake spec:ethon'
652
- declare 'bundle exec appraisal contrib rake spec:excon'
653
- declare 'bundle exec appraisal contrib rake spec:faraday'
654
- declare 'bundle exec appraisal contrib rake spec:grape'
655
- declare 'bundle exec appraisal contrib rake spec:graphql'
656
- declare 'bundle exec appraisal contrib rake spec:grpc'
657
- declare 'bundle exec appraisal contrib rake spec:http'
658
- declare 'bundle exec appraisal contrib rake spec:httpclient'
659
- declare 'bundle exec appraisal contrib rake spec:httprb'
660
- declare 'bundle exec appraisal contrib rake spec:kafka'
661
- declare 'bundle exec appraisal contrib rake spec:mongodb'
662
- declare 'bundle exec appraisal contrib rake spec:mysql2'
663
- declare 'bundle exec appraisal contrib rake spec:presto'
664
- declare 'bundle exec appraisal contrib rake spec:qless'
665
- declare 'bundle exec appraisal contrib rake spec:que'
666
- declare 'bundle exec appraisal contrib rake spec:racecar'
667
- declare 'bundle exec appraisal contrib rake spec:rack'
668
- declare 'bundle exec appraisal contrib rake spec:rake'
669
- declare 'bundle exec appraisal contrib rake spec:redis'
670
- declare 'bundle exec appraisal contrib rake spec:resque'
671
- declare 'bundle exec appraisal contrib rake spec:rest_client'
672
- declare 'bundle exec appraisal contrib rake spec:rspec'
673
- declare 'bundle exec appraisal contrib rake spec:sequel'
674
- declare 'bundle exec appraisal contrib rake spec:shoryuken'
675
- declare 'bundle exec appraisal contrib rake spec:sidekiq'
676
- declare 'bundle exec appraisal contrib rake spec:sinatra'
677
- declare 'bundle exec appraisal contrib rake spec:sneakers'
678
- declare 'bundle exec appraisal contrib rake spec:sucker_punch'
679
- declare 'bundle exec appraisal contrib rake spec:suite'
680
-
681
- # Contrib specs with old gem versions
682
- declare 'bundle exec appraisal contrib-old rake spec:faraday'
683
- # Rails minitests
684
- # We only test Rails 5+ because older versions require Bundler < 2.0
685
- declare 'bundle exec appraisal rails5-mysql2 rake test:rails'
686
- declare 'bundle exec appraisal rails5-postgres rake test:rails'
687
- declare 'bundle exec appraisal rails5-postgres-redis rake spec:railsredis'
688
- declare 'bundle exec appraisal rails5-postgres-redis-activesupport rake spec:railsredis'
689
- declare 'bundle exec appraisal rails5-postgres-sidekiq rake spec:railsactivejob'
690
- declare 'bundle exec appraisal rails5-postgres rake spec:railsdisableenv'
691
- declare 'bundle exec appraisal rails5-postgres rake spec:railsautoinstrument'
692
- declare 'bundle exec appraisal rails6-mysql2 rake test:rails'
693
- declare 'bundle exec appraisal rails6-postgres rake test:rails'
694
- declare 'bundle exec appraisal rails6-postgres-redis rake spec:railsredis'
695
- declare 'bundle exec appraisal rails6-postgres-redis-activesupport rake spec:railsredis'
696
- declare 'bundle exec appraisal rails6-postgres-sidekiq rake spec:railsactivejob'
697
- declare 'bundle exec appraisal rails6-postgres rake spec:railsdisableenv'
698
- declare 'bundle exec appraisal rails6-postgres rake spec:railsautoinstrument'
699
- # Rails specs
700
- declare 'bundle exec appraisal rails5-mysql2 rake spec:action_cable'
701
- declare 'bundle exec appraisal rails5-mysql2 rake spec:rails'
702
- declare 'bundle exec appraisal rails5-postgres rake spec:rails'
703
- declare 'bundle exec appraisal rails6-mysql2 rake spec:action_cable'
704
- declare 'bundle exec appraisal rails6-mysql2 rake spec:rails'
705
- declare 'bundle exec appraisal rails6-postgres rake spec:rails'
706
- declare 'bundle exec appraisal rails61-mysql2 rake spec:action_cable'
707
- declare 'bundle exec appraisal rails61-mysql2 rake spec:rails'
708
- declare 'bundle exec appraisal rails61-mysql2 rake test:rails'
709
- declare 'bundle exec appraisal rails61-postgres rake spec:rails'
710
- declare 'bundle exec appraisal rails61-postgres rake spec:railsdisableenv'
711
- declare 'bundle exec appraisal rails61-postgres rake test:rails'
712
- declare 'bundle exec appraisal rails61-postgres-redis rake spec:railsredis'
713
- declare 'bundle exec appraisal rails61-postgres-sidekiq rake spec:railsactivejob'
714
-
715
- # explicitly test resque-2x compatability
716
- declare 'bundle exec appraisal resque2-redis3 rake spec:resque'
717
- declare 'bundle exec appraisal resque2-redis4 rake spec:resque'
718
-
719
- # explicitly test cucumber compatibility
720
- declare 'bundle exec appraisal cucumber3 rake spec:cucumber'
721
- declare 'bundle exec appraisal cucumber4 rake spec:cucumber'
722
- declare 'bundle exec appraisal cucumber5 rake spec:cucumber'
723
- end
724
- elsif Gem::Version.new('2.7.0') <= Gem::Version.new(RUBY_VERSION) \
725
- && Gem::Version.new(RUBY_VERSION) < Gem::Version.new('3.0.0')
726
- # Main library
727
- declare 'bundle exec rake test:main'
728
- declare 'bundle exec rake spec:main'
729
- declare 'bundle exec appraisal core-old rake spec:main'
730
- declare 'bundle exec rake spec:contrib'
731
- declare 'bundle exec rake spec:opentracer'
732
- declare 'bundle exec rake spec:opentelemetry'
733
-
734
- if RUBY_PLATFORM != 'java'
735
- # Contrib minitests
736
- # Contrib specs
737
- declare 'bundle exec appraisal contrib rake spec:action_pack'
738
- declare 'bundle exec appraisal contrib rake spec:action_view'
739
- declare 'bundle exec appraisal contrib rake spec:active_model_serializers'
740
- declare 'bundle exec appraisal contrib rake spec:active_record'
741
- declare 'bundle exec appraisal contrib rake spec:active_support'
742
- declare 'bundle exec appraisal contrib rake spec:autoinstrument'
743
- declare 'bundle exec appraisal contrib rake spec:aws'
744
- declare 'bundle exec appraisal contrib rake spec:concurrent_ruby'
745
- declare 'bundle exec appraisal contrib rake spec:cucumber'
746
- declare 'bundle exec appraisal contrib rake spec:dalli'
747
- declare 'bundle exec appraisal contrib rake spec:delayed_job'
748
- declare 'bundle exec appraisal contrib rake spec:elasticsearch'
749
- declare 'bundle exec appraisal contrib rake spec:ethon'
750
- declare 'bundle exec appraisal contrib rake spec:excon'
751
- declare 'bundle exec appraisal contrib rake spec:faraday'
752
- declare 'bundle exec appraisal contrib rake spec:grape'
753
- declare 'bundle exec appraisal contrib rake spec:graphql'
754
- declare 'bundle exec appraisal contrib rake spec:grpc'
755
- declare 'bundle exec appraisal contrib rake spec:http'
756
- declare 'bundle exec appraisal contrib rake spec:httpclient'
757
- declare 'bundle exec appraisal contrib rake spec:httprb'
758
- declare 'bundle exec appraisal contrib rake spec:kafka'
759
- declare 'bundle exec appraisal contrib rake spec:mongodb'
760
- declare 'bundle exec appraisal contrib rake spec:mysql2'
761
- declare 'bundle exec appraisal contrib rake spec:presto'
762
- declare 'bundle exec appraisal contrib rake spec:qless'
763
- declare 'bundle exec appraisal contrib rake spec:que'
764
- declare 'bundle exec appraisal contrib rake spec:racecar'
765
- declare 'bundle exec appraisal contrib rake spec:rack'
766
- declare 'bundle exec appraisal contrib rake spec:rake'
767
- declare 'bundle exec appraisal contrib rake spec:redis'
768
- declare 'bundle exec appraisal contrib rake spec:resque'
769
- declare 'bundle exec appraisal contrib rake spec:rest_client'
770
- declare 'bundle exec appraisal contrib rake spec:rspec'
771
- declare 'bundle exec appraisal contrib rake spec:sequel'
772
- declare 'bundle exec appraisal contrib rake spec:shoryuken'
773
- declare 'bundle exec appraisal contrib rake spec:sidekiq'
774
- declare 'bundle exec appraisal contrib rake spec:sinatra'
775
- declare 'bundle exec appraisal contrib rake spec:sneakers'
776
- declare 'bundle exec appraisal contrib rake spec:sucker_punch'
777
- declare 'bundle exec appraisal contrib rake spec:suite'
778
-
779
- # Contrib specs with old gem versions
780
- declare 'bundle exec appraisal contrib-old rake spec:faraday'
781
- # Rails minitests
782
- # We only test Rails 5+ because older versions require Bundler < 2.0
783
- declare 'bundle exec appraisal rails5-mysql2 rake test:rails'
784
- declare 'bundle exec appraisal rails5-postgres rake test:rails'
785
- declare 'bundle exec appraisal rails5-postgres-redis rake spec:railsredis'
786
- declare 'bundle exec appraisal rails5-postgres-redis-activesupport rake spec:railsredis'
787
- declare 'bundle exec appraisal rails5-postgres-sidekiq rake spec:railsactivejob'
788
- declare 'bundle exec appraisal rails5-postgres rake spec:railsdisableenv'
789
- declare 'bundle exec appraisal rails5-postgres rake spec:railsautoinstrument'
790
- declare 'bundle exec appraisal rails6-mysql2 rake test:rails'
791
- declare 'bundle exec appraisal rails6-postgres rake test:rails'
792
- declare 'bundle exec appraisal rails6-postgres-redis rake spec:railsredis'
793
- declare 'bundle exec appraisal rails6-postgres-redis-activesupport rake spec:railsredis'
794
- declare 'bundle exec appraisal rails6-postgres-sidekiq rake spec:railsactivejob'
795
- declare 'bundle exec appraisal rails6-postgres rake spec:railsdisableenv'
796
- declare 'bundle exec appraisal rails6-postgres rake spec:railsautoinstrument'
797
- # Rails specs
798
- declare 'bundle exec appraisal rails5-mysql2 rake spec:rails'
799
- declare 'bundle exec appraisal rails5-postgres rake spec:rails'
800
- declare 'bundle exec appraisal rails6-mysql2 rake spec:action_cable'
801
- declare 'bundle exec appraisal rails6-mysql2 rake spec:rails'
802
- declare 'bundle exec appraisal rails6-postgres rake spec:rails'
803
- declare 'bundle exec appraisal rails61-mysql2 rake spec:action_cable'
804
- declare 'bundle exec appraisal rails61-mysql2 rake spec:rails'
805
- declare 'bundle exec appraisal rails61-mysql2 rake test:rails'
806
- declare 'bundle exec appraisal rails61-postgres rake spec:rails'
807
- declare 'bundle exec appraisal rails61-postgres rake spec:railsdisableenv'
808
- declare 'bundle exec appraisal rails61-postgres rake test:rails'
809
- declare 'bundle exec appraisal rails61-postgres-redis rake spec:railsredis'
810
- declare 'bundle exec appraisal rails61-postgres-sidekiq rake spec:railsactivejob'
811
-
812
- # explicitly test resque-2x compatability
813
- declare 'bundle exec appraisal resque2-redis3 rake spec:resque'
814
- declare 'bundle exec appraisal resque2-redis4 rake spec:resque'
815
-
816
- # explicitly test cucumber compatibility
817
- declare 'bundle exec appraisal cucumber3 rake spec:cucumber'
818
- declare 'bundle exec appraisal cucumber4 rake spec:cucumber'
819
- declare 'bundle exec appraisal cucumber5 rake spec:cucumber'
820
- end
821
- elsif Gem::Version.new('3.0.0') <= Gem::Version.new(RUBY_VERSION)
822
- # Main library
823
- declare 'bundle exec rake test:main'
824
- declare 'bundle exec rake spec:main'
825
- declare 'bundle exec appraisal core-old rake spec:main'
826
- declare 'bundle exec rake spec:contrib'
827
- declare 'bundle exec rake spec:opentracer'
828
- declare 'bundle exec rake spec:opentelemetry'
829
-
830
- if RUBY_PLATFORM != 'java'
831
- # Contrib minitests
832
- # Contrib specs
833
- declare 'bundle exec appraisal contrib rake spec:action_pack'
834
- declare 'bundle exec appraisal contrib rake spec:action_view'
835
- declare 'bundle exec appraisal contrib rake spec:active_model_serializers'
836
- declare 'bundle exec appraisal contrib rake spec:active_record'
837
- declare 'bundle exec appraisal contrib rake spec:active_support'
838
- declare 'bundle exec appraisal contrib rake spec:aws'
839
- declare 'bundle exec appraisal contrib rake spec:concurrent_ruby'
840
- declare 'bundle exec appraisal contrib rake spec:cucumber'
841
- declare 'bundle exec appraisal contrib rake spec:dalli'
842
- declare 'bundle exec appraisal contrib rake spec:delayed_job'
843
- declare 'bundle exec appraisal contrib rake spec:elasticsearch'
844
- declare 'bundle exec appraisal contrib rake spec:ethon'
845
- declare 'bundle exec appraisal contrib rake spec:excon'
846
- declare 'bundle exec appraisal contrib rake spec:faraday'
847
- declare 'bundle exec appraisal contrib rake spec:grape'
848
- declare 'bundle exec appraisal contrib rake spec:graphql'
849
- declare 'bundle exec appraisal contrib rake spec:grpc'
850
- declare 'bundle exec appraisal contrib rake spec:http'
851
- declare 'bundle exec appraisal contrib rake spec:httpclient'
852
- declare 'bundle exec appraisal contrib rake spec:httprb'
853
- declare 'bundle exec appraisal contrib rake spec:kafka'
854
- declare 'bundle exec appraisal contrib rake spec:mongodb'
855
- declare 'bundle exec appraisal contrib rake spec:mysql2'
856
- declare 'bundle exec appraisal contrib rake spec:presto'
857
- declare 'bundle exec appraisal contrib rake spec:qless'
858
- declare 'bundle exec appraisal contrib rake spec:que'
859
- # declare 'bundle exec appraisal contrib rake spec:racecar' # Pending release of our fix: https://github.com/appsignal/rdkafka-ruby/pull/144
860
- declare 'bundle exec appraisal contrib rake spec:rack'
861
- declare 'bundle exec appraisal contrib rake spec:rake'
862
- declare 'bundle exec appraisal contrib rake spec:redis'
863
- declare 'bundle exec appraisal contrib rake spec:resque'
864
- declare 'bundle exec appraisal contrib rake spec:rest_client'
865
- declare 'bundle exec appraisal contrib rake spec:rspec'
866
- declare 'bundle exec appraisal contrib rake spec:sequel'
867
- declare 'bundle exec appraisal contrib rake spec:shoryuken'
868
- declare 'bundle exec appraisal contrib rake spec:sidekiq'
869
- declare 'bundle exec appraisal contrib rake spec:sinatra'
870
- declare 'bundle exec appraisal contrib rake spec:sneakers'
871
- declare 'bundle exec appraisal contrib rake spec:sucker_punch'
872
- declare 'bundle exec appraisal contrib rake spec:suite'
873
-
874
- # Rails
875
- declare 'bundle exec appraisal rails61-mysql2 rake spec:action_cable'
876
- declare 'bundle exec appraisal rails61-mysql2 rake spec:rails'
877
- declare 'bundle exec appraisal rails61-mysql2 rake test:rails'
878
- declare 'bundle exec appraisal rails61-postgres rake spec:rails'
879
- declare 'bundle exec appraisal rails61-postgres rake spec:railsdisableenv'
880
- declare 'bundle exec appraisal rails61-postgres rake test:rails'
881
- declare 'bundle exec appraisal rails61-postgres-redis rake spec:railsredis'
882
- declare 'bundle exec appraisal rails61-postgres-sidekiq rake spec:railsactivejob'
883
-
884
- # explicitly test resque-2x compatability
885
- declare 'bundle exec appraisal resque2-redis3 rake spec:resque'
886
- declare 'bundle exec appraisal resque2-redis4 rake spec:resque'
887
-
888
- # explicitly test cucumber compatibility
889
- declare 'bundle exec appraisal cucumber3 rake spec:cucumber'
890
- declare 'bundle exec appraisal cucumber4 rake spec:cucumber'
891
- declare 'bundle exec appraisal cucumber5 rake spec:cucumber'
892
- end
893
- end
894
- end
895
-
896
- namespace :coverage do
897
- # Generates one global report for all tracer tests
898
- task :report do
899
- require 'simplecov'
900
-
901
- resultset_files = Dir["#{ENV.fetch('COVERAGE_DIR', 'coverage')}/.resultset.json"] +
902
- Dir["#{ENV.fetch('COVERAGE_DIR', 'coverage')}/versions/**/.resultset.json"]
903
-
904
- SimpleCov.collate resultset_files do
905
- coverage_dir "#{ENV.fetch('COVERAGE_DIR', 'coverage')}/report"
906
- if ENV['CI'] == 'true'
907
- require 'codecov'
908
- formatter SimpleCov::Formatter::MultiFormatter.new([SimpleCov::Formatter::HTMLFormatter,
909
- SimpleCov::Formatter::Codecov])
910
- else
911
- formatter SimpleCov::Formatter::HTMLFormatter
912
- end
913
- end
914
- end
915
-
916
- # Generates one report for each Ruby version
917
- task :report_per_ruby_version do
918
- require 'simplecov'
919
-
920
- versions = Dir["#{ENV.fetch('COVERAGE_DIR', 'coverage')}/versions/*"].map { |f| File.basename(f) }
921
- versions.map do |version|
922
- puts "Generating report for: #{version}"
923
- SimpleCov.collate Dir["#{ENV.fetch('COVERAGE_DIR', 'coverage')}/versions/#{version}/**/.resultset.json"] do
924
- coverage_dir "#{ENV.fetch('COVERAGE_DIR', 'coverage')}/report/versions/#{version}"
925
- formatter SimpleCov::Formatter::HTMLFormatter
926
- end
927
- end
928
- end
929
- end
930
-
931
- namespace :changelog do
932
- task :format do
933
- require 'pimpmychangelog'
934
-
935
- PimpMyChangelog::CLI.run!
936
- end
937
- end
938
-
939
- task default: :test