raygun-apm-rails 1.0.33 → 1.0.38

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: ea8f7d9bbb65a25774299def9ae689e7ff22003e9b71112025a7f29a3b181652
4
- data.tar.gz: 697f7f475692ac06d6ea36ae2d41ae4340cc460ac5e1cc4f88e0aeb1ecc7f6a0
3
+ metadata.gz: 9cbccce8203ab2098bcfda8a10e302950ef5bcff40dffa8e5df85d375009d59d
4
+ data.tar.gz: d2efe5ee3ad3f546162fabe9b520ddf6d03a272a8d7c6a6948b1ea2b4aeed4da
5
5
  SHA512:
6
- metadata.gz: 4f715173c739ba06d2e4e8640460d3ed30587edb4825e8879ef9053784ce603f4e7cfa47afd89fc4f590380b9e4976b772528438cbb64e129817e0b208c1e6ff
7
- data.tar.gz: 1a01116e541a900054a0b9b376e37de8cf10b75d54f05b0953f8f8797657ee7a2c5498d6a10ea536eab70cc988a78a8bdf6714ecd614ef6fcfaf02d469b1131d
6
+ metadata.gz: 04410f02829adf1ec9849889f5c8979548aece9c5c137a40fb0a39e07cc84eae1e350452560a76cfcfc5ccc2b75602ffb130ca449895ea52ad2abc0479fbcda8
7
+ data.tar.gz: 730a3d73174436a3f16c88f27447b49e2cd7ca141faceaf9dff8a823395b15286b680e26393edb3910d0831273fb6e96747f069d01907b416383a9f958ddd9b3
@@ -9,17 +9,23 @@ module Raygun
9
9
  BLACKLIST = %w{
10
10
  #<ActiveRecord
11
11
  #<ActiveModel
12
- Benchmark
13
- BigDecimal
14
- Concurrent
15
- Date
16
- DateAndTime
17
- DateTime
18
- Delegator
19
- Digest
20
- ERB
21
- SecureRandom
22
- URI
12
+ Benchmark#
13
+ Benchmark::
14
+ BigDecimal#
15
+ Benchmark::
16
+ Concurrent#
17
+ Concurrent::
18
+ Date#
19
+ Date::
20
+ DateAndTime#
21
+ DateAndTime::
22
+ DateTime#
23
+ DateTime::
24
+ Delegator#
25
+ Digest#
26
+ Digest::
27
+ SecureRandom#
28
+ SecureRandom::
23
29
  AbstractController
24
30
  ActionCable
25
31
  ActionController
@@ -34,8 +40,10 @@ module Raygun
34
40
  ActiveStorage
35
41
  ActiveSupport
36
42
  Arel
37
- Mail
38
- Mime
43
+ Mail#
44
+ Mail::
45
+ Mime#
46
+ Mime::
39
47
  Rails
40
48
  Rack
41
49
  I18n
@@ -77,8 +85,7 @@ module Raygun
77
85
  Grape
78
86
  Mustermann
79
87
  Enumeration
80
- +Raygun::Apm::Rails::Middleware::Ruby_APM_profiler_trace
81
- +Raygun::Apm::Rails::Middleware::Ruby_APM_request_error
88
+ +Raygun::Apm::Rails::Middleware#Ruby_APM_profiler_trace
82
89
  WebpackHelper
83
90
  Ripper
84
91
  Webpack
@@ -105,6 +112,13 @@ module Raygun
105
112
  autosave_associated_records_for_
106
113
  validate_associated_records_for_
107
114
  will_save_change_to_
115
+ +ActiveStorage::Blob#upload
116
+ +ActiveStorage::Blob#download
117
+ +ActiveStorage::DiskController#show
118
+ +ActiveStorage::DiskController#update
119
+ +ActiveStorage::DirectUploadsController#create
120
+ +ActiveStorage::BlobsController#show
121
+ +ActiveStorage::RepresentationsController#show
108
122
  }
109
123
 
110
124
  def self.raygun4ruby?(configured = true)
