Sha256: 9fb57c4c4ffbca332c6209ac6f6de181de5f3be9d44f8aacccee1c758cd6ffa9

Contents?: true

Size: 373 Bytes

Versions: 13

Compression:

Stored size: 373 Bytes

Contents

# helper methods for gemspecs
module Wrongdoc::Gemspec
  include Wrongdoc::Readme
  include Wrongdoc::RdocOptions

  def extra_rdoc_files(manifest)
    File.readlines('.document').map! do |x|
      x.chomp!
      if File.directory?(x)
        manifest.grep(%r{\A#{x}/})
      elsif File.file?(x)
        x
      else
        nil
      end
    end.flatten.compact
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
wrongdoc-1.8.1 lib/wrongdoc/gemspec.rb
wrongdoc-1.8.0 lib/wrongdoc/gemspec.rb
wrongdoc-1.7.0 lib/wrongdoc/gemspec.rb
wrongdoc-1.6.2 lib/wrongdoc/gemspec.rb
wrongdoc-1.6.1 lib/wrongdoc/gemspec.rb
wrongdoc-1.6.0 lib/wrongdoc/gemspec.rb
wrongdoc-1.5.0 lib/wrongdoc/gemspec.rb
wrongdoc-1.4.0 lib/wrongdoc/gemspec.rb
wrongdoc-1.3.0 lib/wrongdoc/gemspec.rb
wrongdoc-1.1.1 lib/wrongdoc/gemspec.rb
wrongdoc-1.1.0 lib/wrongdoc/gemspec.rb
wrongdoc-1.0.1 lib/wrongdoc/gemspec.rb
wrongdoc-1.0.0 lib/wrongdoc/gemspec.rb