gherkin 2.6.4-x86-mingw32 → 2.6.5-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. data/.travis.yml +1 -1
  2. data/History.md +6 -0
  3. data/README.md +1 -1
  4. data/gherkin.gemspec +1 -1
  5. data/lib/1.8/gherkin_lexer_ar.so +0 -0
  6. data/lib/1.8/gherkin_lexer_bg.so +0 -0
  7. data/lib/1.8/gherkin_lexer_ca.so +0 -0
  8. data/lib/1.8/gherkin_lexer_cs.so +0 -0
  9. data/lib/1.8/gherkin_lexer_cy_gb.so +0 -0
  10. data/lib/1.8/gherkin_lexer_da.so +0 -0
  11. data/lib/1.8/gherkin_lexer_de.so +0 -0
  12. data/lib/1.8/gherkin_lexer_en.so +0 -0
  13. data/lib/1.8/gherkin_lexer_en_au.so +0 -0
  14. data/lib/1.8/gherkin_lexer_en_lol.so +0 -0
  15. data/lib/1.8/gherkin_lexer_en_pirate.so +0 -0
  16. data/lib/1.8/gherkin_lexer_en_scouse.so +0 -0
  17. data/lib/1.8/gherkin_lexer_en_tx.so +0 -0
  18. data/lib/1.8/gherkin_lexer_eo.so +0 -0
  19. data/lib/1.8/gherkin_lexer_es.so +0 -0
  20. data/lib/1.8/gherkin_lexer_et.so +0 -0
  21. data/lib/1.8/gherkin_lexer_fi.so +0 -0
  22. data/lib/1.8/gherkin_lexer_fr.so +0 -0
  23. data/lib/1.8/gherkin_lexer_he.so +0 -0
  24. data/lib/1.8/gherkin_lexer_hr.so +0 -0
  25. data/lib/1.8/gherkin_lexer_hu.so +0 -0
  26. data/lib/1.8/gherkin_lexer_id.so +0 -0
  27. data/lib/1.8/gherkin_lexer_is.so +0 -0
  28. data/lib/1.8/gherkin_lexer_it.so +0 -0
  29. data/lib/1.8/gherkin_lexer_ja.so +0 -0
  30. data/lib/1.8/gherkin_lexer_ko.so +0 -0
  31. data/lib/1.8/gherkin_lexer_lt.so +0 -0
  32. data/lib/1.8/gherkin_lexer_lu.so +0 -0
  33. data/lib/1.8/gherkin_lexer_lv.so +0 -0
  34. data/lib/1.8/gherkin_lexer_nl.so +0 -0
  35. data/lib/1.8/gherkin_lexer_no.so +0 -0
  36. data/lib/1.8/gherkin_lexer_pl.so +0 -0
  37. data/lib/1.8/gherkin_lexer_pt.so +0 -0
  38. data/lib/1.8/gherkin_lexer_ro.so +0 -0
  39. data/lib/1.8/gherkin_lexer_ru.so +0 -0
  40. data/lib/1.8/gherkin_lexer_sk.so +0 -0
  41. data/lib/1.8/gherkin_lexer_sr_cyrl.so +0 -0
  42. data/lib/1.8/gherkin_lexer_sr_latn.so +0 -0
  43. data/lib/1.8/gherkin_lexer_sv.so +0 -0
  44. data/lib/1.8/gherkin_lexer_tr.so +0 -0
  45. data/lib/1.8/gherkin_lexer_uk.so +0 -0
  46. data/lib/1.8/gherkin_lexer_uz.so +0 -0
  47. data/lib/1.8/gherkin_lexer_vi.so +0 -0
  48. data/lib/1.8/gherkin_lexer_zh_cn.so +0 -0
  49. data/lib/1.8/gherkin_lexer_zh_tw.so +0 -0
  50. data/lib/1.9/gherkin_lexer_ar.so +0 -0
  51. data/lib/1.9/gherkin_lexer_bg.so +0 -0
  52. data/lib/1.9/gherkin_lexer_ca.so +0 -0
  53. data/lib/1.9/gherkin_lexer_cs.so +0 -0
  54. data/lib/1.9/gherkin_lexer_cy_gb.so +0 -0
  55. data/lib/1.9/gherkin_lexer_da.so +0 -0
  56. data/lib/1.9/gherkin_lexer_de.so +0 -0
  57. data/lib/1.9/gherkin_lexer_en.so +0 -0
  58. data/lib/1.9/gherkin_lexer_en_au.so +0 -0
  59. data/lib/1.9/gherkin_lexer_en_lol.so +0 -0
  60. data/lib/1.9/gherkin_lexer_en_pirate.so +0 -0
  61. data/lib/1.9/gherkin_lexer_en_scouse.so +0 -0
  62. data/lib/1.9/gherkin_lexer_en_tx.so +0 -0
  63. data/lib/1.9/gherkin_lexer_eo.so +0 -0
  64. data/lib/1.9/gherkin_lexer_es.so +0 -0
  65. data/lib/1.9/gherkin_lexer_et.so +0 -0
  66. data/lib/1.9/gherkin_lexer_fi.so +0 -0
  67. data/lib/1.9/gherkin_lexer_fr.so +0 -0
  68. data/lib/1.9/gherkin_lexer_he.so +0 -0
  69. data/lib/1.9/gherkin_lexer_hr.so +0 -0
  70. data/lib/1.9/gherkin_lexer_hu.so +0 -0
  71. data/lib/1.9/gherkin_lexer_id.so +0 -0
  72. data/lib/1.9/gherkin_lexer_is.so +0 -0
  73. data/lib/1.9/gherkin_lexer_it.so +0 -0
  74. data/lib/1.9/gherkin_lexer_ja.so +0 -0
  75. data/lib/1.9/gherkin_lexer_ko.so +0 -0
  76. data/lib/1.9/gherkin_lexer_lt.so +0 -0
  77. data/lib/1.9/gherkin_lexer_lu.so +0 -0
  78. data/lib/1.9/gherkin_lexer_lv.so +0 -0
  79. data/lib/1.9/gherkin_lexer_nl.so +0 -0
  80. data/lib/1.9/gherkin_lexer_no.so +0 -0
  81. data/lib/1.9/gherkin_lexer_pl.so +0 -0
  82. data/lib/1.9/gherkin_lexer_pt.so +0 -0
  83. data/lib/1.9/gherkin_lexer_ro.so +0 -0
  84. data/lib/1.9/gherkin_lexer_ru.so +0 -0
  85. data/lib/1.9/gherkin_lexer_sk.so +0 -0
  86. data/lib/1.9/gherkin_lexer_sr_cyrl.so +0 -0
  87. data/lib/1.9/gherkin_lexer_sr_latn.so +0 -0
  88. data/lib/1.9/gherkin_lexer_sv.so +0 -0
  89. data/lib/1.9/gherkin_lexer_tr.so +0 -0
  90. data/lib/1.9/gherkin_lexer_uk.so +0 -0
  91. data/lib/1.9/gherkin_lexer_uz.so +0 -0
  92. data/lib/1.9/gherkin_lexer_vi.so +0 -0
  93. data/lib/1.9/gherkin_lexer_zh_cn.so +0 -0
  94. data/lib/1.9/gherkin_lexer_zh_tw.so +0 -0
  95. data/lib/gherkin/formatter/filter_formatter.rb +1 -0
  96. data/spec/gherkin/fixtures/issue_145.feature +22 -0
  97. data/spec/gherkin/formatter/filter_formatter_spec.rb +11 -1
  98. metadata +25 -23
@@ -12,4 +12,4 @@ notifications:
12
12
  - cukes-devs@googlegroups.com
13
13
  irc:
14
14
  - "irc.freenode.org#cucumber"
15
-
15
+
data/History.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## [2.6.5](https://github.com/cucumber/gherkin/compare/v2.6.4...v2.6.5)
2
+
3
+ ### Bugfixes
4
+
5
+ * Bad filtering when Scenario Outline+Examples followed by Scenario ([https://github.com/cucumber/gherkin/issues/145](#145) Aslak Hellesøy)
6
+
1
7
  ## [2.6.4](https://github.com/cucumber/gherkin/compare/v2.6.3...v2.6.4)
2
8
 
3
9
  ### Changed Features
data/README.md CHANGED
@@ -54,7 +54,7 @@ The jar file is in the central Maven repo.
54
54
  <dependency>
55
55
  <groupId>info.cukes</groupId>
56
56
  <artifactId>gherkin</artifactId>
57
- <version>2.6.4</version>
57
+ <version>2.6.5</version>
58
58
  </dependency>
59
59
 
60
60
  You can get it manually from [Maven Central](http://search.maven.org/#browse%7C-2073395818)
@@ -3,7 +3,7 @@
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "gherkin"
5
5
  # If bumping the major version here, comment out the cucumber dependency below and uncomment in the Gemfile to build against a local cucumber.
6
- s.version = "2.6.4"
6
+ s.version = "2.6.5"
7
7
  s.authors = ["Mike Sassak", "Gregory Hnatiuk", "Aslak Hellesøy"]
8
8
  s.description = "A fast Gherkin lexer/parser based on the Ragel State Machine Compiler."
9
9
  s.summary = "#{s.name}-#{s.version}"
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
@@ -128,6 +128,7 @@ module Gherkin
128
128
  @examples_events.clear
129
129
  @examples_tags.clear
130
130
  @examples_name = nil
131
+ @examples_range = nil
131
132
  end
132
133
 
133
134
  def replay_events!(events)
@@ -0,0 +1,22 @@
1
+ Feature: issue 145
2
+
3
+ Scenario: Scenario 1
4
+ Given some condition
5
+
6
+ Scenario Outline: Scenario 2
7
+ Given some condition
8
+ When I go to <page>
9
+ Then some assertion
10
+
11
+ Examples:
12
+ | page |
13
+ | /aaaa |
14
+ | /bbbb |
15
+ | /cccc |
16
+
17
+ Scenario: Scenario 3
18
+ Given some condition
19
+
20
+ Scenario: Scenario 4
21
+ Given some condition
22
+
@@ -28,7 +28,7 @@ module Gherkin
28
28
  expected = (line_ranges.map do |line_range|
29
29
  source_lines[(line_range.first-1..line_range.last-1)]
30
30
  end.flatten).join("\n").gsub(/# __EOF__/, '')
31
- io.string.should == expected
31
+ io.string.strip.should == expected.strip
32
32
  end
33
33
 
34
34
  context "tags" do
@@ -133,6 +133,16 @@ module Gherkin
133
133
  verify_filter([13], 1..7, 12..15)
134
134
  verify_filter([14], 1..7, 12..15)
135
135
  end
136
+
137
+ it "should fix issue 145" do
138
+ self.file = 'issue_145.feature'
139
+ verify_filter([14], 1..2, 6..12, 14..14)
140
+ end
141
+
142
+ it "should fix issue 145 more tests" do
143
+ self.file = 'issue_145.feature'
144
+ verify_filter([13,15,18], 1..2, 6..13, 15..15, 16..18)
145
+ end
136
146
  end
137
147
 
138
148
  context "on the same line as step keyword" do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gherkin
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.4
4
+ version: 2.6.5
5
5
  prerelease:
6
6
  platform: x86-mingw32
7
7
  authors:
@@ -11,11 +11,11 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2011-11-12 00:00:00.000000000 Z
14
+ date: 2011-11-15 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: json
18
- requirement: &2164367060 !ruby/object:Gem::Requirement
18
+ requirement: &2168676300 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,10 +23,10 @@ dependencies:
23
23
  version: 1.4.6
24
24
  type: :runtime
25
25
  prerelease: false
26
- version_requirements: *2164367060
26
+ version_requirements: *2168676300
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: cucumber
29
- requirement: &2164378860 !ruby/object:Gem::Requirement
29
+ requirement: &2168675660 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ! '>='
@@ -34,10 +34,10 @@ dependencies:
34
34
  version: 1.1.2
35
35
  type: :development
36
36
  prerelease: false
37
- version_requirements: *2164378860
37
+ version_requirements: *2168675660
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: rake
40
- requirement: &2164377280 !ruby/object:Gem::Requirement
40
+ requirement: &2168675040 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
43
  - - ! '>='
@@ -45,10 +45,10 @@ dependencies:
45
45
  version: 0.9.2
46
46
  type: :development
47
47
  prerelease: false
48
- version_requirements: *2164377280
48
+ version_requirements: *2168675040
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: bundler
51
- requirement: &2164375920 !ruby/object:Gem::Requirement
51
+ requirement: &2168674420 !ruby/object:Gem::Requirement
52
52
  none: false
53
53
  requirements:
54
54
  - - ! '>='
@@ -56,10 +56,10 @@ dependencies:
56
56
  version: 1.0.21
57
57
  type: :development
58
58
  prerelease: false
59
- version_requirements: *2164375920
59
+ version_requirements: *2168674420
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: rspec
62
- requirement: &2164630800 !ruby/object:Gem::Requirement
62
+ requirement: &2168673760 !ruby/object:Gem::Requirement
63
63
  none: false
64
64
  requirements:
65
65
  - - ! '>='
@@ -67,10 +67,10 @@ dependencies:
67
67
  version: 2.7.0
68
68
  type: :development
69
69
  prerelease: false
70
- version_requirements: *2164630800
70
+ version_requirements: *2168673760
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: therubyracer
73
- requirement: &2164629720 !ruby/object:Gem::Requirement
73
+ requirement: &2168673220 !ruby/object:Gem::Requirement
74
74
  none: false
75
75
  requirements:
76
76
  - - ! '>='
@@ -78,10 +78,10 @@ dependencies:
78
78
  version: 0.9.9
79
79
  type: :development
80
80
  prerelease: false
81
- version_requirements: *2164629720
81
+ version_requirements: *2168673220
82
82
  - !ruby/object:Gem::Dependency
83
83
  name: yard
84
- requirement: &2164628320 !ruby/object:Gem::Requirement
84
+ requirement: &2168672580 !ruby/object:Gem::Requirement
85
85
  none: false
86
86
  requirements:
87
87
  - - ! '>='
@@ -89,10 +89,10 @@ dependencies:
89
89
  version: 0.7.3
90
90
  type: :development
91
91
  prerelease: false
92
- version_requirements: *2164628320
92
+ version_requirements: *2168672580
93
93
  - !ruby/object:Gem::Dependency
94
94
  name: rdiscount
95
- requirement: &2164627040 !ruby/object:Gem::Requirement
95
+ requirement: &2168671900 !ruby/object:Gem::Requirement
96
96
  none: false
97
97
  requirements:
98
98
  - - ! '>='
@@ -100,10 +100,10 @@ dependencies:
100
100
  version: 1.6.8
101
101
  type: :development
102
102
  prerelease: false
103
- version_requirements: *2164627040
103
+ version_requirements: *2168671900
104
104
  - !ruby/object:Gem::Dependency
105
105
  name: term-ansicolor
106
- requirement: &2164649640 !ruby/object:Gem::Requirement
106
+ requirement: &2168671160 !ruby/object:Gem::Requirement
107
107
  none: false
108
108
  requirements:
109
109
  - - ! '>='
@@ -111,10 +111,10 @@ dependencies:
111
111
  version: 1.0.6
112
112
  type: :development
113
113
  prerelease: false
114
- version_requirements: *2164649640
114
+ version_requirements: *2168671160
115
115
  - !ruby/object:Gem::Dependency
116
116
  name: builder
117
- requirement: &2164648960 !ruby/object:Gem::Requirement
117
+ requirement: &2168670620 !ruby/object:Gem::Requirement
118
118
  none: false
119
119
  requirements:
120
120
  - - ! '>='
@@ -122,7 +122,7 @@ dependencies:
122
122
  version: 2.1.2
123
123
  type: :development
124
124
  prerelease: false
125
- version_requirements: *2164648960
125
+ version_requirements: *2168670620
126
126
  description: A fast Gherkin lexer/parser based on the Ragel State Machine Compiler.
127
127
  email: cukes@googlegroups.com
128
128
  executables: []
@@ -213,6 +213,7 @@ files:
213
213
  - spec/gherkin/fixtures/i18n_fr2.feature
214
214
  - spec/gherkin/fixtures/i18n_no.feature
215
215
  - spec/gherkin/fixtures/i18n_zh-CN.feature
216
+ - spec/gherkin/fixtures/issue_145.feature
216
217
  - spec/gherkin/fixtures/scenario_outline_with_tags.feature
217
218
  - spec/gherkin/fixtures/scenario_without_steps.feature
218
219
  - spec/gherkin/fixtures/simple_with_comments.feature
@@ -376,7 +377,7 @@ rubyforge_project:
376
377
  rubygems_version: 1.8.10
377
378
  signing_key:
378
379
  specification_version: 3
379
- summary: gherkin-2.6.4
380
+ summary: gherkin-2.6.5
380
381
  test_files:
381
382
  - features/escaped_pipes.feature
382
383
  - features/feature_parser.feature
@@ -406,6 +407,7 @@ test_files:
406
407
  - spec/gherkin/fixtures/i18n_fr2.feature
407
408
  - spec/gherkin/fixtures/i18n_no.feature
408
409
  - spec/gherkin/fixtures/i18n_zh-CN.feature
410
+ - spec/gherkin/fixtures/issue_145.feature
409
411
  - spec/gherkin/fixtures/scenario_outline_with_tags.feature
410
412
  - spec/gherkin/fixtures/scenario_without_steps.feature
411
413
  - spec/gherkin/fixtures/simple_with_comments.feature