scout_apm 1.2.8.pre1 → 1.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.markdown +4 -0
- data/lib/scout_apm/framework_integrations/rails_3_or_4.rb +4 -8
- data/lib/scout_apm/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 37dccd68e9841fb4be84b21b542423f4923dfee5
|
4
|
+
data.tar.gz: c29e6ac3d99fbbd612baf124c6e2d76e68933e27
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34d1715eff899c93e04962bf4b3e80cc2e448cc4900a591fe180ade13973db7593a32a132d4f8b135298d4030911f580fbe472007d8bb42fc0c639245a48f236
|
7
|
+
data.tar.gz: 0c10d15966c2ac5797dda63978ccde80af58dfa59f584d9ddb63cd39d29de2cf97c7b1e47a22f29ade4952ebe28c2bcb78d4be6c0c6366aabd221aa4417dfa0d
|
data/CHANGELOG.markdown
CHANGED
@@ -36,7 +36,7 @@ module ScoutApm
|
|
36
36
|
default = :mysql
|
37
37
|
|
38
38
|
if defined?(ActiveRecord::Base)
|
39
|
-
adapter =
|
39
|
+
adapter = get_database_adapter # can be nil
|
40
40
|
|
41
41
|
case adapter.to_s
|
42
42
|
when "postgres" then :postgres
|
@@ -52,13 +52,9 @@ module ScoutApm
|
|
52
52
|
end
|
53
53
|
end
|
54
54
|
|
55
|
-
def
|
56
|
-
|
57
|
-
|
58
|
-
elsif ActiveRecord::Base.respond_to?(:configurations)
|
59
|
-
ActiveRecord::Base.configurations[env]["adapter"]
|
60
|
-
end
|
61
|
-
rescue
|
55
|
+
def get_database_adapter
|
56
|
+
ActiveRecord::Base.configurations[env]["adapter"]
|
57
|
+
rescue # this would throw an exception if ActiveRecord::Base is defined but no configuration exists.
|
62
58
|
nil
|
63
59
|
end
|
64
60
|
end
|
data/lib/scout_apm/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: scout_apm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Derek Haynes
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-01-
|
12
|
+
date: 2016-01-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: minitest
|
@@ -170,12 +170,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
170
170
|
version: '0'
|
171
171
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
172
172
|
requirements:
|
173
|
-
- - "
|
173
|
+
- - ">="
|
174
174
|
- !ruby/object:Gem::Version
|
175
|
-
version:
|
175
|
+
version: '0'
|
176
176
|
requirements: []
|
177
177
|
rubyforge_project: scout_apm
|
178
|
-
rubygems_version: 2.
|
178
|
+
rubygems_version: 2.4.8
|
179
179
|
signing_key:
|
180
180
|
specification_version: 4
|
181
181
|
summary: Ruby application performance monitoring
|