azebiki 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -232,7 +232,7 @@ module Azebiki
232
232
 
233
233
  def matches(name, attributes = {}, &block)
234
234
  if block_given?
235
- parent_checker = self
235
+ parent_checker = @parent_checker || self
236
236
  have = MyHaveSelector.new(name, attributes) do |n|
237
237
  Azebiki::Checker.new(n, parent_checker, &block).success?
238
238
  end
@@ -1,3 +1,3 @@
1
1
  module Azebiki
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: azebiki
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.5
5
+ version: 0.0.6
6
6
  platform: ruby
7
7
  authors:
8
8
  - Eric Allam