stackify-ruby-apm 1.10.4 → 1.11.0

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: 4b2d9a08bd90459363bada0dcc980ab8ee610d5f7bbb41100c53f4d6dc8be6ac
4
- data.tar.gz: 624b3bd6b64a48270927b77e94663e11416e8f0be84fd86b32b6f5c215251510
3
+ metadata.gz: c11dd1bfd73ddd45923cd58ee7672b9a6e0bc872ca07e92d10558b2b826f3f7b
4
+ data.tar.gz: '018b2653259a17ada4fbc55aa117ac0300c2f0a0e4804e129ea2f3f24f4cb34e'
5
5
  SHA512:
6
- metadata.gz: 8e749581d00b6d425476dfd7683a86b4ccd67491a5713c50be3602668e666519d94ca3abc74f561454d8cb2283113426caee59e226cea4e2dd83ba1bd0fbc856
7
- data.tar.gz: 9f6784afe5998f4d5c3b5c2501df118d19384b0bd00e9e57c20d58ccc1987021eed0ce114b642624b5ca11339d51c2a91d5527a6a10eab123f57fc8b61fd479b
6
+ metadata.gz: 508a7a1213e03e3adfac74f4a1868b441cf878ad607a10911c7662f72665ae6715a5cbe562e0143f1a0199ea08f51340b7c74c90a457e7f32ae1f268077978be
7
+ data.tar.gz: 8e10efe82d70b1728dc1661e896b3138e5dfd4a2bbeb5f77a3e2324b090e91554117039fb45de140e21bdb391caeade87ce7eee57c5c1f1b5b5a60c9c7fdb4c6
@@ -101,8 +101,6 @@ module StackifyRubyAPM
101
101
  info '[Agent] start()'
102
102
  info '[Agent] transport type: ' + @config.transport
103
103
  spies_name = ''
104
- # If the rake task is detected as being ran then we don't load the spies
105
- StackifyRubyAPM::Util.apm_disabled_in_rake
106
104
  return false unless @config.instrument
107
105
  config.enabled_spies.each do |lib|
108
106
  spies_name = spies_name + ', ' + lib.inspect.to_s
@@ -8,15 +8,6 @@ module StackifyRubyAPM
8
8
  target.to_i * 1_000_000 + target.usec
9
9
  end
10
10
 
11
- #
12
- # This method will check if there is any rake task is running.
13
- # If rake task is detected we set instrument=false and don't load the spies.
14
- #
15
- def self.apm_disabled_in_rake
16
- cmd_rake = ($PROGRAM_NAME =~ /rake$/)
17
- StackifyRubyAPM.agent.config.instrument = false if cmd_rake
18
- end
19
-
20
11
  def self.host_os
21
12
  host_os = RbConfig::CONFIG['host_os']
22
13
  case host_os
@@ -2,5 +2,5 @@
2
2
 
3
3
  # Sets the version of the APM
4
4
  module StackifyRubyAPM
5
- VERSION = '1.10.4'.freeze
5
+ VERSION = '1.11.0'.freeze
6
6
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stackify-ruby-apm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.10.4
4
+ version: 1.11.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stackify
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-06-09 00:00:00.000000000 Z
11
+ date: 2020-06-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails