jarib-cuketagger 0.4 → 0.5

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.
@@ -48,7 +48,7 @@ module CukeTagger
48
48
  end
49
49
 
50
50
  def should_alter?(feature, element)
51
- line = element ? element.line : 0
51
+ line = element.respond_to?(:line) ? element.line : 0
52
52
  success = features_to_change.include? [feature.file, line]
53
53
 
54
54
  if $DEBUG
@@ -1,3 +1,3 @@
1
1
  module CukeTagger
2
- Version = "0.4"
2
+ Version = "0.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jarib-cuketagger
3
3
  version: !ruby/object:Gem::Version
4
- version: "0.4"
4
+ version: "0.5"
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jari