sentry-raven-processors 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 96af1163207b2d7fe0d6c3e1dd59632431fc1823cbac9d5f3d100f7a22caa656
4
- data.tar.gz: 8b6599f9fe589423ad3e6679d6d709117674e6e88a561cf39983cd535dd53029
3
+ metadata.gz: c5a134492e61f3e5146bc29bc6ec72790f64bfe378423f365706f0f3f3efea73
4
+ data.tar.gz: cc83119a3bfdd8646e3c4b7bd69095411b6c0be2eda861fdfb153d4d1631cee0
5
5
  SHA512:
6
- metadata.gz: 98f511e65fa56c4d679a112be4b7173c34f216c6e9ebfc6130e1310430de4734306f4d824ab5c6bd846f87b560394918783cee93d76444fca6244dbf012f9d7e
7
- data.tar.gz: f1ac0d9682ae7b10f9bb907f3c954fa1211e7d58526a349c4ced5380c37bc521263661bc716c11dab0d0cd9cf6ecda0cf41b882341cd4702aff1c87db0d5a20e
6
+ metadata.gz: 75a7a8bd1fce36ef83d63e4c49fd1398497ac5cc82e034617a75ca65511a41e72e79e8e3cb0fdd96b2c45c2888c2766c726a9d3f6c82f5bc9f7aeb773d5a25e9
7
+ data.tar.gz: 17efaa2bcdc567da7acf85707afb9ac4c600db09243380c1979d1fbc0a570a8f54c4d88e6a9a7cfb341cf0bafbf1d4ff984d5be58709ca80b1045d67468f12c9
data/.gitignore CHANGED
@@ -9,3 +9,4 @@
9
9
 
10
10
  # rspec failure tracking
11
11
  .rspec_status
12
+ Gemfile.lock
data/Rakefile CHANGED
@@ -1,6 +1,8 @@
1
- require "bundler/gem_tasks"
2
- require "rspec/core/rake_task"
1
+ # frozen_string_literal: true
2
+
3
+ require 'bundler/gem_tasks'
4
+ require 'rspec/core/rake_task'
3
5
 
4
6
  RSpec::Core::RakeTask.new(:spec)
5
7
 
6
- task :default => :spec
8
+ task default: :spec
@@ -19,8 +19,8 @@ module RavenProcessors
19
19
  def build_fingerprint(exception)
20
20
  [
21
21
  exception.fetch(:type),
22
- frame_to_line(exception[:stacktrace][:frames].last)
23
- ]
22
+ frame_to_line(exception.dig(:stacktrace, :frames)&.last)
23
+ ].compact
24
24
  end
25
25
 
26
26
  def frame_to_line(frame)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RavenProcessors
4
- VERSION = '0.0.1'
4
+ VERSION = '0.0.2'
5
5
  end
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
 
23
23
  spec.add_dependency 'sentry-raven'
24
24
 
25
- spec.add_development_dependency 'bundler', '~> 1.17'
25
+ spec.add_development_dependency 'bundler'
26
26
  spec.add_development_dependency 'rake', '~> 10.0'
27
27
  spec.add_development_dependency 'rspec', '~> 3.0'
28
28
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sentry-raven-processors
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rustam Sharshenov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-06-28 00:00:00.000000000 Z
11
+ date: 2019-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sentry-raven
@@ -28,16 +28,16 @@ dependencies:
28
28
  name: bundler
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '1.17'
33
+ version: '0'
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.17'
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: rake
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -77,7 +77,6 @@ files:
77
77
  - ".rspec"
78
78
  - ".travis.yml"
79
79
  - Gemfile
80
- - Gemfile.lock
81
80
  - LICENSE.txt
82
81
  - README.md
83
82
  - Rakefile
data/Gemfile.lock DELETED
@@ -1,41 +0,0 @@
1
- PATH
2
- remote: .
3
- specs:
4
- sentry-raven-processors (0.0.1)
5
- sentry-raven
6
-
7
- GEM
8
- remote: https://rubygems.org/
9
- specs:
10
- diff-lcs (1.3)
11
- faraday (0.15.4)
12
- multipart-post (>= 1.2, < 3)
13
- multipart-post (2.1.1)
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.1)
20
- rspec-support (~> 3.8.0)
21
- rspec-expectations (3.8.4)
22
- diff-lcs (>= 1.2.0, < 2.0)
23
- rspec-support (~> 3.8.0)
24
- rspec-mocks (3.8.1)
25
- diff-lcs (>= 1.2.0, < 2.0)
26
- rspec-support (~> 3.8.0)
27
- rspec-support (3.8.2)
28
- sentry-raven (2.9.0)
29
- faraday (>= 0.7.6, < 1.0)
30
-
31
- PLATFORMS
32
- ruby
33
-
34
- DEPENDENCIES
35
- bundler (~> 1.17)
36
- rake (~> 10.0)
37
- rspec (~> 3.0)
38
- sentry-raven-processors!
39
-
40
- BUNDLED WITH
41
- 1.17.3