@@ -29,21 +29,17 @@ module Raygun
29
29
  begin
30
30
  res = @app.call(env)
31
31
  if res && (status = res.first) >= 400 && status < 600
32
- Ruby_APM_request_error do
33
- message = Rack::Utils::HTTP_STATUS_CODES[status]
34
- begin
35
- raise "HTTP #{status} #{message}"
36
- rescue => e
37
- crash_report_exception(e)
38
- end
39
- exceptional_http_in_handler(env, status) if @tracer
32
+ message = Rack::Utils::HTTP_STATUS_CODES[status]
33
+ begin
34
+ raise "HTTP #{status} #{message}"
35
+ rescue => e
36
+ crash_report_exception(e)
40
37
  end
38
+ exceptional_http_in_handler(env, status) if @tracer
41
39
  end
42
40
  rescue => e
43
- Ruby_APM_request_error do
44
- crash_report_exception(e)
45
- exceptional_http_in_handler(env, 500) if @tracer
46
- end
41
+ crash_report_exception(e)
42
+ exceptional_http_in_handler(env, 500) if @tracer
47
43
  exception = e
48
44
  end
49
45
  end
@@ -1,7 +1,7 @@
1
1
  module Raygun
2
2
  module Apm
3
3
  module Rails
4
- VERSION = "1.0.33"
4
+ VERSION = "1.0.38"
5
5
  end
6
6
  end
7
7
  end
@@ -13,14 +13,12 @@ Gem::Specification.new do |spec|
13
13
  spec.homepage = "https://raygun.com/platform/apm"
14
14
  #spec.license = "MIT"
15
15
 
