gherkin_lint 0.4.1 → 0.4.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 35a10a061b2428e77d618f09b7f122b881ded0de
4
- data.tar.gz: 7d7bbf6a0af2f3d7cf06596c035d5d28a4860c88
3
+ metadata.gz: fa02cf051b9231b020ddef1d0814c9ee2acb9c60
4
+ data.tar.gz: 9cef934f0410b54cbf8b3ee8b83fbcdc4b847027
5
5
  SHA512:
6
- metadata.gz: bf81856a469d2ba45399358896e4e8fe485833af03f362fd3b57e71ef3e7a2cb3e5173a3d337376874f01125ea5836948ebe92faf13d832a0068c7ccec2472eb
7
- data.tar.gz: 2901e8259fa1146db73b69101a5abd6dfa96618adf9d830ea9ef9392b7a14331e0c194af15f8131aadbadf1047d9892e977ddd30f0041c0abb9aa5f8187b1b0d
6
+ metadata.gz: 7e03d582589f9dace3801ae42ad3bffe49780b57e5646e26e871454c031ce7df71f8ad95703bae2f08e70a873f02ed69c31b360e5ba52bce6d3e2a6071535d37
7
+ data.tar.gz: 71497f5f798f092865180b0cc0b1881436e5981990bf7b9ac4cdced45896dc3163fbca5600579dc3cf0d2389f5b936ac5b51d77f7317a020e249019f8729bf53
data/.rubocop.yml CHANGED
@@ -13,7 +13,7 @@ Metrics/AbcSize:
13
13
  # Offense count: 1
14
14
  # Configuration parameters: CountComments.
15
15
  Metrics/ClassLength:
16
- Max: 121
16
+ Max: 122
17
17
 
18
18
  # Offense count: 33
19
19
  # Configuration parameters: AllowHeredoc, AllowURI, URISchemes.
data/Gemfile CHANGED
@@ -2,8 +2,8 @@ source 'https://rubygems.org'
2
2
  gem 'aruba'
3
3
  gem 'amatch'
4
4
  gem 'gherkin', '>=4.0.0'
5
- gem 'gherkin_format'
6
- gem 'gherkin_language'
5
+ # TODO: update to gherkin4 gem 'gherkin_format'
6
+ # TODO: update to gherkin4 gem 'gherkin_language'
7
7
  gem 'rake'
8
8
  gem 'rubocop'
9
9
  gem 'term-ansicolor'
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-0.4.1.gem'
14
+ sh 'gem push gherkin_lint-0.4.2.gem'
15
15
  end
16
16
 
17
17
  desc 'Checks ruby style'
@@ -28,7 +28,7 @@ end
28
28
  task :format do
29
29
  options = []
30
30
  options.push '--replace' if ENV['repair']
31
- sh "gherkin_format #{options.join ' '} features/*.feature"
31
+ # TODO: sh "gherkin_format #{options.join ' '} features/*.feature"
32
32
  end
33
33
 
34
34
  task :language do
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 = '0.4.1'
4
- s.date = '2016-08-11'
3
+ s.version = '0.4.2'
4
+ s.date = '2016-08-19'
5
5
  s.summary = 'Gherkin Lint'
6
6
  s.description = 'Lint Gherkin Files'
7
7
  s.authors = ['Stefan Rohe']
@@ -14,7 +14,7 @@ module GherkinLint
14
14
  def features
15
15
  @files.each do |file, content|
16
16
  feature = content[:feature]
17
-
17
+ next if feature.nil?
18
18
  yield(file, feature)
19
19
  end
20
20
  end
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.1
4
+ version: 0.4.2
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 00:00:00.000000000 Z
11
+ date: 2016-08-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gherkin
@@ -175,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
175
175
  version: '0'
176
176
  requirements: []
177
177
  rubyforge_project:
178
- rubygems_version: 2.2.5
178
+ rubygems_version: 2.2.2
179
179
  signing_key:
180
180
  specification_version: 4
181
181
  summary: Gherkin Lint