scout_apm 0.9.2.1 → 0.9.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/scout_apm/framework_integrations/sinatra.rb +1 -2
- data/lib/scout_apm/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 270bf16cf2be02cef0bfc11f628da5dbae7a8efc
|
4
|
+
data.tar.gz: c6194a663576500dbfbc2eda60ac30ede43cb24f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37e428f93c79c5eac815b69f9a5d3ed8f8034abbaa0ff8aa6a2c98e7fe093a5b7a6244ce868bd46c1512e104cf55d88a4d84cb49274ca373f27bce85fa67dda0
|
7
|
+
data.tar.gz: 17d50f933f9a33f99b5f53055eeb39304a8e1f518546525b654b52adce62ec07ff5e687359953c80e007f9a1a2865e17cd4ce387670917dcdb0f1871dbbf7631
|
@@ -17,9 +17,8 @@ module ScoutApm
|
|
17
17
|
defined?(::Sinatra) && defined?(::Sinatra::Base)
|
18
18
|
end
|
19
19
|
|
20
|
-
# TODO: Fetch the name
|
21
20
|
def application_name
|
22
|
-
possible = ObjectSpace.each_object(Class).select { |klass| klass < Sinatra::Base } - [Sinatra::Application]
|
21
|
+
possible = ObjectSpace.each_object(Class).select { |klass| klass < ::Sinatra::Base } - [::Sinatra::Application]
|
23
22
|
if possible.length == 1
|
24
23
|
possible.first.name
|
25
24
|
else
|
data/lib/scout_apm/version.rb
CHANGED