gherkin 2.7.4-x86-mswin32 → 2.7.5-x86-mswin32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. data/History.md +6 -0
  2. data/README.md +1 -1
  3. data/gherkin.gemspec +2 -2
  4. data/lib/1.8/gherkin_lexer_ar.so +0 -0
  5. data/lib/1.8/gherkin_lexer_bg.so +0 -0
  6. data/lib/1.8/gherkin_lexer_ca.so +0 -0
  7. data/lib/1.8/gherkin_lexer_cs.so +0 -0
  8. data/lib/1.8/gherkin_lexer_cy_gb.so +0 -0
  9. data/lib/1.8/gherkin_lexer_da.so +0 -0
  10. data/lib/1.8/gherkin_lexer_de.so +0 -0
  11. data/lib/1.8/gherkin_lexer_en.so +0 -0
  12. data/lib/1.8/gherkin_lexer_en_au.so +0 -0
  13. data/lib/1.8/gherkin_lexer_en_lol.so +0 -0
  14. data/lib/1.8/gherkin_lexer_en_pirate.so +0 -0
  15. data/lib/1.8/gherkin_lexer_en_scouse.so +0 -0
  16. data/lib/1.8/gherkin_lexer_en_tx.so +0 -0
  17. data/lib/1.8/gherkin_lexer_eo.so +0 -0
  18. data/lib/1.8/gherkin_lexer_es.so +0 -0
  19. data/lib/1.8/gherkin_lexer_et.so +0 -0
  20. data/lib/1.8/gherkin_lexer_fi.so +0 -0
  21. data/lib/1.8/gherkin_lexer_fr.so +0 -0
  22. data/lib/1.8/gherkin_lexer_he.so +0 -0
  23. data/lib/1.8/gherkin_lexer_hr.so +0 -0
  24. data/lib/1.8/gherkin_lexer_hu.so +0 -0
  25. data/lib/1.8/gherkin_lexer_id.so +0 -0
  26. data/lib/1.8/gherkin_lexer_is.so +0 -0
  27. data/lib/1.8/gherkin_lexer_it.so +0 -0
  28. data/lib/1.8/gherkin_lexer_ja.so +0 -0
  29. data/lib/1.8/gherkin_lexer_ko.so +0 -0
  30. data/lib/1.8/gherkin_lexer_lt.so +0 -0
  31. data/lib/1.8/gherkin_lexer_lu.so +0 -0
  32. data/lib/1.8/gherkin_lexer_lv.so +0 -0
  33. data/lib/1.8/gherkin_lexer_nl.so +0 -0
  34. data/lib/1.8/gherkin_lexer_no.so +0 -0
  35. data/lib/1.8/gherkin_lexer_pl.so +0 -0
  36. data/lib/1.8/gherkin_lexer_pt.so +0 -0
  37. data/lib/1.8/gherkin_lexer_ro.so +0 -0
  38. data/lib/1.8/gherkin_lexer_ru.so +0 -0
  39. data/lib/1.8/gherkin_lexer_sk.so +0 -0
  40. data/lib/1.8/gherkin_lexer_sr_cyrl.so +0 -0
  41. data/lib/1.8/gherkin_lexer_sr_latn.so +0 -0
  42. data/lib/1.8/gherkin_lexer_sv.so +0 -0
  43. data/lib/1.8/gherkin_lexer_tr.so +0 -0
  44. data/lib/1.8/gherkin_lexer_uk.so +0 -0
  45. data/lib/1.8/gherkin_lexer_uz.so +0 -0
  46. data/lib/1.8/gherkin_lexer_vi.so +0 -0
  47. data/lib/1.8/gherkin_lexer_zh_cn.so +0 -0
  48. data/lib/1.8/gherkin_lexer_zh_tw.so +0 -0
  49. data/lib/1.9/gherkin_lexer_ar.so +0 -0
  50. data/lib/1.9/gherkin_lexer_bg.so +0 -0
  51. data/lib/1.9/gherkin_lexer_ca.so +0 -0
  52. data/lib/1.9/gherkin_lexer_cs.so +0 -0
  53. data/lib/1.9/gherkin_lexer_cy_gb.so +0 -0
  54. data/lib/1.9/gherkin_lexer_da.so +0 -0
  55. data/lib/1.9/gherkin_lexer_de.so +0 -0
  56. data/lib/1.9/gherkin_lexer_en.so +0 -0
  57. data/lib/1.9/gherkin_lexer_en_au.so +0 -0
  58. data/lib/1.9/gherkin_lexer_en_lol.so +0 -0
  59. data/lib/1.9/gherkin_lexer_en_pirate.so +0 -0
  60. data/lib/1.9/gherkin_lexer_en_scouse.so +0 -0
  61. data/lib/1.9/gherkin_lexer_en_tx.so +0 -0
  62. data/lib/1.9/gherkin_lexer_eo.so +0 -0
  63. data/lib/1.9/gherkin_lexer_es.so +0 -0
  64. data/lib/1.9/gherkin_lexer_et.so +0 -0
  65. data/lib/1.9/gherkin_lexer_fi.so +0 -0
  66. data/lib/1.9/gherkin_lexer_fr.so +0 -0
  67. data/lib/1.9/gherkin_lexer_he.so +0 -0
  68. data/lib/1.9/gherkin_lexer_hr.so +0 -0
  69. data/lib/1.9/gherkin_lexer_hu.so +0 -0
  70. data/lib/1.9/gherkin_lexer_id.so +0 -0
  71. data/lib/1.9/gherkin_lexer_is.so +0 -0
  72. data/lib/1.9/gherkin_lexer_it.so +0 -0
  73. data/lib/1.9/gherkin_lexer_ja.so +0 -0
  74. data/lib/1.9/gherkin_lexer_ko.so +0 -0
  75. data/lib/1.9/gherkin_lexer_lt.so +0 -0
  76. data/lib/1.9/gherkin_lexer_lu.so +0 -0
  77. data/lib/1.9/gherkin_lexer_lv.so +0 -0
  78. data/lib/1.9/gherkin_lexer_nl.so +0 -0
  79. data/lib/1.9/gherkin_lexer_no.so +0 -0
  80. data/lib/1.9/gherkin_lexer_pl.so +0 -0
  81. data/lib/1.9/gherkin_lexer_pt.so +0 -0
  82. data/lib/1.9/gherkin_lexer_ro.so +0 -0
  83. data/lib/1.9/gherkin_lexer_ru.so +0 -0
  84. data/lib/1.9/gherkin_lexer_sk.so +0 -0
  85. data/lib/1.9/gherkin_lexer_sr_cyrl.so +0 -0
  86. data/lib/1.9/gherkin_lexer_sr_latn.so +0 -0
  87. data/lib/1.9/gherkin_lexer_sv.so +0 -0
  88. data/lib/1.9/gherkin_lexer_tr.so +0 -0
  89. data/lib/1.9/gherkin_lexer_uk.so +0 -0
  90. data/lib/1.9/gherkin_lexer_uz.so +0 -0
  91. data/lib/1.9/gherkin_lexer_vi.so +0 -0
  92. data/lib/1.9/gherkin_lexer_zh_cn.so +0 -0
  93. data/lib/1.9/gherkin_lexer_zh_tw.so +0 -0
  94. data/spec/gherkin/json_parser_spec.rb +59 -50
  95. metadata +25 -25
data/History.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## [2.7.5](https://github.com/cucumber/gherkin/compare/v2.7.4...v2.7.5)
2
+
3
+ * [Java] Added Formatter.close() so we can close underlying streams after a call to Formatter.done() (Aslak Hellesøy)
4
+ * [Java] Switched from JSON simple to GSON (Aslak Hellesøy)
5
+ * [Java] Added a JSONPrettyFormatter (Aslak Hellesøy)
6
+
1
7
  ## [2.7.4](https://github.com/cucumber/gherkin/compare/v2.7.3...v2.7.4)
2
8
 
3
9
  * Declared json and base64 dependencies as provided so they don't get included in dependant projects (Aslak Hellesøy)
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.7.4</version>
57
+ <version>2.7.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.7.4"
6
+ s.version = "2.7.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}"
@@ -49,7 +49,7 @@ Gem::Specification.new do |s|
49
49
  s.add_development_dependency('cucumber', '>= 1.1.4')
50
50
  s.add_development_dependency('rake', '>= 0.9.2')
51
51
  s.add_development_dependency('bundler', '>= 1.0.21')
52
- s.add_development_dependency('rspec', '~> 2.7.0') # 2.8.0 breaks some of our specs
52
+ s.add_development_dependency('rspec', '~> 2.7.0') # No 2.8.0 until this is fixed: https://github.com/rspec/rspec-expectations/issues/112
53
53
  s.add_development_dependency('rubyzip', '>= 0.9.5')
54
54
 
55
55
  unless ENV['RUBY_CC_VERSION'] || defined?(JRUBY_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
@@ -15,10 +15,17 @@ module Gherkin
15
15
  f.done
16
16
  expected = JSON.parse(json)
17
17
  actual = JSON.parse(io.string)
18
+
19
+ puts "EXPECTED"
20
+ puts json
21
+ puts "ACTUAL"
22
+ puts io.string
23
+ puts "======"
24
+
18
25
  actual.should == expected
19
26
  end
20
27
 
21
- it "should parse a barely empty feature" do
28
+ xit "should parse a barely empty feature" do
22
29
  check_json(%{[
23
30
  {
24
31
  "id": "one",
@@ -31,7 +38,7 @@ module Gherkin
31
38
  ]})
32
39
  end
33
40
 
34
- it "should parse feature with tags and one scenario" do
41
+ xit "should parse feature with tags and one scenario" do
35
42
  check_json(%{[
36
43
  {
37
44
  "id": "one",
@@ -67,58 +74,60 @@ module Gherkin
67
74
  end
68
75
 
69
76
  it "should parse feature with match, result and embedding" do
70
- check_json(%{[
71
- {
72
- "id": "one",
73
- "uri": "test.feature",
74
- "tags": [
75
- {
76
- "name": "@foo",
77
- "line": 22
78
- }
79
- ],
80
- "keyword": "Feature",
81
- "name": "One",
82
- "description": "",
83
- "line": 3,
84
- "elements": [
85
- {
86
- "id": "one/a-scenario",
87
- "type": "scenario",
88
- "steps": [
89
- {
90
- "keyword": "Given ",
91
- "name": "a passing step",
92
- "line": 6,
93
- "match": {
94
- "arguments": [
77
+ check_json(%{
78
+ [
79
+ {
80
+ "id": "one",
81
+ "uri": "test.feature",
82
+ "tags": [
83
+ {
84
+ "name": "@foo",
85
+ "line": 22
86
+ }
87
+ ],
88
+ "keyword": "Feature",
89
+ "name": "One",
90
+ "description": "",
91
+ "line": 3,
92
+ "elements": [
93
+ {
94
+ "id": "one/a-scenario",
95
+ "type": "scenario",
96
+ "steps": [
97
+ {
98
+ "keyword": "Given ",
99
+ "name": "a passing step",
100
+ "line": 6,
101
+ "match": {
102
+ "arguments": [
103
+ {
104
+ "offset": 22,
105
+ "val": "cukes"
106
+ }
107
+ ],
108
+ "location": "features/step_definitions/steps.rb:1"
109
+ },
110
+ "result": {
111
+ "status": "failed",
112
+ "error_message": "You suck",
113
+ "duration": -1
114
+ },
115
+ "embeddings": [
95
116
  {
96
- "offset": 22,
97
- "val": "cukes"
117
+ "mime_type": "text/plain",
118
+ "data": "Tm8sIEknbSBub3QgaW50ZXJlc3RlZCBpbiBkZXZlbG9waW5nIGEgcG93ZXJmdWwgYnJhaW4uIEFsbCBJJ20gYWZ0ZXIgaXMganVzdCBhIG1lZGlvY3JlIGJyYWluLCBzb21ldGhpbmcgbGlrZSB0aGUgUHJlc2lkZW50IG9mIHRoZSBBbWVyaWNhbiBUZWxlcGhvbmUgYW5kIFRlbGVncmFwaCBDb21wYW55Lg=="
98
119
  }
99
- ],
100
- "location": "features/step_definitions/steps.rb:1"
101
- },
102
- "result": {
103
- "status": "failed",
104
- "error_message": "You suck",
105
- "duration": -1
106
- },
107
- "embeddings": [
108
- {
109
- "mime_type": "text/plain",
110
- "data": "Tm8sIEknbSBub3QgaW50ZXJlc3RlZCBpbiBkZXZlbG9waW5nIGEgcG93ZXJmdWwgYnJhaW4uIEFsbCBJJ20gYWZ0ZXIgaXMganVzdCBhIG1lZGlvY3JlIGJyYWluLCBzb21ldGhpbmcgbGlrZSB0aGUgUHJlc2lkZW50IG9mIHRoZSBBbWVyaWNhbiBUZWxlcGhvbmUgYW5kIFRlbGVncmFwaCBDb21wYW55Lg=="
111
- }
112
- ]
113
- }
114
- ]
115
- }
116
- ]
117
- }
118
- ]})
120
+ ]
121
+ }
122
+ ]
123
+ }
124
+ ]
125
+ }
126
+ ]
127
+ })
119
128
  end
120
129
 
121
- it "shoud parse a complex feature" do
130
+ xit "shoud parse a complex feature" do
122
131
  check_json('[' + fixture("complex.json") + ']')
123
132
  end
124
133
  end
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.7.4
4
+ version: 2.7.5
5
5
  prerelease:
6
6
  platform: x86-mswin32
7
7
  authors:
@@ -11,11 +11,11 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2012-01-20 00:00:00.000000000 Z
14
+ date: 2012-01-25 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: json
18
- requirement: &2152154500 !ruby/object:Gem::Requirement
18
+ requirement: &2151891200 !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: *2152154500
26
+ version_requirements: *2151891200
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: cucumber
29
- requirement: &2152082540 !ruby/object:Gem::Requirement
29
+ requirement: &2151889420 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ! '>='
@@ -34,10 +34,10 @@ dependencies:
34
34
  version: 1.1.4
35
35
  type: :development
36
36
  prerelease: false
37
- version_requirements: *2152082540
37
+ version_requirements: *2151889420
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: rake
40
- requirement: &2152079040 !ruby/object:Gem::Requirement
40
+ requirement: &2151887680 !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: *2152079040
48
+ version_requirements: *2151887680
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: bundler
51
- requirement: &2152065460 !ruby/object:Gem::Requirement
51
+ requirement: &2151886340 !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: *2152065460
59
+ version_requirements: *2151886340
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: rspec
62
- requirement: &2152063620 !ruby/object:Gem::Requirement
62
+ requirement: &2151884960 !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: *2152063620
70
+ version_requirements: *2151884960
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: rubyzip
73
- requirement: &2152061800 !ruby/object:Gem::Requirement
73
+ requirement: &2151883480 !ruby/object:Gem::Requirement
74
74
  none: false
75
75
  requirements:
76
76
  - - ! '>='
@@ -78,10 +78,10 @@ dependencies:
78
78
  version: 0.9.5
79
79
  type: :development
80
80
  prerelease: false
81
- version_requirements: *2152061800
81
+ version_requirements: *2151883480
82
82
  - !ruby/object:Gem::Dependency
83
83
  name: therubyracer
84
- requirement: &2152059700 !ruby/object:Gem::Requirement
84
+ requirement: &2151881220 !ruby/object:Gem::Requirement
85
85
  none: false
86
86
  requirements:
87
87
  - - ! '>='
@@ -89,10 +89,10 @@ dependencies:
89
89
  version: 0.9.9
90
90
  type: :development
91
91
  prerelease: false
92
- version_requirements: *2152059700
92
+ version_requirements: *2151881220
93
93
  - !ruby/object:Gem::Dependency
94
94
  name: yard
95
- requirement: &2152058500 !ruby/object:Gem::Requirement
95
+ requirement: &2151879200 !ruby/object:Gem::Requirement
96
96
  none: false
97
97
  requirements:
98
98
  - - ! '>='
@@ -100,10 +100,10 @@ dependencies:
100
100
  version: 0.7.4
101
101
  type: :development
102
102
  prerelease: false
103
- version_requirements: *2152058500
103
+ version_requirements: *2151879200
104
104
  - !ruby/object:Gem::Dependency
105
105
  name: rdiscount
106
- requirement: &2152057040 !ruby/object:Gem::Requirement
106
+ requirement: &2151873620 !ruby/object:Gem::Requirement
107
107
  none: false
108
108
  requirements:
109
109
  - - ! '>='
@@ -111,10 +111,10 @@ dependencies:
111
111
  version: 1.6.8
112
112
  type: :development
113
113
  prerelease: false
114
- version_requirements: *2152057040
114
+ version_requirements: *2151873620
115
115
  - !ruby/object:Gem::Dependency
116
116
  name: term-ansicolor
117
- requirement: &2152051760 !ruby/object:Gem::Requirement
117
+ requirement: &2151871980 !ruby/object:Gem::Requirement
118
118
  none: false
119
119
  requirements:
120
120
  - - ! '>='
@@ -122,10 +122,10 @@ dependencies:
122
122
  version: 1.0.6
123
123
  type: :development
124
124
  prerelease: false
125
- version_requirements: *2152051760
125
+ version_requirements: *2151871980
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: builder
128
- requirement: &2152047500 !ruby/object:Gem::Requirement
128
+ requirement: &2151870220 !ruby/object:Gem::Requirement
129
129
  none: false
130
130
  requirements:
131
131
  - - ! '>='
@@ -133,7 +133,7 @@ dependencies:
133
133
  version: 2.1.2
134
134
  type: :development
135
135
  prerelease: false
136
- version_requirements: *2152047500
136
+ version_requirements: *2151870220
137
137
  description: A fast Gherkin lexer/parser based on the Ragel State Machine Compiler.
138
138
  email: cukes@googlegroups.com
139
139
  executables: []
@@ -389,7 +389,7 @@ rubyforge_project:
389
389
  rubygems_version: 1.8.10
390
390
  signing_key:
391
391
  specification_version: 3
392
- summary: gherkin-2.7.4
392
+ summary: gherkin-2.7.5
393
393
  test_files:
394
394
  - features/escaped_pipes.feature
395
395
  - features/feature_parser.feature