sentry-rails 6.4.0 → 6.4.1

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: 7001f20d93db736098764e4cd0db42acc1832bc5e36e8ff98c1783901bfda418
4
- data.tar.gz: bd5af29dd551b31bd1fe2e200265f6fe56d0fe9999ae672d88bc7abfd983bdbe
3
+ metadata.gz: 7b446490bb72b0e4c3055ed4abe92830e74d45bbd297da5eedd539ea038fb4eb
4
+ data.tar.gz: fb09ce5391ee7906b7662576f1549a4acd4b3d9c205b23befbee816f18f3d591
5
5
  SHA512:
6
- metadata.gz: 01cc1f9e7a71faea10def370811ccfd2588a2b46ced84cc58d21a92024f90c1b97a95efa66eab82aae7d2a14a97bb8e394b12e0229663b92a48056ed9c861a4f
7
- data.tar.gz: 979ba2c83195d55b967b578991b110fd2613bba0b401c027590fee6fea78a5680b9dc9d606564214302ebaeac84bd9e9fa864bcbac49459451542da5a5f8752f
6
+ metadata.gz: 99ea3c97963ce38c751d1ec0a53a7ed80e92c2987849573cddd3f0a112e6f17dba8025cf1c60b84135991f96d7d95f0c4aeaf0f1e3dddc6f20a65a77f2312e5e
7
+ data.tar.gz: b2a4a10eeb6aeaa58cea2ea7e364e17b9412b4f3d170b128bf46325031fd11730e34ca5afb428646c67c8c20c6f84561949aeb70ddcf1d5122f250308acd6c1e
@@ -43,12 +43,12 @@ module Sentry
43
43
  origin: SPAN_ORIGIN
44
44
  }
45
45
 
46
- if @assets_regexp && scope.transaction_name.match?(@assets_regexp)
47
- options.merge!(sampled: false)
48
- end
46
+ options.merge!(sampled: false) if @assets_regexp && scope.transaction_name.match?(@assets_regexp)
49
47
 
50
48
  transaction = Sentry.continue_trace(env, **options)
51
- Sentry.start_transaction(transaction: transaction, custom_sampling_context: { env: env }, **options)
49
+ transaction = Sentry.start_transaction(transaction: transaction, custom_sampling_context: { env: env }, **options)
50
+ attach_queue_time(transaction, env)
51
+ transaction
52
52
  end
53
53
 
54
54
  def show_exceptions?(exception, env)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Sentry
4
4
  module Rails
5
- VERSION = "6.4.0"
5
+ VERSION = "6.4.1"
6
6
  end
7
7
  end
data/sentry-rails.gemspec CHANGED
@@ -31,5 +31,5 @@ Gem::Specification.new do |spec|
31
31
  spec.require_paths = ["lib"]
32
32
 
33
33
  spec.add_dependency "railties", ">= 5.2.0"
34
- spec.add_dependency "sentry-ruby", "~> 6.4.0"
34
+ spec.add_dependency "sentry-ruby", "~> 6.4.1"
35
35
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sentry-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.4.0
4
+ version: 6.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sentry Team
@@ -29,14 +29,14 @@ dependencies:
29
29
  requirements:
30
30
  - - "~>"
31
31
  - !ruby/object:Gem::Version
32
- version: 6.4.0
32
+ version: 6.4.1
33
33
  type: :runtime
34
34
  prerelease: false
35
35
  version_requirements: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - "~>"
38
38
  - !ruby/object:Gem::Version
39
- version: 6.4.0
39
+ version: 6.4.1
40
40
  description: A gem that provides Rails integration for the Sentry error logger
41
41
  email: accounts@sentry.io
42
42
  executables: []
@@ -89,15 +89,15 @@ files:
89
89
  - lib/sentry/rails/tracing/active_support_subscriber.rb
90
90
  - lib/sentry/rails/version.rb
91
91
  - sentry-rails.gemspec
92
- homepage: https://github.com/getsentry/sentry-ruby/tree/6.4.0/sentry-rails
92
+ homepage: https://github.com/getsentry/sentry-ruby/tree/6.4.1/sentry-rails
93
93
  licenses:
94
94
  - MIT
95
95
  metadata:
96
- homepage_uri: https://github.com/getsentry/sentry-ruby/tree/6.4.0/sentry-rails
97
- source_code_uri: https://github.com/getsentry/sentry-ruby/tree/6.4.0/sentry-rails
98
- changelog_uri: https://github.com/getsentry/sentry-ruby/blob/6.4.0/CHANGELOG.md
96
+ homepage_uri: https://github.com/getsentry/sentry-ruby/tree/6.4.1/sentry-rails
97
+ source_code_uri: https://github.com/getsentry/sentry-ruby/tree/6.4.1/sentry-rails
98
+ changelog_uri: https://github.com/getsentry/sentry-ruby/blob/6.4.1/CHANGELOG.md
99
99
  bug_tracker_uri: https://github.com/getsentry/sentry-ruby/issues
100
- documentation_uri: http://www.rubydoc.info/gems/sentry-rails/6.4.0
100
+ documentation_uri: http://www.rubydoc.info/gems/sentry-rails/6.4.1
101
101
  rdoc_options: []
102
102
  require_paths:
103
103
  - lib