cucumber 3.0.0.pre.1 → 3.0.0.pre.2

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.
Files changed (316) hide show
  1. checksums.yaml +4 -4
  2. data/.cucumberproignore +6 -0
  3. data/.rubocop.yml +13 -0
  4. data/.rubocop_todo.yml +1075 -0
  5. data/.travis.yml +42 -8
  6. data/CONTRIBUTING.md +8 -1
  7. data/Gemfile +16 -10
  8. data/History.md +96 -36
  9. data/README.md +12 -3
  10. data/Rakefile +12 -2
  11. data/appveyor.yml +26 -0
  12. data/cucumber.gemspec +15 -10
  13. data/cucumber.yml +9 -10
  14. data/examples/i18n/Rakefile +1 -1
  15. data/examples/i18n/ar/features/step_definitions/calculator_steps.rb +2 -2
  16. data/examples/i18n/ar/lib/calculator.rb +2 -2
  17. data/examples/i18n/bg/features/step_definitions/calculator_steps.rb +6 -6
  18. data/examples/i18n/ca/features/step_definitions/calculator_steps.rb +4 -4
  19. data/examples/i18n/ca/lib/calculadora.rb +2 -2
  20. data/examples/i18n/cs/features/step_definitions/calculator_steps.rb +4 -4
  21. data/examples/i18n/cs/lib/calculator.rb +3 -3
  22. data/examples/i18n/da/features/step_definitions/lommeregner_steps.rb +4 -4
  23. data/examples/i18n/da/lib/lommeregner.rb +2 -2
  24. data/examples/i18n/de/features/step_definitions/calculator_steps.rb +4 -4
  25. data/examples/i18n/de/lib/calculator.rb +2 -2
  26. data/examples/i18n/el/features/step_definitions/calculator_steps.rb +5 -5
  27. data/examples/i18n/el/lib/calculator.rb +2 -2
  28. data/examples/i18n/en-lol/features/step_definitions/cucumbrz_steps.rb +4 -4
  29. data/examples/i18n/en-lol/lib/basket.rb +2 -2
  30. data/examples/i18n/en-lol/lib/belly.rb +2 -2
  31. data/examples/i18n/en/features/step_definitions/calculator_steps.rb +4 -4
  32. data/examples/i18n/en/lib/calculator.rb +2 -2
  33. data/examples/i18n/eo/features/step_definitions/calculator_steps.rb +4 -4
  34. data/examples/i18n/eo/lib/calculator.rb +2 -2
  35. data/examples/i18n/es/features/step_definitions/calculador_steps.rb +5 -5
  36. data/examples/i18n/es/lib/calculador.rb +2 -2
  37. data/examples/i18n/et/features/step_definitions/kalkulaator_steps.rb +4 -4
  38. data/examples/i18n/et/lib/kalkulaator.rb +3 -3
  39. data/examples/i18n/fi/features/step_definitions/laskin_steps.rb +3 -3
  40. data/examples/i18n/fi/lib/laskin.rb +1 -1
  41. data/examples/i18n/fr/features/step_definitions/calculatrice_steps.rb +8 -8
  42. data/examples/i18n/fr/features/support/env.rb +1 -1
  43. data/examples/i18n/fr/lib/calculatrice.rb +2 -2
  44. data/examples/i18n/he/features/step_definitions/calculator_steps.rb +4 -4
  45. data/examples/i18n/he/lib/calculator.rb +1 -1
  46. data/examples/i18n/hi/features/step_definitions/calculator_steps.rb +3 -3
  47. data/examples/i18n/hi/lib/calculator.rb +1 -1
  48. data/examples/i18n/ht/features/step_definitions/kalkilatris_steps.rb +4 -4
  49. data/examples/i18n/ht/lib/kalkilatris.rb +2 -2
  50. data/examples/i18n/hu/features/step_definitions/calculator_steps.rb +4 -4
  51. data/examples/i18n/hu/lib/calculator.rb +1 -1
  52. data/examples/i18n/id/features/step_definitions/calculator_steps.rb +4 -4
  53. data/examples/i18n/id/lib/calculator.rb +2 -2
  54. data/examples/i18n/it/features/step_definitions/calcolatrice_steps.rb +4 -4
  55. data/examples/i18n/it/lib/calcolatrice.rb +3 -3
  56. data/examples/i18n/ja/features/step_definitions/calculator_steps.rb +3 -3
  57. data/examples/i18n/ja/features/support/env.rb +1 -1
  58. data/examples/i18n/ja/lib/calculator.rb +2 -2
  59. data/examples/i18n/ko/features/step_definitions/calculator_steps.rb +4 -4
  60. data/examples/i18n/ko/lib/calculator.rb +2 -2
  61. data/examples/i18n/lt/features/step_definitions/calculator_steps.rb +4 -4
  62. data/examples/i18n/lt/lib/calculator.rb +2 -2
  63. data/examples/i18n/lv/features/step_definitions/calculator_steps.rb +4 -4
  64. data/examples/i18n/lv/lib/calculator.rb +2 -2
  65. data/examples/i18n/no/features/step_definitions/kalkulator_steps.rb +3 -3
  66. data/examples/i18n/no/features/support/env.rb +1 -1
  67. data/examples/i18n/no/lib/kalkulator.rb +2 -2
  68. data/examples/i18n/pl/features/step_definitions/calculator_steps.rb +4 -4
  69. data/examples/i18n/pl/lib/calculator.rb +2 -2
  70. data/examples/i18n/pt/features/step_definitions/calculadora_steps.rb +3 -3
  71. data/examples/i18n/pt/features/support/env.rb +1 -1
  72. data/examples/i18n/pt/lib/calculadora.rb +1 -1
  73. data/examples/i18n/ro/features/step_definitions/calculator_steps.rb +5 -5
  74. data/examples/i18n/ro/lib/calculator.rb +1 -1
  75. data/examples/i18n/ru/features/step_definitions/calculator_steps.rb +5 -5
  76. data/examples/i18n/sk/features/step_definitions/calculator_steps.rb +4 -4
  77. data/examples/i18n/sk/lib/calculator.rb +2 -2
  78. data/examples/i18n/sr-Cyrl/features/step_definitions/calculator_steps.rb +3 -3
  79. data/examples/i18n/sr-Cyrl/features/support/env.rb +1 -1
  80. data/examples/i18n/sr-Cyrl/lib/calculator.rb +2 -2
  81. data/examples/i18n/sr-Latn/features/step_definitions/calculator_steps.rb +4 -4
  82. data/examples/i18n/sr-Latn/lib/calculator.rb +2 -2
  83. data/examples/i18n/sv/features/step_definitions/kalkulator_steps.rb +3 -3
  84. data/examples/i18n/sv/lib/kalkulator.rb +2 -2
  85. data/examples/i18n/tr/features/step_definitions/hesap_makinesi_adimlari.rb +4 -4
  86. data/examples/i18n/tr/lib/hesap_makinesi.rb +2 -2
  87. data/examples/i18n/uk/features/step_definitions/calculator_steps.rb +4 -4
  88. data/examples/i18n/uz/features/step_definitions/calculator_steps.rb +4 -4
  89. data/examples/i18n/zh-CN/features/step_definitions/calculator_steps.rb +5 -5
  90. data/examples/i18n/zh-CN/lib/calculator.rb +2 -2
  91. data/examples/i18n/zh-TW/features/step_definitions/calculator_steps.rb +4 -4
  92. data/examples/i18n/zh-TW/lib/calculator.rb +2 -2
  93. data/examples/rspec_doubles/features/step_definitions/calvin_steps.rb +3 -3
  94. data/examples/sinatra/features/step_definitions/add_steps.rb +4 -4
  95. data/examples/tcl/features/step_definitions/fib_steps.rb +2 -2
  96. data/examples/test_unit/features/step_definitions/test_unit_steps.rb +4 -4
  97. data/examples/watir/features/step_definitions/search_steps.rb +3 -3
  98. data/examples/watir/features/support/screenshots.rb +5 -5
  99. data/features/docs/api/list_step_defs_as_json.feature +21 -7
  100. data/features/docs/api/listen_for_events.feature +1 -1
  101. data/features/docs/api/run_cli_main_with_existing_runtime.feature +1 -0
  102. data/features/docs/cli/dry_run.feature +3 -0
  103. data/features/docs/cli/execute_with_tag_filter.feature +4 -4
  104. data/features/docs/cli/fail_fast.feature +2 -0
  105. data/features/docs/{gherkin/language_help.feature → cli/i18n.feature} +6 -6
  106. data/features/docs/cli/randomize.feature +2 -2
  107. data/features/docs/cli/retry_failing_tests.feature +28 -3
  108. data/features/docs/cli/run_scenarios_matching_name.feature +1 -0
  109. data/features/docs/cli/specifying_multiple_formatters.feature +3 -0
  110. data/features/docs/cli/strict_mode.feature +6 -0
  111. data/features/docs/defining_steps/nested_steps.feature +5 -1
  112. data/features/docs/defining_steps/nested_steps_i18n.feature +1 -0
  113. data/features/docs/defining_steps/nested_steps_with_second_arg.feature +2 -0
  114. data/features/docs/defining_steps/printing_messages.feature +1 -1
  115. data/features/docs/defining_steps/skip_scenario.feature +1 -0
  116. data/features/docs/defining_steps/snippets.feature +18 -18
  117. data/features/docs/events/gherkin_source_read_event.feature +43 -0
  118. data/features/docs/events/step_activated_event.feature +36 -0
  119. data/features/docs/events/step_definition_registered_event.feature +29 -0
  120. data/features/docs/events/test_case_finished_event.feature +35 -0
  121. data/features/docs/events/test_case_starting_event.feature +54 -0
  122. data/features/docs/events/test_run_finished_event.feature +40 -0
  123. data/features/docs/events/test_run_starting_event.feature +41 -0
  124. data/features/docs/events/test_step_finished_event.feature +47 -0
  125. data/features/docs/events/test_step_starting_event.feature +43 -0
  126. data/features/docs/exception_in_after_hook.feature +3 -2
  127. data/features/docs/exception_in_after_step_hook.feature +2 -0
  128. data/features/docs/exception_in_around_hook.feature +2 -0
  129. data/features/docs/exception_in_before_hook.feature +3 -1
  130. data/features/docs/extending_cucumber/custom_formatter.feature +21 -1
  131. data/features/docs/formatters/json_formatter.feature +4 -4
  132. data/features/docs/formatters/junit_formatter.feature +7 -6
  133. data/features/docs/formatters/pretty_formatter.feature +1 -0
  134. data/features/docs/formatters/progress_formatter.feature +1 -0
  135. data/features/docs/formatters/rerun_formatter.feature +2 -0
  136. data/features/docs/formatters/summary_formatter.feature +1 -0
  137. data/features/docs/formatters/usage_formatter.feature +3 -0
  138. data/features/docs/getting_started.feature +2 -1
  139. data/features/docs/gherkin/background.feature +5 -5
  140. data/features/docs/gherkin/doc_strings.feature +2 -0
  141. data/features/docs/gherkin/expand_option_for_outlines.feature +1 -0
  142. data/features/docs/gherkin/outlines.feature +4 -0
  143. data/features/docs/gherkin/unicode_table.feature +1 -0
  144. data/features/docs/gherkin/using_descriptions.feature +1 -0
  145. data/features/docs/gherkin/using_star_notation.feature +1 -1
  146. data/features/docs/post_configuration_hook.feature +1 -1
  147. data/features/docs/rake_task.feature +5 -0
  148. data/features/docs/raketask.feature +3 -1
  149. data/features/docs/work_in_progress.feature +5 -2
  150. data/features/docs/writing_support_code/after_step_hooks.feature +3 -1
  151. data/features/docs/writing_support_code/around_hooks.feature +6 -0
  152. data/features/docs/writing_support_code/before_hook.feature +1 -0
  153. data/features/docs/writing_support_code/hook_order.feature +3 -1
  154. data/features/docs/writing_support_code/parameter_types.feature +75 -0
  155. data/features/docs/writing_support_code/tagged_hooks.feature +1 -1
  156. data/features/lib/step_definitions/aruba_steps.rb +4 -10
  157. data/features/lib/step_definitions/cli_steps.rb +2 -2
  158. data/features/lib/step_definitions/cucumber_steps.rb +8 -12
  159. data/features/lib/step_definitions/iso-8859-1_steps.rb +2 -2
  160. data/features/lib/step_definitions/json_steps.rb +1 -1
  161. data/features/lib/step_definitions/junit_steps.rb +1 -1
  162. data/features/lib/step_definitions/language_steps.rb +2 -2
  163. data/features/lib/step_definitions/profile_steps.rb +6 -6
  164. data/features/lib/step_definitions/retry_steps.rb +3 -3
  165. data/features/lib/step_definitions/ruby_steps.rb +1 -1
  166. data/features/lib/support/env.rb +1 -1
  167. data/features/lib/support/fake_wire_server.rb +7 -2
  168. data/features/lib/support/feature_factory.rb +1 -1
  169. data/features/lib/support/normalise_output.rb +13 -12
  170. data/features/lib/support/parameter_types.rb +8 -0
  171. data/gem_tasks/contributors.rake +9 -6
  172. data/gem_tasks/environment.rake +1 -5
  173. data/gem_tasks/examples.rake +1 -1
  174. data/gem_tasks/fix_cr_lf.rake +1 -1
  175. data/gem_tasks/flog.rake +2 -2
  176. data/gem_tasks/rspec.rake +1 -1
  177. data/lib/autotest/cucumber_mixin.rb +15 -15
  178. data/lib/autotest/discover.rb +2 -2
  179. data/lib/cucumber/cli/configuration.rb +7 -13
  180. data/lib/cucumber/cli/main.rb +6 -6
  181. data/lib/cucumber/cli/options.rb +163 -126
  182. data/lib/cucumber/cli/profile_loader.rb +24 -20
  183. data/lib/cucumber/configuration.rb +12 -17
  184. data/lib/cucumber/constantize.rb +1 -1
  185. data/lib/cucumber/core_ext/string.rb +1 -1
  186. data/lib/cucumber/deprecate.rb +1 -1
  187. data/lib/cucumber/events.rb +11 -1
  188. data/lib/cucumber/events/gherkin_source_read.rb +17 -0
  189. data/lib/cucumber/events/{step_match.rb → step_activated.rb} +2 -2
  190. data/lib/cucumber/events/step_definition_registered.rb +1 -1
  191. data/lib/cucumber/events/test_case_finished.rb +18 -0
  192. data/lib/cucumber/events/test_case_starting.rb +15 -0
  193. data/lib/cucumber/events/test_run_starting.rb +16 -0
  194. data/lib/cucumber/events/test_step_finished.rb +20 -0
  195. data/lib/cucumber/events/test_step_starting.rb +17 -0
  196. data/lib/cucumber/filters.rb +1 -0
  197. data/lib/cucumber/filters/activate_steps.rb +1 -1
  198. data/lib/cucumber/filters/broadcast_test_run_starting_event.rb +27 -0
  199. data/lib/cucumber/filters/retry.rb +1 -1
  200. data/lib/cucumber/filters/tag_limits.rb +3 -3
  201. data/lib/cucumber/filters/tag_limits/verifier.rb +1 -1
  202. data/lib/cucumber/formatter/ansicolor.rb +8 -11
  203. data/lib/cucumber/formatter/backtrace_filter.rb +19 -7
  204. data/lib/cucumber/formatter/console.rb +16 -19
  205. data/lib/cucumber/formatter/console_counts.rb +8 -21
  206. data/lib/cucumber/formatter/console_issues.rb +30 -9
  207. data/lib/cucumber/formatter/duration.rb +1 -1
  208. data/lib/cucumber/formatter/fail_fast.rb +1 -1
  209. data/lib/cucumber/formatter/html.rb +168 -242
  210. data/lib/cucumber/formatter/html_builder.rb +110 -0
  211. data/lib/cucumber/formatter/inline-js.js +30 -0
  212. data/lib/cucumber/formatter/interceptor.rb +2 -2
  213. data/lib/cucumber/formatter/json.rb +12 -12
  214. data/lib/cucumber/formatter/junit.rb +11 -11
  215. data/lib/cucumber/formatter/legacy_api/adapter.rb +27 -27
  216. data/lib/cucumber/formatter/legacy_api/ast.rb +16 -20
  217. data/lib/cucumber/formatter/legacy_api/results.rb +6 -8
  218. data/lib/cucumber/formatter/pretty.rb +17 -17
  219. data/lib/cucumber/formatter/progress.rb +11 -12
  220. data/lib/cucumber/formatter/rerun.rb +1 -1
  221. data/lib/cucumber/formatter/steps.rb +1 -1
  222. data/lib/cucumber/formatter/unicode.rb +1 -1
  223. data/lib/cucumber/formatter/usage.rb +12 -12
  224. data/lib/cucumber/gherkin/formatter/ansi_escapes.rb +1 -1
  225. data/lib/cucumber/gherkin/formatter/escaping.rb +1 -1
  226. data/lib/cucumber/{rb_support/rb_dsl.rb → glue/dsl.rb} +44 -17
  227. data/lib/cucumber/glue/hook.rb +43 -0
  228. data/lib/cucumber/glue/invoke_in_world.rb +70 -0
  229. data/lib/cucumber/glue/proto_world.rb +225 -0
  230. data/lib/cucumber/{rb_support/rb_language.rb → glue/registry_and_more.rb} +45 -86
  231. data/lib/cucumber/{rb_support → glue}/snippet.rb +62 -25
  232. data/lib/cucumber/glue/step_definition.rb +143 -0
  233. data/lib/cucumber/glue/world_factory.rb +23 -0
  234. data/lib/cucumber/hooks.rb +4 -4
  235. data/lib/cucumber/multiline_argument.rb +2 -2
  236. data/lib/cucumber/multiline_argument/data_table.rb +40 -178
  237. data/lib/cucumber/multiline_argument/data_table/diff_matrices.rb +158 -0
  238. data/lib/cucumber/platform.rb +3 -5
  239. data/lib/cucumber/rake/task.rb +11 -11
  240. data/lib/cucumber/rspec/disable_option_parser.rb +1 -1
  241. data/lib/cucumber/rspec/doubles.rb +1 -1
  242. data/lib/cucumber/running_test_case.rb +2 -2
  243. data/lib/cucumber/runtime.rb +46 -34
  244. data/lib/cucumber/runtime/after_hooks.rb +1 -1
  245. data/lib/cucumber/runtime/for_programming_languages.rb +1 -36
  246. data/lib/cucumber/runtime/support_code.rb +19 -15
  247. data/lib/cucumber/runtime/user_interface.rb +4 -11
  248. data/lib/cucumber/step_argument.rb +0 -2
  249. data/lib/cucumber/step_definition_light.rb +1 -0
  250. data/lib/cucumber/step_match.rb +16 -15
  251. data/lib/cucumber/step_match_search.rb +2 -3
  252. data/lib/cucumber/term/ansicolor.rb +1 -1
  253. data/lib/cucumber/version +1 -1
  254. data/lib/simplecov_setup.rb +1 -1
  255. data/scripts/invite-collaborator +40 -0
  256. data/scripts/update-history +83 -0
  257. data/spec/cucumber/cli/configuration_spec.rb +95 -97
  258. data/spec/cucumber/cli/main_spec.rb +7 -7
  259. data/spec/cucumber/cli/options_spec.rb +112 -78
  260. data/spec/cucumber/cli/profile_loader_spec.rb +24 -5
  261. data/spec/cucumber/cli/rerun_spec.rb +20 -20
  262. data/spec/cucumber/configuration_spec.rb +47 -47
  263. data/spec/cucumber/constantize_spec.rb +2 -2
  264. data/spec/cucumber/events_spec.rb +9 -0
  265. data/spec/cucumber/file_specs_spec.rb +25 -25
  266. data/spec/cucumber/filters/activate_steps_spec.rb +16 -16
  267. data/spec/cucumber/filters/gated_receiver_spec.rb +6 -6
  268. data/spec/cucumber/filters/retry_spec.rb +22 -9
  269. data/spec/cucumber/filters/tag_limits/test_case_index_spec.rb +11 -11
  270. data/spec/cucumber/filters/tag_limits/verifier_spec.rb +14 -14
  271. data/spec/cucumber/filters/tag_limits_spec.rb +8 -8
  272. data/spec/cucumber/formatter/ansicolor_spec.rb +9 -9
  273. data/spec/cucumber/formatter/backtrace_filter_spec.rb +32 -0
  274. data/spec/cucumber/formatter/console_counts_spec.rb +1 -1
  275. data/spec/cucumber/formatter/duration_spec.rb +3 -3
  276. data/spec/cucumber/formatter/fail_fast_spec.rb +21 -21
  277. data/spec/cucumber/formatter/html_spec.rb +58 -58
  278. data/spec/cucumber/formatter/json_spec.rb +44 -46
  279. data/spec/cucumber/formatter/junit_spec.rb +43 -45
  280. data/spec/cucumber/formatter/legacy_api/adapter_spec.rb +43 -43
  281. data/spec/cucumber/formatter/pretty_spec.rb +107 -107
  282. data/spec/cucumber/formatter/progress_spec.rb +20 -20
  283. data/spec/cucumber/formatter/rerun_spec.rb +1 -1
  284. data/spec/cucumber/formatter/spec_helper.rb +6 -5
  285. data/spec/cucumber/{rb_support/rb_world_spec.rb → glue/proto_world_spec.rb} +20 -5
  286. data/spec/cucumber/glue/registry_and_more_spec.rb +213 -0
  287. data/spec/cucumber/{rb_support → glue}/snippet_spec.rb +61 -25
  288. data/spec/cucumber/glue/step_definition_spec.rb +207 -0
  289. data/spec/cucumber/hooks_spec.rb +3 -3
  290. data/spec/cucumber/multiline_argument/data_table_spec.rb +177 -133
  291. data/spec/cucumber/project_initializer_spec.rb +10 -10
  292. data/spec/cucumber/rake/forked_spec.rb +10 -10
  293. data/spec/cucumber/rake/task_spec.rb +20 -20
  294. data/spec/cucumber/running_test_case_spec.rb +35 -35
  295. data/spec/cucumber/runtime/for_programming_languages_spec.rb +1 -30
  296. data/spec/cucumber/runtime_spec.rb +2 -2
  297. data/spec/cucumber/step_argument_spec.rb +5 -5
  298. data/spec/cucumber/step_match_search_spec.rb +31 -41
  299. data/spec/cucumber/step_match_spec.rb +33 -33
  300. data/spec/cucumber/world/pending_spec.rb +10 -10
  301. metadata +117 -47
  302. data/features/docs/formatters/debug_formatter.feature +0 -47
  303. data/features/docs/writing_support_code/transforms.feature +0 -98
  304. data/features/lib/step_definitions/wire_steps.rb +0 -59
  305. data/gem_tasks/cucumber.rake +0 -26
  306. data/lib/cucumber/core_ext/instance_exec.rb +0 -71
  307. data/lib/cucumber/formatter/debug.rb +0 -36
  308. data/lib/cucumber/rb_support/rb_hook.rb +0 -20
  309. data/lib/cucumber/rb_support/rb_step_definition.rb +0 -132
  310. data/lib/cucumber/rb_support/rb_transform.rb +0 -60
  311. data/lib/cucumber/rb_support/rb_world.rb +0 -171
  312. data/spec/cucumber/core_ext/instance_exec_spec.rb +0 -5
  313. data/spec/cucumber/formatter/debug_spec.rb +0 -65
  314. data/spec/cucumber/rb_support/rb_language_spec.rb +0 -321
  315. data/spec/cucumber/rb_support/rb_step_definition_spec.rb +0 -200
  316. data/spec/cucumber/rb_support/rb_transform_spec.rb +0 -47
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7f5e472b2944bf6dadc1f272709c796c93dcceb5
4
- data.tar.gz: c1a1751dbb2b0cd1d530304ae0e30bb229350374
3
+ metadata.gz: a5726ed71d8a00221ac4b3b7fc15da681ea138a6
4
+ data.tar.gz: 2479723768c4452ef329c47cb63971e1632adae6
5
5
  SHA512:
6
- metadata.gz: 2e6adc11f7c868ba3eff12b7774b1c2260de26bfd02df48644b577bbe0f76cd9946431376f4536b2f0ea5a1c1a1b86c61de7b5a4351f2467b55f0e43abe8cf29
7
- data.tar.gz: 3e3be3a63d780965aa357ab93e3a34a6b95ff65c283ee6ad9af997c7c550ac4901a867d77e4cf84ff27f89e4a09f6859e95a939f75642faaf90607edf016830c
6
+ metadata.gz: c963597cfb7056f8240bc532c9712e32fbb61a00a62ddda19bacb86a7ffbaa900b3253b8e7f54317272519df0480e9da3056b6fc9d4f1364b5f487bea564d2fb
7
+ data.tar.gz: ac436dc31a3e6ba2ef71745a529c70d90160c586fb190a8aedc2e829ea79f3a610621aab0704985951492e032bbacce6a35638d712d12665eea5a678b1a8e76f
@@ -0,0 +1,6 @@
1
+ examples
2
+ .github
3
+ spec
4
+ CONTRIBUTING.md
5
+ History.md
6
+ README.md
@@ -0,0 +1,13 @@
1
+ inherit_from: .rubocop_todo.yml
2
+
3
+ AllCops:
4
+ # Cop names are not displayed in offense messages by default. Change behavior
5
+ # by overriding DisplayCopNames, or by giving the `-D/--display-cop-names`
6
+ # option.
7
+ DisplayCopNames: true
8
+ # Style guide URLs are not displayed in offense messages by default. Change
9
+ # behavior by overriding `DisplayStyleGuide`, or by giving the
10
+ # `-S/--display-style-guide` option.
11
+ DisplayStyleGuide: true
12
+ Exclude:
13
+ - 'tmp/**/*'
@@ -0,0 +1,1075 @@
1
+ # This configuration was generated by
2
+ # `rubocop --auto-gen-config`
3
+ # on 2016-11-26 12:42:16 +0000 using RuboCop version 0.40.0.
4
+ # The point is for the user to remove these configuration records
5
+ # one by one as the offenses are removed from the code base.
6
+ # Note that changes in the inspected code, or installation of new
7
+ # versions of RuboCop, may require this file to be generated again.
8
+
9
+ # Offense count: 8
10
+ Lint/AmbiguousOperator:
11
+ Exclude:
12
+ - 'lib/cucumber/formatter/legacy_api/adapter.rb'
13
+ - 'lib/cucumber/multiline_argument/data_table.rb'
14
+ - 'lib/cucumber/running_test_case.rb'
15
+ - 'spec/cucumber/formatter/legacy_api/adapter_spec.rb'
16
+ - 'spec/cucumber/formatter/spec_helper.rb'
17
+
18
+ # Offense count: 1
19
+ # Cop supports --auto-correct.
20
+ Lint/DeprecatedClassMethods:
21
+ Exclude:
22
+ - 'lib/cucumber/project_initializer.rb'
23
+
24
+ # Offense count: 2
25
+ Lint/DuplicateMethods:
26
+ Exclude:
27
+ - 'lib/cucumber/multiline_argument.rb'
28
+
29
+ # Offense count: 2
30
+ Lint/Eval:
31
+ Exclude:
32
+ - 'lib/cucumber/formatter/ansicolor.rb'
33
+ - 'lib/cucumber/term/ansicolor.rb'
34
+
35
+ # Offense count: 2
36
+ Lint/HandleExceptions:
37
+ Exclude:
38
+ - 'features/lib/step_definitions/wire_steps.rb'
39
+ - 'lib/cucumber/rake/task.rb'
40
+
41
+ # Offense count: 2
42
+ Lint/IneffectiveAccessModifier:
43
+ Exclude:
44
+ - 'lib/cucumber/glue/registry_and_more.rb'
45
+ - 'lib/cucumber/glue/snippet.rb'
46
+
47
+ # Offense count: 1
48
+ Lint/Loop:
49
+ Exclude:
50
+ - 'lib/autotest/cucumber_mixin.rb'
51
+
52
+ # Offense count: 7
53
+ Lint/RescueException:
54
+ Exclude:
55
+ - 'features/lib/support/fake_wire_server.rb'
56
+ - 'lib/cucumber/cli/main.rb'
57
+ - 'lib/cucumber/configuration.rb'
58
+ - 'lib/cucumber/glue/invoke_in_world.rb'
59
+ - 'lib/cucumber/formatter/ansicolor.rb'
60
+ - 'lib/cucumber/glue/proto_world.rb'
61
+
62
+ # Offense count: 6
63
+ Lint/ShadowingOuterLocalVariable:
64
+ Exclude:
65
+ - 'lib/cucumber/filters/tag_limits/verifier.rb'
66
+ - 'lib/cucumber/formatter/duration_extractor.rb'
67
+ - 'lib/cucumber/formatter/junit.rb'
68
+ - 'lib/cucumber/multiline_argument/data_table.rb'
69
+ - 'spec/cucumber/step_match_spec.rb'
70
+
71
+ # Offense count: 71
72
+ # Cop supports --auto-correct.
73
+ # Configuration parameters: AllowUnusedKeywordArguments.
74
+ Lint/UnusedBlockArgument:
75
+ Enabled: false
76
+
77
+ # Offense count: 61
78
+ Metrics/AbcSize:
79
+ Max: 100
80
+
81
+ # Offense count: 1
82
+ Metrics/BlockNesting:
83
+ Max: 4
84
+
85
+ # Offense count: 10
86
+ # Configuration parameters: CountComments.
87
+ Metrics/ClassLength:
88
+ Max: 534
89
+
90
+ # Offense count: 11
91
+ Metrics/CyclomaticComplexity:
92
+ Max: 17
93
+
94
+ # Offense count: 944
95
+ # Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
96
+ # URISchemes: http, https
97
+ Metrics/LineLength:
98
+ Max: 309
99
+
100
+ # Offense count: 77
101
+ # Configuration parameters: CountComments.
102
+ Metrics/MethodLength:
103
+ Max: 63
104
+
105
+ # Offense count: 19
106
+ # Configuration parameters: CountComments.
107
+ Metrics/ModuleLength:
108
+ Max: 1976
109
+
110
+ # Offense count: 7
111
+ # Configuration parameters: CountKeywordArgs.
112
+ Metrics/ParameterLists:
113
+ Max: 8
114
+
115
+ # Offense count: 9
116
+ Metrics/PerceivedComplexity:
117
+ Max: 18
118
+
119
+ # Offense count: 3
120
+ # Cop supports --auto-correct.
121
+ Performance/RedundantBlockCall:
122
+ Exclude:
123
+ - 'lib/cucumber/formatter/legacy_api/adapter.rb'
124
+ - 'lib/cucumber/step_match.rb'
125
+
126
+ # Offense count: 3
127
+ # Cop supports --auto-correct.
128
+ Performance/RedundantMatch:
129
+ Exclude:
130
+ - 'lib/cucumber/deprecate.rb'
131
+ - 'spec/cucumber/formatter/junit_spec.rb'
132
+
133
+ # Offense count: 6
134
+ Style/AccessorMethodName:
135
+ Exclude:
136
+ - 'lib/autotest/cucumber_mixin.rb'
137
+ - 'lib/cucumber/cli/options.rb'
138
+ - 'lib/cucumber/formatter/html.rb'
139
+ - 'lib/cucumber/formatter/legacy_api/adapter.rb'
140
+
141
+ # Offense count: 3
142
+ # Cop supports --auto-correct.
143
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
144
+ # SupportedStyles: prefer_alias, prefer_alias_method
145
+ Style/Alias:
146
+ Exclude:
147
+ - 'lib/cucumber/formatter/ansicolor.rb'
148
+
149
+ # Offense count: 1197
150
+ # Cop supports --auto-correct.
151
+ Style/AlignArray:
152
+ Exclude:
153
+ - 'lib/cucumber/cli/options.rb'
154
+ - 'lib/cucumber/rake/task.rb'
155
+ - 'spec/cucumber/formatter/legacy_api/adapter_spec.rb'
156
+ - 'spec/cucumber/multiline_argument/data_table_spec.rb'
157
+ - 'spec/cucumber/rake/forked_spec.rb'
158
+
159
+ # Offense count: 20
160
+ # Cop supports --auto-correct.
161
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
162
+ # SupportedStyles: with_first_parameter, with_fixed_indentation
163
+ Style/AlignParameters:
164
+ Exclude:
165
+ - 'features/lib/step_definitions/cucumber_steps.rb'
166
+ - 'features/lib/step_definitions/retry_steps.rb'
167
+ - 'lib/cucumber/cli/options.rb'
168
+ - 'lib/cucumber/runtime/for_programming_languages.rb'
169
+
170
+ # Offense count: 11
171
+ # Cop supports --auto-correct.
172
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
173
+ # SupportedStyles: always, conditionals
174
+ Style/AndOr:
175
+ Exclude:
176
+ - 'lib/autotest/cucumber_mixin.rb'
177
+ - 'lib/cucumber/formatter/html.rb'
178
+ - 'lib/cucumber/formatter/legacy_api/adapter.rb'
179
+
180
+ # Offense count: 19
181
+ Style/AsciiComments:
182
+ Exclude:
183
+ - 'lib/cucumber/encoding.rb'
184
+ - 'lib/cucumber/events/*'
185
+ - 'lib/cucumber/filters/randomizer.rb'
186
+ - 'lib/cucumber/formatter/html.rb'
187
+ - 'lib/cucumber/formatter/legacy_api/adapter.rb'
188
+ - 'lib/cucumber/glue/step_definition.rb'
189
+ - 'lib/cucumber/running_test_case.rb'
190
+ - 'lib/cucumber/runtime.rb'
191
+ - 'spec/cucumber/formatter/legacy_api/adapter_spec.rb'
192
+ - 'spec/cucumber/step_match_search_spec.rb'
193
+
194
+ # Offense count: 73
195
+ Style/AsciiIdentifiers:
196
+ Exclude:
197
+ - 'examples/i18n/ar/lib/calculator.rb'
198
+ - 'examples/i18n/bg/features/step_definitions/calculator_steps.rb'
199
+ - 'examples/i18n/el/features/step_definitions/calculator_steps.rb'
200
+ - 'examples/i18n/he/lib/calculator.rb'
201
+ - 'examples/i18n/ja/features/step_definitions/calculator_steps.rb'
202
+ - 'examples/i18n/ru/features/step_definitions/calculator_steps.rb'
203
+ - 'examples/i18n/sr-Cyrl/features/step_definitions/calculator_steps.rb'
204
+ - 'examples/i18n/tr/lib/hesap_makinesi.rb'
205
+ - 'examples/i18n/uk/features/step_definitions/calculator_steps.rb'
206
+ - 'examples/i18n/uz/features/step_definitions/calculator_steps.rb'
207
+
208
+ # Offense count: 1
209
+ # Cop supports --auto-correct.
210
+ Style/Attr:
211
+ Exclude:
212
+ - 'lib/cucumber/runtime.rb'
213
+
214
+ # Offense count: 1
215
+ # Cop supports --auto-correct.
216
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
217
+ # SupportedStyles: percent_q, bare_percent
218
+ Style/BarePercentLiterals:
219
+ Exclude:
220
+ - 'lib/cucumber/term/ansicolor.rb'
221
+
222
+ # Offense count: 56
223
+ # Cop supports --auto-correct.
224
+ # Configuration parameters: EnforcedStyle, SupportedStyles, ProceduralMethods, FunctionalMethods, IgnoredMethods.
225
+ # SupportedStyles: line_count_based, semantic, braces_for_chaining
226
+ # ProceduralMethods: benchmark, bm, bmbm, create, each_with_object, measure, new, realtime, tap, with_object
227
+ # FunctionalMethods: let, let!, subject, watch
228
+ # IgnoredMethods: lambda, proc, it
229
+ Style/BlockDelimiters:
230
+ Enabled: false
231
+
232
+ # Offense count: 3
233
+ # Cop supports --auto-correct.
234
+ Style/BlockEndNewline:
235
+ Exclude:
236
+ - 'spec/cucumber/formatter/json_spec.rb'
237
+ - 'spec/cucumber/rake/forked_spec.rb'
238
+
239
+ # Offense count: 45
240
+ # Cop supports --auto-correct.
241
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
242
+ # SupportedStyles: braces, no_braces, context_dependent
243
+ Style/BracesAroundHashParameters:
244
+ Exclude:
245
+ - 'lib/cucumber/cli/options.rb'
246
+ - 'lib/cucumber/formatter/ansicolor.rb'
247
+ - 'lib/cucumber/gherkin/formatter/ansi_escapes.rb'
248
+ - 'lib/cucumber/multiline_argument/data_table.rb'
249
+ - 'spec/cucumber/cli/configuration_spec.rb'
250
+ - 'spec/cucumber/cli/options_spec.rb'
251
+ - 'spec/cucumber/formatter/html_spec.rb'
252
+ - 'spec/cucumber/formatter/junit_spec.rb'
253
+ - 'spec/cucumber/formatter/pretty_spec.rb'
254
+ - 'spec/cucumber/multiline_argument/data_table_spec.rb'
255
+ - 'spec/cucumber/glue/step_definition_spec.rb'
256
+
257
+ # Offense count: 12
258
+ Style/CaseEquality:
259
+ Exclude:
260
+ - 'lib/cucumber/formatter/console.rb'
261
+ - 'lib/cucumber/formatter/html.rb'
262
+ - 'lib/cucumber/formatter/io.rb'
263
+ - 'lib/cucumber/multiline_argument/data_table.rb'
264
+ - 'lib/cucumber/rake/task.rb'
265
+ - 'lib/cucumber/step_match.rb'
266
+
267
+ # Offense count: 1
268
+ # Cop supports --auto-correct.
269
+ Style/CharacterLiteral:
270
+ Exclude:
271
+ - 'lib/autotest/cucumber_mixin.rb'
272
+
273
+ # Offense count: 12
274
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
275
+ # SupportedStyles: nested, compact
276
+ Style/ClassAndModuleChildren:
277
+ Exclude:
278
+ - 'gem_tasks/cucumber.rake'
279
+ - 'lib/autotest/cucumber.rb'
280
+ - 'lib/autotest/cucumber_mixin.rb'
281
+ - 'lib/autotest/cucumber_rails.rb'
282
+ - 'lib/autotest/cucumber_rails_rspec.rb'
283
+ - 'lib/autotest/cucumber_rails_rspec2.rb'
284
+ - 'lib/autotest/cucumber_rspec.rb'
285
+ - 'lib/autotest/cucumber_rspec2.rb'
286
+ - 'spec/cucumber/formatter/fail_fast_spec.rb'
287
+ - 'spec/cucumber/formatter/interceptor_spec.rb'
288
+ - 'spec/cucumber/formatter/legacy_api/adapter_spec.rb'
289
+ - 'spec/cucumber/hooks_spec.rb'
290
+
291
+ # Offense count: 3
292
+ # Cop supports --auto-correct.
293
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
294
+ # SupportedStyles: is_a?, kind_of?
295
+ Style/ClassCheck:
296
+ Exclude:
297
+ - 'lib/cucumber/formatter/legacy_api/ast.rb'
298
+ - 'lib/cucumber/hooks.rb'
299
+ - 'lib/cucumber/multiline_argument/data_table.rb'
300
+
301
+ # Offense count: 2
302
+ Style/ClassVars:
303
+ Exclude:
304
+ - 'lib/cucumber/formatter/html.rb'
305
+
306
+ # Offense count: 1
307
+ # Cop supports --auto-correct.
308
+ Style/ClosingParenthesisIndentation:
309
+ Exclude:
310
+ - 'spec/cucumber/cli/options_spec.rb'
311
+
312
+ # Offense count: 1
313
+ # Cop supports --auto-correct.
314
+ Style/ColonMethodCall:
315
+ Exclude:
316
+ - 'lib/cucumber/cli/profile_loader.rb'
317
+
318
+ # Offense count: 4
319
+ # Cop supports --auto-correct.
320
+ # Configuration parameters: Keywords.
321
+ # Keywords: TODO, FIXME, OPTIMIZE, HACK, REVIEW
322
+ Style/CommentAnnotation:
323
+ Exclude:
324
+ - 'lib/cucumber/cli/configuration.rb'
325
+ - 'lib/cucumber/configuration.rb'
326
+ - 'lib/cucumber/formatter/legacy_api/adapter.rb'
327
+
328
+ # Offense count: 2
329
+ # Cop supports --auto-correct.
330
+ Style/CommentIndentation:
331
+ Exclude:
332
+ - 'lib/cucumber/formatter/html.rb'
333
+ - 'spec/cucumber/world/pending_spec.rb'
334
+
335
+ # Offense count: 2
336
+ # Cop supports --auto-correct.
337
+ # Configuration parameters: EnforcedStyle, SupportedStyles, SingleLineConditionsOnly.
338
+ # SupportedStyles: assign_to_condition, assign_inside_condition
339
+ Style/ConditionalAssignment:
340
+ Exclude:
341
+ - 'lib/cucumber/runtime/for_programming_languages.rb'
342
+ - 'lib/cucumber/runtime/user_interface.rb'
343
+
344
+ # Offense count: 1
345
+ Style/ConstantName:
346
+ Exclude:
347
+ - 'lib/cucumber/deprecate.rb'
348
+
349
+ # Offense count: 1
350
+ # Cop supports --auto-correct.
351
+ Style/DefWithParentheses:
352
+ Exclude:
353
+ - 'lib/cucumber/cli/options.rb'
354
+
355
+ # Offense count: 186
356
+ Style/Documentation:
357
+ Enabled: false
358
+
359
+ # Offense count: 12
360
+ # Cop supports --auto-correct.
361
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
362
+ # SupportedStyles: leading, trailing
363
+ Style/DotPosition:
364
+ Enabled: false
365
+
366
+ # Offense count: 1
367
+ Style/DoubleNegation:
368
+ Exclude:
369
+ - 'lib/cucumber/cli/configuration.rb'
370
+
371
+ # Offense count: 2
372
+ Style/EachWithObject:
373
+ Exclude:
374
+ - 'lib/cucumber/formatter/steps.rb'
375
+ - 'lib/cucumber/glue/registry_and_more.rb'
376
+
377
+ # Offense count: 12
378
+ # Cop supports --auto-correct.
379
+ # Configuration parameters: AllowAdjacentOneLineDefs.
380
+ Style/EmptyLineBetweenDefs:
381
+ Exclude:
382
+ - 'lib/cucumber/formatter/legacy_api/adapter.rb'
383
+
384
+ # Offense count: 14
385
+ # Cop supports --auto-correct.
386
+ Style/EmptyLines:
387
+ Exclude:
388
+ - 'lib/cucumber/cli/main.rb'
389
+ - 'lib/cucumber/events/step_definition_registered.rb'
390
+ - 'lib/cucumber/formatter/backtrace_filter.rb'
391
+ - 'lib/cucumber/formatter/html.rb'
392
+ - 'lib/cucumber/formatter/legacy_api/adapter.rb'
393
+ - 'lib/cucumber/multiline_argument/data_table.rb'
394
+ - 'lib/cucumber/multiline_argument/data_table/diff_matrices.rb'
395
+ - 'lib/cucumber/term/ansicolor.rb'
396
+ - 'spec/cucumber/formatter/legacy_api/adapter_spec.rb'
397
+ - 'spec/cucumber/formatter/pretty_spec.rb'
398
+ - 'spec/cucumber/runtime/support_code_spec.rb'
399
+
400
+ # Offense count: 6
401
+ # Cop supports --auto-correct.
402
+ Style/EmptyLinesAroundAccessModifier:
403
+ Exclude:
404
+ - 'lib/cucumber/formatter/interceptor.rb'
405
+ - 'lib/cucumber/formatter/legacy_api/adapter.rb'
406
+ - 'lib/cucumber/multiline_argument/data_table.rb'
407
+ - 'lib/cucumber/glue/transform.rb'
408
+ - 'lib/cucumber/runtime/step_hooks.rb'
409
+ - 'lib/cucumber/step_match.rb'
410
+
411
+ # Offense count: 43
412
+ # Cop supports --auto-correct.
413
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
414
+ # SupportedStyles: empty_lines, no_empty_lines
415
+ Style/EmptyLinesAroundBlockBody:
416
+ Enabled: false
417
+
418
+ # Offense count: 40
419
+ # Cop supports --auto-correct.
420
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
421
+ # SupportedStyles: empty_lines, no_empty_lines
422
+ Style/EmptyLinesAroundClassBody:
423
+ Enabled: false
424
+
425
+ # Offense count: 1
426
+ # Cop supports --auto-correct.
427
+ Style/EmptyLinesAroundMethodBody:
428
+ Exclude:
429
+ - 'lib/cucumber/formatter/legacy_api/ast.rb'
430
+
431
+ # Offense count: 53
432
+ # Cop supports --auto-correct.
433
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
434
+ # SupportedStyles: empty_lines, no_empty_lines
435
+ Style/EmptyLinesAroundModuleBody:
436
+ Enabled: false
437
+
438
+ # Offense count: 6
439
+ # Cop supports --auto-correct.
440
+ Style/EmptyLiteral:
441
+ Exclude:
442
+ - 'lib/cucumber/errors.rb'
443
+ - 'lib/cucumber/formatter/html.rb'
444
+ - 'lib/cucumber/glue/registry_and_more.rb'
445
+ - 'lib/cucumber/glue/snippet.rb'
446
+ - 'spec/cucumber/glue/registry_and_more_spec.rb'
447
+
448
+ # Offense count: 11
449
+ # Cop supports --auto-correct.
450
+ # Configuration parameters: AllowForAlignment, ForceEqualSignAlignment.
451
+ Style/ExtraSpacing:
452
+ Exclude:
453
+ - 'lib/cucumber/formatter/json.rb'
454
+ - 'spec/cucumber/formatter/html_spec.rb'
455
+ - 'spec/cucumber/formatter/json_spec.rb'
456
+ - 'spec/cucumber/formatter/junit_spec.rb'
457
+ - 'spec/cucumber/formatter/legacy_api/adapter_spec.rb'
458
+ - 'spec/cucumber/multiline_argument/data_table_spec.rb'
459
+ - 'spec/cucumber/glue/step_definition_spec.rb'
460
+
461
+ # Offense count: 1
462
+ # Configuration parameters: ExpectMatchingDefinition, Regex, IgnoreExecutableScripts.
463
+ Style/FileName:
464
+ Exclude:
465
+ - 'features/lib/step_definitions/iso-8859-1_steps.rb'
466
+
467
+ # Offense count: 2
468
+ # Cop supports --auto-correct.
469
+ # Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
470
+ # SupportedStyles: consistent, special_for_inner_method_call, special_for_inner_method_call_in_parentheses
471
+ Style/FirstParameterIndentation:
472
+ Exclude:
473
+ - 'spec/cucumber/rake/forked_spec.rb'
474
+
475
+ # Offense count: 13
476
+ # Configuration parameters: AllowedVariables.
477
+ Style/GlobalVars:
478
+ Exclude:
479
+ - 'lib/autotest/cucumber_mixin.rb'
480
+ - 'spec/cucumber/cli/options_spec.rb'
481
+ - 'spec/cucumber/glue/registry_and_more_spec.rb'
482
+ - 'spec/cucumber/glue/step_definition_spec.rb'
483
+
484
+ # Offense count: 10
485
+ # Configuration parameters: MinBodyLength.
486
+ Style/GuardClause:
487
+ Exclude:
488
+ - 'lib/cucumber/constantize.rb'
489
+ - 'lib/cucumber/formatter/html.rb'
490
+ - 'lib/cucumber/formatter/junit.rb'
491
+ - 'lib/cucumber/formatter/legacy_api/adapter.rb'
492
+ - 'lib/cucumber/formatter/pretty.rb'
493
+ - 'lib/cucumber/glue/proto_world.rb'
494
+
495
+ # Offense count: 182
496
+ # Cop supports --auto-correct.
497
+ # Configuration parameters: EnforcedStyle, SupportedStyles, UseHashRocketsWithSymbolValues.
498
+ # SupportedStyles: ruby19, ruby19_no_mixed_keys, hash_rockets
499
+ Style/HashSyntax:
500
+ Enabled: false
501
+
502
+ # Offense count: 3
503
+ Style/IfInsideElse:
504
+ Exclude:
505
+ - 'lib/cucumber/cli/main.rb'
506
+ - 'lib/cucumber/formatter/console.rb'
507
+ - 'lib/cucumber/formatter/json.rb'
508
+
509
+ # Offense count: 15
510
+ # Cop supports --auto-correct.
511
+ # Configuration parameters: MaxLineLength.
512
+ Style/IfUnlessModifier:
513
+ Exclude:
514
+ - 'examples/i18n/zh-CN/features/step_definitions/calculator_steps.rb'
515
+ - 'lib/cucumber/filters/quit.rb'
516
+ - 'lib/cucumber/formatter/ansicolor.rb'
517
+ - 'lib/cucumber/formatter/backtrace_filter.rb'
518
+ - 'lib/cucumber/formatter/html.rb'
519
+ - 'lib/cucumber/formatter/legacy_api/adapter.rb'
520
+ - 'lib/cucumber/gherkin/formatter/ansi_escapes.rb'
521
+ - 'lib/cucumber/rake/task.rb'
522
+ - 'spec/cucumber/formatter/legacy_api/adapter_spec.rb'
523
+
524
+ # Offense count: 89
525
+ # Cop supports --auto-correct.
526
+ # Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
527
+ # SupportedStyles: special_inside_parentheses, consistent, align_brackets
528
+ Style/IndentArray:
529
+ Enabled: false
530
+
531
+ # Offense count: 4
532
+ # Cop supports --auto-correct.
533
+ # Configuration parameters: SupportedStyles, IndentationWidth.
534
+ # SupportedStyles: special_inside_parentheses, consistent, align_braces
535
+ Style/IndentHash:
536
+ EnforcedStyle: consistent
537
+
538
+ # Offense count: 8
539
+ # Cop supports --auto-correct.
540
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
541
+ # SupportedStyles: normal, rails
542
+ Style/IndentationConsistency:
543
+ Exclude:
544
+ - 'lib/cucumber/formatter/html.rb'
545
+ - 'spec/cucumber/cli/configuration_spec.rb'
546
+ - 'spec/cucumber/formatter/html_spec.rb'
547
+ - 'spec/cucumber/formatter/json_spec.rb'
548
+ - 'spec/cucumber/step_match_search_spec.rb'
549
+
550
+ # Offense count: 9
551
+ # Cop supports --auto-correct.
552
+ # Configuration parameters: Width.
553
+ Style/IndentationWidth:
554
+ Exclude:
555
+ - 'lib/cucumber/formatter/legacy_api/adapter.rb'
556
+ - 'lib/cucumber/gherkin/formatter/ansi_escapes.rb'
557
+ - 'lib/cucumber/gherkin/formatter/escaping.rb'
558
+ - 'lib/cucumber/glue/transform.rb'
559
+ - 'spec/cucumber/cli/configuration_spec.rb'
560
+ - 'spec/cucumber/multiline_argument/data_table_spec.rb'
561
+ - 'spec/cucumber/step_match_search_spec.rb'
562
+ - 'spec/cucumber/world/pending_spec.rb'
563
+
564
+ # Offense count: 40
565
+ # Cop supports --auto-correct.
566
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
567
+ # SupportedStyles: line_count_dependent, lambda, literal
568
+ Style/Lambda:
569
+ Exclude:
570
+ - 'features/lib/support/fake_wire_server.rb'
571
+ - 'lib/cucumber/formatter/html.rb'
572
+ - 'lib/cucumber/multiline_argument/data_table.rb'
573
+ - 'lib/cucumber/glue/step_definition.rb'
574
+ - 'lib/cucumber/step_match.rb'
575
+ - 'spec/cucumber/formatter/html_spec.rb'
576
+ - 'spec/cucumber/formatter/junit_spec.rb'
577
+ - 'spec/cucumber/multiline_argument/data_table_spec.rb'
578
+ - 'spec/cucumber/glue/registry_and_more_spec.rb'
579
+ - 'spec/cucumber/glue/step_definition_spec.rb'
580
+ - 'spec/cucumber/rb_support/rb_transform_spec.rb'
581
+ - 'spec/cucumber/step_match_search_spec.rb'
582
+ - 'spec/cucumber/step_match_spec.rb'
583
+ - 'spec/cucumber/world/pending_spec.rb'
584
+
585
+ # Offense count: 38
586
+ # Cop supports --auto-correct.
587
+ Style/LeadingCommentSpace:
588
+ Enabled: false
589
+
590
+ # Offense count: 7
591
+ # Cop supports --auto-correct.
592
+ Style/LineEndConcatenation:
593
+ Exclude:
594
+ - 'lib/cucumber/cli/options.rb'
595
+ - 'spec/cucumber/filters/tag_limits/verifier_spec.rb'
596
+
597
+ # Offense count: 2
598
+ # Cop supports --auto-correct.
599
+ Style/MethodCallParentheses:
600
+ Exclude:
601
+ - 'lib/cucumber/cli/configuration.rb'
602
+ - 'lib/cucumber/cli/options.rb'
603
+
604
+ # Offense count: 12
605
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
606
+ # SupportedStyles: snake_case, camelCase
607
+ Style/MethodName:
608
+ Enabled: false
609
+
610
+ # Offense count: 2
611
+ Style/ModuleFunction:
612
+ Exclude:
613
+ - 'lib/cucumber/gherkin/formatter/ansi_escapes.rb'
614
+ - 'lib/cucumber/term/ansicolor.rb'
615
+
616
+ # Offense count: 3
617
+ # Cop supports --auto-correct.
618
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
619
+ # SupportedStyles: symmetrical, new_line, same_line
620
+ Style/MultilineArrayBraceLayout:
621
+ Exclude:
622
+ - 'lib/cucumber/cli/options.rb'
623
+ - 'spec/cucumber/configuration_spec.rb'
624
+
625
+ # Offense count: 2
626
+ Style/MultilineBlockChain:
627
+ Exclude:
628
+ - 'lib/cucumber/formatter/console_counts.rb'
629
+
630
+ # Offense count: 4
631
+ # Cop supports --auto-correct.
632
+ Style/MultilineBlockLayout:
633
+ Exclude:
634
+ - 'lib/cucumber/formatter/junit.rb'
635
+ - 'spec/cucumber/formatter/json_spec.rb'
636
+ - 'spec/cucumber/rake/forked_spec.rb'
637
+
638
+ # Offense count: 4
639
+ # Cop supports --auto-correct.
640
+ Style/MultilineIfThen:
641
+ Exclude:
642
+ - 'lib/autotest/cucumber_mixin.rb'
643
+
644
+ # Offense count: 9
645
+ # Cop supports --auto-correct.
646
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
647
+ # SupportedStyles: symmetrical, new_line, same_line
648
+ Style/MultilineMethodCallBraceLayout:
649
+ Exclude:
650
+ - 'lib/cucumber/cli/options.rb'
651
+ - 'lib/cucumber/formatter/junit.rb'
652
+ - 'lib/cucumber/formatter/legacy_api/ast.rb'
653
+ - 'lib/cucumber/runtime.rb'
654
+ - 'spec/cucumber/configuration_spec.rb'
655
+ - 'spec/cucumber/formatter/spec_helper.rb'
656
+ - 'spec/cucumber/rake/forked_spec.rb'
657
+
658
+ # Offense count: 2
659
+ # Cop supports --auto-correct.
660
+ # Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
661
+ # SupportedStyles: aligned, indented
662
+ Style/MultilineMethodCallIndentation:
663
+ Enabled: false
664
+
665
+ # Offense count: 8
666
+ # Cop supports --auto-correct.
667
+ # Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
668
+ # SupportedStyles: aligned, indented
669
+ Style/MultilineOperationIndentation:
670
+ Enabled: false
671
+
672
+ # Offense count: 1
673
+ Style/MultilineTernaryOperator:
674
+ Exclude:
675
+ - 'lib/cucumber/formatter/console.rb'
676
+
677
+ # Offense count: 20
678
+ # Cop supports --auto-correct.
679
+ Style/MutableConstant:
680
+ Exclude:
681
+ - 'lib/cucumber/cli/options.rb'
682
+ - 'lib/cucumber/formatter/html.rb'
683
+ - 'lib/cucumber/formatter/progress.rb'
684
+ - 'lib/cucumber/formatter/unicode.rb'
685
+ - 'lib/cucumber/gherkin/formatter/ansi_escapes.rb'
686
+ - 'lib/cucumber/glue/snippet.rb'
687
+ - 'lib/cucumber/term/ansicolor.rb'
688
+ - 'spec/cucumber/step_match_spec.rb'
689
+
690
+ # Offense count: 7
691
+ # Cop supports --auto-correct.
692
+ Style/NegatedIf:
693
+ Exclude:
694
+ - 'lib/cucumber/formatter/io.rb'
695
+ - 'lib/cucumber/formatter/legacy_api/adapter.rb'
696
+ - 'lib/cucumber/rake/task.rb'
697
+ - 'lib/cucumber/runtime.rb'
698
+
699
+ # Offense count: 2
700
+ # Cop supports --auto-correct.
701
+ Style/NestedParenthesizedCalls:
702
+ Exclude:
703
+ - 'spec/cucumber/hooks_spec.rb'
704
+
705
+ # Offense count: 8
706
+ # Cop supports --auto-correct.
707
+ # Configuration parameters: EnforcedStyle, MinBodyLength, SupportedStyles.
708
+ # SupportedStyles: skip_modifier_ifs, always
709
+ Style/Next:
710
+ Exclude:
711
+ - 'examples/i18n/Rakefile'
712
+ - 'features/lib/support/normalise_output.rb'
713
+ - 'lib/autotest/cucumber_mixin.rb'
714
+ - 'lib/cucumber/formatter/ansicolor.rb'
715
+ - 'lib/cucumber/multiline_argument/data_table.rb'
716
+ - 'spec/cucumber/formatter/json_spec.rb'
717
+
718
+ # Offense count: 4
719
+ # Cop supports --auto-correct.
720
+ Style/Not:
721
+ Exclude:
722
+ - 'lib/cucumber/formatter/console.rb'
723
+ - 'lib/cucumber/formatter/html.rb'
724
+ - 'lib/cucumber/formatter/legacy_api/adapter.rb'
725
+
726
+ # Offense count: 3
727
+ # Cop supports --auto-correct.
728
+ Style/NumericLiterals:
729
+ MinDigits: 6
730
+
731
+ # Offense count: 5
732
+ Style/OpMethod:
733
+ Exclude:
734
+ - 'lib/cucumber/multiline_argument/data_table.rb'
735
+ - 'lib/cucumber/glue/step_definition.rb'
736
+ - 'lib/cucumber/step_definition_light.rb'
737
+
738
+ # Offense count: 25
739
+ # Cop supports --auto-correct.
740
+ Style/ParallelAssignment:
741
+ Enabled: false
742
+
743
+ # Offense count: 225
744
+ # Cop supports --auto-correct.
745
+ # Configuration parameters: PreferredDelimiters.
746
+ Style/PercentLiteralDelimiters:
747
+ Enabled: false
748
+
749
+ # Offense count: 18
750
+ # Cop supports --auto-correct.
751
+ Style/PerlBackrefs:
752
+ Exclude:
753
+ - 'lib/cucumber/cli/options.rb'
754
+ - 'lib/cucumber/formatter/ansicolor.rb'
755
+ - 'lib/cucumber/formatter/backtrace_filter.rb'
756
+ - 'lib/cucumber/formatter/html.rb'
757
+ - 'lib/cucumber/formatter/unicode.rb'
758
+ - 'lib/cucumber/gherkin/formatter/ansi_escapes.rb'
759
+ - 'lib/cucumber/runtime.rb'
760
+
761
+ # Offense count: 2
762
+ # Configuration parameters: NamePrefix, NamePrefixBlacklist, NameWhitelist.
763
+ # NamePrefix: is_, has_, have_
764
+ # NamePrefixBlacklist: is_, has_, have_
765
+ # NameWhitelist: is_a?
766
+ Style/PredicateName:
767
+ Exclude:
768
+ - 'spec/**/*'
769
+ - 'lib/cucumber/cli/profile_loader.rb'
770
+ - 'lib/cucumber/multiline_argument/data_table.rb'
771
+
772
+ # Offense count: 3
773
+ # Cop supports --auto-correct.
774
+ Style/Proc:
775
+ Exclude:
776
+ - 'spec/cucumber/filters/activate_steps_spec.rb'
777
+
778
+ # Offense count: 7
779
+ # Cop supports --auto-correct.
780
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
781
+ # SupportedStyles: compact, exploded
782
+ Style/RaiseArgs:
783
+ Enabled: false
784
+
785
+ # Offense count: 8
786
+ # Cop supports --auto-correct.
787
+ Style/RedundantBegin:
788
+ Exclude:
789
+ - 'features/lib/support/fake_wire_server.rb'
790
+ - 'lib/cucumber/glue/invoke_in_world.rb'
791
+ - 'lib/cucumber/formatter/ansicolor.rb'
792
+ - 'lib/cucumber/formatter/unicode.rb'
793
+ - 'lib/cucumber/multiline_argument/data_table.rb'
794
+ - 'lib/cucumber/glue/step_definition.rb'
795
+ - 'lib/cucumber/runtime.rb'
796
+ - 'lib/cucumber/runtime/user_interface.rb'
797
+
798
+ # Offense count: 1
799
+ # Cop supports --auto-correct.
800
+ Style/RedundantException:
801
+ Exclude:
802
+ - 'spec/cucumber/formatter/json_spec.rb'
803
+
804
+ # Offense count: 2
805
+ # Cop supports --auto-correct.
806
+ Style/RedundantParentheses:
807
+ Exclude:
808
+ - 'lib/cucumber/formatter/html.rb'
809
+ - 'lib/cucumber/multiline_argument/data_table.rb'
810
+
811
+ # Offense count: 8
812
+ # Cop supports --auto-correct.
813
+ # Configuration parameters: AllowMultipleReturnValues.
814
+ Style/RedundantReturn:
815
+ Exclude:
816
+ - 'lib/autotest/cucumber_mixin.rb'
817
+ - 'lib/cucumber/cli/profile_loader.rb'
818
+ - 'lib/cucumber/formatter/legacy_api/adapter.rb'
819
+ - 'lib/cucumber/multiline_argument/data_table.rb'
820
+ - 'lib/cucumber/step_match.rb'
821
+
822
+ # Offense count: 20
823
+ # Cop supports --auto-correct.
824
+ Style/RedundantSelf:
825
+ Exclude:
826
+ - 'lib/autotest/cucumber_mixin.rb'
827
+ - 'lib/cucumber/cli/configuration.rb'
828
+ - 'lib/cucumber/errors.rb'
829
+ - 'lib/cucumber/filters/activate_steps.rb'
830
+ - 'lib/cucumber/formatter/interceptor.rb'
831
+ - 'lib/cucumber/formatter/legacy_api/ast.rb'
832
+ - 'lib/cucumber/multiline_argument/data_table.rb'
833
+ - 'lib/cucumber/multiline_argument/doc_string.rb'
834
+ - 'lib/cucumber/glue/step_definition.rb'
835
+ - 'lib/cucumber/glue/proto_world.rb'
836
+ - 'spec/cucumber/running_test_case_spec.rb'
837
+
838
+ # Offense count: 18
839
+ # Cop supports --auto-correct.
840
+ # Configuration parameters: EnforcedStyle, SupportedStyles, AllowInnerSlashes.
841
+ # SupportedStyles: slashes, percent_r, mixed
842
+ Style/RegexpLiteral:
843
+ Exclude:
844
+ - 'features/lib/support/normalise_output.rb'
845
+ - 'lib/cucumber/configuration.rb'
846
+ - 'lib/cucumber/formatter/backtrace_filter.rb'
847
+ - 'lib/cucumber/formatter/html.rb'
848
+ - 'lib/cucumber/formatter/junit.rb'
849
+ - 'lib/cucumber/formatter/legacy_api/adapter.rb'
850
+ - 'lib/cucumber/runtime.rb'
851
+ - 'spec/cucumber/formatter/html_spec.rb'
852
+ - 'spec/cucumber/project_initializer_spec.rb'
853
+ - 'spec/cucumber/glue/registry_and_more_spec.rb'
854
+
855
+ # Offense count: 2
856
+ # Cop supports --auto-correct.
857
+ Style/RescueModifier:
858
+ Exclude:
859
+ - 'gem_tasks/contributors.rake'
860
+ - 'lib/cucumber/multiline_argument/data_table.rb'
861
+
862
+ # Offense count: 3
863
+ # Cop supports --auto-correct.
864
+ # Configuration parameters: AllowAsExpressionSeparator.
865
+ Style/Semicolon:
866
+ Exclude:
867
+ - 'spec/cucumber/cli/options_spec.rb'
868
+ - 'spec/cucumber/formatter/json_spec.rb'
869
+ - 'spec/cucumber/formatter/legacy_api/adapter_spec.rb'
870
+
871
+ # Offense count: 4
872
+ # Cop supports --auto-correct.
873
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
874
+ # SupportedStyles: only_raise, only_fail, semantic
875
+ Style/SignalException:
876
+ Exclude:
877
+ - 'lib/cucumber/cli/options.rb'
878
+ - 'lib/cucumber/formatter/json.rb'
879
+ - 'spec/cucumber/formatter/progress_spec.rb'
880
+
881
+ # Offense count: 36
882
+ # Configuration parameters: Methods.
883
+ # Methods: {"reduce"=>["a", "e"]}, {"inject"=>["a", "e"]}
884
+ Style/SingleLineBlockParams:
885
+ Enabled: false
886
+
887
+ # Offense count: 4
888
+ # Cop supports --auto-correct.
889
+ # Configuration parameters: AllowIfMethodIsEmpty.
890
+ Style/SingleLineMethods:
891
+ Exclude:
892
+ - 'lib/cucumber/formatter/html.rb'
893
+ - 'lib/cucumber/formatter/legacy_api/adapter.rb'
894
+ - 'lib/cucumber/rspec/disable_option_parser.rb'
895
+
896
+ # Offense count: 78
897
+ # Cop supports --auto-correct.
898
+ Style/SpaceAfterComma:
899
+ Enabled: false
900
+
901
+ # Offense count: 4
902
+ # Cop supports --auto-correct.
903
+ Style/SpaceAfterNot:
904
+ Exclude:
905
+ - 'lib/cucumber/formatter/console.rb'
906
+ - 'lib/cucumber/formatter/html.rb'
907
+ - 'lib/cucumber/formatter/legacy_api/adapter.rb'
908
+
909
+ # Offense count: 16
910
+ # Cop supports --auto-correct.
911
+ Style/SpaceAfterSemicolon:
912
+ Exclude:
913
+ - 'lib/cucumber/formatter/legacy_api/adapter.rb'
914
+
915
+ # Offense count: 30
916
+ # Cop supports --auto-correct.
917
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
918
+ # SupportedStyles: space, no_space
919
+ Style/SpaceAroundEqualsInParameterDefault:
920
+ Enabled: false
921
+
922
+ # Offense count: 12
923
+ # Cop supports --auto-correct.
924
+ Style/SpaceAroundKeyword:
925
+ Exclude:
926
+ - 'lib/cucumber/cli/options.rb'
927
+ - 'lib/cucumber/cli/profile_loader.rb'
928
+ - 'lib/cucumber/formatter/html.rb'
929
+ - 'lib/cucumber/formatter/legacy_api/results.rb'
930
+ - 'lib/cucumber/multiline_argument/data_table.rb'
931
+ - 'lib/cucumber/rake/task.rb'
932
+ - 'lib/cucumber/glue/registry_and_more.rb'
933
+ - 'lib/cucumber/runtime/user_interface.rb'
934
+ - 'spec/cucumber/cli/profile_loader_spec.rb'
935
+
936
+ # Offense count: 25
937
+ # Cop supports --auto-correct.
938
+ # Configuration parameters: AllowForAlignment.
939
+ Style/SpaceAroundOperators:
940
+ Exclude:
941
+ - 'examples/i18n/Rakefile'
942
+ - 'examples/i18n/pt/lib/calculadora.rb'
943
+ - 'lib/cucumber/cli/options.rb'
944
+ - 'lib/cucumber/glue/invoke_in_world.rb'
945
+ - 'lib/cucumber/formatter/ansicolor.rb'
946
+ - 'lib/cucumber/formatter/console.rb'
947
+ - 'lib/cucumber/formatter/html.rb'
948
+ - 'lib/cucumber/formatter/interceptor.rb'
949
+ - 'lib/cucumber/formatter/json.rb'
950
+ - 'lib/cucumber/formatter/pretty.rb'
951
+ - 'lib/cucumber/glue/snippet.rb'
952
+ - 'lib/cucumber/step_definition_light.rb'
953
+ - 'spec/cucumber/cli/configuration_spec.rb'
954
+ - 'spec/cucumber/multiline_argument/data_table_spec.rb'
955
+ - 'spec/cucumber/glue/step_definition_spec.rb'
956
+
957
+ # Offense count: 88
958
+ # Cop supports --auto-correct.
959
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
960
+ # SupportedStyles: space, no_space
961
+ Style/SpaceBeforeBlockBraces:
962
+ Enabled: false
963
+
964
+ # Offense count: 27
965
+ # Cop supports --auto-correct.
966
+ Style/SpaceBeforeComma:
967
+ Exclude:
968
+ - 'lib/cucumber/term/ansicolor.rb'
969
+
970
+ # Offense count: 255
971
+ # Cop supports --auto-correct.
972
+ # Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
973
+ # SupportedStyles: space, no_space
974
+ Style/SpaceInsideBlockBraces:
975
+ Enabled: false
976
+
977
+ # Offense count: 84
978
+ # Cop supports --auto-correct.
979
+ Style/SpaceInsideBrackets:
980
+ Exclude:
981
+ - 'features/lib/support/fake_wire_server.rb'
982
+ - 'lib/cucumber/cli/options.rb'
983
+ - 'lib/cucumber/file_specs.rb'
984
+ - 'lib/cucumber/formatter/console_issues.rb'
985
+ - 'lib/cucumber/formatter/steps.rb'
986
+ - 'lib/cucumber/rake/task.rb'
987
+ - 'lib/cucumber/term/ansicolor.rb'
988
+ - 'spec/cucumber/formatter/legacy_api/adapter_spec.rb'
989
+ - 'spec/cucumber/multiline_argument/data_table_spec.rb'
990
+
991
+ # Offense count: 92
992
+ # Cop supports --auto-correct.
993
+ # Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles.
994
+ # SupportedStyles: space, no_space
995
+ Style/SpaceInsideHashLiteralBraces:
996
+ Enabled: false
997
+
998
+ # Offense count: 203
999
+ # Cop supports --auto-correct.
1000
+ Style/SpaceInsideParens:
1001
+ Exclude:
1002
+ - 'lib/cucumber/formatter/junit.rb'
1003
+ - 'lib/cucumber/step_match.rb'
1004
+ - 'spec/cucumber/formatter/legacy_api/adapter_spec.rb'
1005
+ - 'spec/cucumber/formatter/pretty_spec.rb'
1006
+ - 'spec/cucumber/formatter/rerun_spec.rb'
1007
+ - 'spec/cucumber/hooks_spec.rb'
1008
+ - 'spec/cucumber/multiline_argument/data_table_spec.rb'
1009
+ - 'spec/cucumber/rb_support/rb_world_spec.rb'
1010
+
1011
+ # Offense count: 89
1012
+ # Cop supports --auto-correct.
1013
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
1014
+ # SupportedStyles: use_perl_names, use_english_names
1015
+ Style/SpecialGlobalVars:
1016
+ Enabled: false
1017
+
1018
+ # Offense count: 14
1019
+ # Cop supports --auto-correct.
1020
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
1021
+ # SupportedStyles: single_quotes, double_quotes
1022
+ Style/StringLiteralsInInterpolation:
1023
+ Enabled: false
1024
+
1025
+ # Offense count: 3
1026
+ Style/StructInheritance:
1027
+ Exclude:
1028
+ - 'lib/cucumber/formatter/legacy_api/adapter.rb'
1029
+ - 'lib/cucumber/formatter/legacy_api/runtime_facade.rb'
1030
+
1031
+ # Offense count: 35
1032
+ # Cop supports --auto-correct.
1033
+ # Configuration parameters: IgnoredMethods.
1034
+ # IgnoredMethods: respond_to, define_method
1035
+ Style/SymbolProc:
1036
+ Exclude:
1037
+ - 'lib/cucumber/cli/options.rb'
1038
+ - 'lib/cucumber/errors.rb'
1039
+ - 'lib/cucumber/formatter/json.rb'
1040
+ - 'lib/cucumber/multiline_argument.rb'
1041
+ - 'lib/cucumber/multiline_argument/data_table.rb'
1042
+ - 'lib/cucumber/step_definitions.rb'
1043
+ - 'lib/cucumber/step_match.rb'
1044
+ - 'lib/cucumber/step_match_search.rb'
1045
+ - 'spec/cucumber/multiline_argument/data_table_spec.rb'
1046
+
1047
+ # Offense count: 69
1048
+ # Cop supports --auto-correct.
1049
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
1050
+ # SupportedStyles: final_newline, final_blank_line
1051
+ Style/TrailingBlankLines:
1052
+ Enabled: false
1053
+
1054
+ # Offense count: 18
1055
+ # Cop supports --auto-correct.
1056
+ # Reviewed: in pretty_spec.rb, progress_spec.rb offences look false,
1057
+ # as the trailing spaces are in multiline string literals
1058
+ Style/TrailingWhitespace:
1059
+ Exclude:
1060
+ - 'spec/cucumber/formatter/pretty_spec.rb'
1061
+ - 'spec/cucumber/formatter/progress_spec.rb'
1062
+
1063
+ # Offense count: 1
1064
+ # Cop supports --auto-correct.
1065
+ # Reviewed: when the offense is fixed there is one spec failing (./spec/cucumber/rb_support/rb_world_spec.rb:37)
1066
+ Style/UnneededInterpolation:
1067
+ Exclude:
1068
+ - 'lib/cucumber/glue/proto_world.rb'
1069
+
1070
+ # Offense count: 15
1071
+ # Configuration parameters: EnforcedStyle, SupportedStyles.
1072
+ # SupportedStyles: snake_case, camelCase
1073
+ # Reviewed: these offenses look false as the variables are in cyrillic
1074
+ Style/VariableName:
1075
+ Enabled: false