gherkin_lint 1.1.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/Rakefile +2 -2
- data/features/support/steps.rb +15 -0
- data/gherkin_lint.gemspec +2 -2
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: da4a1b2acef3a4af5710c4c80f1d2b188604154c
|
4
|
+
data.tar.gz: ef6ddab010d682a6947d3401753b3194a0dd3ed5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c8822943fe3e7b9bcd342cfbff950741af78ded8099ff4e15300e5b7700385c2f4ae633b56af6a6e1a4b88f527505309ad9feda8377967eb10db9e4e971f8896
|
7
|
+
data.tar.gz: 9f043fc0b45bd37ce52053d497f39bf4d8841720938602628187a25e03a97e713e9ae9dccb18102852e876bb60ac19ffdc5468c6ea26418476c15d026e5511a3
|
data/Gemfile
CHANGED
data/Rakefile
CHANGED
@@ -11,7 +11,7 @@ end
|
|
11
11
|
|
12
12
|
desc 'Publishes the Gem'
|
13
13
|
task :push do
|
14
|
-
sh 'gem push gherkin_lint-1.1.
|
14
|
+
sh 'gem push gherkin_lint-1.2.1.gem'
|
15
15
|
end
|
16
16
|
|
17
17
|
desc 'Checks ruby style'
|
@@ -26,7 +26,7 @@ end
|
|
26
26
|
task test: :rubocop
|
27
27
|
task test: :language
|
28
28
|
task :test do
|
29
|
-
sh 'cucumber --tags ~@skip'
|
29
|
+
sh 'cucumber --tags ~@skip --guess'
|
30
30
|
end
|
31
31
|
|
32
32
|
task :format do
|
@@ -0,0 +1,15 @@
|
|
1
|
+
Then(/^it should fail with exactly:$/) do |expected|
|
2
|
+
# Standardize line endings
|
3
|
+
expected = expected.gsub("\n", "\r\n") if RUBY_PLATFORM =~ /mingw32/
|
4
|
+
|
5
|
+
expect(last_command_stopped).not_to be_successfully_executed
|
6
|
+
expect(last_command_stopped).to have_output an_output_string_being_eq(expected)
|
7
|
+
end
|
8
|
+
|
9
|
+
Then(/^it should pass with exactly:$/) do |expected|
|
10
|
+
# Standardize line endings
|
11
|
+
expected = expected.gsub("\n", "\r\n") if RUBY_PLATFORM =~ /mingw32/
|
12
|
+
|
13
|
+
expect(last_command_stopped).to be_successfully_executed
|
14
|
+
expect(last_command_stopped).to have_output an_output_string_being_eq(expected)
|
15
|
+
end
|
data/gherkin_lint.gemspec
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = 'gherkin_lint'
|
3
|
-
s.version = '1.1
|
4
|
-
s.date = '2017-11-
|
3
|
+
s.version = '1.2.1'
|
4
|
+
s.date = '2017-11-30'
|
5
5
|
s.summary = 'Gherkin Lint'
|
6
6
|
s.description = 'Lint Gherkin Files'
|
7
7
|
s.authors = ['Stefan Rohe', 'Nishtha Argawal', 'John Gluck']
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gherkin_lint
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stefan Rohe
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2017-11-
|
13
|
+
date: 2017-11-30 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: gherkin
|
@@ -135,6 +135,7 @@ files:
|
|
135
135
|
- features/required_tags_starts_with.feature
|
136
136
|
- features/same_tag_for_all_scenarios.feature
|
137
137
|
- features/support/env.rb
|
138
|
+
- features/support/steps.rb
|
138
139
|
- features/tag_used_multiple_times.feature
|
139
140
|
- features/too_clumsy.feature
|
140
141
|
- features/too_long_step.feature
|