scout_apm 1.4.5 → 1.4.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 32c7de1b69ce4dfb33779efa5ac201c95d155cf7
4
- data.tar.gz: 9179a6163ebe2a3277d589fc9e20a77d715b17e5
3
+ metadata.gz: d09339b4d51454f56825e72d7ae8aa53a8aca5a4
4
+ data.tar.gz: d50de440976b8f060e5365838941022807c31f0d
5
5
  SHA512:
6
- metadata.gz: 85f3023eec77d1884e7beebf3d1d2a08ac0126405c25db4fa3533edd90d40ce4439a6f87029ae5922f4db1063a4a14765b16e4bc9e92a2698423c2556d479321
7
- data.tar.gz: a2c3ba865dff42734b1cf6dd7a712ff102e948f53a0f7087fb29be6bca8505d48b7aa73f1b39d7d84685b594c50df52aff1518eb8f8553d893172b52f95b3a42
6
+ metadata.gz: 3884aee4911d383138d928c2afd4aa4c799232c53bcb6e6d91e067963d6992cc0bb3d97851da4badd0e32cda277a12ab1f4f871830c8011c8eaa25e327272202
7
+ data.tar.gz: 7b9711b230f8804a334339760955f705b879f3dfbaf5abdc485dd25e5ab720096ec87da11e162cca023e13956b472d1d0eaf661d333bc26c2e85475e6dd39964
data/CHANGELOG.markdown CHANGED
@@ -1,3 +1,7 @@
1
+ # 1.4.6
2
+
3
+ * Defend against a nil
4
+
1
5
  # 1.4.5
2
6
 
3
7
  * Instrument Elasticsearch
@@ -272,7 +272,7 @@ module ScoutApm
272
272
 
273
273
  # Allow users to skip individual instruments via the config file
274
274
  instrument_short_name = instrument_klass.name.split("::").last
275
- if config.value("disabled_instruments").include?(instrument_short_name)
275
+ if (config.value("disabled_instruments") || []).include?(instrument_short_name)
276
276
  logger.info "Skipping Disabled Instrument: #{instrument_short_name} - To re-enable, change `disabled_instruments` key in scout_apm.yml"
277
277
  return
278
278
  end
@@ -1,5 +1,5 @@
1
1
  # A fake implementation of stackprof, for systems that don't support it.
2
- class StackProf
2
+ module StackProf
3
3
  def self.start(*args)
4
4
  @running = true
5
5
  end
@@ -1,4 +1,4 @@
1
1
  module ScoutApm
2
- VERSION = "1.4.5"
2
+ VERSION = "1.4.6"
3
3
  end
4
4
 
@@ -145,7 +145,7 @@ class PayloadSerializerTest < Minitest::Test
145
145
  context = ScoutApm::Context.new
146
146
  context.add({"this" => "that"})
147
147
  context.add_user({"hello" => "goodbye"})
148
- slow_t = ScoutApm::SlowTransaction.new("http://example.com/blabla", "Buckethead/something/else", 1.23, slow_transaction_metrics, context, Time.at(1448198788), StackProf.new)
148
+ slow_t = ScoutApm::SlowTransaction.new("http://example.com/blabla", "Buckethead/something/else", 1.23, slow_transaction_metrics, context, Time.at(1448198788), [])
149
149
  payload = ScoutApm::Serializers::PayloadSerializerToJson.serialize({}, {}, [slow_t])
150
150
  formatted_slow_transactions = [
151
151
  {
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.4.5
4
+ version: 1.4.6
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-03-23 00:00:00.000000000 Z
12
+ date: 2016-04-04 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest
@@ -180,7 +180,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
180
180
  version: '0'
181
181
  requirements: []
182
182
  rubyforge_project: scout_apm
183
- rubygems_version: 2.2.2
183
+ rubygems_version: 2.6.2
184
184
  signing_key:
185
185
  specification_version: 4
186
186
  summary: Ruby application performance monitoring
@@ -196,3 +196,4 @@ test_files:
196
196
  - test/unit/slow_transaction_set_test.rb
197
197
  - test/unit/sql_sanitizer_test.rb
198
198
  - test/unit/utils/active_record_metric_name_test.rb
199
+ has_rdoc: