crashbreak 0.9.12 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/crashbreak/version.rb +1 -1
- data/spec/lib/exception_notifier_spec.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c0a6c4734cea14af646d42b81ea84fcdd5fb041
|
4
|
+
data.tar.gz: d96a37df171d33c40b0dbb693f84039e6f485204
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ea2539c934a196d7b897e35336665eccca05388ba22131466cbf7f0183fcca5d0739464d37784daba37cba276aee9475ba54e4ec88c5937d76c8d5948dbf7c75
|
7
|
+
data.tar.gz: 0821872bf31f25e04e50ee757551b1e8c826689d89c65644f6896338fcad8ce7154d98a5aed7156c5e33effde54b63172d6c239b60ca1c2035bce20ab78e4d30
|
data/lib/crashbreak/version.rb
CHANGED
@@ -80,7 +80,7 @@ describe Crashbreak::ExceptionNotifier do
|
|
80
80
|
end
|
81
81
|
|
82
82
|
context 'github integration' do
|
83
|
-
let(:error_hash) { Hash[id
|
83
|
+
let(:error_hash) { Hash['id' => 1, 'deploy_revision' => 'test', 'similar' => false] }
|
84
84
|
|
85
85
|
it 'passes error hash from request to github integration service' do
|
86
86
|
Crashbreak.configure.github_repo_name = 'user/repo'
|
@@ -92,7 +92,7 @@ describe Crashbreak::ExceptionNotifier do
|
|
92
92
|
end
|
93
93
|
|
94
94
|
it 'skips github integration if error is similar' do
|
95
|
-
allow_any_instance_of(Crashbreak::ExceptionsRepository).to receive(:create).and_return(error_hash.merge(similar
|
95
|
+
allow_any_instance_of(Crashbreak::ExceptionsRepository).to receive(:create).and_return(error_hash.merge('similar' => true))
|
96
96
|
expect_any_instance_of(Crashbreak::GithubIntegrationService).to_not receive(:initialize)
|
97
97
|
|
98
98
|
subject.notify
|