instana 1.193.3 → 1.193.4

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
  SHA256:
3
- metadata.gz: '092873bb2c6b93365194d4cc70cbcdaf391c2423840358d1fc747fa063353b24'
4
- data.tar.gz: 00bf12428b52ac42f97dc5d4a0182cdf5d6256913125ce38202560e2dcfb4dc8
3
+ metadata.gz: c6befc19ba40ede879670465a00d606a54c8c73766d053f61d45f75a1eb262f4
4
+ data.tar.gz: 914bc864f51b712d36871d6eae15a376a084b31c19b08b0cd3797f18f1d5d863
5
5
  SHA512:
6
- metadata.gz: 6029e3901cace8a446f00b438212b9aeaa073a5c3bb5051be7c8f7c68d361bfaabc2d3789e02eae6b2312a6066b874bb3a1ad4d193a71148510320e2b95d704f
7
- data.tar.gz: 548311ebf421ff8df56b5c612dc75a509f290297b6de12d88c464832262a511e44ed4a9dc32125dc0c0856ebfe63da03854163e63ef4241dec886043ea3d945d
6
+ metadata.gz: b0dd55ef879f88b3c1439ce72bd3b86982c4c603e53ba581e6fec7417c657638c70cc7106e54843889f39b440871dbc2264baa684a896df1771fa20cfc97cabc
7
+ data.tar.gz: f32036f1e1cc61a3b452dedc0589b88f3579d3680b1479fc3c782a6508c64ba5cc3507e17f7a6bbe014c3dde0ce4e54e8e39d9a45e4450785eb3fb4c1cd4b4d7
@@ -35,7 +35,7 @@ module Instana
35
35
  end
36
36
 
37
37
  def describe_render_options(options)
38
- return unless options
38
+ return unless options.is_a?(Hash)
39
39
 
40
40
  describe_layout(options[:layout]) ||
41
41
  describe_direct(options)
@@ -1,4 +1,4 @@
1
1
  module Instana
2
- VERSION = "1.193.3"
2
+ VERSION = "1.193.4"
3
3
  VERSION_FULL = "instana-#{VERSION}"
4
4
  end
@@ -28,6 +28,16 @@ class RailsActionViewTest < Minitest::Test
28
28
  assert_equal 'Default', span[:data][:actionview][:name]
29
29
  end
30
30
 
31
+ def test_render_view_direct
32
+ get '/render_view_direct'
33
+ assert last_response.ok?
34
+
35
+ spans = ::Instana.processor.queued_spans
36
+ span = find_first_span_by_name(spans, :actionview)
37
+
38
+ assert_equal 'Default', span[:data][:actionview][:name]
39
+ end
40
+
31
41
  def test_render_nothing
32
42
  # `render nothing: true` was removed in 5.1
33
43
  skip unless Rails::VERSION::MAJOR <= 5 && Rails::VERSION::MINOR <= 1
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.193.3
4
+ version: 1.193.4
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: 2021-02-05 00:00:00.000000000 Z
11
+ date: 2021-02-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler