gherkin_lint 0.4.2 → 0.4.3
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.
- checksums.yaml +4 -4
- data/.rubocop.yml +1 -1
- data/Rakefile +1 -1
- data/features/missing_test_action.feature +12 -0
- data/features/missing_verification.feature +12 -0
- data/features/use_outline.feature +17 -0
- data/gherkin_lint.gemspec +2 -2
- data/lib/gherkin_lint/linter.rb +1 -0
- data/lib/gherkin_lint/linter/use_outline.rb +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e0f116fd44427ce5038611445116ca21fa99ac8e
|
4
|
+
data.tar.gz: f7079da931ff4a343453a66087986bfbb27d362f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23d7c10e0e234fbfab755a5b0a938004ccba577df307ae52a6908a6b372a729bb42ad1c39b71395ed80a5eb48866a3ad64d244f212dae16ca48ff78a15836a53
|
7
|
+
data.tar.gz: 71172fa75faea3798950027a5649b3e73faa6dbe2591a90e8eb590ff8557fb72fb3db4388ae0f033afa40a01333f2483b5359edcf8ea7782f3f07239a7f25a7e
|
data/.rubocop.yml
CHANGED
data/Rakefile
CHANGED
@@ -46,3 +46,15 @@ Feature: Missing Test Action
|
|
46
46
|
"""
|
47
47
|
|
48
48
|
"""
|
49
|
+
|
50
|
+
Scenario: Empty Scenario
|
51
|
+
Given a file named "lint.feature" with:
|
52
|
+
"""
|
53
|
+
Feature: Test
|
54
|
+
Scenario: A
|
55
|
+
"""
|
56
|
+
When I run `ruby lint.rb`
|
57
|
+
Then it should pass with exactly:
|
58
|
+
"""
|
59
|
+
|
60
|
+
"""
|
@@ -46,3 +46,15 @@ Feature: Missing Verification
|
|
46
46
|
"""
|
47
47
|
|
48
48
|
"""
|
49
|
+
|
50
|
+
Scenario: Empty Scenario
|
51
|
+
Given a file named "lint.feature" with:
|
52
|
+
"""
|
53
|
+
Feature: Test
|
54
|
+
Scenario: A
|
55
|
+
"""
|
56
|
+
When I run `ruby lint.rb`
|
57
|
+
Then it should pass with exactly:
|
58
|
+
"""
|
59
|
+
|
60
|
+
"""
|
@@ -40,6 +40,23 @@ Feature: Use Outline
|
|
40
40
|
|
41
41
|
"""
|
42
42
|
|
43
|
+
Scenario: Empty Scenarios
|
44
|
+
Given a file named "lint.feature" with:
|
45
|
+
"""
|
46
|
+
Feature: Test
|
47
|
+
Background: Preparation
|
48
|
+
Given setup
|
49
|
+
|
50
|
+
Scenario: A
|
51
|
+
|
52
|
+
Scenario: B
|
53
|
+
"""
|
54
|
+
When I run `ruby lint.rb`
|
55
|
+
Then it should pass with exactly:
|
56
|
+
"""
|
57
|
+
|
58
|
+
"""
|
59
|
+
|
43
60
|
Scenario: Valid Example
|
44
61
|
Given a file named "lint.feature" with:
|
45
62
|
"""
|
data/gherkin_lint.gemspec
CHANGED
data/lib/gherkin_lint/linter.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gherkin_lint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Rohe
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gherkin
|