instana 1.193.4 → 1.195.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +20 -2
  3. data/.rubocop.yml +7 -0
  4. data/Appraisals +20 -1
  5. data/Gemfile +3 -0
  6. data/LICENSE +2 -1
  7. data/Rakefile +3 -0
  8. data/benchmarks/10k-rack-traces.rb +3 -0
  9. data/benchmarks/Gemfile +4 -0
  10. data/benchmarks/id_generation.rb +4 -0
  11. data/benchmarks/opentracing.rb +4 -0
  12. data/benchmarks/rack_vanilla_vs_traced.rb +3 -0
  13. data/benchmarks/stackprof_rack_tracing.rb +3 -0
  14. data/benchmarks/time_processing.rb +4 -0
  15. data/bin/console +3 -0
  16. data/docker-compose.yml +20 -0
  17. data/examples/opentracing.rb +4 -0
  18. data/examples/tracing.rb +4 -0
  19. data/extras/license_header.rb +44 -0
  20. data/gemfiles/aws_30.gemfile +21 -0
  21. data/gemfiles/cuba_30.gemfile +3 -0
  22. data/gemfiles/dalli_20.gemfile +3 -0
  23. data/gemfiles/excon_02.gemfile +3 -0
  24. data/gemfiles/excon_021.gemfile +18 -0
  25. data/gemfiles/excon_079.gemfile +18 -0
  26. data/gemfiles/graphql_10.gemfile +3 -0
  27. data/gemfiles/grpc_10.gemfile +3 -0
  28. data/gemfiles/net_http_01.gemfile +3 -0
  29. data/gemfiles/rack_16.gemfile +3 -0
  30. data/gemfiles/rack_20.gemfile +3 -0
  31. data/gemfiles/rails_42.gemfile +3 -0
  32. data/gemfiles/rails_50.gemfile +3 -0
  33. data/gemfiles/rails_52.gemfile +3 -0
  34. data/gemfiles/rails_60.gemfile +3 -0
  35. data/gemfiles/redis_40.gemfile +3 -0
  36. data/gemfiles/resque_122.gemfile +3 -0
  37. data/gemfiles/resque_20.gemfile +3 -0
  38. data/gemfiles/rest_client_16.gemfile +3 -0
  39. data/gemfiles/rest_client_20.gemfile +3 -0
  40. data/gemfiles/roda_20.gemfile +3 -0
  41. data/gemfiles/roda_30.gemfile +3 -0
  42. data/gemfiles/shoryuken_50.gemfile +19 -0
  43. data/gemfiles/sidekiq_42.gemfile +3 -0
  44. data/gemfiles/sidekiq_50.gemfile +3 -0
  45. data/gemfiles/sinatra_14.gemfile +3 -0
  46. data/instana.gemspec +4 -0
  47. data/lib/instana.rb +3 -0
  48. data/lib/instana/activator.rb +3 -0
  49. data/lib/instana/activators/action_cable.rb +24 -0
  50. data/lib/instana/activators/action_controller_api.rb +3 -0
  51. data/lib/instana/activators/action_controller_base.rb +3 -0
  52. data/lib/instana/activators/action_view.rb +3 -0
  53. data/lib/instana/activators/active_record.rb +3 -0
  54. data/lib/instana/activators/aws_sdk_dynamodb.rb +20 -0
  55. data/lib/instana/activators/aws_sdk_s3.rb +20 -0
  56. data/lib/instana/activators/aws_sdk_sns.rb +20 -0
  57. data/lib/instana/activators/aws_sdk_sqs.rb +20 -0
  58. data/lib/instana/activators/cuba.rb +3 -0
  59. data/lib/instana/activators/dalli.rb +3 -0
  60. data/lib/instana/activators/excon.rb +4 -1
  61. data/lib/instana/activators/graphql.rb +3 -0
  62. data/lib/instana/activators/grpc_client.rb +3 -0
  63. data/lib/instana/activators/grpc_server.rb +3 -0
  64. data/lib/instana/activators/net_http.rb +3 -0
  65. data/lib/instana/activators/rack.rb +3 -0
  66. data/lib/instana/activators/rails.rb +3 -0
  67. data/lib/instana/activators/redis.rb +3 -0
  68. data/lib/instana/activators/resque_client.rb +3 -0
  69. data/lib/instana/activators/resque_worker.rb +3 -0
  70. data/lib/instana/activators/rest_client.rb +3 -0
  71. data/lib/instana/activators/roda.rb +3 -0
  72. data/lib/instana/activators/shoryuken.rb +24 -0
  73. data/lib/instana/activators/sidekiq_client.rb +3 -0
  74. data/lib/instana/activators/sidekiq_worker.rb +3 -0
  75. data/lib/instana/activators/sinatra.rb +3 -0
  76. data/lib/instana/agent.rb +3 -0
  77. data/lib/instana/agent/helpers.rb +3 -0
  78. data/lib/instana/agent/hooks.rb +3 -0
  79. data/lib/instana/agent/tasks.rb +3 -0
  80. data/lib/instana/base.rb +3 -0
  81. data/lib/instana/collector.rb +3 -0
  82. data/lib/instana/collectors/gc.rb +3 -0
  83. data/lib/instana/collectors/memory.rb +3 -0
  84. data/lib/instana/collectors/thread.rb +3 -0
  85. data/lib/instana/config.rb +6 -0
  86. data/lib/instana/frameworks/cuba.rb +3 -0
  87. data/lib/instana/frameworks/rails.rb +3 -0
  88. data/lib/instana/frameworks/roda.rb +3 -0
  89. data/lib/instana/frameworks/sinatra.rb +3 -0
  90. data/lib/instana/helpers.rb +3 -0
  91. data/lib/instana/instrumentation/action_cable.rb +53 -0
  92. data/lib/instana/instrumentation/action_controller.rb +3 -0
  93. data/lib/instana/instrumentation/action_view.rb +3 -0
  94. data/lib/instana/instrumentation/active_record.rb +3 -0
  95. data/lib/instana/instrumentation/aws_sdk_dynamodb.rb +48 -0
  96. data/lib/instana/instrumentation/aws_sdk_s3.rb +55 -0
  97. data/lib/instana/instrumentation/aws_sdk_sns.rb +29 -0
  98. data/lib/instana/instrumentation/aws_sdk_sqs.rb +98 -0
  99. data/lib/instana/instrumentation/dalli.rb +3 -0
  100. data/lib/instana/instrumentation/excon.rb +13 -4
  101. data/lib/instana/instrumentation/graphql.rb +3 -0
  102. data/lib/instana/instrumentation/grpc.rb +3 -0
  103. data/lib/instana/instrumentation/instrumented_request.rb +68 -7
  104. data/lib/instana/instrumentation/net-http.rb +13 -3
  105. data/lib/instana/instrumentation/rack.rb +38 -15
  106. data/lib/instana/instrumentation/redis.rb +3 -0
  107. data/lib/instana/instrumentation/resque.rb +3 -0
  108. data/lib/instana/instrumentation/rest-client.rb +3 -0
  109. data/lib/instana/instrumentation/shoryuken.rb +44 -0
  110. data/lib/instana/instrumentation/sidekiq-client.rb +4 -1
  111. data/lib/instana/instrumentation/sidekiq-worker.rb +4 -1
  112. data/lib/instana/opentracing/carrier.rb +3 -0
  113. data/lib/instana/opentracing/tracer.rb +3 -0
  114. data/lib/instana/rack.rb +4 -0
  115. data/lib/instana/secrets.rb +5 -2
  116. data/lib/instana/setup.rb +3 -0
  117. data/lib/instana/thread_local.rb +3 -0
  118. data/lib/instana/tracer.rb +17 -11
  119. data/lib/instana/tracing/processor.rb +3 -0
  120. data/lib/instana/tracing/span.rb +12 -3
  121. data/lib/instana/tracing/span_context.rb +28 -1
  122. data/lib/instana/util.rb +3 -0
  123. data/lib/instana/version.rb +4 -1
  124. data/lib/oj_check.rb +3 -0
  125. data/lib/opentracing.rb +3 -0
  126. data/test/activator_test.rb +3 -0
  127. data/test/agent/agent_test.rb +3 -0
  128. data/test/benchmarks/bench_id_generation.rb +3 -0
  129. data/test/benchmarks/bench_opentracing.rb +3 -0
  130. data/test/config_test.rb +3 -0
  131. data/test/frameworks/cuba_test.rb +3 -0
  132. data/test/frameworks/roda_test.rb +4 -0
  133. data/test/frameworks/sinatra_test.rb +3 -0
  134. data/test/instana_test.rb +3 -0
  135. data/test/instrumentation/aws_test.rb +161 -0
  136. data/test/instrumentation/dalli_test.rb +3 -0
  137. data/test/instrumentation/excon_test.rb +4 -0
  138. data/test/instrumentation/graphql_test.rb +3 -0
  139. data/test/instrumentation/grpc_test.rb +3 -0
  140. data/test/instrumentation/net_http_test.rb +21 -0
  141. data/test/instrumentation/rack_instrumented_request_test.rb +53 -3
  142. data/test/instrumentation/rack_test.rb +144 -0
  143. data/test/instrumentation/rails_action_cable_test.rb +131 -0
  144. data/test/instrumentation/rails_action_controller_test.rb +3 -0
  145. data/test/instrumentation/rails_action_view_test.rb +3 -0
  146. data/test/instrumentation/rails_active_record_test.rb +3 -2
  147. data/test/instrumentation/redis_test.rb +3 -0
  148. data/test/instrumentation/resque_test.rb +3 -0
  149. data/test/instrumentation/rest_client_test.rb +3 -0
  150. data/test/instrumentation/shoryuken_test.rb +47 -0
  151. data/test/instrumentation/sidekiq-client_test.rb +3 -0
  152. data/test/instrumentation/sidekiq-worker_test.rb +3 -0
  153. data/test/secrets_test.rb +3 -0
  154. data/test/support/apps/active_record/active_record.rb +3 -0
  155. data/test/support/apps/grpc/boot.rb +3 -0
  156. data/test/support/apps/grpc/grpc_server.rb +3 -0
  157. data/test/support/apps/http_endpoint/boot.rb +3 -0
  158. data/test/support/apps/rails/boot.rb +3 -0
  159. data/test/support/apps/rails/models/block.rb +3 -0
  160. data/test/support/apps/rails/models/block6.rb +3 -0
  161. data/test/support/apps/resque/boot.rb +3 -0
  162. data/test/support/apps/resque/jobs/resque_error_job.rb +3 -0
  163. data/test/support/apps/resque/jobs/resque_fast_job.rb +3 -0
  164. data/test/support/apps/sidekiq/boot.rb +4 -0
  165. data/test/support/apps/sidekiq/jobs/sidekiq_job_1.rb +3 -0
  166. data/test/support/apps/sidekiq/jobs/sidekiq_job_2.rb +3 -0
  167. data/test/support/apps/sidekiq/worker.rb +3 -0
  168. data/test/support/helpers.rb +3 -0
  169. data/test/test_helper.rb +3 -0
  170. data/test/tracing/custom_test.rb +3 -0
  171. data/test/tracing/id_management_test.rb +4 -0
  172. data/test/tracing/opentracing_test.rb +6 -3
  173. data/test/tracing/tracer_async_test.rb +3 -0
  174. data/test/tracing/tracer_test.rb +3 -0
  175. metadata +26 -3
  176. data/Dockerfile +0 -16
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c6befc19ba40ede879670465a00d606a54c8c73766d053f61d45f75a1eb262f4
4
- data.tar.gz: 914bc864f51b712d36871d6eae15a376a084b31c19b08b0cd3797f18f1d5d863
3
+ metadata.gz: 6ecd5d44386711b77f9063712fe05c1831771a9c6740c429d75244ed31594730
4
+ data.tar.gz: a9babf1b336a2502f0d0b9c1bacd5a8e1283519b02f5d32aea8e58523d50d766
5
5
  SHA512:
