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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6f81541b60fa10233bdb23fb8ca9cecfb9153663
4
- data.tar.gz: 1381e17f9d594f74445b60c382900a9ba9adfb6b
3
+ metadata.gz: 6cd9778352aa7ccf5f278d4c8d92413e61d4ee85
4
+ data.tar.gz: 1dada3ad15f10abda9089b6c1e14c44a752ad61b
5
5
  SHA512:
6
- metadata.gz: 71eda490487fe43bbd242a0212bf8b3e9aea8f00ae33927b0b1419b857aa4abb57f1702d6a3233ef947e3ace25f0a2ec1370d72311fc06feb3362fe6ca934f2d
7
- data.tar.gz: 9b24c12fbf2fe0403e82dbbc07fe7d2d3ea9257f11746767ed46588c65944fd78d9728a6f3f11e309dd68fbec6d7eee208781cd551e53429274a90d62a1ab89f
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
@@ -1,3 +1,3 @@
1
1
  module Crashbreak
2
- VERSION = '1.0.17'
2
+ VERSION = '1.0.18'
3
3
  end
@@ -39,7 +39,7 @@ namespace :crashbreak do
39
39
  next puts 'Crashbreak spec not found, skipping.'
40
40
  end
41
41
 
42
- system("bundle exec rspec #{Crashbreak.configurator.request_spec_file_path}") or raise 'Crashbreak test failed.'
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crashbreak
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.17
4
+ version: 1.0.18
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michal Janeczek