anchor.diff:    gemspec.version = if metadata['version']
                         metadata['version']
                       elsif File.file?(version[:file])
  -                      require File.join('.',version[:file])
  +                      $LOAD_PATH << lib_dir unless $LOAD_PATH.include?(lib_dir)
  +
  +                      require version[:file]
                         eval(version[:constant])
                       end
   
  
positive.code: require 'yaml'
  
  Gem::Specification.new do |gemspec|
    files = if File.directory?('.git')
              `git ls-files`.split($/)
            elsif File.directory?('.hg')
  
negative.code:   }
  
    version = {
      :file => '<%= @namespace_dir %>/version',
      :constant => '<%= @namespace %>::VERSION'
    }
  
  