6
- metadata.gz: b0dd55ef879f88b3c1439ce72bd3b86982c4c603e53ba581e6fec7417c657638c70cc7106e54843889f39b440871dbc2264baa684a896df1771fa20cfc97cabc
7
- data.tar.gz: f32036f1e1cc61a3b452dedc0589b88f3579d3680b1479fc3c782a6508c64ba5cc3507e17f7a6bbe014c3dde0ce4e54e8e39d9a45e4450785eb3fb4c1cd4b4d7
6
+ metadata.gz: 84916aa5ce872b6d309a5b6b97b50e469b98f7a0cae67c29d2be4904e7f120aa464b85b88b4fac4329165d8f77ea7783066a766d69f5809fd85faa1ad989640f
7
+ data.tar.gz: c94e2ef1d5d72362c64355be70cef8a9835bbe23acd14da29a57c11918c1df0fffafa3ea494a4d87d9349318588d3bc0ee1c6ae5dc9a1b21c3a07271cf487b6f
data/.circleci/config.yml CHANGED
@@ -10,6 +10,11 @@ executors:
10
10
  DATABASE_URL: 'sqlite3::memory:'
11
11
  - image: memcached
12
12
  - image: redis
13
+ - image: circleci/dynamodb
14
+ - image: minio/minio:latest
15
+ command: ["server", "/data"]
16
+ - image: s12v/sns
17
+ - image: softwaremill/elasticmq-native
13
18
  ruby_26:
14
19
  docker:
15
20
  - image: circleci/ruby:2.6-node
@@ -19,6 +24,11 @@ executors:
19
24
  DATABASE_URL: 'sqlite3::memory:'
20
25
  - image: memcached
21
26
  - image: redis
27
+ - image: circleci/dynamodb
28
+ - image: minio/minio:latest
29
+ command: ["server", "/data"]
30
+ - image: s12v/sns
31
+ - image: softwaremill/elasticmq-native
22
32
  ruby_27:
23
33
  docker:
24
34
  - image: circleci/ruby:2.7-node
@@ -28,6 +38,11 @@ executors:
28
38
  DATABASE_URL: 'sqlite3::memory:'
29
39
  - image: memcached
30
40
  - image: redis
41
+ - image: circleci/dynamodb
42
+ - image: minio/minio:latest
43
+ command: ["server", "/data"]
44
+ - image: s12v/sns
45
+ - image: softwaremill/elasticmq-native
31
46
  ruby_25_mysql2:
32
47
  docker:
33
48
  - image: circleci/ruby:2.5-node
@@ -156,10 +171,10 @@ jobs:
156
171
  parameters:
157
172
  stack:
158
173
  type: executor
159
- default: ruby_27_postgres
174
+ default: ruby_27
160
175
  gemfile:
161
176
  type: string
162
- default: "./gemfiles/rails_60.gemfile"
177
+ default: "./gemfiles/aws_30.gemfile"
163
178
  executor: << parameters.stack >>
164
179
  environment:
165
180
  APPRAISAL_INITIALIZED: "1"
@@ -196,9 +211,11 @@ workflows:
196
211
  - ruby_26
197
212
  - ruby_25
198
213
  gemfile:
214
+ - "./gemfiles/aws_30.gemfile"
199
215
  - "./gemfiles/cuba_30.gemfile"
200
216
  - "./gemfiles/dalli_20.gemfile"
201
217
  - "./gemfiles/excon_02.gemfile"
218
+ - "./gemfiles/excon_079.gemfile"
202
219
  - "./gemfiles/graphql_10.gemfile"
203
220
  - "./gemfiles/grpc_10.gemfile"
204
221
  - "./gemfiles/net_http_01.gemfile"
@@ -214,6 +231,7 @@ workflows:
214
231
  - "./gemfiles/sidekiq_42.gemfile"
215
232
  - "./gemfiles/sidekiq_50.gemfile"
216
233
  - "./gemfiles/sinatra_14.gemfile"
234
+ - "./gemfiles/shoryuken_50.gemfile"
217
235
  rails:
218
236
  jobs:
219
237
  - test_apprisal:
data/.rubocop.yml CHANGED
@@ -1,5 +1,12 @@
1
1
  inherit_from: .rubocop_todo.yml
2
2
 
3
+ require:
4
+ - ./extras/license_header.rb
5
+
6
+ # Remove when we remove .rubocop_todo.yml
7
+ AllCops:
8
+ NewCops: disable
9
+
3
10
  # Broken on 1.9
4
11
  Style/HashSyntax:
5
12
  Enabled: false
data/Appraisals CHANGED
@@ -1,3 +1,13 @@
1
+ # (c) Copyright IBM Corp. 2021
2
+ # (c) Copyright Instana Inc. 2021
3
+
4
+ appraise 'aws-30' do
5
+ gem 'aws-sdk-dynamodb', '~> 1.59'
6
+ gem 'aws-sdk-s3', '~> 1.59'
7
+ gem 'aws-sdk-sns', '~> 1.38'
8
+ gem 'aws-sdk-sqs', '~> 1.36'
9
+ end
10
+
1
11
  appraise 'cuba-30' do
2
12
  gem 'cuba', '>= 3.0', '< 4.0'
3
13
  end
@@ -6,10 +16,14 @@ appraise 'dalli-20' do
6
16
  gem 'dalli', '>= 2.0', '< 3.0'
7
17
  end
8
18
 
9
- appraise 'excon-02' do
19
+ appraise 'excon-021' do
10
20
  gem 'excon', '>= 0.21.0', '< 1.0'
11
21
  end
12
22
 
23
+ appraise 'excon-079' do
24
+ gem 'excon', '>= 0.79.0', '< 1.0'
25
+ end
26
+
13
27
  appraise 'grpc-10' do
14
28
  gem 'grpc', '>= 1.0', '< 2.0'
15
29
  end
@@ -91,6 +105,11 @@ appraise 'sinatra-14' do
91
105
  gem 'sinatra', '1.4.7'
92
106
  end
93
107
 
108
+ appraise 'shoryuken-50' do
109
+ gem 'shoryuken', '~> 5.2'
110
+ gem 'aws-sdk-sqs', '~> 1.36'
111
+ end
112
+
94
113
  appraise 'sidekiq-42' do
95
114
  gem 'sidekiq', '~> 4.2.10'
96
115
  end
data/Gemfile CHANGED
@@ -1,3 +1,6 @@
1
+ # (c) Copyright IBM Corp. 2021
2
+ # (c) Copyright Instana Inc. 2016
3
+
1
4
  source 'https://rubygems.org'
2
5
 
3
6
  gem 'rake'
data/LICENSE CHANGED
@@ -1,6 +1,7 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2017 Instana
3
+ Copyright (c) Copyright IBM Corp. 2021
4
+ Copyright (c) 2017 Instana, Inc. https://www.instana.com/
4
5
 
5
6
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
7
  of this software and associated documentation files (the "Software"), to deal
data/Rakefile CHANGED
@@ -1,3 +1,6 @@
1
+ # (c) Copyright IBM Corp. 2021
2
+ # (c) Copyright Instana Inc. 2016
3
+
1
4
  require 'bundler/gem_tasks'
2
5
  require 'rake/testtask'
3
6
 
@@ -1,3 +1,6 @@
1
+ # (c) Copyright IBM Corp. 2021
2
+ # (c) Copyright Instana Inc. 2017
3
+
1
4
  require "bundler"
2
5
 
3
6
  require 'rack'
data/benchmarks/Gemfile CHANGED
@@ -1,4 +1,8 @@
1
1
  # frozen_string_literal: true
2
+
3
+ # (c) Copyright IBM Corp. 2021
4
+ # (c) Copyright Instana Inc. 2017
5
+
2
6
  source "https://rubygems.org"
3
7
 
4
8
  git_source(:github) {|repo_name| "https://github.com/instana/#{repo_name}" }
@@ -1,4 +1,8 @@
1
1
  #!/usr/bin/env ruby
2
+
3
+ # (c) Copyright IBM Corp. 2021
4
+ # (c) Copyright Instana Inc. 2017
5
+
2
6
  require "bundler"
3
7
  Bundler.require(:default)
4
8
 
@@ -1,4 +1,8 @@
1
1
  #!/usr/bin/env ruby
2
+
3
+ # (c) Copyright IBM Corp. 2021
4
+ # (c) Copyright Instana Inc. 2017
5
+
2
6
  require "bundler"
3
7
  Bundler.require(:default)
4
8
 
@@ -1,3 +1,6 @@
1
+ # (c) Copyright IBM Corp. 2021
2
+ # (c) Copyright Instana Inc. 2017
3
+
1
4
  require "bundler"
2
5
 
3
6
  require 'rack'
@@ -1,3 +1,6 @@
1
+ # (c) Copyright IBM Corp. 2021
2
+ # (c) Copyright Instana Inc. 2017
3
+
1
4
  require "bundler"
2
5
  require "stackprof"
3
6
  require 'rack'
@@ -1,4 +1,8 @@
1
1
  #!/usr/bin/env ruby
2
+
3
+ # (c) Copyright IBM Corp. 2021
4
+ # (c) Copyright Instana Inc. 2017
5
+
2
6
  require "bundler"
3
7
  Bundler.require(:default)
4
8
 
data/bin/console CHANGED
@@ -1,5 +1,8 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
+ # (c) Copyright IBM Corp. 2021
4
+ # (c) Copyright Instana Inc. 2016
5
+
3
6
  require 'irb'
4
7
 
5
8
  require 'bundler/setup'
@@ -0,0 +1,20 @@
1
+ version: '3'
2
+ services:
3
+ sns:
4
+ image: s12v/sns
5
+ ports:
6
+ - "9911:9911"
7
+ s3:
8
+ image: minio/minio:latest
9
+ command: ["server", "/data"]
10
+ ports:
11
+ - "9000:9000"
12
+ dynamodb:
13
+ image: circleci/dynamodb
14
+ ports:
15
+ - "8000:8000"
16
+ sqs:
17
+ image: softwaremill/elasticmq-native
18
+ ports:
19
+ - "9324:9324"
20
+ - "9325:9325"
@@ -4,6 +4,10 @@
4
4
  # to `OpenTracing.global_tracer`. Once the gem is loaded, you can
5
5
  # immediately start making OpenTracing calls.
6
6
  #
7
+
8
+ # (c) Copyright IBM Corp. 2021
9
+ # (c) Copyright Instana Inc. 2018
10
+
7
11
  require "opentracing"
8
12
 
9
13
  entry_span = OpenTracing.start_span("HandMadeRackServer")
data/examples/tracing.rb CHANGED
@@ -17,6 +17,10 @@
17
17
  # points in webservers (e.g. rack), it will initialize tracing and instrument the passed
18
18
  # block. <incoming_id> is a hash for continuing remote traces (remote in terms
19
19
  # of service calls, or message queues).
20
+
21
+ # (c) Copyright IBM Corp. 2021
22
+ # (c) Copyright Instana Inc. 2016
23
+
20
24
  Instana::Tracer.start_or_continue_trace(:my_block_name, {}, incoming_context) do
21
25
  # Code block
22
26
  end
@@ -0,0 +1,44 @@
1
+ # (c) Copyright IBM Corp. 2021
2
+ # (c) Copyright Instana Inc. 2021
3
+
4
+ require 'time'
5
+
6
+ module RuboCop
7
+ module Cop
8
+ module Instana
9
+ # Ensures the license header is present in each ruby file
10
+ class LicenseHeader < Base
11
+ extend AutoCorrector
12
+
13
+ MSG = 'The license header should be present in each file.'.freeze
14
+ HEADER = '(c) Copyright IBM Corp.'.freeze
15
+ HEADER_TEMPLATE = <<~HERE.freeze
16
+ # (c) Copyright IBM Corp. %d
17
+ # (c) Copyright Instana Inc. %d
18
+ HERE
19
+
20
+ def on_new_investigation
21
+ first_statement = processed_source.tokens.detect { |t| t.type != :tCOMMENT }
22
+ file_name = first_statement.pos.source_buffer.name
23
+ header_comment = processed_source.comments.detect do |comment|
24
+ first_statement_line = first_statement.pos.line
25
+ comment_line = comment.loc.line
26
+
27
+ (comment_line < first_statement_line) && comment.text.include?(HEADER)
28
+ end
29
+
30
+ return if header_comment
31
+
32
+ add_offense(first_statement.pos) do |corrector|
33
+ current_year = Time.now.year
34
+ created_time = `git log --diff-filter=A --follow --format=%aD -1 -- #{file_name}`
35
+ created_year = created_time.empty? ? current_year : Time.parse(created_time).year
36
+
37
+ header_text = format(HEADER_TEMPLATE, current_year, created_year)
38
+ corrector.insert_before(first_statement.pos, "\n#{header_text}\n")
39
+ end
40
+ end
41
+ end
42
+ end
43
+ end
44
+ end
@@ -0,0 +1,21 @@
1
+ # This file was generated by Appraisal
2
+
3
+ # (c) Copyright IBM Corp. 2021
4
+ # (c) Copyright Instana Inc. 2021
5
+
6
+ source "https://rubygems.org"
7
+
8
+ gem "rake"
9
+ gem "minitest", "5.9.1"
10
+ gem "minitest-reporters"
11
+ gem "webmock"
12
+ gem "puma"
13
+ gem "rubocop", "~> 1.9"
14
+ gem "rack-test"
15
+ gem "simplecov", "~> 0.21.2"
16
+ gem "aws-sdk-dynamodb", "~> 1.59"
17
+ gem "aws-sdk-s3", "~> 1.59"
18
+ gem "aws-sdk-sns", "~> 1.38"
19
+ gem "aws-sdk-sqs", "~> 1.36"
20
+
21
+ gemspec path: "../"
@@ -1,5 +1,8 @@
1
1
  # This file was generated by Appraisal
2
2
 
3
+ # (c) Copyright IBM Corp. 2021
4
+ # (c) Copyright Instana Inc. 2021
5
+
3
6
  source "https://rubygems.org"
4
7
 
5
8
  gem "rake"
@@ -1,5 +1,8 @@
1
1
  # This file was generated by Appraisal
2
2
 
3
+ # (c) Copyright IBM Corp. 2021
4
+ # (c) Copyright Instana Inc. 2021
5
+
3
6
  source "https://rubygems.org"
4
7
 
5
8
  gem "rake"
@@ -1,5 +1,8 @@
1
1
  # This file was generated by Appraisal
2
2
 
3
+ # (c) Copyright IBM Corp. 2021
4
+ # (c) Copyright Instana Inc. 2021
5
+
3
6
  source "https://rubygems.org"
4
7
 
5
8
  gem "rake"
@@ -0,0 +1,18 @@
1
+ # This file was generated by Appraisal
2
+
3
+ # (c) Copyright IBM Corp. 2021
4
+ # (c) Copyright Instana Inc. 2021
5
+
6
+ source "https://rubygems.org"
7
+
8
+ gem "rake"
9
+ gem "minitest", "5.9.1"
10
+ gem "minitest-reporters"
11
+ gem "webmock"
12
+ gem "puma"
13
+ gem "rubocop", "~> 1.9"
14
+ gem "rack-test"
15
+ gem "simplecov", "~> 0.21.2"
16
+ gem "excon", ">= 0.21.0", "< 1.0"
17
+
18
+ gemspec path: "../"
@@ -0,0 +1,18 @@
1
+ # This file was generated by Appraisal
2
+
3
+ # (c) Copyright IBM Corp. 2021
4
+ # (c) Copyright Instana Inc. 2021
5
+
6
+ source "https://rubygems.org"
7
+
8
+ gem "rake"
9
+ gem "minitest", "5.9.1"
10
+ gem "minitest-reporters"
11
+ gem "webmock"
12
+ gem "puma"
13
+ gem "rubocop", "~> 1.9"
14
+ gem "rack-test"
15
+ gem "simplecov", "~> 0.21.2"
16
+ gem "excon", ">= 0.79.0", "< 1.0"
17
+
18
+ gemspec path: "../"
@@ -1,5 +1,8 @@
1
1
  # This file was generated by Appraisal
2
2
 
3
+ # (c) Copyright IBM Corp. 2021
4
+ # (c) Copyright Instana Inc. 2021
5
+
3
6
  source "https://rubygems.org"
4
7
 
5
8
  gem "rake"
@@ -1,5 +1,8 @@
1
1
  # This file was generated by Appraisal
2
2
 
3
+ # (c) Copyright IBM Corp. 2021
4
+ # (c) Copyright Instana Inc. 2021
5
+
3
6
  source "https://rubygems.org"
4
7
 
5
8
  gem "rake"
@@ -1,5 +1,8 @@
1
1
  # This file was generated by Appraisal
2
2
 
3
+ # (c) Copyright IBM Corp. 2021
4
+ # (c) Copyright Instana Inc. 2021
5
+
3
6
  source "https://rubygems.org"
4
7
 
5
8
  gem "rake"