cuke_modeler 1.5.0 → 3.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (129) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +341 -0
  3. data/LICENSE.txt +1 -1
  4. data/README.md +22 -15
  5. data/cuke_modeler.gemspec +15 -9
  6. data/lib/cuke_modeler/adapters/gherkin_10_adapter.rb +12 -0
  7. data/lib/cuke_modeler/adapters/gherkin_11_adapter.rb +12 -0
  8. data/lib/cuke_modeler/adapters/gherkin_12_adapter.rb +12 -0
  9. data/lib/cuke_modeler/adapters/gherkin_13_adapter.rb +12 -0
  10. data/lib/cuke_modeler/adapters/gherkin_14_adapter.rb +12 -0
  11. data/lib/cuke_modeler/adapters/{gherkin_6_adapter.rb → gherkin_9_adapter.rb} +75 -64
  12. data/lib/cuke_modeler/containing.rb +3 -0
  13. data/lib/cuke_modeler/described.rb +1 -0
  14. data/lib/cuke_modeler/models/background.rb +1 -1
  15. data/lib/cuke_modeler/models/cell.rb +1 -1
  16. data/lib/cuke_modeler/models/comment.rb +1 -1
  17. data/lib/cuke_modeler/models/directory.rb +2 -2
  18. data/lib/cuke_modeler/models/doc_string.rb +1 -1
  19. data/lib/cuke_modeler/models/example.rb +1 -1
  20. data/lib/cuke_modeler/models/feature.rb +1 -1
  21. data/lib/cuke_modeler/models/feature_file.rb +2 -2
  22. data/lib/cuke_modeler/models/outline.rb +1 -1
  23. data/lib/cuke_modeler/models/row.rb +1 -1
  24. data/lib/cuke_modeler/models/scenario.rb +1 -1
  25. data/lib/cuke_modeler/models/step.rb +32 -3
  26. data/lib/cuke_modeler/models/table.rb +1 -1
  27. data/lib/cuke_modeler/models/tag.rb +1 -1
  28. data/lib/cuke_modeler/named.rb +1 -0
  29. data/lib/cuke_modeler/nested.rb +1 -0
  30. data/lib/cuke_modeler/parsed.rb +1 -0
  31. data/lib/cuke_modeler/parsing.rb +89 -94
  32. data/lib/cuke_modeler/sourceable.rb +1 -0
  33. data/lib/cuke_modeler/stepped.rb +1 -0
  34. data/lib/cuke_modeler/taggable.rb +1 -0
  35. data/lib/cuke_modeler/version.rb +1 -1
  36. data/testing/cucumber/features/analysis/step_comparison.feature +25 -0
  37. data/testing/cucumber/features/analysis/test_comparison.feature +1 -1
  38. metadata +56 -142
  39. data/.gitignore +0 -18
  40. data/.simplecov +0 -7
  41. data/.travis.yml +0 -60
  42. data/Gemfile +0 -36
  43. data/History.md +0 -196
  44. data/Rakefile +0 -63
  45. data/appveyor.yml +0 -61
  46. data/lib/cuke_modeler/adapters/gherkin_2_adapter.rb +0 -273
  47. data/lib/cuke_modeler/adapters/gherkin_3_adapter.rb +0 -296
  48. data/lib/cuke_modeler/adapters/gherkin_4_adapter.rb +0 -308
  49. data/testing/cucumber/step_definitions/action_steps.rb +0 -13
  50. data/testing/cucumber/step_definitions/background_steps.rb +0 -1
  51. data/testing/cucumber/step_definitions/directory_steps.rb +0 -6
  52. data/testing/cucumber/step_definitions/doc_string_steps.rb +0 -1
  53. data/testing/cucumber/step_definitions/feature_file_steps.rb +0 -16
  54. data/testing/cucumber/step_definitions/feature_steps.rb +0 -7
  55. data/testing/cucumber/step_definitions/modeling_steps.rb +0 -44
  56. data/testing/cucumber/step_definitions/setup_steps.rb +0 -32
  57. data/testing/cucumber/step_definitions/step_steps.rb +0 -3
  58. data/testing/cucumber/step_definitions/table_steps.rb +0 -1
  59. data/testing/cucumber/step_definitions/tag_steps.rb +0 -3
  60. data/testing/cucumber/step_definitions/verification_steps.rb +0 -173
  61. data/testing/cucumber/support/env.rb +0 -30
  62. data/testing/dialect_helper.rb +0 -48
  63. data/testing/file_helper.rb +0 -47
  64. data/testing/gemfiles/gherkin2.gemfile +0 -32
  65. data/testing/gemfiles/gherkin3.gemfile +0 -26
  66. data/testing/gemfiles/gherkin4.gemfile +0 -27
  67. data/testing/gemfiles/gherkin5.gemfile +0 -27
  68. data/testing/gemfiles/gherkin6.gemfile +0 -10
  69. data/testing/rspec/spec/integration/background_integration_spec.rb +0 -442
  70. data/testing/rspec/spec/integration/cell_integration_spec.rb +0 -335
  71. data/testing/rspec/spec/integration/comment_integration_spec.rb +0 -177
  72. data/testing/rspec/spec/integration/directory_integration_spec.rb +0 -218
  73. data/testing/rspec/spec/integration/doc_string_integration_spec.rb +0 -402
  74. data/testing/rspec/spec/integration/example_integration_spec.rb +0 -741
  75. data/testing/rspec/spec/integration/feature_file_integration_spec.rb +0 -272
  76. data/testing/rspec/spec/integration/feature_integration_spec.rb +0 -650
  77. data/testing/rspec/spec/integration/gherkin_2_adapter_spec.rb +0 -166
  78. data/testing/rspec/spec/integration/gherkin_3_adapter_spec.rb +0 -166
  79. data/testing/rspec/spec/integration/gherkin_4_adapter_spec.rb +0 -165
  80. data/testing/rspec/spec/integration/gherkin_6_adapter_spec.rb +0 -166
  81. data/testing/rspec/spec/integration/model_integration_spec.rb +0 -15
  82. data/testing/rspec/spec/integration/nested_integration_spec.rb +0 -91
  83. data/testing/rspec/spec/integration/outline_integration_spec.rb +0 -624
  84. data/testing/rspec/spec/integration/parsing_integration_spec.rb +0 -122
  85. data/testing/rspec/spec/integration/row_integration_spec.rb +0 -291
  86. data/testing/rspec/spec/integration/scenario_integration_spec.rb +0 -479
  87. data/testing/rspec/spec/integration/shared/models_integration_specs.rb +0 -18
  88. data/testing/rspec/spec/integration/step_integration_spec.rb +0 -475
  89. data/testing/rspec/spec/integration/table_integration_spec.rb +0 -337
  90. data/testing/rspec/spec/integration/tag_integration_spec.rb +0 -259
  91. data/testing/rspec/spec/spec_helper.rb +0 -122
  92. data/testing/rspec/spec/unit/background_unit_spec.rb +0 -83
  93. data/testing/rspec/spec/unit/cell_unit_spec.rb +0 -68
  94. data/testing/rspec/spec/unit/comment_unit_spec.rb +0 -68
  95. data/testing/rspec/spec/unit/described_unit_spec.rb +0 -23
  96. data/testing/rspec/spec/unit/directory_unit_spec.rb +0 -127
  97. data/testing/rspec/spec/unit/doc_string_unit_spec.rb +0 -100
  98. data/testing/rspec/spec/unit/example_unit_spec.rb +0 -133
  99. data/testing/rspec/spec/unit/feature_file_unit_spec.rb +0 -125
  100. data/testing/rspec/spec/unit/feature_unit_spec.rb +0 -157
  101. data/testing/rspec/spec/unit/model_unit_spec.rb +0 -15
  102. data/testing/rspec/spec/unit/named_unit_spec.rb +0 -23
  103. data/testing/rspec/spec/unit/nested_unit_spec.rb +0 -43
  104. data/testing/rspec/spec/unit/outline_unit_spec.rb +0 -117
  105. data/testing/rspec/spec/unit/parsed_unit_spec.rb +0 -27
  106. data/testing/rspec/spec/unit/parsing_unit_spec.rb +0 -54
  107. data/testing/rspec/spec/unit/row_unit_spec.rb +0 -68
  108. data/testing/rspec/spec/unit/scenario_unit_spec.rb +0 -86
  109. data/testing/rspec/spec/unit/shared/bare_bones_models_unit_specs.rb +0 -14
  110. data/testing/rspec/spec/unit/shared/containing_models_unit_specs.rb +0 -127
  111. data/testing/rspec/spec/unit/shared/described_models_unit_specs.rb +0 -38
  112. data/testing/rspec/spec/unit/shared/keyworded_models_unit_specs.rb +0 -58
  113. data/testing/rspec/spec/unit/shared/models_unit_specs.rb +0 -15
  114. data/testing/rspec/spec/unit/shared/named_models_unit_specs.rb +0 -39
  115. data/testing/rspec/spec/unit/shared/nested_models_unit_specs.rb +0 -51
  116. data/testing/rspec/spec/unit/shared/parsed_models_unit_specs.rb +0 -39
  117. data/testing/rspec/spec/unit/shared/prepopulated_models_unit_specs.rb +0 -18
  118. data/testing/rspec/spec/unit/shared/sourced_models_unit_specs.rb +0 -39
  119. data/testing/rspec/spec/unit/shared/stepped_models_unit_specs.rb +0 -46
  120. data/testing/rspec/spec/unit/shared/stringifiable_models_unit_specs.rb +0 -18
  121. data/testing/rspec/spec/unit/shared/tagged_models_unit_specs.rb +0 -72
  122. data/testing/rspec/spec/unit/sourceable_unit_spec.rb +0 -27
  123. data/testing/rspec/spec/unit/step_unit_spec.rb +0 -109
  124. data/testing/rspec/spec/unit/stepped_unit_spec.rb +0 -23
  125. data/testing/rspec/spec/unit/table_unit_spec.rb +0 -77
  126. data/testing/rspec/spec/unit/tag_unit_spec.rb +0 -68
  127. data/testing/rspec/spec/unit/taggable_unit_spec.rb +0 -69
  128. data/testing/test_languages.json +0 -45
  129. data/todo.txt +0 -24
data/.gitignore DELETED
@@ -1,18 +0,0 @@
1
- *.gem
2
- *.rbc
3
- .bundle
4
- .config
5
- .yardoc
6
- Gemfile.lock
7
- InstalledFiles
8
- _yardoc
9
- coverage
10
- doc/
11
- lib/bundler/man
12
- pkg
13
- rdoc
14
- spec/reports
15
- test/tmp
16
- test/version_tmp
17
- tmp
18
- .idea/*
data/.simplecov DELETED
@@ -1,7 +0,0 @@
1
- SimpleCov.start do
2
- root File.dirname(__FILE__)
3
-
4
- add_filter '/testing/'
5
-
6
- merge_timeout 300
7
- end
@@ -1,60 +0,0 @@
1
- os:
2
- - linux
3
- - osx
4
-
5
- language: ruby
6
- rvm:
7
- - 1.8.7
8
- - 1.9.3
9
- - 2.3.8
10
- - 2.4.5
11
- - 2.5.3
12
- - 2.6.0
13
- - jruby-9.1.7.0
14
-
15
- gemfile:
16
- - testing/gemfiles/gherkin2.gemfile
17
- - testing/gemfiles/gherkin3.gemfile
18
- - testing/gemfiles/gherkin4.gemfile
19
- - testing/gemfiles/gherkin5.gemfile
20
- - testing/gemfiles/gherkin6.gemfile
21
-
22
- matrix:
23
- exclude:
24
- # gherkin 3.x does not work with Ruby 1.8.x
25
- - rvm: 1.8.7
26
- gemfile: testing/gemfiles/gherkin3.gemfile
27
- # gherkin 4.x does not work with Ruby 1.8.x
28
- - rvm: 1.8.7
29
- gemfile: testing/gemfiles/gherkin4.gemfile
30
- # gherkin 5.x does not work with Ruby 1.8.x
31
- - rvm: 1.8.7
32
- gemfile: testing/gemfiles/gherkin5.gemfile
33
- # gherkin 6.x does not work with Ruby 1.8.x
34
- - rvm: 1.8.7
35
- gemfile: testing/gemfiles/gherkin6.gemfile
36
- # gherkin 6.x does not work with Ruby 1.9.x
37
- - rvm: 1.9.3
38
- gemfile: testing/gemfiles/gherkin6.gemfile
39
-
40
- # TODO: use once protobuf is updated
41
- # gherkin 6.x uses protobuf, which does not work with Ruby 2.6.x
42
- - rvm: 2.6.0
43
- gemfile: testing/gemfiles/gherkin6.gemfile
44
-
45
- # TODO: turn this back on
46
- # gherkin 6.x relies on 'google-protobuf', which does not currently work on JRuby (https://github.com/protocolbuffers/protobuf/issues/1594)
47
- - rvm: jruby-9.1.7.0
48
- gemfile: testing/gemfiles/gherkin6.gemfile
49
-
50
- # Travis does not provide 1.8.7 on OSX
51
- - rvm: 1.8.7
52
- os: osx
53
- # Travis does not provide 1.9.3 on OSX
54
- - rvm: 1.9.3
55
- os: osx
56
-
57
- before_install:
58
- - gem install bundler -v '< 2'
59
-
60
- script: bundle exec rake cuke_modeler:ci_build
data/Gemfile DELETED
@@ -1,36 +0,0 @@
1
- source 'http://rubygems.org'
2
-
3
- # Specify your gem's dependencies in cuke_modeler.gemspec
4
- gemspec
5
-
6
- # cuke_modeler can play with pretty much any version of these but they all play differently with Ruby
7
-
8
- if RUBY_VERSION =~ /^1\./
9
-
10
- if RbConfig::CONFIG['host_os'].downcase =~ /mswin|msys|mingw32/
11
- gem 'ffi', '< 1.9.15' # The 'ffi' gem, for Windows, requires Ruby 2.x on/after this version
12
- end
13
-
14
- gem 'unf_ext', '< 0.0.7.3' # Requires Ruby 2.x on/after this version
15
- gem 'tins', '< 1.7' # The 'tins' gem requires Ruby 2.x on/after this version
16
- gem 'json', '< 2.0' # The 'json' gem drops pre-Ruby 2.x support on/after this version
17
- gem 'term-ansicolor', '< 1.4' # The 'term-ansicolor' gem requires Ruby 2.x on/after this version
18
-
19
- if RUBY_VERSION =~ /^1\.8/
20
- gem 'cucumber', '~> 1.0' # Ruby 1.8.x support dropped after this version
21
- gem 'gherkin', '< 2.12.1' # Ruby 1.8.x support dropped after this version
22
- gem 'rake', '< 11.0' # Ruby 1.8.x support dropped after this version
23
- else
24
- gem 'rake', '< 12.3.0' # Ruby 1.9.x support dropped after this version
25
- gem 'cucumber', '< 3.0.0' # Ruby 1.9.x support dropped after this version
26
- end
27
-
28
- elsif RUBY_VERSION =~ /^2\./
29
-
30
- if RUBY_VERSION =~ /^2\.[23456789]/
31
- gem 'test-unit'
32
- end
33
-
34
- gem 'gherkin', '~> 6.0'
35
- gem 'cucumber', '~>4.0.rc'
36
- end
data/History.md DELETED
@@ -1,196 +0,0 @@
1
- ### Version 1.5.0 / 2019-01-13
2
-
3
- * Added methods to easily run elements of an arbitrarily rooted model tree through a given block of code.
4
-
5
-
6
- ### Version 1.4.0 / 2018-11-14
7
-
8
- * Now compatible with Gherkin 6.x.
9
-
10
-
11
- ### Version 1.3.0 / 2017-10-19
12
-
13
- * Now compatible with Gherkin 5.x.
14
-
15
-
16
- ### Version 1.2.1 / 2017-04-25
17
-
18
- * Now officially compatible with Rake 12.x.
19
-
20
-
21
- ### Version 1.2.0 / 2016-11-23
22
-
23
- * The comments in a feature file are now a modeled element.
24
-
25
-
26
- ### Version 1.1.1 / 2016-10-28
27
-
28
- * Bug fix - Abstract instantiation of models when using a non-default dialect
29
- now works correctly.
30
-
31
-
32
- ### Version 1.1.0 / 2016-10-28
33
-
34
- * Support added for non-English dialects. This gem should now be able to model
35
- feature files using any dialect supported by the 'gherkin' gem.
36
-
37
- * Models for elements of Gherkin that have keywords (e.g. 'Feature', 'Scenario',
38
- 'Examples') now keep track of the keyword used by the element that they model.
39
-
40
- * Bug fix - Fixed a bug that was causing example models to output extra newline
41
- characters under certain circumstances.
42
-
43
-
44
- ### Version 1.0.4 / 2016-10-07
45
-
46
- * Bug Fix - Fixed a bug that caused some models to include nil objects in their
47
- children collection if they did not have the relevant child object.
48
-
49
-
50
- ### Version 1.0.3 / 2016-09-12
51
-
52
- * Fixed a gem dependency that was accidentally declared with '<=' instead of '<'.
53
-
54
-
55
- ### Version 1.0.2 / 2016-09-12
56
-
57
- * A more detailed gem description and summary have been added to the gemspec.
58
-
59
- * The gem now declares version limits on its dependencies.
60
-
61
- * Badges for the current status of the project have been added to the Readme.
62
-
63
-
64
- ### Version 1.0.1 / 2016-09-10
65
-
66
- * In the Readme file, added a link to the published documentation.
67
-
68
-
69
- ### Version 1.0.0 / 2016-09-08
70
-
71
- * All modeled elements of a Cucumber test suite are now modeled with actual
72
- classes. Previously, some elements (such as tags or rows in an example table)
73
- were modeled with simple strings.
74
-
75
- * A base model class has been added in order to simplify adding new element
76
- models. Other classes and modules used for organizing common model behavior
77
- have been created/removed/renamed.
78
-
79
- * Feature file models now only have a single feature model instead of a
80
- collection of them (that would only ever have one item in it).
81
-
82
- * Rows in an example table and rows in a step table no longer use two different
83
- classes for modeling.
84
-
85
- * Background models can now be compared to other models that have steps (i.e.
86
- scenarios and outlines).
87
-
88
- * All models for Gherkin elements now track the line number from which they
89
- originate in a source file.
90
-
91
- * The source line of a model is now a mutable attribute instead of being read
92
- only.
93
-
94
- * The file path of a feature file is now a mutable attribute instead of being
95
- read only.
96
-
97
- * Standardized the initial values of the attributes of abstractly created
98
- models so that they are consistent across model types.
99
-
100
- * Added specific ancestor types for scenario, outline, and background models as
101
- alternatives to the generic 'test' ancestor type.
102
-
103
- * Extra whitespace around parsed element descriptions is now trimmed away
104
- before being stored in a model.
105
-
106
- * Adding rows to examples via hashes can now be done without regard to the
107
- order of the keys in the hash. The correct order can be determined by the
108
- model.
109
-
110
- * The saved parsing data that is generated by the 'gherkin' gem is no longer
111
- duplicated for each model, resulting in significantly less memory usage.
112
-
113
- * String output of models has been improved. More special characters in Gherkin
114
- (e.g. vertical bars in rows) are appropriately escaped in the string output
115
- of a model and several minor bugs related to using model string output as the
116
- input text for new models have been fixed.
117
-
118
- * Removed the backdoor used to pass around model data during the model creation
119
- process. Model input can now only be text.
120
-
121
- * Simple counting methods have been removed. Ruby's collection methods are just
122
- as easy to use directly when dealing with classes that contain collections
123
- and the removal of these counting methods simplifies the codebase.
124
-
125
- * The 'World' module has been removed. The scope of this gem is to model files
126
- written in Gherkin. Concepts like 'step definitions' and 'hooks' are better
127
- left to libraries that include (possibly programming language specific) test
128
- execution logic within their scope of concern.
129
-
130
- * Step models no longer have 'arguments' because they require the concept of
131
- step definitions, which are no longer within the scope of this gem.
132
-
133
- * Removed deprecated behavior
134
- - Marked
135
- - Doc strings no longer use an array of strings to model their content
136
- - Tables no longer use nested arrays of strings to model their rows
137
- - Models that have descriptions no longer use an array of strings to
138
- model their description
139
- - The convenient (read: awkward) #step_text has been removed.
140
- - Unmarked
141
- - Examples no longer use an array of hashes to model their rows
142
-
143
- * Various methods have been renamed.
144
-
145
-
146
- ### Version 0.4.1 / 2016-05-12
147
-
148
- * Increased the flexibility of input when adding rows to an Example object. Non-
149
- string values can now be used as input and they will be converted into
150
- strings. Original input objects are not modified.
151
-
152
- * Added some error checking around adding value rows to an Example object
153
- without adding a parameter row as well.
154
-
155
-
156
- ### Version 0.4.0 / 2016-05-01
157
-
158
- * The path of a Directory object is now a changeable attribute instead of only
159
- being populated if the instance was given a diretory to model.
160
-
161
- * Bug fix - Fixed a bug that occurred if a Directory object was asked for its
162
- \#name when it was created as 'abstract' instead of modeling an existing
163
- directory.
164
-
165
-
166
- ### Version 0.3.0 / 2016-04-24
167
-
168
- * Support for version 4.x of the 'gherkin' gem added.
169
-
170
- * Bug fix - Fixed a bug that was preventing Example objects from being created
171
- from text if that text had less Gherkin structure than normal.
172
-
173
-
174
- ### Version 0.2.0 / 2016-02-21
175
-
176
- * Better error feedback when parsing errors are encountered. It is now easier
177
- to tell which file contained invalid Gherkin.
178
-
179
-
180
- ### Version 0.1.0 / 2016-02-10
181
-
182
- * Support for version 3.x of the 'gherkin' gem added.
183
-
184
- * Bug fix - The saved parsing data that is generated by the 'gherkin' gem is no
185
- longer modified by the rest of the model creation process.
186
-
187
-
188
- ### Version 0.0.2 / 2015-11-22
189
-
190
- * Bug fix - Fixed a bug that was causing object comparison using #== to not
191
- work when comparing some models to other types of objects.
192
-
193
-
194
- ### Version 0.0.1 / 2014-06-02
195
-
196
- * Initial release
data/Rakefile DELETED
@@ -1,63 +0,0 @@
1
- require "bundler/gem_tasks"
2
- require 'coveralls/rake/task'
3
-
4
- require 'racatt'
5
-
6
-
7
- namespace 'cuke_modeler' do
8
-
9
- task :clear_coverage do
10
- code_coverage_directory = "#{File.dirname(__FILE__)}/coverage"
11
-
12
- FileUtils.remove_dir(code_coverage_directory, true)
13
- end
14
-
15
-
16
- Racatt.create_tasks
17
-
18
- # Redefining the task from 'racatt' in order to clear the code coverage results
19
- task :test_everything => :clear_coverage
20
-
21
-
22
- # The task that CI will use
23
- Coveralls::RakeTask.new
24
- task :ci_build => [:smart_test, 'coveralls:push']
25
-
26
- desc 'Test gem based on Ruby/dependency versions'
27
- task :smart_test do |t, args|
28
- rspec_args = '--tag ~@wip --pattern testing/rspec/spec/**/*_spec.rb'
29
-
30
- cucumber_version = Gem.loaded_specs['cucumber'].version.version
31
-
32
- if cucumber_version =~ /^[123]\./
33
- cucumber_args = 'testing/cucumber/features -r testing/cucumber/support -r testing/cucumber/step_definitions -f progress -t ~@wip'
34
- else
35
- cucumber_args = "testing/cucumber/features -r testing/cucumber/support -r testing/cucumber/step_definitions -f progress -t 'not @wip'"
36
- end
37
-
38
- Rake::Task['cuke_modeler:test_everything'].invoke(rspec_args, cucumber_args)
39
- end
40
-
41
-
42
- # The task used to publish the current feature file documentation to Relish
43
- desc 'Publish feature files to Relish'
44
- task :publish_features do
45
- # Get existing versions
46
- this_dir = File.dirname(__FILE__)
47
- output = `relish versions enkessler/CukeModeler`
48
-
49
- # Add the current version if it doesn't exist
50
- unless output =~ /#{Regexp.escape(CukeModeler::VERSION)}/
51
- output = `relish versions:add enkessler/CukeModeler:#{CukeModeler::VERSION}`
52
- puts output
53
- end
54
-
55
- # Publish the features
56
- output = `relish push enkessler/CukeModeler:#{CukeModeler::VERSION} path #{this_dir}/testing/cucumber`
57
- puts output
58
- end
59
-
60
- end
61
-
62
-
63
- task :default => 'cuke_modeler:smart_test'
@@ -1,61 +0,0 @@
1
- version: '1.0.{build}'
2
-
3
- environment:
4
- matrix:
5
-
6
- # Gherkin 2.x does not appear to support 32-bit Ruby 2.x and it's not worth it to investigate if this is true or not
7
- - RUBY_VERSION: 24-x64
8
- BUNDLE_GEMFILE: testing/gemfiles/gherkin2.gemfile
9
- - RUBY_VERSION: 25-x64
10
- BUNDLE_GEMFILE: testing/gemfiles/gherkin2.gemfile
11
-
12
- - RUBY_VERSION: 24
13
- BUNDLE_GEMFILE: testing/gemfiles/gherkin3.gemfile
14
- - RUBY_VERSION: 24-x64
15
- BUNDLE_GEMFILE: testing/gemfiles/gherkin3.gemfile
16
- - RUBY_VERSION: 25
17
- BUNDLE_GEMFILE: testing/gemfiles/gherkin3.gemfile
18
- - RUBY_VERSION: 25-x64
19
- BUNDLE_GEMFILE: testing/gemfiles/gherkin3.gemfile
20
-
21
- - RUBY_VERSION: 24
22
- BUNDLE_GEMFILE: testing/gemfiles/gherkin4.gemfile
23
- - RUBY_VERSION: 24-x64
24
- BUNDLE_GEMFILE: testing/gemfiles/gherkin4.gemfile
25
- - RUBY_VERSION: 25
26
- BUNDLE_GEMFILE: testing/gemfiles/gherkin4.gemfile
27
- - RUBY_VERSION: 25-x64
28
- BUNDLE_GEMFILE: testing/gemfiles/gherkin4.gemfile
29
-
30
- - RUBY_VERSION: 24
31
- BUNDLE_GEMFILE: testing/gemfiles/gherkin5.gemfile
32
- - RUBY_VERSION: 24-x64
33
- BUNDLE_GEMFILE: testing/gemfiles/gherkin5.gemfile
34
- - RUBY_VERSION: 25
35
- BUNDLE_GEMFILE: testing/gemfiles/gherkin5.gemfile
36
- - RUBY_VERSION: 25-x64
37
- BUNDLE_GEMFILE: testing/gemfiles/gherkin5.gemfile
38
-
39
- # Gherkin 6.x requires at least Ruby 2.2
40
- - RUBY_VERSION: 24
41
- BUNDLE_GEMFILE: testing/gemfiles/gherkin6.gemfile
42
- - RUBY_VERSION: 24-x64
43
- BUNDLE_GEMFILE: testing/gemfiles/gherkin6.gemfile
44
- - RUBY_VERSION: 25
45
- BUNDLE_GEMFILE: testing/gemfiles/gherkin6.gemfile
46
- - RUBY_VERSION: 25-x64
47
- BUNDLE_GEMFILE: testing/gemfiles/gherkin6.gemfile
48
-
49
- install:
50
- - set PATH=C:\Ruby%RUBY_VERSION%\bin;%PATH%
51
- - bundle install
52
-
53
- build: off
54
-
55
- before_test:
56
- - ruby -v
57
- - gem -v
58
- - bundle -v
59
-
60
- test_script:
61
- - bundle exec rake