gherkin_lint 1.1.0 → 1.2.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5519629a6701153e9c8c0b1bf33295312347963b
4
- data.tar.gz: e4d41720a2baacf84f2f2ced533c7a1cc34a406c
3
+ metadata.gz: da4a1b2acef3a4af5710c4c80f1d2b188604154c
4
+ data.tar.gz: ef6ddab010d682a6947d3401753b3194a0dd3ed5
5
5
  SHA512:
6
- metadata.gz: b4a0bb5df96fea091fe37f63b0ce93ca46977d734b4958489dd91647f165c135f78cdc3fe03e74ed3e1bd0a50f24c5456a87cf91abefd98a2fd8127be7bd94f8
7
- data.tar.gz: 8cb76cd1c6b79a8247033ad5494ed568ab2767854de39e778dd3c99a5dc8cfd808c71cad893dddd63a2a1eaa42a18d148c02e3b5336974dc37080b1655c599cb
6
+ metadata.gz: c8822943fe3e7b9bcd342cfbff950741af78ded8099ff4e15300e5b7700385c2f4ae633b56af6a6e1a4b88f527505309ad9feda8377967eb10db9e4e971f8896
7
+ data.tar.gz: 9f043fc0b45bd37ce52053d497f39bf4d8841720938602628187a25e03a97e713e9ae9dccb18102852e876bb60ac19ffdc5468c6ea26418476c15d026e5511a3
data/Gemfile CHANGED
@@ -1,6 +1,6 @@
1
1
  source 'https://rubygems.org'
2
2
  gem 'amatch'
3
- gem 'aruba'
3
+ gem 'aruba', '1.0.0.pre.alpha.2'
4
4
  gem 'engtagger', '>=0.2.1'
5
5
  gem 'gherkin', '>=4.0.0'
6
6
  # TODO: update to gherkin4 gem 'gherkin_format'
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.0.gem'
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
@@ -1,7 +1,7 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'gherkin_lint'
3
- s.version = '1.1.0'
4
- s.date = '2017-11-03'
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.0
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-03 00:00:00.000000000 Z
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