instana 1.213.1 → 1.213.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e1509ebcf4f8afa64594e49f0fc133fda38e6a7170ef86de6510fcb44ed0021e
4
- data.tar.gz: b21a8ecac7c698a973171f77d126718e925e0323f500a76a1596248db85615eb
3
+ metadata.gz: a6c1eb25bd9b00e353e9c403d217357931bcc714b5aab7080b598c81c0aa51cf
4
+ data.tar.gz: 8bb75b9d28e1562cb2b010589fa0667d451bd9a4389e332832fb2e6225cd7882
5
5
  SHA512:
6
- metadata.gz: 841b715e429f54599356feaf5e623f4b6084d888968409cbc493ad2d56b2bfba0a43fb9c17a4e1fd303ac863821fc70b42091652d52ded2df94f22e473a03a72
7
- data.tar.gz: a57470a6b55b7cbf553c6eb094fa462a1bc9f26ac2349c5be37bec5a26a8bf61f99f365a1e6735783c3344b9ac586461a2fb5ca9dd2cc5b9db86d9db4cabc157
6
+ metadata.gz: 5976d705537afdb13d900a45831bc9a0947c8bfa9a126f67badad41917d828dc63e4f5546bb3041626822d4636d978047613c1f77d6a82b5922a6c8436ff087a
7
+ data.tar.gz: c00f53d5ebc10e92fdc3c096092ececc87727b281d5476ac345d7fcf6f273b902b93eca60a423139a6310ad8b9e6188319488608c9006c48dfc89c8913d3dca9
data/.circleci/config.yml CHANGED
@@ -34,6 +34,7 @@ library_gemfile: &library_gemfile
34
34
  - "./gemfiles/sinatra_14.gemfile"
35
35
  - "./gemfiles/sinatra_22.gemfile"
36
36
  - "./gemfiles/sinatra_30.gemfile"
37
+ - "./gemfiles/sinatra_40.gemfile"
37
38
  - "./gemfiles/shoryuken_50.gemfile"
38
39
  - "./gemfiles/shoryuken_60.gemfile"
39
40
  - "./gemfiles/mongo_216.gemfile"
@@ -8,6 +8,6 @@ gem "puma"
8
8
  gem "rubocop", "~> 1.9"
9
9
  gem "rack-test"
10
10
  gem "simplecov", "~> 0.21.2"
11
- gem "sinatra", ">= 3.0.6"
11
+ gem "sinatra", ">= 3.0.6", "< 4.0"
12
12
 
13
13
  gemspec path: "../"
@@ -0,0 +1,13 @@
1
+ # (c) Copyright IBM Corp. 2023
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "minitest-reporters"
6
+ gem "webmock"
7
+ gem "puma"
8
+ gem "rubocop", "~> 1.9"
9
+ gem "rack-test"
10
+ gem "simplecov", "~> 0.21.2"
11
+ gem "sinatra", ">= 4.0.0"
12
+
13
+ gemspec path: "../"
@@ -12,6 +12,9 @@ module Instana
12
12
  require 'instana/frameworks/sinatra'
13
13
 
14
14
  ::Sinatra::Base.use ::Instana::Rack
15
+ unless ::Sinatra::Base.respond_to?(:mustermann_opts)
16
+ ::Sinatra::Base.set :mustermann_opts, {}
17
+ end
15
18
  ::Sinatra::Base.register ::Instana::SinatraPathTemplateExtractor
16
19
 
17
20
  true
@@ -2,6 +2,6 @@
2
2
  # (c) Copyright Instana Inc. 2016
3
3
 
4
4
  module Instana
5
- VERSION = "1.213.1"
5
+ VERSION = "1.213.2"
6
6
  VERSION_FULL = "instana-#{VERSION}"
7
7
  end
@@ -6,7 +6,11 @@ require 'rack/test'
6
6
 
7
7
  class SinatraTest < Minitest::Test
8
8
  include Rack::Test::Methods
9
- APP = Rack::Builder.parse_file('test/support/apps/sinatra/config.ru').first
9
+ APP = Rack::Builder.parse_file('test/support/apps/sinatra/config.ru')
10
+ sinatra_version = Gem::Specification.find_by_name('sinatra').version
11
+ if sinatra_version < Gem::Version.new('4.0.0')
12
+ APP = APP.first
13
+ end
10
14
 
11
15
  def app
12
16
  APP
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: instana
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.213.1
4
+ version: 1.213.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Giacomo Lombardo
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-01-18 00:00:00.000000000 Z
11
+ date: 2024-01-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -202,6 +202,7 @@ files:
202
202
  - gemfiles/sinatra_14.gemfile
203
203
  - gemfiles/sinatra_22.gemfile
204
204
  - gemfiles/sinatra_30.gemfile
205
+ - gemfiles/sinatra_40.gemfile
205
206
  - instana.gemspec
206
207
  - lib/instana.rb
207
208
  - lib/instana/activator.rb