gherkin 2.6.0 → 2.6.1

Sign up to get free protection for your applications and to get access to all the features.
data/.travis.yml ADDED
@@ -0,0 +1,14 @@
1
+ rvm:
2
+ - 1.9.3
3
+ - 1.9.2
4
+ - 1.8.7
5
+ # whitelist
6
+ branches:
7
+ only:
8
+ - master
9
+ # Needed to build lexers
10
+ before_script: sudo apt-get install -y ragel
11
+
12
+ notifications:
13
+ email:
14
+ - cukes-devs@googlegroups.com
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- gherkin (2.6.0)
4
+ gherkin (2.6.1)
5
5
  json (>= 1.4.6)
6
6
 
7
7
  GEM
data/History.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## [2.6.1](https://github.com/cucumber/gherkin/compare/v2.6.0...v2.6.1)
2
+
3
+ ### Bugfixes
4
+
5
+ * Fixed a regression on 1.8.7 (Aslak Hellesøy)
6
+
1
7
  ## [2.6.0](https://github.com/cucumber/gherkin/compare/v2.5.4...v2.6.0)
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.0</version>
57
+ <version>2.6.1</version>
58
58
  </dependency>
59
59
 
60
60
  You can get it manually from [Maven Central](http://search.maven.org/#browse%7C-2073395818)
data/cucumber.yml CHANGED
@@ -1,3 +1,4 @@
1
1
  default: --format pretty --tags ~@pending,~@wip --strict --color features
2
2
  wip: --format pretty --tags @wip --wip features
3
3
  pending: --format pretty --tags @pending,~@native_lexer
4
+ travis: --format pretty --tags ~@cucumber-source-available
@@ -1,3 +1,4 @@
1
+ @cucumber-source-available
1
2
  Feature: Pretty Formatter
2
3
  In order to have pretty gherkin
3
4
  I want to verify that all prettified cucumber features parse OK
@@ -16,7 +16,7 @@ end
16
16
 
17
17
  Then /^there should be parse errors on (lines .*)$/ do |lines|
18
18
  lines.each do |line|
19
- Then "there should be a parse error on line #{line}"
19
+ step "there should be a parse error on line #{line}"
20
20
  end
21
21
  end
22
22
 
data/gherkin.gemspec CHANGED
@@ -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.0"
6
+ s.version = "2.6.1"
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}"
@@ -57,7 +57,7 @@ module Gherkin
57
57
 
58
58
  def step(keyword, name, line)
59
59
  replay_step_or_examples
60
- @stash.basic_statement do |comments|
60
+ @stash.basic_statement do |comments, id|
61
61
  @current_builder = Formatter::Model::Step::Builder.new(comments, keyword, name, line)
62
62
  end
63
63
  end
data/tasks/cucumber.rake CHANGED
@@ -3,7 +3,8 @@ unless ENV['RUBY_CC_VERSION']
3
3
  require 'cucumber/rake/task'
4
4
 
5
5
  Cucumber::Rake::Task.new(:cucumber) do |t|
6
- t.cucumber_opts = "--profile default"
6
+ profile = ENV['TRAVIS'] ? 'travis' : 'default'
7
+ t.cucumber_opts = "--profile #{profile}"
7
8
  end
8
9
 
9
10
  namespace :cucumber 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.0
4
+ version: 2.6.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -15,7 +15,7 @@ date: 2011-10-30 00:00:00.000000000Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: rake-compiler
18
- requirement: &2156601980 !ruby/object:Gem::Requirement
18
+ requirement: &2153100060 !ruby/object:Gem::Requirement
19
19
  none: false
20
20
  requirements:
21
21
  - - ! '>='
@@ -23,10 +23,10 @@ dependencies:
23
23
  version: 0.7.9
24
24
  type: :development
25
25
  prerelease: false
26
- version_requirements: *2156601980
26
+ version_requirements: *2153100060
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: json
29
- requirement: &2156580920 !ruby/object:Gem::Requirement
29
+ requirement: &2153090700 !ruby/object:Gem::Requirement
30
30
  none: false
31
31
  requirements:
32
32
  - - ! '>='
@@ -34,10 +34,10 @@ dependencies:
34
34
  version: 1.4.6
35
35
  type: :runtime
36
36
  prerelease: false
37
- version_requirements: *2156580920
37
+ version_requirements: *2153090700
38
38
  - !ruby/object:Gem::Dependency
39
39
  name: cucumber
40
- requirement: &2156579660 !ruby/object:Gem::Requirement
40
+ requirement: &2153089300 !ruby/object:Gem::Requirement
41
41
  none: false
42
42
  requirements:
43
43
  - - ! '>='
@@ -45,10 +45,10 @@ dependencies:
45
45
  version: 1.1.1
46
46
  type: :development
47
47
  prerelease: false
48
- version_requirements: *2156579660
48
+ version_requirements: *2153089300
49
49
  - !ruby/object:Gem::Dependency
50
50
  name: rake
51
- requirement: &2156533700 !ruby/object:Gem::Requirement
51
+ requirement: &2153087520 !ruby/object:Gem::Requirement
52
52
  none: false
53
53
  requirements:
54
54
  - - ! '>='
@@ -56,10 +56,10 @@ dependencies:
56
56
  version: 0.9.2
57
57
  type: :development
58
58
  prerelease: false
59
- version_requirements: *2156533700
59
+ version_requirements: *2153087520
60
60
  - !ruby/object:Gem::Dependency
61
61
  name: bundler
62
- requirement: &2156525300 !ruby/object:Gem::Requirement
62
+ requirement: &2153086140 !ruby/object:Gem::Requirement
63
63
  none: false
64
64
  requirements:
65
65
  - - ! '>='
@@ -67,10 +67,10 @@ dependencies:
67
67
  version: 1.0.21
68
68
  type: :development
69
69
  prerelease: false
70
- version_requirements: *2156525300
70
+ version_requirements: *2153086140
71
71
  - !ruby/object:Gem::Dependency
72
72
  name: rspec
73
- requirement: &2156523400 !ruby/object:Gem::Requirement
73
+ requirement: &2153085320 !ruby/object:Gem::Requirement
74
74
  none: false
75
75
  requirements:
76
76
  - - ! '>='
@@ -78,10 +78,10 @@ dependencies:
78
78
  version: 2.7.0
79
79
  type: :development
80
80
  prerelease: false
81
- version_requirements: *2156523400
81
+ version_requirements: *2153085320
82
82
  - !ruby/object:Gem::Dependency
83
83
  name: therubyracer
84
- requirement: &2156522260 !ruby/object:Gem::Requirement
84
+ requirement: &2153058460 !ruby/object:Gem::Requirement
85
85
  none: false
86
86
  requirements:
87
87
  - - ! '>='
@@ -89,10 +89,10 @@ dependencies:
89
89
  version: 0.9.8
90
90
  type: :development
91
91
  prerelease: false
92
- version_requirements: *2156522260
92
+ version_requirements: *2153058460
93
93
  - !ruby/object:Gem::Dependency
94
94
  name: yard
95
- requirement: &2156520480 !ruby/object:Gem::Requirement
95
+ requirement: &2153057720 !ruby/object:Gem::Requirement
96
96
  none: false
97
97
  requirements:
98
98
  - - ! '>='
@@ -100,10 +100,10 @@ dependencies:
100
100
  version: 0.7.2
101
101
  type: :development
102
102
  prerelease: false
103
- version_requirements: *2156520480
103
+ version_requirements: *2153057720
104
104
  - !ruby/object:Gem::Dependency
105
105
  name: rdiscount
106
- requirement: &2156517340 !ruby/object:Gem::Requirement
106
+ requirement: &2153056620 !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: *2156517340
114
+ version_requirements: *2153056620
115
115
  - !ruby/object:Gem::Dependency
116
116
  name: term-ansicolor
117
- requirement: &2156511840 !ruby/object:Gem::Requirement
117
+ requirement: &2153054800 !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: *2156511840
125
+ version_requirements: *2153054800
126
126
  - !ruby/object:Gem::Dependency
127
127
  name: builder
128
- requirement: &2156509760 !ruby/object:Gem::Requirement
128
+ requirement: &2153053200 !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: *2156509760
136
+ version_requirements: *2153053200
137
137
  description: A fast Gherkin lexer/parser based on the Ragel State Machine Compiler.
138
138
  email: cukes@googlegroups.com
139
139
  executables: []
@@ -191,6 +191,7 @@ files:
191
191
  - .rbenv-gemsets
192
192
  - .rspec
193
193
  - .rvmrc
194
+ - .travis.yml
194
195
  - .yardopts
195
196
  - Gemfile
196
197
  - Gemfile.lock
@@ -478,7 +479,7 @@ rubyforge_project:
478
479
  rubygems_version: 1.8.10
479
480
  signing_key:
480
481
  specification_version: 3
481
- summary: gherkin-2.6.0
482
+ summary: gherkin-2.6.1
482
483
  test_files:
483
484
  - features/escaped_pipes.feature
484
485
  - features/feature_parser.feature