sentry-rails 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.craft.yml +1 -1
- data/CHANGELOG.md +4 -0
- data/README.md +35 -27
- data/lib/sentry-rails.rb +2 -0
- data/lib/sentry/rails.rb +1 -1
- data/lib/sentry/rails/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a0780603b519760f8819b1e9245514d479f5c55595d7a5d91a09ea1d72d1ea9
|
4
|
+
data.tar.gz: d2137a13dd2f272298027818a2fd076c2b4a7b70bad18bd028b39a1fe95f9109
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0c0a349aded55ded8dc9c1d758cb1d23ee30ee08fbe063f58b842d31436a1e282d66dfea089441f71c6519ed4df340ea4bb6a3293832bc9301edfc5c3509243a
|
7
|
+
data.tar.gz: ba5ed5414046187fcb7d1481e0808ff98bc35b91f61cd7481a5cba104e177fc36a3961fc6c23e871e9e7a2cc2cb8d6f8650b5ff21bc5cbc9c866a03d7fe654c4
|
data/.craft.yml
CHANGED
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,44 +1,52 @@
|
|
1
|
-
|
1
|
+
<p align="center">
|
2
|
+
<a href="https://sentry.io" target="_blank" align="center">
|
3
|
+
<img src="https://sentry-brand.storage.googleapis.com/sentry-logo-black.png" width="280">
|
4
|
+
</a>
|
5
|
+
<br>
|
6
|
+
</p>
|
2
7
|
|
3
|
-
|
8
|
+
# sentry-rails, the Rails integration for Sentry's Ruby client
|
4
9
|
|
5
|
-
|
10
|
+
---
|
6
11
|
|
7
|
-
## Installation
|
8
12
|
|
9
|
-
|
13
|
+
[![Gem Version](https://img.shields.io/gem/v/sentry-rails.svg)](https://rubygems.org/gems/sentry-rails)
|
14
|
+
![Build Status](https://github.com/getsentry/sentry-ruby/workflows/sentry-rails%20Test/badge.svg)
|
15
|
+
[![Coverage Status](https://img.shields.io/codecov/c/github/getsentry/sentry-ruby/master?logo=codecov)](https://codecov.io/gh/getsentry/sentry-ruby/branch/master)
|
16
|
+
[![Gem](https://img.shields.io/gem/dt/sentry-rails.svg)](https://rubygems.org/gems/sentry-rails/)
|
17
|
+
[![SemVer](https://api.dependabot.com/badges/compatibility_score?dependency-name=sentry-rails&package-manager=bundler&version-scheme=semver)](https://dependabot.com/compatibility-score.html?dependency-name=sentry-rails&package-manager=bundler&version-scheme=semver)
|
10
18
|
|
11
|
-
```ruby
|
12
|
-
gem 'sentry-ruby'
|
13
|
-
```
|
14
|
-
|
15
|
-
And then execute:
|
16
|
-
|
17
|
-
$ bundle install
|
18
|
-
|
19
|
-
Or install it yourself as:
|
20
19
|
|
21
|
-
|
20
|
+
[Documentation](https://docs.sentry.io/clients/ruby/) | [Bug Tracker](https://github.com/getsentry/sentry-ruby/issues) | [Forum](https://forum.sentry.io/) | IRC: irc.freenode.net, #sentry
|
22
21
|
|
23
|
-
|
22
|
+
The official Ruby-language client and integration layer for the [Sentry](https://github.com/getsentry/sentry) error reporting API.
|
24
23
|
|
25
|
-
TODO: Write usage instructions here
|
26
24
|
|
27
|
-
##
|
25
|
+
## Requirements
|
28
26
|
|
29
|
-
|
27
|
+
This integration requires Rails version >= 5.0 and Ruby version >= 2.4
|
30
28
|
|
31
|
-
|
29
|
+
## Getting Started
|
32
30
|
|
33
|
-
|
34
|
-
|
35
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/sentry-ruby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/[USERNAME]/sentry-ruby/blob/master/CODE_OF_CONDUCT.md).
|
31
|
+
### Install
|
36
32
|
|
33
|
+
```ruby
|
34
|
+
gem "sentry-rails"
|
35
|
+
```
|
37
36
|
|
38
|
-
|
37
|
+
### Integration Specific Configuration
|
39
38
|
|
40
|
-
|
39
|
+
This gem has a few Rails-specific configuration options
|
41
40
|
|
42
|
-
|
41
|
+
```ruby
|
42
|
+
Sentry.init do |config|
|
43
|
+
# report exceptions rescued by ActionDispatch::ShowExceptions or ActionDispatch::DebugExceptions middlewares
|
44
|
+
# the default value is true
|
45
|
+
config.rails.report_rescued_exceptions = true
|
46
|
+
|
47
|
+
# this gem also provides a new breadcrumb logger that accepts instrumentaions from ActiveSupport
|
48
|
+
# it's not activated by default, but you can enable it with
|
49
|
+
config.breadcrumbs_logger = [:active_support_logger]
|
50
|
+
end
|
51
|
+
```
|
43
52
|
|
44
|
-
Everyone interacting in the Sentry::Ruby project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/[USERNAME]/sentry-ruby/blob/master/CODE_OF_CONDUCT.md).
|
data/lib/sentry-rails.rb
ADDED
data/lib/sentry/rails.rb
CHANGED
data/lib/sentry/rails/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sentry-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sentry Team
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-11-
|
11
|
+
date: 2020-11-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -58,6 +58,7 @@ files:
|
|
58
58
|
- Rakefile
|
59
59
|
- bin/console
|
60
60
|
- bin/setup
|
61
|
+
- lib/sentry-rails.rb
|
61
62
|
- lib/sentry/rails.rb
|
62
63
|
- lib/sentry/rails/active_job.rb
|
63
64
|
- lib/sentry/rails/backtrace_cleaner.rb
|