platanus 0.0.24 → 0.0.25

Sign up to get free protection for your applications and to get access to all the features.
@@ -186,7 +186,7 @@ module Platanus
186
186
  when :if_lower; return false unless user_feat < action_feat
187
187
  else
188
188
  # call custom test
189
- if @owner.method_defined? test_name
189
+ if @owner.respond_to? test_name
190
190
  return false unless @owner.send(test_name, action_feat, user_feat)
191
191
  end
192
192
  end
@@ -1,3 +1,3 @@
1
1
  module Platanus
2
- VERSION = "0.0.24" # 0.1 will come with tests!
2
+ VERSION = "0.0.25" # 0.1 will come with tests!
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: platanus
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.24
4
+ version: 0.0.25
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: