azebiki 0.0.4 → 0.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.
- data/lib/azebiki/azebiki.rb +3 -0
- data/lib/azebiki/version.rb +1 -1
- metadata +1 -1
    
        data/lib/azebiki/azebiki.rb
    CHANGED
    
    | @@ -69,6 +69,7 @@ module Azebiki | |
| 69 69 | 
             
                    attribute_conditions = []
         | 
| 70 70 |  | 
| 71 71 | 
             
                    @options.each do |key, value|
         | 
| 72 | 
            +
                      next if key == :failure_message
         | 
| 72 73 | 
             
                      next if key == :content unless @expected == "meta"
         | 
| 73 74 | 
             
                      next if key == :count
         | 
| 74 75 | 
             
                      if value.is_a?(Hash)
         | 
| @@ -169,6 +170,8 @@ module Azebiki | |
| 169 170 | 
             
                        id_and_classes = id_and_classes.split('.')
         | 
| 170 171 | 
             
                        tag[:id] = id_and_classes.shift
         | 
| 171 172 | 
             
                        tag[:class] = id_and_classes
         | 
| 173 | 
            +
                      elsif id_or_class =~ /^\./
         | 
| 174 | 
            +
                        tag[:class] = id_or_class.split(".").reject {|cls| cls == "" }
         | 
| 172 175 | 
             
                      end
         | 
| 173 176 |  | 
| 174 177 | 
             
                    elsif args.first.is_a?(::Hash)
         | 
    
        data/lib/azebiki/version.rb
    CHANGED