sentry-ruby 4.1.4 → 4.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -2
- metadata +21 -57
- data/.craft.yml +0 -19
- data/.gitignore +0 -11
- data/.rspec +0 -3
- data/.travis.yml +0 -6
- data/CHANGELOG.md +0 -120
- data/CODE_OF_CONDUCT.md +0 -74
- data/Gemfile +0 -16
- data/Rakefile +0 -8
- data/bin/console +0 -14
- data/bin/setup +0 -8
- data/lib/sentry-ruby.rb +0 -190
- data/lib/sentry/background_worker.rb +0 -37
- data/lib/sentry/backtrace.rb +0 -126
- data/lib/sentry/benchmarks/benchmark_transport.rb +0 -14
- data/lib/sentry/breadcrumb.rb +0 -25
- data/lib/sentry/breadcrumb/sentry_logger.rb +0 -87
- data/lib/sentry/breadcrumb_buffer.rb +0 -47
- data/lib/sentry/client.rb +0 -96
- data/lib/sentry/configuration.rb +0 -396
- data/lib/sentry/core_ext/object/deep_dup.rb +0 -57
- data/lib/sentry/core_ext/object/duplicable.rb +0 -153
- data/lib/sentry/dsn.rb +0 -48
- data/lib/sentry/event.rb +0 -171
- data/lib/sentry/hub.rb +0 -143
- data/lib/sentry/integrable.rb +0 -24
- data/lib/sentry/interface.rb +0 -22
- data/lib/sentry/interfaces/exception.rb +0 -11
- data/lib/sentry/interfaces/request.rb +0 -113
- data/lib/sentry/interfaces/single_exception.rb +0 -14
- data/lib/sentry/interfaces/stacktrace.rb +0 -90
- data/lib/sentry/linecache.rb +0 -44
- data/lib/sentry/logger.rb +0 -20
- data/lib/sentry/rack.rb +0 -4
- data/lib/sentry/rack/capture_exceptions.rb +0 -68
- data/lib/sentry/rack/deprecations.rb +0 -19
- data/lib/sentry/rake.rb +0 -17
- data/lib/sentry/scope.rb +0 -210
- data/lib/sentry/span.rb +0 -133
- data/lib/sentry/transaction.rb +0 -157
- data/lib/sentry/transaction_event.rb +0 -29
- data/lib/sentry/transport.rb +0 -88
- data/lib/sentry/transport/configuration.rb +0 -21
- data/lib/sentry/transport/dummy_transport.rb +0 -14
- data/lib/sentry/transport/http_transport.rb +0 -62
- data/lib/sentry/utils/argument_checking_helper.rb +0 -11
- data/lib/sentry/utils/exception_cause_chain.rb +0 -20
- data/lib/sentry/utils/real_ip.rb +0 -70
- data/lib/sentry/utils/request_id.rb +0 -16
- data/lib/sentry/version.rb +0 -3
- data/sentry-ruby.gemspec +0 -27
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4aa9700782e672548a16cd10395610a658bb73d37af363cd657f3f373c7118fe
|
4
|
+
data.tar.gz: 1995b50234b20e9a270fe35d7766dc0b816e6473723fe8d421278a04650257a5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b3856b5f92ba6a00cea9646c7aa18baa9739cd9f6472baef18f8bfae35db0c7047af98f2041e551382e2cff23505a00ba6c0da1cd7354e70b66c0e0d65bdf5e6
|
7
|
+
data.tar.gz: 44941a41ca3b8abd09b36a81fb7ebecc37cb4174092ae3bec5de96b2b0cc6e24830417933b374f8c91d4a32faf0838fc887c245a9080960f8c07e45166c976d0
|
data/README.md
CHANGED
@@ -28,6 +28,8 @@ The official Ruby-language client and integration layer for the [Sentry](https:/
|
|
28
28
|
|
29
29
|
We test on Ruby 2.4, 2.5, 2.6 and 2.7 at the latest patchlevel/teeny version. We also support JRuby 9.0.
|
30
30
|
|
31
|
+
If you use self-hosted Sentry, please also make sure its version is above `20.6.0`.
|
32
|
+
|
31
33
|
## Migrate From sentry-raven
|
32
34
|
|
33
35
|
If you're using `sentry-raven`, we recommend you to migrate to this new SDK. You can find the benefits of migrating and how to do it in our [migration guide](https://docs.sentry.io/platforms/ruby/migration/).
|
@@ -65,7 +67,7 @@ end
|
|
65
67
|
|
66
68
|
### Sentry doesn't report some kinds of data by default
|
67
69
|
|
68
|
-
**Sentry ignores some exceptions by default** - most of these are related to 404s parameter parsing errors. [For a complete list, see the `IGNORE_DEFAULT` constant](https://github.com/getsentry/sentry-ruby/blob/master/sentry-ruby/lib/sentry/configuration.rb#L118) and the integration gems' `IGNORE_DEFAULT`, like [`sentry-rails`'s](https://github.com/getsentry/sentry-ruby/blob/
|
70
|
+
**Sentry ignores some exceptions by default** - most of these are related to 404s parameter parsing errors. [For a complete list, see the `IGNORE_DEFAULT` constant](https://github.com/getsentry/sentry-ruby/blob/master/sentry-ruby/lib/sentry/configuration.rb#L118) and the integration gems' `IGNORE_DEFAULT`, like [`sentry-rails`'s](https://github.com/getsentry/sentry-ruby/blob/master/sentry-rails/lib/sentry/rails/configuration.rb#L12)
|
69
71
|
|
70
72
|
Sentry doesn't send personally identifiable information (pii) by default, such as request body, user ip or cookies. If you want those information to be sent, you can use the `send_default_pii` config option:
|
71
73
|
|
@@ -158,6 +160,7 @@ config.async = lambda { |event, hint| SentryJob.perform_later(event, hint) }
|
|
158
160
|
|
159
161
|
class SentryJob < ActiveJob::Base
|
160
162
|
queue_as :default
|
163
|
+
discard_on ActiveJob::DeserializationError # this will prevent infinite loop when there's an issue deserializing SentryJob
|
161
164
|
|
162
165
|
def perform(event, hint)
|
163
166
|
Sentry.send_event(event, hint)
|
@@ -165,8 +168,13 @@ class SentryJob < ActiveJob::Base
|
|
165
168
|
end
|
166
169
|
```
|
167
170
|
|
171
|
+
If you also use `sentry-rails`, you can directly use the job we defined for you:
|
172
|
+
|
173
|
+
```ruby
|
174
|
+
config.async = lambda { |event, hint| Sentry::SendEventJob.perform_later(event, hint) }
|
175
|
+
```
|
168
176
|
|
169
|
-
**After version 4.1.0**, `sentry-ruby` sends events asynchronously by default. The functionality works like this:
|
177
|
+
**After version 4.1.0**, `sentry-ruby` sends events asynchronously by default. The functionality works like this:
|
170
178
|
|
171
179
|
1. When the SDK is initialized, a `Sentry::BackgroundWorker` will be initialized too.
|
172
180
|
2. When an event is passed to `Client#capture_event`, instead of sending it directly with `Client#send_event`, we'll let the worker do it.
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sentry-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.
|
4
|
+
version: 4.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sentry Team
|
8
8
|
autorequire:
|
9
|
-
bindir:
|
9
|
+
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-02-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: sentry-ruby-core
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 4.2.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 4.2.0
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: faraday
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,65 +66,15 @@ extra_rdoc_files:
|
|
52
66
|
- README.md
|
53
67
|
- LICENSE.txt
|
54
68
|
files:
|
55
|
-
- ".craft.yml"
|
56
|
-
- ".gitignore"
|
57
|
-
- ".rspec"
|
58
|
-
- ".travis.yml"
|
59
|
-
- CHANGELOG.md
|
60
|
-
- CODE_OF_CONDUCT.md
|
61
|
-
- Gemfile
|
62
69
|
- LICENSE.txt
|
63
70
|
- README.md
|
64
|
-
-
|
65
|
-
- bin/console
|
66
|
-
- bin/setup
|
67
|
-
- lib/sentry-ruby.rb
|
68
|
-
- lib/sentry/background_worker.rb
|
69
|
-
- lib/sentry/backtrace.rb
|
70
|
-
- lib/sentry/benchmarks/benchmark_transport.rb
|
71
|
-
- lib/sentry/breadcrumb.rb
|
72
|
-
- lib/sentry/breadcrumb/sentry_logger.rb
|
73
|
-
- lib/sentry/breadcrumb_buffer.rb
|
74
|
-
- lib/sentry/client.rb
|
75
|
-
- lib/sentry/configuration.rb
|
76
|
-
- lib/sentry/core_ext/object/deep_dup.rb
|
77
|
-
- lib/sentry/core_ext/object/duplicable.rb
|
78
|
-
- lib/sentry/dsn.rb
|
79
|
-
- lib/sentry/event.rb
|
80
|
-
- lib/sentry/hub.rb
|
81
|
-
- lib/sentry/integrable.rb
|
82
|
-
- lib/sentry/interface.rb
|
83
|
-
- lib/sentry/interfaces/exception.rb
|
84
|
-
- lib/sentry/interfaces/request.rb
|
85
|
-
- lib/sentry/interfaces/single_exception.rb
|
86
|
-
- lib/sentry/interfaces/stacktrace.rb
|
87
|
-
- lib/sentry/linecache.rb
|
88
|
-
- lib/sentry/logger.rb
|
89
|
-
- lib/sentry/rack.rb
|
90
|
-
- lib/sentry/rack/capture_exceptions.rb
|
91
|
-
- lib/sentry/rack/deprecations.rb
|
92
|
-
- lib/sentry/rake.rb
|
93
|
-
- lib/sentry/scope.rb
|
94
|
-
- lib/sentry/span.rb
|
95
|
-
- lib/sentry/transaction.rb
|
96
|
-
- lib/sentry/transaction_event.rb
|
97
|
-
- lib/sentry/transport.rb
|
98
|
-
- lib/sentry/transport/configuration.rb
|
99
|
-
- lib/sentry/transport/dummy_transport.rb
|
100
|
-
- lib/sentry/transport/http_transport.rb
|
101
|
-
- lib/sentry/utils/argument_checking_helper.rb
|
102
|
-
- lib/sentry/utils/exception_cause_chain.rb
|
103
|
-
- lib/sentry/utils/real_ip.rb
|
104
|
-
- lib/sentry/utils/request_id.rb
|
105
|
-
- lib/sentry/version.rb
|
106
|
-
- sentry-ruby.gemspec
|
107
|
-
homepage: https://github.com/getsentry/raven-ruby
|
71
|
+
homepage: https://github.com/getsentry/sentry-ruby
|
108
72
|
licenses:
|
109
73
|
- Apache-2.0
|
110
74
|
metadata:
|
111
|
-
homepage_uri: https://github.com/getsentry/
|
112
|
-
source_code_uri: https://github.com/getsentry/
|
113
|
-
changelog_uri: https://github.com/getsentry/
|
75
|
+
homepage_uri: https://github.com/getsentry/sentry-ruby
|
76
|
+
source_code_uri: https://github.com/getsentry/sentry-ruby
|
77
|
+
changelog_uri: https://github.com/getsentry/sentry-ruby/blob/master/sentry-ruby/CHANGELOG.md
|
114
78
|
post_install_message:
|
115
79
|
rdoc_options: []
|
116
80
|
require_paths:
|
data/.craft.yml
DELETED
@@ -1,19 +0,0 @@
|
|
1
|
-
minVersion: '0.13.2'
|
2
|
-
github:
|
3
|
-
owner: getsentry
|
4
|
-
repo: sentry-ruby
|
5
|
-
changelogPolicy: simple
|
6
|
-
preReleaseCommand: ruby ../.scripts/bump-version.rb
|
7
|
-
releaseBranchPrefix: release-sentry-ruby
|
8
|
-
statusProvider:
|
9
|
-
name: github
|
10
|
-
artifactProvider:
|
11
|
-
name: github
|
12
|
-
targets:
|
13
|
-
- name: gem
|
14
|
-
- name: github
|
15
|
-
tagPrefix: sentry-ruby-v
|
16
|
-
- name: registry
|
17
|
-
type: sdk
|
18
|
-
config:
|
19
|
-
canonical: 'gem:sentry-ruby'
|
data/.gitignore
DELETED
data/.rspec
DELETED
data/.travis.yml
DELETED
data/CHANGELOG.md
DELETED
@@ -1,120 +0,0 @@
|
|
1
|
-
# Changelog
|
2
|
-
|
3
|
-
## 4.1.4
|
4
|
-
|
5
|
-
- Fix headers serialization for sentry-ruby [#1197](https://github.com/getsentry/sentry-ruby/pull/1197) (by @moofkit)
|
6
|
-
- Support capturing "sentry-trace" header from the middleware [#1205](https://github.com/getsentry/sentry-ruby/pull/1205)
|
7
|
-
- Document public APIs on the Sentry module [#1208](https://github.com/getsentry/sentry-ruby/pull/1208)
|
8
|
-
- Check the argument type of capture_exception and capture_event helpers [#1209](https://github.com/getsentry/sentry-ruby/pull/1209)
|
9
|
-
|
10
|
-
## 4.1.3
|
11
|
-
|
12
|
-
- rm reference to old constant (from Rails v2.2) [#1184](https://github.com/getsentry/sentry-ruby/pull/1184)
|
13
|
-
- Use copied env in events [#1186](https://github.com/getsentry/sentry-ruby/pull/1186)
|
14
|
-
- Fixes [#1183](https://github.com/getsentry/sentry-ruby/issues/1183)
|
15
|
-
- Refactor RequestInterface [#1187](https://github.com/getsentry/sentry-ruby/pull/1187)
|
16
|
-
- Supply event hint to async callback when possible [#1189](https://github.com/getsentry/sentry-ruby/pull/1189)
|
17
|
-
- Fixes [#1188](https://github.com/getsentry/sentry-ruby/issues/1188)
|
18
|
-
- Refactor stacktrace parsing and increase test coverage [#1190](https://github.com/getsentry/sentry-ruby/pull/1190)
|
19
|
-
- Sentry.send_event should also take a hint [#1192](https://github.com/getsentry/sentry-ruby/pull/1192)
|
20
|
-
|
21
|
-
## 4.1.2
|
22
|
-
|
23
|
-
- before_send callback shouldn't be applied to transaction events [#1167](https://github.com/getsentry/sentry-ruby/pull/1167)
|
24
|
-
- Transaction improvements [#1170](https://github.com/getsentry/sentry-ruby/pull/1170)
|
25
|
-
- Support Ruby 3 [#1172](https://github.com/getsentry/sentry-ruby/pull/1172)
|
26
|
-
- Add Integrable module [#1177](https://github.com/getsentry/sentry-ruby/pull/1177)
|
27
|
-
|
28
|
-
## 4.1.1
|
29
|
-
|
30
|
-
- Fix NoMethodError when sending is not allowed [#1161](https://github.com/getsentry/sentry-ruby/pull/1161)
|
31
|
-
- Add notification for users who still use deprecated middlewares [#1160](https://github.com/getsentry/sentry-ruby/pull/1160)
|
32
|
-
- Improve top-level api safety [#1162](https://github.com/getsentry/sentry-ruby/pull/1162)
|
33
|
-
|
34
|
-
## 4.1.0
|
35
|
-
|
36
|
-
- Separate rack integration [#1138](https://github.com/getsentry/sentry-ruby/pull/1138)
|
37
|
-
- Fixes [#1136](https://github.com/getsentry/sentry-ruby/pull/1136)
|
38
|
-
- Fix event sampling [#1144](https://github.com/getsentry/sentry-ruby/pull/1144)
|
39
|
-
- Merge & rename 2 Rack middlewares [#1147](https://github.com/getsentry/sentry-ruby/pull/1147)
|
40
|
-
- Fixes [#1153](https://github.com/getsentry/sentry-ruby/pull/1153)
|
41
|
-
- Removed `Sentry::Rack::Tracing` middleware and renamed `Sentry::Rack::CaptureException` to `Sentry::Rack::CaptureExceptions`.
|
42
|
-
- Deep-copy spans [#1148](https://github.com/getsentry/sentry-ruby/pull/1148)
|
43
|
-
- Move span recorder related code from Span to Transaction [#1149](https://github.com/getsentry/sentry-ruby/pull/1149)
|
44
|
-
- Check SDK initialization before running integrations [#1151](https://github.com/getsentry/sentry-ruby/pull/1151)
|
45
|
-
- Fixes [#1145](https://github.com/getsentry/sentry-ruby/pull/1145)
|
46
|
-
- Refactor transport [#1154](https://github.com/getsentry/sentry-ruby/pull/1154)
|
47
|
-
- Implement non-blocking event sending [#1155](https://github.com/getsentry/sentry-ruby/pull/1155)
|
48
|
-
- Added `background_worker_threads` configuration option.
|
49
|
-
|
50
|
-
### Noticeable Changes
|
51
|
-
|
52
|
-
#### Middleware Changes
|
53
|
-
|
54
|
-
`Sentry::Rack::Tracing` is now removed. And `Sentry::Rack::CaptureException` has been renamed to `Sentry::Rack::CaptureExceptions`.
|
55
|
-
|
56
|
-
#### Events Are Sent Asynchronously
|
57
|
-
|
58
|
-
`sentry-ruby` now sends events asynchronously by default. The functionality works like this:
|
59
|
-
|
60
|
-
1. When the SDK is initialized, a `Sentry::BackgroundWorker` will be initialized too.
|
61
|
-
2. When an event is passed to `Client#capture_event`, instead of sending it directly with `Client#send_event`, we'll let the worker do it.
|
62
|
-
3. The worker will have a number of threads. And the one of the idle threads will pick the job and call `Client#send_event`.
|
63
|
-
- If all the threads are busy, new jobs will be put into a queue, which has a limit of 30.
|
64
|
-
- If the queue size is exceeded, new events will be dropped.
|
65
|
-
|
66
|
-
However, if you still prefer to use your own async approach, that's totally fine. If you have `config.async` set, the worker won't initialize a thread pool and won't be used either.
|
67
|
-
|
68
|
-
This functionality also introduces a new `background_worker_threads` config option. It allows you to decide how many threads should the worker hold. By default, the value will be the number of the processors your machine has. For example, if your machine has 4 processors, the value would be 4.
|
69
|
-
|
70
|
-
Of course, you can always override the value to fit your use cases, like
|
71
|
-
|
72
|
-
```ruby
|
73
|
-
config.background_worker_threads = 5 # the worker will have 5 threads for sending events
|
74
|
-
```
|
75
|
-
|
76
|
-
You can also disable this new non-blocking behaviour by giving a `0` value:
|
77
|
-
|
78
|
-
```ruby
|
79
|
-
config.background_worker_threads = 0 # all events will be sent synchronously
|
80
|
-
```
|
81
|
-
|
82
|
-
## 4.0.1
|
83
|
-
|
84
|
-
- Add rake integration: [1137](https://github.com/getsentry/sentry-ruby/pull/1137)
|
85
|
-
- Make Event's interfaces accessible: [1135](https://github.com/getsentry/sentry-ruby/pull/1135)
|
86
|
-
- ActiveSupportLogger should only record events that has a started time: [1132](https://github.com/getsentry/sentry-ruby/pull/1132)
|
87
|
-
|
88
|
-
## 4.0.0
|
89
|
-
|
90
|
-
- Only documents update for the official release and no API/feature changes.
|
91
|
-
|
92
|
-
## 0.3.0
|
93
|
-
|
94
|
-
- Major API changes: [1123](https://github.com/getsentry/sentry-ruby/pull/1123)
|
95
|
-
- Support event hint: [1122](https://github.com/getsentry/sentry-ruby/pull/1122)
|
96
|
-
- Add request-id tag to events: [1120](https://github.com/getsentry/sentry-ruby/pull/1120) (by @tvec)
|
97
|
-
|
98
|
-
## 0.2.0
|
99
|
-
|
100
|
-
- Multiple fixes and refactorings
|
101
|
-
- Tracing support
|
102
|
-
|
103
|
-
## 0.1.3
|
104
|
-
|
105
|
-
Fix require reference
|
106
|
-
|
107
|
-
## 0.1.2
|
108
|
-
|
109
|
-
- Fix: Fix async callback [1098](https://github.com/getsentry/sentry-ruby/pull/1098)
|
110
|
-
- Refactor: Some code cleanup [1100](https://github.com/getsentry/sentry-ruby/pull/1100)
|
111
|
-
- Refactor: Remove Event options [1101](https://github.com/getsentry/sentry-ruby/pull/1101)
|
112
|
-
|
113
|
-
## 0.1.1
|
114
|
-
|
115
|
-
- Feature: Allow passing custom scope to Hub#capture* helpers [1086](https://github.com/getsentry/sentry-ruby/pull/1086)
|
116
|
-
|
117
|
-
## 0.1.0
|
118
|
-
|
119
|
-
First version
|
120
|
-
|
data/CODE_OF_CONDUCT.md
DELETED
@@ -1,74 +0,0 @@
|
|
1
|
-
# Contributor Covenant Code of Conduct
|
2
|
-
|
3
|
-
## Our Pledge
|
4
|
-
|
5
|
-
In the interest of fostering an open and welcoming environment, we as
|
6
|
-
contributors and maintainers pledge to making participation in our project and
|
7
|
-
our community a harassment-free experience for everyone, regardless of age, body
|
8
|
-
size, disability, ethnicity, gender identity and expression, level of experience,
|
9
|
-
nationality, personal appearance, race, religion, or sexual identity and
|
10
|
-
orientation.
|
11
|
-
|
12
|
-
## Our Standards
|
13
|
-
|
14
|
-
Examples of behavior that contributes to creating a positive environment
|
15
|
-
include:
|
16
|
-
|
17
|
-
* Using welcoming and inclusive language
|
18
|
-
* Being respectful of differing viewpoints and experiences
|
19
|
-
* Gracefully accepting constructive criticism
|
20
|
-
* Focusing on what is best for the community
|
21
|
-
* Showing empathy towards other community members
|
22
|
-
|
23
|
-
Examples of unacceptable behavior by participants include:
|
24
|
-
|
25
|
-
* The use of sexualized language or imagery and unwelcome sexual attention or
|
26
|
-
advances
|
27
|
-
* Trolling, insulting/derogatory comments, and personal or political attacks
|
28
|
-
* Public or private harassment
|
29
|
-
* Publishing others' private information, such as a physical or electronic
|
30
|
-
address, without explicit permission
|
31
|
-
* Other conduct which could reasonably be considered inappropriate in a
|
32
|
-
professional setting
|
33
|
-
|
34
|
-
## Our Responsibilities
|
35
|
-
|
36
|
-
Project maintainers are responsible for clarifying the standards of acceptable
|
37
|
-
behavior and are expected to take appropriate and fair corrective action in
|
38
|
-
response to any instances of unacceptable behavior.
|
39
|
-
|
40
|
-
Project maintainers have the right and responsibility to remove, edit, or
|
41
|
-
reject comments, commits, code, wiki edits, issues, and other contributions
|
42
|
-
that are not aligned to this Code of Conduct, or to ban temporarily or
|
43
|
-
permanently any contributor for other behaviors that they deem inappropriate,
|
44
|
-
threatening, offensive, or harmful.
|
45
|
-
|
46
|
-
## Scope
|
47
|
-
|
48
|
-
This Code of Conduct applies both within project spaces and in public spaces
|
49
|
-
when an individual is representing the project or its community. Examples of
|
50
|
-
representing a project or community include using an official project e-mail
|
51
|
-
address, posting via an official social media account, or acting as an appointed
|
52
|
-
representative at an online or offline event. Representation of a project may be
|
53
|
-
further defined and clarified by project maintainers.
|
54
|
-
|
55
|
-
## Enforcement
|
56
|
-
|
57
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
-
reported by contacting the project team at stan001212@gmail.com. All
|
59
|
-
complaints will be reviewed and investigated and will result in a response that
|
60
|
-
is deemed necessary and appropriate to the circumstances. The project team is
|
61
|
-
obligated to maintain confidentiality with regard to the reporter of an incident.
|
62
|
-
Further details of specific enforcement policies may be posted separately.
|
63
|
-
|
64
|
-
Project maintainers who do not follow or enforce the Code of Conduct in good
|
65
|
-
faith may face temporary or permanent repercussions as determined by other
|
66
|
-
members of the project's leadership.
|
67
|
-
|
68
|
-
## Attribution
|
69
|
-
|
70
|
-
This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
|
71
|
-
available at [https://contributor-covenant.org/version/1/4][version]
|
72
|
-
|
73
|
-
[homepage]: https://contributor-covenant.org
|
74
|
-
[version]: https://contributor-covenant.org/version/1/4/
|
data/Gemfile
DELETED
@@ -1,16 +0,0 @@
|
|
1
|
-
source "https://rubygems.org"
|
2
|
-
|
3
|
-
# Specify your gem's dependencies in sentry-ruby.gemspec
|
4
|
-
gemspec
|
5
|
-
|
6
|
-
gem "rake", "~> 12.0"
|
7
|
-
gem "rspec", "~> 3.0"
|
8
|
-
gem "codecov", "0.2.12"
|
9
|
-
|
10
|
-
gem "pry"
|
11
|
-
gem "rack" unless ENV["WITHOUT_RACK"] == "1"
|
12
|
-
|
13
|
-
gem "benchmark-ips"
|
14
|
-
gem "benchmark_driver"
|
15
|
-
gem "benchmark-ipsa"
|
16
|
-
gem "benchmark-memory"
|
data/Rakefile
DELETED
data/bin/console
DELETED
@@ -1,14 +0,0 @@
|
|
1
|
-
#!/usr/bin/env ruby
|
2
|
-
|
3
|
-
require "bundler/setup"
|
4
|
-
require "sentry/ruby"
|
5
|
-
|
6
|
-
# You can add fixtures and/or initialization code here to make experimenting
|
7
|
-
# with your gem easier. You can also use a different console, if you like.
|
8
|
-
|
9
|
-
# (If you use this, don't forget to add pry to your Gemfile!)
|
10
|
-
# require "pry"
|
11
|
-
# Pry.start
|
12
|
-
|
13
|
-
require "irb"
|
14
|
-
IRB.start(__FILE__)
|