cornucopia 0.1.44 → 0.1.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a7f2ff1207796a9df4c951d4c18a4e0efb6fea02
4
- data.tar.gz: 66badb2bb4792f99d48676a51515f02d16335ee7
3
+ metadata.gz: aa34162a027be0ccaf8eae407711446abe817ca9
4
+ data.tar.gz: 4b2043f819d9f258f3bcf9ae44bf7d3cb5d2048a
5
5
  SHA512:
6
- metadata.gz: 34c0509c7a8a6624c37dac8732c69c8c9273e163d59a6ae549892903fd0f79065a9db23ae04844d4cc7081152343cf16c3203f8fac312afb82482b5be91781f4
7
- data.tar.gz: baa5e9698b90ace30ca0874414df2c46148e37671fc60b340f5ca13b1bb9a84226d6f756c6b3f9e14a9816d2c457598c88778e827c4944a1a4979c994f6fd7b7
6
+ metadata.gz: 88268751c022751c53f3ad6cf0a2489b1252aa36191200411b0e24dddc96108fcec847e14e7646bddc52e3e943bb462f7fe9b836e781f787ad60c398b6188b97
7
+ data.tar.gz: 7a373a52ecc8ba497606d5a4773050966cd50e11083e121158928e577deec9e60497e7246de4807013761153684b567c4eeb4d45bb1900a91ad3cf0ee80c1710
@@ -67,6 +67,8 @@ module Cornucopia
67
67
  end
68
68
 
69
69
  can_dump
70
+ rescue StandardError
71
+ false
70
72
  end
71
73
 
72
74
  def dump_details
@@ -18,7 +18,7 @@ module Cornucopia
18
18
  configurations.order_seed = nil
19
19
  configurations.rand_seed = nil
20
20
  configurations.rand_context_seed = nil
21
- configurations.rand_suite_seed = nil
21
+ configurations.rand_suite_seed = nil
22
22
  configurations.user_log_files = {}
23
23
  configurations.default_num_lines = 500
24
24
  configurations.grab_logs = true
@@ -39,12 +39,12 @@ module Cornucopia
39
39
 
40
40
  # configurations.alternate_retry = false
41
41
 
42
- configurations.default_configuration = {
42
+ configurations.default_configuration = {
43
43
  rspec: {
44
44
  min_fields: [
45
45
  :example__full_description,
46
46
  :example__location,
47
- :example__exception__to_s,
47
+ :example__exception__message,
48
48
  :example__exception__backtrace
49
49
  ],
50
50
  more_info_fields: [
@@ -64,7 +64,11 @@ module Cornucopia
64
64
  report_options: { ignore_missing: true }
65
65
  },
66
66
  :logs,
67
- :capybara_page_diagnostics
67
+ :capybara_page_diagnostics,
68
+ {
69
+ report_element: :example__exception__all_exceptions,
70
+ report_options: { ignore_missing: true }
71
+ }
68
72
  ],
69
73
  expand_fields: [
70
74
  :example,
@@ -121,7 +125,7 @@ module Cornucopia
121
125
  report_options: { format_object: Cornucopia::Util::CucumberFormatter,
122
126
  format_function: :format_location }
123
127
  },
124
- :scenario__exception__to_s,
128
+ :scenario__exception__message,
125
129
  :scenario__exception__backtrace
126
130
  ],
127
131
  more_info_fields: [
@@ -139,11 +143,15 @@ module Cornucopia
139
143
  # :scenario__current_visitor__configuration,
140
144
  :cucumber,
141
145
  :logs,
142
- :capybara_page_diagnostics
146
+ :capybara_page_diagnostics,
147
+ {
148
+ report_element: :scenario__exception__all_exceptions,
149
+ report_options: { ignore_missing: true }
150
+ }
143
151
  ],
144
152
  expand_fields: [
145
153
  :scenario,
146
- :cucumber,
154
+ :cucumber
147
155
  ],
148
156
  expand_inline_fields: [
149
157
  ],
@@ -177,7 +185,7 @@ module Cornucopia
177
185
  report_options: { format_object: Cornucopia::Util::CucumberFormatter,
178
186
  format_function: :format_location }
179
187
  },
180
- :scenario__exception__to_s,
188
+ :scenario__exception__message,
181
189
  :scenario__exception__backtrace
182
190
  ],
183
191
  more_info_fields: [
@@ -192,12 +200,16 @@ module Cornucopia
192
200
  :scenario__scenario_outline,
193
201
  :cucumber,
194
202
  :logs,
195
- :capybara_page_diagnostics
203
+ :capybara_page_diagnostics,
204
+ {
205
+ report_element: :scenario__exception__all_exceptions,
206
+ report_options: { ignore_missing: true }
207
+ }
196
208
  ],
197
209
  expand_fields: [
198
210
  :scenario,
199
211
  :scenario__scenario_outline,
200
- :cucumber,
212
+ :cucumber
201
213
  ],
202
214
  expand_inline_fields: [
203
215
  ],
@@ -224,7 +236,7 @@ module Cornucopia
224
236
  :running_scenario__line,
225
237
  :step_data__name,
226
238
  :step_data__line,
227
- :exception__to_s,
239
+ :exception__message,
228
240
  :exception__backtrace
229
241
  ],
230
242
  more_info_fields: [
@@ -234,7 +246,11 @@ module Cornucopia
234
246
  :step_data,
235
247
  :step_definitions,
236
248
  :logs,
237
- :capybara_page_diagnostics
249
+ :capybara_page_diagnostics,
250
+ {
251
+ report_element: :exception__all_exceptions,
252
+ report_options: { ignore_missing: true }
253
+ }
238
254
  ],
239
255
  expand_fields: [
240
256
  :running_scenario,
@@ -316,13 +332,17 @@ module Cornucopia
316
332
  :finder__args__0,
317
333
  :finder__search_args,
318
334
  :finder__options,
319
- :exception__to_s,
335
+ :exception__message,
320
336
  :exception__backtrace
321
337
  ],
322
338
  more_info_fields: [
323
339
  :exception__class__name,
324
340
  :finder,
325
- :capybara_page_diagnostics
341
+ :capybara_page_diagnostics,
342
+ {
343
+ report_element: :exception__all_exceptions,
344
+ report_options: { ignore_missing: true }
345
+ }
326
346
  ],
327
347
  expand_fields: [
328
348
  :finder,
@@ -1,3 +1,3 @@
1
1
  module Cornucopia
2
- VERSION = "0.1.44"
2
+ VERSION = "0.1.45"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cornucopia
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.44
4
+ version: 0.1.45
5
5
  platform: ruby
6
6
  authors:
7
7
  - RealNobody
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-02 00:00:00.000000000 Z
11
+ date: 2017-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport