instana 1.7.9 → 1.7.10

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: af911c681182db8726372c73e8fd2560374b8508
4
- data.tar.gz: 230dcaa3a019e7c571a1b10726fc33550092de54
3
+ metadata.gz: 5f90e1e4ae7da3c7caaa70ef2821ccad4f19aca4
4
+ data.tar.gz: 957496366e493d41f94b9f1c6f3121f877a9d792
5
5
  SHA512:
6
- metadata.gz: 0b80e44dcdeaaed59c3b3f1ee2f4b8b7984b22a5b81ae17a1470de2d6c8a34a8b106ef9e07b2b46cc3a086ce292f10ffe40cc24e60a7530f2d16ea5dcae54dda
7
- data.tar.gz: f62f4130454c5affedfcf5c322ed2cb83a2ca0ebf48fbd1c846529c2e9bacbe9fd1098a8feedcd5f9c1e0be45530ba91310defdbeacca909d3ec599be6a84875
6
+ metadata.gz: 04e93d561f250a404be45735f2d17fb9d478a0e69519706cc33179ad346f6983c20cc239b9b0d57997fe229757dbc518df337c3cf0c28ac4e96466bba031b17b
7
+ data.tar.gz: aa407bfd8267fc27a67ae68c3d212de483d84eb86ca559f43376ff205f21d247e4d0627db72a0f4d5774476bc25a4a1f87466440539fdd8990f37353e3a48fc4
data/.travis.yml CHANGED
@@ -19,12 +19,14 @@ before_install:
19
19
 
20
20
  before_script:
21
21
  - psql -c 'create database travis_ci_test;' -U postgres
22
+ - mysql -e 'CREATE DATABASE travis_ci_test;'
22
23
 
23
24
  script: "bundle exec rake test"
24
25
 
25
26
  services:
26
27
  - memcached
27
28
  - redis
29
+ - mysql
28
30
 
29
31
  gemfile:
30
32
  - Gemfile
@@ -5,6 +5,7 @@ if defined?(::Net::HTTP) && ::Instana.config[:nethttp][:enabled]
5
5
 
6
6
  def request_with_instana(*args, &block)
7
7
  if !Instana.tracer.tracing? || !started?
8
+ do_skip = true
8
9
  return request_without_instana(*args, &block)
9
10
  end
10
11
 
@@ -54,7 +55,7 @@ if defined?(::Net::HTTP) && ::Instana.config[:nethttp][:enabled]
54
55
  ::Instana.tracer.log_error(e)
55
56
  raise
56
57
  ensure
57
- ::Instana.tracer.log_exit(:'net-http', kv_payload)
58
+ ::Instana.tracer.log_exit(:'net-http', kv_payload) unless do_skip
58
59
  end
59
60
 
60
61
  Instana.logger.info "Instrumenting Net::HTTP"
data/lib/instana/test.rb CHANGED
@@ -12,13 +12,13 @@ module Instana
12
12
  ENV['TRAVIS_MYSQL_HOST'] ||= "127.0.0.1"
13
13
  ENV['TRAVIS_MYSQL_USER'] ||= "root"
14
14
 
15
- if ENV['DB_FLAVOR'] == 'mysql2'
16
- ENV['DATABASE_URL'] = "mysql2://#{ENV['TRAVIS_MYSQL_USER']}:#{ENV['TRAVIS_MYSQL_PASS']}@#{ENV['TRAVIS_MYSQL_HOST']}:3306/travis_ci_test"
15
+ if ENV['DB_FLAVOR'] == 'postgresql'
16
+ ENV['DATABASE_URL'] = "postgresql://#{ENV['TRAVIS_PSQL_USER']}:#{ENV['TRAVIS_PSQL_PASS']}@#{ENV['TRAVIS_PSQL_HOST']}:5432/travis_ci_test"
17
17
  elsif ENV['DB_FLAVOR'] == 'mysql'
18
18
  ENV['DATABASE_URL'] = "mysql://#{ENV['TRAVIS_MYSQL_USER']}:#{ENV['TRAVIS_MYSQL_PASS']}@#{ENV['TRAVIS_MYSQL_HOST']}:3306/travis_ci_test"
19
19
  else
20
- ENV['DB_FLAVOR'] ||= 'postgresql'
21
- ENV['DATABASE_URL'] = "postgresql://#{ENV['TRAVIS_PSQL_USER']}:#{ENV['TRAVIS_PSQL_PASS']}@#{ENV['TRAVIS_PSQL_HOST']}:5432/travis_ci_test"
20
+ ENV['DB_FLAVOR'] ||= 'mysql2'
21
+ ENV['DATABASE_URL'] = "mysql2://#{ENV['TRAVIS_MYSQL_USER']}:#{ENV['TRAVIS_MYSQL_PASS']}@#{ENV['TRAVIS_MYSQL_HOST']}:3306/travis_ci_test"
22
22
  end
23
23
 
24
24
  Instana.logger.warn "Database connect string configured to: #{ENV['DATABASE_URL']}"
@@ -1,4 +1,4 @@
1
1
  module Instana
2
- VERSION = "1.7.9"
2
+ VERSION = "1.7.10"
3
3
  VERSION_FULL = "instana-#{VERSION}"
4
4
  end
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.7.9
4
+ version: 1.7.10
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: 2018-01-10 00:00:00.000000000 Z
11
+ date: 2018-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler