crashbreak 1.0.5 → 1.0.6
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/lib/tasks/crashbreak.rake +7 -1
- 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: 14065029a6e6ad196fbacb9fd1ddd627e5cc24a0
|
4
|
+
data.tar.gz: 16183261b3782e15c9c16c25f8308e02b35aa3c3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 70b557fd01a44caf8f0c6a6fae9739341817c6826f4b130a97309f5a73bfb3ec09b6a6caf8ca25f1e46733c2c7b914737b4411bdf4f3736bd53643cc31441065
|
7
|
+
data.tar.gz: 5259c0cd88cefa2d6f069bbf79c7c096ca297b3ec50f3d0306b8dce9ba2865b283a79bf5c78d10ce153600f626c943c0a716ed1f6e0f806f57e8d3ad74f0de39
|
data/lib/crashbreak/version.rb
CHANGED
data/lib/tasks/crashbreak.rake
CHANGED
@@ -15,7 +15,13 @@ namespace :crashbreak do
|
|
15
15
|
end
|
16
16
|
|
17
17
|
task resolve_error: :environment do
|
18
|
-
error_id = ENV['error_id']
|
18
|
+
error_id = ENV['error_id']
|
19
|
+
|
20
|
+
unless error_id
|
21
|
+
next unless File.exist?("#{Rails.root}/spec/crashbreak_error_spec.rb")
|
22
|
+
error_id = File.read("#{Rails.root}/spec/crashbreak_error_spec.rb").scan(/error id: \d+/).first.gsub('error id: ', '').to_i
|
23
|
+
end
|
24
|
+
|
19
25
|
service = Crashbreak::GithubIntegrationService.new 'id' => error_id
|
20
26
|
|
21
27
|
puts 'Removing test file from github...'
|