raygun-apm 1.0.76-x86-linux → 1.0.81-x86-linux

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bab756da5f8a0d8516b65eeacb06e2c6739418863da7ecf8a72479231bf60e26
4
- data.tar.gz: e645c15dc90b1ab59b441778ca36e040cac31137f503a9966200f11629fe7a38
3
+ metadata.gz: b315511459c3e9b4405815abba47f1aa4471dde9c48a85fb575f39d74c1d5c68
4
+ data.tar.gz: 3bae1d6d64886c6e61b5a80583a08fb43c14fa1147f1f2c927c566ef0faa9d44
5
5
  SHA512:
6
- metadata.gz: bfb22acffe6cceff82de9697d6571356194ba9c84581b679f92abd46ee6c357a00a8d28baec4b5fb15733c993b813dc03b180b7ebf4ef3d1074186b95853287e
7
- data.tar.gz: b957e65a6b8500ed08aa0deb0e85ef372122876815b03ef8546a7e76dee457603fcbd1e6a477c7414a3606bf3baccd0d6a777afc65b0eff85c50768e4e4f319c
6
+ metadata.gz: '0918464ff3ed4b59ecd48741e31d497424b75a0dc2245967c6cd66ccbac08518d8bd1ba9da5c5c20b5cb3ea0a424eb3f4f046b5eb1e01e8e1aad9d9ff3f64337'
7
+ data.tar.gz: ee5b89d30058366ffaea9b66395d7fa8c91459ae94845abd48674852d8b6252e2b4fca60ba6d63b8582935d23a481c6335e08b5b4325461546f896958ba310f7
data/LICENSE ADDED
@@ -0,0 +1,24 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 Raygun Limited
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
22
+
23
+ This software bundles Rax, an open source project, released under the BSD two
24
+ clause license here https://github.com/antirez/rax/blob/master/COPYING
Binary file
Binary file
Binary file
@@ -4,6 +4,8 @@ module Raygun
4
4
  module Apm
5
5
  module Hooks
6
6
  module HTTPClient
7
+ private
8
+
7
9
  def do_request(method, uri, query, body, header, &filtered_block)
8
10
  if tracer = Raygun::Apm::Tracer.instance
9
11
  started = tracer.now
@@ -11,7 +13,7 @@ module Raygun
11
13
  ended = tracer.now
12
14
  event = raygun_apm_http_out_event
13
15
  event[:pid] = Process.pid
14
- event[:url] = query ? URI.join(uri, query).to_s : uri.to_s
16
+ event[:url] = raygun_apm_url(uri, query)
15
17
  event[:verb] = method.to_s.upcase
16
18
  event[:status] = response.code.to_i
17
19
  event[:duration] = ended - started
@@ -24,7 +26,12 @@ module Raygun
24
26
  end
25
27
  end
26
28
 
27
- private
29
+ def raygun_apm_url(uri, query)
30
+ uri = uri.to_param if uri.respond_to?(:to_param)
31
+ query = query.to_param if query.respond_to?(:to_param)
32
+ query && uri ? URI.join(uri, query).to_s : uri.to_s
33
+ end
34
+
28
35
  def raygun_apm_http_out_event
29
36
  @_raygun_apm_http_out_event ||= Raygun::Apm::Event::HttpOut.new
30
37
  end
@@ -1,6 +1,6 @@
1
1
  module Raygun
2
2
  module Apm
3
- VERSION = "1.0.76"
3
+ VERSION = "1.0.81"
4
4
  MINIMUM_AGENT_VERSION = "1.0.1190.0"
5
5
  end
6
6
  end
data/raygun-apm.gemspec CHANGED
@@ -5,14 +5,14 @@ Gem::Specification.new do |spec|
5
5
  spec.name = "raygun-apm"
6
6
  spec.version = Raygun::Apm::VERSION
7
7
 
8
- spec.authors = ["Raygun", "Erkki Eilonen"]
9
- spec.email = ["support@raygun.com", "info@bearmetal.eu"]
8
+ spec.authors = ["Raygun Limited"]
9
+ spec.email = ["ruby-apm@raygun.io", "support@raygun.com"]
10
10
 
11
11
  spec.summary = %q{Raygun application performance monitoring core Profiler}
12
12
  spec.homepage = "https://raygun.com/platform/apm"
13
- #spec.license = "MIT"
13
+ spec.license = "MIT"
14
14
 
15
- spec.files = Dir['README.rdoc', 'raygun-apm.gemspec', 'lib/**/*', 'bin/**/*'].reject { |f| f.match(/raygun_ext\./) }
15
+ spec.files = Dir['README.rdoc', 'raygun-apm.gemspec', 'LICENSE', 'lib/**/*', 'bin/**/*'].reject { |f| f.match(/raygun_ext\./) }
16
16
  spec.files += Dir['lib/raygun/**/{2}*/raygun_ext.*']
17
17
  spec.bindir = "bin"
18
18
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raygun-apm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.76
4
+ version: 1.0.81
5
5
  platform: x86-linux
6
6
  authors:
7
- - Raygun
8
- - Erkki Eilonen
7
+ - Raygun Limited
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2020-11-09 00:00:00.000000000 Z
11
+ date: 2021-03-30 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: debase-ruby_core_source
@@ -209,12 +208,13 @@ dependencies:
209
208
  version: 7.1.2
210
209
  description:
211
210
  email:
211
+ - ruby-apm@raygun.io
212
212
  - support@raygun.com
213
- - info@bearmetal.eu
214
213
  executables: []
215
214
  extensions: []
216
215
  extra_rdoc_files: []
217
216
  files:
217
+ - LICENSE
218
218
  - README.rdoc
219
219
  - bin/console
220
220
  - bin/raygun-diagnostics
@@ -240,7 +240,8 @@ files:
240
240
  - lib/raygun/apm/version.rb
241
241
  - raygun-apm.gemspec
242
242
  homepage: https://raygun.com/platform/apm
243
- licenses: []
243
+ licenses:
244
+ - MIT
244
245
  metadata: {}
245
246
  post_install_message:
246
247
  rdoc_options: []