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 +4 -4
- data/.circleci/config.yml +1 -0
- data/gemfiles/sinatra_30.gemfile +1 -1
- data/gemfiles/sinatra_40.gemfile +13 -0
- data/lib/instana/activators/sinatra.rb +3 -0
- data/lib/instana/version.rb +1 -1
- data/test/frameworks/sinatra_test.rb +5 -1
- metadata +3 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a6c1eb25bd9b00e353e9c403d217357931bcc714b5aab7080b598c81c0aa51cf
|
|
4
|
+
data.tar.gz: 8bb75b9d28e1562cb2b010589fa0667d451bd9a4389e332832fb2e6225cd7882
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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"
|
data/gemfiles/sinatra_30.gemfile
CHANGED
|
@@ -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
|
data/lib/instana/version.rb
CHANGED
|
@@ -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')
|
|
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.
|
|
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-
|
|
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
|