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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ecdf77d3212db53fa26933fd88c342e1d0c19c0e4013f9796326201dcbe149d3
4
- data.tar.gz: 84f345f11b42dd4d994a4696cc5472e9b31010a593c6bb3632287cab91efabc7
3
+ metadata.gz: c387d695c5cf3d52291e62661456ac6f4c45e707770402051047d2f2531bfea7
4
+ data.tar.gz: bf524eefde22b55be3d2ca35a7c13db33bbda26748494b1c41c8f0b300b0ff3a
5
5
  SHA512:
6
- metadata.gz: 9ce18c0de76d35c8963bd5168eb4dad707766b3bfc717a9dfb2471e37f78b9315e8dbb144a456b45eaf8dff453bd4b1c10e724cb58c2766ff7fcd33549e54dd6
7
- data.tar.gz: 1aa254da3c53a7de66c33d2e59ba10b5a6214c88ae08a617cc5ee88dde48ae7926e4361f500d4c49ae65a3f66064fdb14d8189c05901701b960c02a48faa70af
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.0]
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.0)
5
- sentry-raven
4
+ sentry-jets (0.4.2)
5
+ sentry-ruby
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- diff-lcs (1.3)
11
- faraday (0.15.4)
12
- multipart-post (>= 1.2, < 3)
13
- multipart-post (2.0.0)
14
- rake (10.5.0)
15
- rspec (3.8.0)
16
- rspec-core (~> 3.8.0)
17
- rspec-expectations (~> 3.8.0)
18
- rspec-mocks (~> 3.8.0)
19
- rspec-core (3.8.0)
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.8.0)
24
- rspec-mocks (3.8.0)
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.8.0)
27
- rspec-support (3.8.0)
28
- sentry-raven (2.9.0)
29
- faraday (>= 0.7.6, < 1.0)
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
- ruby
30
+ arm64-darwin-21
33
31
 
34
32
  DEPENDENCIES
35
- bundler (~> 1.16)
36
- rake (~> 10.0)
37
- rspec (~> 3.0)
33
+ bundler (~> 2.4.20)
34
+ rake (~> 13.0)
35
+ rspec (~> 3.4)
38
36
  sentry-jets!
39
37
 
40
38
  BUNDLED WITH
41
- 1.17.3
39
+ 2.4.20
data/README.md CHANGED
@@ -2,11 +2,13 @@
2
2
 
3
3
  [![Gem Version](https://img.shields.io/gem/v/sentry-jets.svg)](https://rubygems.org/gems/sentry-jets)
4
4
 
5
+ [![BoltOps Badge](https://img.boltops.com/boltops/badges/boltops-badge.png)](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-raven](https://github.com/getsentry/raven-ruby) gem instead. At which point, this gem should be deprecated.
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
 
@@ -1,17 +1,17 @@
1
- require 'sentry-raven'
1
+ require 'sentry-ruby'
2
2
 
3
3
  module SentryJets
4
4
  class Turbine < ::Jets::Turbine
5
5
  initializer 'sentry.configure' do
6
- Raven.configure do |config|
6
+ Sentry.init do |config|
7
7
  config.dsn = ENV['SENTRY_DSN']
8
- config.current_environment = ENV['SENTRY_CURRENT_ENV'] || Jets.env.to_s
9
- config.silence_ready = true
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
- Raven.capture_exception(exception)
14
+ Sentry.capture_exception(exception)
15
15
  end
16
16
  end
17
17
  end
@@ -1,3 +1,3 @@
1
1
  module SentryJets
2
- VERSION = "0.4.1"
2
+ VERSION = "0.4.2"
3
3
  end
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-raven"
25
+ spec.add_dependency "sentry-ruby"
26
26
 
27
- spec.add_development_dependency "bundler", "~> 1.16"
28
- spec.add_development_dependency "rake", "~> 10.0"
29
- spec.add_development_dependency "rspec", "~> 3.0"
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.1
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: 2019-07-23 00:00:00.000000000 Z
11
+ date: 2023-10-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: sentry-raven
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: '1.16'
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: '1.16'
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: '10.0'
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: '10.0'
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.0'
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.0'
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.0.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