sentry-ruby-core 4.1.5.pre.beta.1 → 4.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +2 -0
- data/lib/sentry-ruby.rb +2 -1
- data/lib/sentry/client.rb +1 -0
- data/lib/sentry/version.rb +1 -1
- data/sentry-ruby-core.gemspec +1 -1
- data/sentry-ruby.gemspec +1 -1
- metadata +5 -6
- data/.travis.yml +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7862b3ddbb49c77b2c47c1a9509cce1efa4c193d459d0b3bd07bebd6aa9b62e
|
4
|
+
data.tar.gz: faca1cc6efce70d3f64e1266c2e32fc2d67352544f8bfc2b2a278bcbefca1a61
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76dbfe0e360744126dcfdfce35d1563fb14387bafb1196c315fd1ef5e9d57c09d4d627f5a5386610a031a4909fab28a659bdfcd66e96d00a2e56c8737c130358
|
7
|
+
data.tar.gz: e4c26db4e8bcaa1c6a32c4acadc9d385356b3617b8d5e76ffeda773b9deb4da291a77eafef27aa7bb98539cca187f27d174a7d0cc16c1ef8204c380e46fd54fc
|
data/CHANGELOG.md
CHANGED
@@ -1,11 +1,19 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## 4.1.5
|
4
|
+
|
5
|
+
- Serialize event hint before passing it to the async block [#1231](https://github.com/getsentry/sentry-ruby/pull/1231)
|
6
|
+
- Fixes [#1227](https://github.com/getsentry/sentry-ruby/issues/1227)
|
7
|
+
- Require the English library [#1233](https://github.com/getsentry/sentry-ruby/pull/1233) (by @dentarg)
|
8
|
+
- Allow `Sentry.init` without block argument [#1235](https://github.com/getsentry/sentry-ruby/pull/1235) (by @sue445)
|
9
|
+
|
3
10
|
## 4.1.5-beta.1
|
4
11
|
|
5
12
|
- No change
|
6
13
|
|
7
14
|
## 4.1.5-beta.0
|
8
15
|
|
16
|
+
- Inline global method [#1213](https://github.com/getsentry/sentry-ruby/pull/1213) (by @tricknotes)
|
9
17
|
- Event message and exception message should have a size limit [#1221](https://github.com/getsentry/sentry-ruby/pull/1221)
|
10
18
|
- Add sentry-ruby-core as a more flexible option [#1226](https://github.com/getsentry/sentry-ruby/pull/1226)
|
11
19
|
|
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/).
|
data/lib/sentry-ruby.rb
CHANGED
@@ -1,3 +1,4 @@
|
|
1
|
+
require "English"
|
1
2
|
require "forwardable"
|
2
3
|
require "time"
|
3
4
|
|
@@ -65,7 +66,7 @@ module Sentry
|
|
65
66
|
|
66
67
|
def init(&block)
|
67
68
|
config = Configuration.new
|
68
|
-
yield(config)
|
69
|
+
yield(config) if block_given?
|
69
70
|
client = Client.new(config)
|
70
71
|
scope = Scope.new
|
71
72
|
hub = Hub.new(client, scope)
|
data/lib/sentry/client.rb
CHANGED
data/lib/sentry/version.rb
CHANGED
data/sentry-ruby-core.gemspec
CHANGED
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
|
|
16
16
|
|
17
17
|
spec.metadata["homepage_uri"] = spec.homepage
|
18
18
|
spec.metadata["source_code_uri"] = spec.homepage
|
19
|
-
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/master/CHANGELOG.md"
|
19
|
+
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/master/sentry-ruby/CHANGELOG.md"
|
20
20
|
|
21
21
|
spec.bindir = "exe"
|
22
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
data/sentry-ruby.gemspec
CHANGED
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
|
|
15
15
|
|
16
16
|
spec.metadata["homepage_uri"] = spec.homepage
|
17
17
|
spec.metadata["source_code_uri"] = spec.homepage
|
18
|
-
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/master/CHANGELOG.md"
|
18
|
+
spec.metadata["changelog_uri"] = "#{spec.homepage}/blob/master/sentry-ruby/CHANGELOG.md"
|
19
19
|
|
20
20
|
spec.add_dependency "sentry-ruby-core", Sentry::VERSION
|
21
21
|
spec.add_dependency "faraday", ">= 1.0"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sentry-ruby-core
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.1.5
|
4
|
+
version: 4.1.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sentry Team
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-01-
|
11
|
+
date: 2021-01-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -49,7 +49,6 @@ files:
|
|
49
49
|
- ".craft.yml"
|
50
50
|
- ".gitignore"
|
51
51
|
- ".rspec"
|
52
|
-
- ".travis.yml"
|
53
52
|
- CHANGELOG.md
|
54
53
|
- CODE_OF_CONDUCT.md
|
55
54
|
- Gemfile
|
@@ -105,7 +104,7 @@ licenses:
|
|
105
104
|
metadata:
|
106
105
|
homepage_uri: https://github.com/getsentry/sentry-ruby
|
107
106
|
source_code_uri: https://github.com/getsentry/sentry-ruby
|
108
|
-
changelog_uri: https://github.com/getsentry/sentry-ruby/blob/master/CHANGELOG.md
|
107
|
+
changelog_uri: https://github.com/getsentry/sentry-ruby/blob/master/sentry-ruby/CHANGELOG.md
|
109
108
|
post_install_message:
|
110
109
|
rdoc_options: []
|
111
110
|
require_paths:
|
@@ -117,9 +116,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
117
116
|
version: '2.4'
|
118
117
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
119
118
|
requirements:
|
120
|
-
- - "
|
119
|
+
- - ">="
|
121
120
|
- !ruby/object:Gem::Version
|
122
|
-
version:
|
121
|
+
version: '0'
|
123
122
|
requirements: []
|
124
123
|
rubygems_version: 3.0.3
|
125
124
|
signing_key:
|