16
- spec.files = Dir.chdir(File.expand_path('..', __FILE__)) do
17
- `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
- end
16
+ spec.files = Dir['README.rdoc', 'raygun-apm-rails.gemspec', 'lib/**/*', 'bin/**/*']
19
17
  spec.bindir = "exe"
20
18
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
21
19
  spec.require_paths = ["lib"]
22
20
 
23
- spec.add_dependency "raygun-apm", "~> 1.0.15"
21
+ spec.add_dependency "raygun-apm", "~> 1.0.44"
24
22
  spec.add_development_dependency "bundler", "~> 2.1.4"
25
23
  spec.add_development_dependency "rake", "~> 10.0"
26
24
  spec.add_development_dependency "minitest", "~> 5.0"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raygun-apm-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.33
4
+ version: 1.0.38
5
5
  platform: ruby
6
6
  authors:
7
7
  - Raygun
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2020-06-07 00:00:00.000000000 Z
12
+ date: 2020-07-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: raygun-apm
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - "~>"
19
19
  - !ruby/object:Gem::Version
20
- version: 1.0.15
20
+ version: 1.0.44
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - "~>"
26
26
  - !ruby/object:Gem::Version
27
- version: 1.0.15
27
+ version: 1.0.44
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: bundler
30
30
  requirement: !ruby/object:Gem::Requirement
@@ -75,12 +75,7 @@ executables: []
75
75
  extensions: []
76
76
  extra_rdoc_files: []
77
77
  files:
78
- - ".gitignore"
79
- - CHANGELOG.rdoc
80
- - Gemfile
81
- - Gemfile.lock
82
78
  - README.rdoc
83
- - Rakefile
84
79
  - bin/console
85
80
  - bin/setup
86
81
  - lib/raygun/apm/rails.rb
data/.gitignore DELETED
@@ -1,9 +0,0 @@
1
- /.bundle/
2
- /.yardoc
3
- /_yardoc/
4
- /coverage/
5
- /doc/
6
- /pkg/
7
- /spec/reports/
8
- /tmp/
9
- *.gem
@@ -1,72 +0,0 @@
1
- = Changelog
2
-
3
- == 1.0.33 (June 7, 2020)
4
-
5
- * Integrate exception correlation with rayrun4ruby
6
-
7
- == 1.0.32 (June 6, 2020)
8
-
9
- * Move raygun4ruby whitelisting and blacklisting out to profiler core
10
-
11
- == 1.0.31 (May 17, 2020)
12
-
13
- * Remove the Tracer#process_started callback (set on begin transaction command now)
14
-
15
- == 1.0.30 (May 15, 2020)
16
-
17
- * Introduce support for Redis as client adapter
18
-
19
- == 1.0.29 (May 3, 2020)
20
-
21
- * Blacklist a new set of methods injected at runtime by Rails which leads to messy traces
22
-
23
- == 1.0.28 (April 11, 2020)
24
-
25
- * Prefer local variables to Rack::Request methods for event value assignment (Rails 4)
26
-
27
- == 1.0.27 (April 11, 2020)
28
-
29
- * Restore Rails 4 support with caveat that HTTP IN paths are not fully qualified with protocol, host and port
30
-
31
- == 1.0.26 (April 11, 2020)
32
-
33
- * Remove Rails 4 support (no headers element in the notifications hash for HTTP in)
34
-
35
- == 1.0.25 (April 11, 2020)
36
-
37
- * Only ever attempt to emit extended events if a tracer instance is alive
38
-
39
- == 1.0.24 (April 1, 2020)
40
-
41
- * Blacklist Enumeration
42
- * Unsubscribe from previously registered AS::Notifications subscribers as child processes emit double HTTP IN and SQL events otherwise
43
-
44
- == 1.0.23 (March 25, 2020)
45
-
46
- * Do not cache PID on HTTP IN and SQL event initializers
47
-
48
- == 1.0.22 (March 24, 2020)
49
-
50
- * Fix local variable typo in the Rails middleware
51
- * Blacklist TZInfo
52
-
53
- == 1.0.21 (March 19, 2020)
54
-
55
- * Further improvements of emitting exceptions and other error status codes for apps with and without raygun4ruby installed
56
-
57
- == 1.0.20 (March 18, 2020)
58
-
59
- * Introduce support for detecting the presence of raygun4ruby and integrate better with the exception tracker
60
-
61
- == 1.0.19 (March 16, 2020)
62
-
63
- * Improve trace emission of unhandled exceptions in a request context
64
-
65
- == 1.0.18 (March 15, 2020)
66
-
67
- * Ensure a better experience with raygun4ruby with only Raygun::track_exception whitelisted
68
- * Remove the warning on a HTTP IN event with an exception payload - spams STDOUT and already confused some testers
69
- * Ensure errors raised during request exception always result in a fully wrapped trace with a 500 status
70
- * Wrap the exceptional HTTP IN error handler in a fake user code method too to get past the agent gate for that
71
- * Prefer the singleton interface on the Tracer
72
- * Blacklist HTTParty
data/Gemfile DELETED
@@ -1,3 +0,0 @@
1
- source "https://rubygems.org"
2
-
3
- gemspec
@@ -1,24 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- raygun-apm-rails (1.0.33)
5
- raygun-apm (~> 1.0.15)
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- minitest (5.13.0)
11
- rake (10.5.0)
12
- raygun-apm (1.0.43-universal-darwin)
13
-
14
- PLATFORMS
15
- ruby
16
-
17
- DEPENDENCIES
18
- bundler (~> 2.1.4)
19
- minitest (~> 5.0)
20
- rake (~> 10.0)
21
- raygun-apm-rails!
22
-
23
- BUNDLED WITH
24
- 2.1.4
data/Rakefile DELETED
@@ -1,16 +0,0 @@
1
- require "bundler/gem_tasks"
2
- require "rake/testtask"
3
- require 'rdoc/task'
4
-
5
- RDoc::Task.new do |rdoc|
6
- rdoc.main = "README.rdoc"
7
- rdoc.rdoc_files.include("README.rdoc", "lib/raygun/apm/*.rb", "lib/raygun/apm/rails/*.rb")
8
- end
9
-
10
- Rake::TestTask.new(:test) do |t|
11
- t.libs << "test"
12
- t.libs << "lib"
13
- t.test_files = FileList["test/**/*_test.rb"]
14
- end
15
-
16
- task :default => :test