pebblebed 0.0.53 → 0.0.54

Sign up to get free protection for your applications and to get access to all the features.
@@ -52,8 +52,9 @@ module Pebblebed
52
52
  if __send__("check_#{requirement}".to_sym)
53
53
  collected_requirements << requirement
54
54
  end
55
- rescue NoMethodError
56
- raise NoMethodError, "You must implement method named :check_#{requirement} that returns true or false"
55
+ rescue NoMethodError => e
56
+ raise NoMethodError, "You must implement method named :check_#{requirement} that returns true or false" if e.message.match("undefined method.*check_#{requirement}")
57
+ raise e
57
58
  end
58
59
  end
59
60
  if (role[:requirements] & collected_requirements) == role[:requirements]
@@ -1,3 +1,3 @@
1
1
  module Pebblebed
2
- VERSION = "0.0.53"
2
+ VERSION = "0.0.54"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pebblebed
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.53
4
+ version: 0.0.54
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: