chutney 3.12.0 → 3.12.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
  SHA256:
3
- metadata.gz: 4bb70911d762cb65f7bf9787409241481d5bb6b36544c4d9cb0544ed441ab1f4
4
- data.tar.gz: 25b3aea992da920ba631c4020dec0f80facac6279687bc7b1855aa65fe511bcb
3
+ metadata.gz: 6d70e2375192bbefa54d00791df1680bd9ad309e8de55c65209e1c8bbc4e4c7c
4
+ data.tar.gz: 78a2d99de3c76b35b27d246ad1b8fe86fa864a458b1d0fe255aea8c03d97ad68
5
5
  SHA512:
6
- metadata.gz: 94edc0b29066f55cc5c1e8badbe9a336ec23415edd92c3ab7a8ef64f7246c59515ec020d6342793ae8cb46bb6e82c51962e08cab7942c718caf93339cd060da2
7
- data.tar.gz: 4324c6dd20acc5062b6e7022e2d79e86267f3e7c63b5a5924b327d07ffa4abf571e4d99edeabbfb9a0f312f61d46e3c6ccfb36c0b60d6c7697e9bcbce9968730
6
+ metadata.gz: 6f1dae05bf176fcba1b77191696ec04879d40e6f68fd1874d4d27410cb2ac7c1933b5215b0c2972114763958ea9393b82b79fb811f0972593a55e47201e18db5
7
+ data.tar.gz: 28780796ef678e53c5c13d9beb0829cfaa6501ec41f4fa9c1eebefb34c965e184d11f0388b2045272183943ae21824cd8f7ee33b5f01a40f57813fe747123323
@@ -4,6 +4,8 @@ module Chutney
4
4
  # service class to lint for avoiding colons at the start of names
5
5
  class AvoidColonsAtStartOfNames < Linter
6
6
  def lint
7
+ return if feature.nil?
8
+
7
9
  add_issue(I18n.t('linters.avoid_colons_at_start_of_names'), feature) if feature.name.start_with? ':'
8
10
 
9
11
  scenarios do |_feature, scenario|
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Chutney
4
- VERSION = '3.12.0'
4
+ VERSION = '3.12.1'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chutney
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.12.0
4
+ version: 3.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nigel Brookes-Thomas