sentry-jets 0.4.1 → 0.4.2
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 +4 -4
- data/CHANGELOG.md +1 -1
- data/Gemfile.lock +23 -25
- data/README.md +3 -1
- data/lib/sentry_jets/turbine.rb +5 -5
- data/lib/sentry_jets/version.rb +1 -1
- data/sentry-jets.gemspec +4 -4
- metadata +10 -10
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c387d695c5cf3d52291e62661456ac6f4c45e707770402051047d2f2531bfea7
|
|
4
|
+
data.tar.gz: bf524eefde22b55be3d2ca35a7c13db33bbda26748494b1c41c8f0b300b0ff3a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a6e2aeb66202ec9a17254ccbc467257f90b881a70f7aae5c4c69fbbff06f694dcbef3acfe812183fba1870c1a81b1691808fd1b3a8d87aec62a399d772c43c67
|
|
7
|
+
data.tar.gz: b3f12c3bb9db5717a2411e12d4a5777007f8e870114651899ddb73964a957bfbd6c2c0c4de29d88f2ebe0dd3008d73cd26ee07de41545bb297723b6775e51ea8
|
data/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
This project *loosely tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
|
|
5
5
|
|
|
6
|
-
## [0.4.
|
|
6
|
+
## [0.4.1]
|
|
7
7
|
- #1 No need to say each time that you're ready
|
|
8
8
|
|
|
9
9
|
## [0.4.0]
|
data/Gemfile.lock
CHANGED
|
@@ -1,41 +1,39 @@
|
|
|
1
1
|
PATH
|
|
2
2
|
remote: .
|
|
3
3
|
specs:
|
|
4
|
-
sentry-jets (0.2
|
|
5
|
-
sentry-
|
|
4
|
+
sentry-jets (0.4.2)
|
|
5
|
+
sentry-ruby
|
|
6
6
|
|
|
7
7
|
GEM
|
|
8
8
|
remote: https://rubygems.org/
|
|
9
9
|
specs:
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
rspec-
|
|
17
|
-
|
|
18
|
-
rspec-
|
|
19
|
-
rspec-
|
|
20
|
-
rspec-support (~> 3.8.0)
|
|
21
|
-
rspec-expectations (3.8.2)
|
|
10
|
+
concurrent-ruby (1.2.2)
|
|
11
|
+
diff-lcs (1.5.0)
|
|
12
|
+
rake (13.0.6)
|
|
13
|
+
rspec (3.12.0)
|
|
14
|
+
rspec-core (~> 3.12.0)
|
|
15
|
+
rspec-expectations (~> 3.12.0)
|
|
16
|
+
rspec-mocks (~> 3.12.0)
|
|
17
|
+
rspec-core (3.12.2)
|
|
18
|
+
rspec-support (~> 3.12.0)
|
|
19
|
+
rspec-expectations (3.12.3)
|
|
22
20
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
23
|
-
rspec-support (~> 3.
|
|
24
|
-
rspec-mocks (3.
|
|
21
|
+
rspec-support (~> 3.12.0)
|
|
22
|
+
rspec-mocks (3.12.6)
|
|
25
23
|
diff-lcs (>= 1.2.0, < 2.0)
|
|
26
|
-
rspec-support (~> 3.
|
|
27
|
-
rspec-support (3.
|
|
28
|
-
sentry-
|
|
29
|
-
|
|
24
|
+
rspec-support (~> 3.12.0)
|
|
25
|
+
rspec-support (3.12.1)
|
|
26
|
+
sentry-ruby (5.12.0)
|
|
27
|
+
concurrent-ruby (~> 1.0, >= 1.0.2)
|
|
30
28
|
|
|
31
29
|
PLATFORMS
|
|
32
|
-
|
|
30
|
+
arm64-darwin-21
|
|
33
31
|
|
|
34
32
|
DEPENDENCIES
|
|
35
|
-
bundler (~>
|
|
36
|
-
rake (~>
|
|
37
|
-
rspec (~> 3.
|
|
33
|
+
bundler (~> 2.4.20)
|
|
34
|
+
rake (~> 13.0)
|
|
35
|
+
rspec (~> 3.4)
|
|
38
36
|
sentry-jets!
|
|
39
37
|
|
|
40
38
|
BUNDLED WITH
|
|
41
|
-
|
|
39
|
+
2.4.20
|
data/README.md
CHANGED
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
[](https://rubygems.org/gems/sentry-jets)
|
|
4
4
|
|
|
5
|
+
[](https://www.boltops.com)
|
|
6
|
+
|
|
5
7
|
[Sentry](https://sentry.io) is an error tracking service that helps developers monitor and fix crashes in real time.
|
|
6
8
|
|
|
7
9
|
This gem adds Sentry error reporting support to [Jets: Ruby Serverless Framework](http://rubyonjets.com/).
|
|
8
10
|
|
|
9
|
-
This gem is not officially associated and written by Sentry. This is written by [tongueroo](https://www.linkedin.com/in/tongueroo/). Looking for maintainers or someone who would like to see if they can get this integrated to the official [sentry-
|
|
11
|
+
This gem is not officially associated and written by Sentry. This is written by [tongueroo](https://www.linkedin.com/in/tongueroo/). Looking for maintainers or someone who would like to see if they can get this integrated to the official [sentry-ruby](https://github.com/getsentry/sentry-ruby) gem instead. At which point, this gem should be deprecated.
|
|
10
12
|
|
|
11
13
|
## Installation
|
|
12
14
|
|
data/lib/sentry_jets/turbine.rb
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
require 'sentry-
|
|
1
|
+
require 'sentry-ruby'
|
|
2
2
|
|
|
3
3
|
module SentryJets
|
|
4
4
|
class Turbine < ::Jets::Turbine
|
|
5
5
|
initializer 'sentry.configure' do
|
|
6
|
-
|
|
6
|
+
Sentry.init do |config|
|
|
7
7
|
config.dsn = ENV['SENTRY_DSN']
|
|
8
|
-
config.
|
|
9
|
-
config.
|
|
8
|
+
config.environment = ENV['SENTRY_CURRENT_ENV'] || Jets.env.to_s
|
|
9
|
+
config.traces_sample_rate = ENV['SENTRY_TRACE_SAMPLE_RATE'].to_f || 0.0
|
|
10
10
|
end
|
|
11
11
|
end
|
|
12
12
|
|
|
13
13
|
on_exception 'sentry.capture' do |exception|
|
|
14
|
-
|
|
14
|
+
Sentry.capture_exception(exception)
|
|
15
15
|
end
|
|
16
16
|
end
|
|
17
17
|
end
|
data/lib/sentry_jets/version.rb
CHANGED
data/sentry-jets.gemspec
CHANGED
|
@@ -22,9 +22,9 @@ Gem::Specification.new do |spec|
|
|
|
22
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
|
23
23
|
spec.require_paths = ["lib"]
|
|
24
24
|
|
|
25
|
-
spec.add_dependency "sentry-
|
|
25
|
+
spec.add_dependency "sentry-ruby"
|
|
26
26
|
|
|
27
|
-
spec.add_development_dependency "bundler", "~>
|
|
28
|
-
spec.add_development_dependency "rake", "~>
|
|
29
|
-
spec.add_development_dependency "rspec", "~> 3.
|
|
27
|
+
spec.add_development_dependency "bundler", "~> 2.4.20"
|
|
28
|
+
spec.add_development_dependency "rake", "~> 13.0"
|
|
29
|
+
spec.add_development_dependency "rspec", "~> 3.4"
|
|
30
30
|
end
|
metadata
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sentry-jets
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tung Nguyen
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2023-10-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
|
-
name: sentry-
|
|
14
|
+
name: sentry-ruby
|
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
|
16
16
|
requirements:
|
|
17
17
|
- - ">="
|
|
@@ -30,42 +30,42 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version:
|
|
33
|
+
version: 2.4.20
|
|
34
34
|
type: :development
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version:
|
|
40
|
+
version: 2.4.20
|
|
41
41
|
- !ruby/object:Gem::Dependency
|
|
42
42
|
name: rake
|
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
|
44
44
|
requirements:
|
|
45
45
|
- - "~>"
|
|
46
46
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '
|
|
47
|
+
version: '13.0'
|
|
48
48
|
type: :development
|
|
49
49
|
prerelease: false
|
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
51
|
requirements:
|
|
52
52
|
- - "~>"
|
|
53
53
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '
|
|
54
|
+
version: '13.0'
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
name: rspec
|
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
|
58
58
|
requirements:
|
|
59
59
|
- - "~>"
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: '3.
|
|
61
|
+
version: '3.4'
|
|
62
62
|
type: :development
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
66
|
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: '3.
|
|
68
|
+
version: '3.4'
|
|
69
69
|
description:
|
|
70
70
|
email:
|
|
71
71
|
- tongueroo@gmail.com
|
|
@@ -108,7 +108,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
108
108
|
- !ruby/object:Gem::Version
|
|
109
109
|
version: '0'
|
|
110
110
|
requirements: []
|
|
111
|
-
rubygems_version: 3.
|
|
111
|
+
rubygems_version: 3.4.20
|
|
112
112
|
signing_key:
|
|
113
113
|
specification_version: 4
|
|
114
114
|
summary: Sentry exception report support for Jets
|