scout_apm 1.2.0.pre8 → 1.2.0.pre9

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: 9b5272cb3adff0eda6e90f8b9e25aedec12fc44a
4
- data.tar.gz: a2548f87f76ab5d4d815fad9c4d4d768a247894d
3
+ metadata.gz: 22b9c34f9b51714fc5ca244de10e9029839b323b
4
+ data.tar.gz: 7f29e1ccdc6cc7630c9264236fca46c685800521
5
5
  SHA512:
6
- metadata.gz: 34d61872e85d43f679c1cc50713fd73ed7d9f23ad01491d0d1202a14ece674773b5afb0357e1dc57baf72837699d9456df7fac74a9624de0ef12d51fc594a23a
7
- data.tar.gz: ecc854b429e7ef8c920fc8209d7c71023426b4b85bacdd64debbcbe00cb9b460f99ae0321d0ca246fe563eb0044f98842538a74b2eb45c1b0ab024e7554e6c5a
6
+ metadata.gz: ff14d5a54dd4f6fcd8d6f2035cb6bed4870d40b06bc4b4edd3f2ddffd5af3a95104a0c72a5fb7bd17daa2ec6308dd67b9b2a349108d482926c3cc120f61ee01a
7
+ data.tar.gz: c5f7941d4697bf5fb91fee5d19ffad362c65af3e6afaaad534e5a31589bf84228a146b90dfa13069f195134b5421aaf49bf1b57ac7569f630d95f323b2edcfcd
@@ -7,10 +7,10 @@ module ScoutApm
7
7
  ScoutApm::Serializers::PayloadSerializerToJson.serialize(metadata, metrics, slow_transactions)
8
8
  else
9
9
  metadata = metadata.dup
10
- metadata.default_proc = nil
10
+ metadata.default = nil
11
11
 
12
12
  metrics = metrics.dup
13
- metrics.default_proc = nil
13
+ metrics.default = nil
14
14
  Marshal.dump(:metadata => metadata,
15
15
  :metrics => metrics,
16
16
  :slow_transactions => slow_transactions)
@@ -11,13 +11,13 @@ module ScoutApm
11
11
 
12
12
  def rearrange_the_metrics(metrics)
13
13
  metrics.to_a.map do |meta, stats|
14
- stats.as_json.merge(key: meta.as_json)
14
+ stats.as_json.merge(:key => meta.as_json)
15
15
  end
16
16
  end
17
17
 
18
18
  def rearrange_the_slow_transactions(slow_transactions)
19
19
  slow_transactions.to_a.map do |slow_t|
20
- slow_t.as_json.merge(metrics: rearrange_the_metrics(slow_t.metrics))
20
+ slow_t.as_json.merge(:metrics => rearrange_the_metrics(slow_t.metrics))
21
21
  end
22
22
  end
23
23
 
@@ -40,7 +40,7 @@ module ScoutApm
40
40
  end
41
41
 
42
42
  def start_layer(layer)
43
- start_request(layer) unless @layer
43
+ start_request(layer) unless @root_layer
44
44
 
45
45
  # ScoutApm::Agent.instance.logger.info("Starting Layer: #{layer.to_s}")
46
46
  @layers[-1].add_child(layer) if @layers.any?
@@ -1,4 +1,4 @@
1
1
  module ScoutApm
2
- VERSION = "1.2.0.pre8"
2
+ VERSION = "1.2.0.pre9"
3
3
  end
4
4
 
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.0.pre8
4
+ version: 1.2.0.pre9
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: 2015-12-15 00:00:00.000000000 Z
12
+ date: 2015-12-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: minitest