crashbreak 1.0.17 → 1.0.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/crashbreak/config/configurator.rb +5 -0
- data/lib/crashbreak/version.rb +1 -1
- data/lib/tasks/crashbreak.rake +1 -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: 6cd9778352aa7ccf5f278d4c8d92413e61d4ee85
|
4
|
+
data.tar.gz: 1dada3ad15f10abda9089b6c1e14c44a752ad61b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68bdaaa32854ab3de7ff206d2672c7971a6935063fb4376c4b054ec4dc1ee3fc8893c7aeec7d3e79296578eb31afd7c6f5070c287dca61b0ba27bff4616f6d16
|
7
|
+
data.tar.gz: 80174ef5d796e751a1b52cabe29bed8ade2b05dbe0c16a59a2bbf3554ca42fa3e1e3469e20e5430fbbb8d1ffd394c3edb0bbe7c7aa6e19e7b1130a9bebd8a6db
|
@@ -9,6 +9,7 @@ module Crashbreak
|
|
9
9
|
attr_accessor :restorer_options
|
10
10
|
attr_accessor :request_spec_file_path
|
11
11
|
attr_accessor :request_spec_template_path
|
12
|
+
attr_accessor :request_spec_run_command
|
12
13
|
attr_accessor :project_root
|
13
14
|
|
14
15
|
attr_accessor :github_login
|
@@ -56,5 +57,9 @@ module Crashbreak
|
|
56
57
|
def restorer_options
|
57
58
|
@restorer_options ||= {}
|
58
59
|
end
|
60
|
+
|
61
|
+
def request_spec_run_command
|
62
|
+
@request_spec_run_command ||= 'bundle exec rspec '
|
63
|
+
end
|
59
64
|
end
|
60
65
|
end
|
data/lib/crashbreak/version.rb
CHANGED
data/lib/tasks/crashbreak.rake
CHANGED
@@ -39,7 +39,7 @@ namespace :crashbreak do
|
|
39
39
|
next puts 'Crashbreak spec not found, skipping.'
|
40
40
|
end
|
41
41
|
|
42
|
-
system("
|
42
|
+
system("#{Crashbreak.configurator.request_spec_run_command}#{Crashbreak.configurator.request_spec_file_path}") or raise 'Crashbreak test failed.'
|
43
43
|
end
|
44
44
|
|
45
45
|
task generate_test: :environment do
|