jarib-cuketagger 0.4 → 0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -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