raygun4ruby 3.2.1 → 3.2.3.pre
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.gitignore +0 -0
- data/.rspec +0 -0
- data/.travis.yml +6 -0
- data/CHANGELOG.md +3 -0
- data/Gemfile +0 -0
- data/LICENSE.txt +0 -0
- data/README.md +1 -1
- data/Rakefile +0 -0
- data/examples/sinatras_raygun.rb +0 -0
- data/lib/generators/raygun/install_generator.rb +0 -0
- data/lib/raygun.rb +0 -0
- data/lib/raygun/affected_user.rb +0 -0
- data/lib/raygun/breadcrumbs.rb +0 -0
- data/lib/raygun/breadcrumbs/breadcrumb.rb +0 -0
- data/lib/raygun/breadcrumbs/store.rb +0 -0
- data/lib/raygun/client.rb +2 -0
- data/lib/raygun/configuration.rb +0 -0
- data/lib/raygun/error.rb +0 -0
- data/lib/raygun/javascript_tracker.rb +0 -0
- data/lib/raygun/middleware/breadcrumbs_store_initializer.rb +0 -0
- data/lib/raygun/middleware/javascript_exception_tracking.rb +0 -0
- data/lib/raygun/middleware/rack_exception_interceptor.rb +0 -0
- data/lib/raygun/middleware/rails_insert_affected_user.rb +0 -0
- data/lib/raygun/railtie.rb +0 -0
- data/lib/raygun/services/apply_whitelist_filter_to_payload.rb +0 -0
- data/lib/raygun/sidekiq.rb +3 -0
- data/lib/raygun/testable.rb +0 -0
- data/lib/raygun/version.rb +1 -1
- data/lib/raygun4ruby.rb +0 -0
- data/lib/resque/failure/raygun.rb +0 -0
- data/lib/tasks/raygun.tasks +0 -0
- data/raygun4ruby.gemspec +2 -2
- data/spec/dummy/.gitignore +0 -0
- data/spec/dummy/Gemfile +0 -0
- data/spec/dummy/README.rdoc +0 -0
- data/spec/dummy/Rakefile +0 -0
- data/spec/dummy/app/assets/config/manifest.js +3 -0
- data/spec/dummy/app/assets/images/.keep +0 -0
- data/spec/dummy/app/assets/javascripts/application.js +0 -0
- data/spec/dummy/app/assets/stylesheets/application.css +0 -0
- data/spec/dummy/app/controllers/application_controller.rb +0 -0
- data/spec/dummy/app/controllers/concerns/.keep +0 -0
- data/spec/dummy/app/controllers/home_controller.rb +0 -0
- data/spec/dummy/app/helpers/application_helper.rb +0 -0
- data/spec/dummy/app/mailers/.keep +0 -0
- data/spec/dummy/app/models/.keep +0 -0
- data/spec/dummy/app/models/concerns/.keep +0 -0
- data/spec/dummy/app/views/home/index.html.erb +0 -0
- data/spec/dummy/app/views/home/index.json.erb +0 -0
- data/spec/dummy/app/views/layouts/application.html.erb +0 -0
- data/spec/dummy/config.ru +0 -0
- data/spec/dummy/config/application.rb +0 -0
- data/spec/dummy/config/boot.rb +0 -0
- data/spec/dummy/config/database.yml +0 -0
- data/spec/dummy/config/environment.rb +0 -0
- data/spec/dummy/config/environments/development.rb +0 -0
- data/spec/dummy/config/environments/production.rb +0 -0
- data/spec/dummy/config/environments/test.rb +0 -0
- data/spec/dummy/config/initializers/assets.rb +0 -0
- data/spec/dummy/config/initializers/backtrace_silencers.rb +0 -0
- data/spec/dummy/config/initializers/cookies_serializer.rb +0 -0
- data/spec/dummy/config/initializers/filter_parameter_logging.rb +0 -0
- data/spec/dummy/config/initializers/inflections.rb +0 -0
- data/spec/dummy/config/initializers/mime_types.rb +0 -0
- data/spec/dummy/config/initializers/session_store.rb +0 -0
- data/spec/dummy/config/initializers/to_time_preserves_timezone.rb +0 -0
- data/spec/dummy/config/initializers/wrap_parameters.rb +0 -0
- data/spec/dummy/config/locales/en.yml +0 -0
- data/spec/dummy/config/routes.rb +0 -0
- data/spec/dummy/config/secrets.yml +0 -0
- data/spec/dummy/db/seeds.rb +0 -0
- data/spec/dummy/lib/assets/.keep +0 -0
- data/spec/dummy/lib/tasks/.keep +0 -0
- data/spec/dummy/public/404.html +0 -0
- data/spec/dummy/public/422.html +0 -0
- data/spec/dummy/public/500.html +0 -0
- data/spec/dummy/public/favicon.ico +0 -0
- data/spec/dummy/public/robots.txt +0 -0
- data/spec/dummy/test/controllers/.keep +0 -0
- data/spec/dummy/test/fixtures/.keep +0 -0
- data/spec/dummy/test/helpers/.keep +0 -0
- data/spec/dummy/test/integration/.keep +0 -0
- data/spec/dummy/test/mailers/.keep +0 -0
- data/spec/dummy/test/models/.keep +0 -0
- data/spec/dummy/test/test_helper.rb +0 -0
- data/spec/dummy/vendor/assets/javascripts/.keep +0 -0
- data/spec/dummy/vendor/assets/stylesheets/.keep +0 -0
- data/spec/features/javascript_spec.rb +0 -0
- data/spec/rails_helper.rb +0 -0
- data/spec/raygun/breadcrumbs/breadcrumb_spec.rb +0 -0
- data/spec/raygun/breadcrumbs/store_spec.rb +0 -0
- data/spec/raygun/raygun_spec.rb +0 -0
- data/spec/services/apply_whitelist_filter_to_payload_spec.rb +0 -0
- data/spec/spec_helper.rb +0 -0
- data/spec/support/fake_logger.rb +0 -0
- data/test/integration/client_test.rb +0 -0
- data/test/test_helper.rb +1 -1
- data/test/unit/affected_user_test.rb +0 -0
- data/test/unit/client_test.rb +3 -1
- data/test/unit/configuration_test.rb +0 -0
- data/test/unit/raygun_test.rb +0 -0
- data/test/unit/resque_failure_test.rb +0 -0
- data/test/unit/sidekiq_failure_test.rb +0 -0
- metadata +14 -14
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 84452b508afb10629e9422d50d1ad50d50d39fa55b02b6b5f8acb8a4ae90dc5d
|
4
|
+
data.tar.gz: 9467456b70b0f9bade783999435f146547de3620f2921766bc43df4ece319558
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d54eaf8070ed7fe63f3d1fbc65453c036bba550762f28ce7279a055fd692faeb03081c91b2d60f371136df413e97c175bbef143b5f22c8e63a518ed4be5ec515
|
7
|
+
data.tar.gz: c51ab8b3f6e4743d2d95600c5325c485ecad3fce332e87adf61ed93a051939963e8d09f8064fccb126e536ce76c44144057c9012ba6cf97ef67ec4249633fe58
|
data/.gitignore
CHANGED
File without changes
|
data/.rspec
CHANGED
File without changes
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,6 @@
|
|
1
|
+
## 3.2.2 (10/06/2020):
|
2
|
+
- Introduce support for Raygun APM exceptions correlation ([#154](https://github.com/MindscapeHQ/raygun4ruby/pull/154))
|
3
|
+
|
1
4
|
## 3.2.1 (25/02/2019):
|
2
5
|
Bugfix:
|
3
6
|
- Remove Ruby 2.3 syntax to retain support for Ruby >= 2.0 ([#148](https://github.com/MindscapeHQ/raygun4ruby/pull/148))
|
data/Gemfile
CHANGED
File without changes
|
data/LICENSE.txt
CHANGED
File without changes
|
data/README.md
CHANGED
@@ -182,7 +182,7 @@ Raygun.setup do |config|
|
|
182
182
|
config.api_key = "YOUR_RAYGUN_API_KEY"
|
183
183
|
config.filter_payload_with_whitelist = true
|
184
184
|
|
185
|
-
config.
|
185
|
+
config.whitelist_payload_shape do |payload|
|
186
186
|
# Return the payload mutated into your desired form
|
187
187
|
payload
|
188
188
|
end
|
data/Rakefile
CHANGED
File without changes
|
data/examples/sinatras_raygun.rb
CHANGED
File without changes
|
File without changes
|
data/lib/raygun.rb
CHANGED
File without changes
|
data/lib/raygun/affected_user.rb
CHANGED
File without changes
|
data/lib/raygun/breadcrumbs.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
data/lib/raygun/client.rb
CHANGED
@@ -192,6 +192,7 @@ module Raygun
|
|
192
192
|
Raygun.log('set tags')
|
193
193
|
|
194
194
|
grouping_key = env.delete(:grouping_key)
|
195
|
+
correlation_id = env.delete(:correlation_id)
|
195
196
|
|
196
197
|
configuration_custom_data = Raygun.configuration.custom_data
|
197
198
|
configured_custom_data = if configuration_custom_data.is_a?(Proc)
|
@@ -220,6 +221,7 @@ module Raygun
|
|
220
221
|
Raygun.log('set details and breadcrumbs')
|
221
222
|
|
222
223
|
error_details.merge!(groupingKey: grouping_key) if grouping_key
|
224
|
+
error_details.merge!(correlationId: correlation_id) if correlation_id
|
223
225
|
|
224
226
|
user_details = if affected_user_present?(env)
|
225
227
|
user_information(env)
|
data/lib/raygun/configuration.rb
CHANGED
File without changes
|
data/lib/raygun/error.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/lib/raygun/railtie.rb
CHANGED
File without changes
|
File without changes
|
data/lib/raygun/sidekiq.rb
CHANGED
data/lib/raygun/testable.rb
CHANGED
File without changes
|
data/lib/raygun/version.rb
CHANGED
data/lib/raygun4ruby.rb
CHANGED
File without changes
|
File without changes
|
data/lib/tasks/raygun.tasks
CHANGED
File without changes
|
data/raygun4ruby.gemspec
CHANGED
@@ -26,7 +26,7 @@ Gem::Specification.new do |spec|
|
|
26
26
|
spec.add_runtime_dependency "concurrent-ruby"
|
27
27
|
|
28
28
|
spec.add_development_dependency "bundler", ">= 1.1"
|
29
|
-
spec.add_development_dependency "rake", "
|
29
|
+
spec.add_development_dependency "rake", ">= 12.3.3"
|
30
30
|
spec.add_development_dependency "timecop"
|
31
31
|
spec.add_development_dependency "minitest", "~> 5.11"
|
32
32
|
spec.add_development_dependency "redis-namespace", ">= 1.3.1"
|
@@ -39,7 +39,7 @@ Gem::Specification.new do |spec|
|
|
39
39
|
spec.add_development_dependency 'rails', "= 4.2.11"
|
40
40
|
spec.add_development_dependency 'sqlite3', '~> 1.3.6'
|
41
41
|
spec.add_development_dependency 'capybara'
|
42
|
-
spec.add_development_dependency "rspec-rails"
|
42
|
+
spec.add_development_dependency "rspec-rails", '~> 3.9'
|
43
43
|
spec.add_development_dependency "launchy"
|
44
44
|
spec.add_development_dependency "simplecov"
|
45
45
|
end
|
data/spec/dummy/.gitignore
CHANGED
File without changes
|
data/spec/dummy/Gemfile
CHANGED
File without changes
|
data/spec/dummy/README.rdoc
CHANGED
File without changes
|
data/spec/dummy/Rakefile
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/spec/dummy/app/models/.keep
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/spec/dummy/config.ru
CHANGED
File without changes
|
File without changes
|
data/spec/dummy/config/boot.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/spec/dummy/config/routes.rb
CHANGED
File without changes
|
File without changes
|
data/spec/dummy/db/seeds.rb
CHANGED
File without changes
|
data/spec/dummy/lib/assets/.keep
CHANGED
File without changes
|
data/spec/dummy/lib/tasks/.keep
CHANGED
File without changes
|
data/spec/dummy/public/404.html
CHANGED
File without changes
|
data/spec/dummy/public/422.html
CHANGED
File without changes
|
data/spec/dummy/public/500.html
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/spec/rails_helper.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
data/spec/raygun/raygun_spec.rb
CHANGED
File without changes
|
File without changes
|
data/spec/spec_helper.rb
CHANGED
File without changes
|
data/spec/support/fake_logger.rb
CHANGED
File without changes
|
File without changes
|
data/test/test_helper.rb
CHANGED
File without changes
|
data/test/unit/client_test.rb
CHANGED
@@ -198,6 +198,7 @@ class ClientTest < Raygun::UnitTest
|
|
198
198
|
Timecop.freeze do
|
199
199
|
Raygun.configuration.version = 123
|
200
200
|
grouping_key = "my custom group"
|
201
|
+
correlation_id = "my correlation id"
|
201
202
|
|
202
203
|
expected_hash = {
|
203
204
|
occurredOn: Time.now.utc.iso8601,
|
@@ -214,13 +215,14 @@ class ClientTest < Raygun::UnitTest
|
|
214
215
|
tags: ["test"],
|
215
216
|
request: {},
|
216
217
|
groupingKey: grouping_key,
|
218
|
+
correlationId: correlation_id,
|
217
219
|
environment: {
|
218
220
|
utcOffset: 13
|
219
221
|
}
|
220
222
|
}
|
221
223
|
}
|
222
224
|
|
223
|
-
assert_equal expected_hash, @client.send(:build_payload_hash, test_exception, { grouping_key: grouping_key })
|
225
|
+
assert_equal expected_hash, @client.send(:build_payload_hash, test_exception, { grouping_key: grouping_key, correlation_id: correlation_id })
|
224
226
|
end
|
225
227
|
end
|
226
228
|
|
File without changes
|
data/test/unit/raygun_test.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: raygun4ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.3.pre
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mindscape
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2020-09-02 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: httparty
|
@@ -85,16 +85,16 @@ dependencies:
|
|
85
85
|
name: rake
|
86
86
|
requirement: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
|
-
- - "
|
88
|
+
- - ">="
|
89
89
|
- !ruby/object:Gem::Version
|
90
|
-
version:
|
90
|
+
version: 12.3.3
|
91
91
|
type: :development
|
92
92
|
prerelease: false
|
93
93
|
version_requirements: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
|
-
- - "
|
95
|
+
- - ">="
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version:
|
97
|
+
version: 12.3.3
|
98
98
|
- !ruby/object:Gem::Dependency
|
99
99
|
name: timecop
|
100
100
|
requirement: !ruby/object:Gem::Requirement
|
@@ -259,16 +259,16 @@ dependencies:
|
|
259
259
|
name: rspec-rails
|
260
260
|
requirement: !ruby/object:Gem::Requirement
|
261
261
|
requirements:
|
262
|
-
- - "
|
262
|
+
- - "~>"
|
263
263
|
- !ruby/object:Gem::Version
|
264
|
-
version: '
|
264
|
+
version: '3.9'
|
265
265
|
type: :development
|
266
266
|
prerelease: false
|
267
267
|
version_requirements: !ruby/object:Gem::Requirement
|
268
268
|
requirements:
|
269
|
-
- - "
|
269
|
+
- - "~>"
|
270
270
|
- !ruby/object:Gem::Version
|
271
|
-
version: '
|
271
|
+
version: '3.9'
|
272
272
|
- !ruby/object:Gem::Dependency
|
273
273
|
name: launchy
|
274
274
|
requirement: !ruby/object:Gem::Requirement
|
@@ -340,6 +340,7 @@ files:
|
|
340
340
|
- spec/dummy/Gemfile
|
341
341
|
- spec/dummy/README.rdoc
|
342
342
|
- spec/dummy/Rakefile
|
343
|
+
- spec/dummy/app/assets/config/manifest.js
|
343
344
|
- spec/dummy/app/assets/images/.keep
|
344
345
|
- spec/dummy/app/assets/javascripts/application.js
|
345
346
|
- spec/dummy/app/assets/stylesheets/application.css
|
@@ -428,12 +429,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
428
429
|
version: '2.0'
|
429
430
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
430
431
|
requirements:
|
431
|
-
- - "
|
432
|
+
- - ">"
|
432
433
|
- !ruby/object:Gem::Version
|
433
|
-
version:
|
434
|
+
version: 1.3.1
|
434
435
|
requirements: []
|
435
|
-
|
436
|
-
rubygems_version: 2.6.8
|
436
|
+
rubygems_version: 3.0.3
|
437
437
|
signing_key:
|
438
438
|
specification_version: 4
|
439
439
|
summary: This gem provides support for Ruby and Ruby on Rails for the Raygun.io error
|