Sha256: 0e204f45088617318d9048a9a2b5bbab56dc90c3f6b35d6956a3d5f315320467

Contents?: true

Size: 1.32 KB

Versions: 2

Compression:

Stored size: 1.32 KB

Contents

# -*- coding: utf-8 -*-
#
# jeweler
#

begin
  require 'jeweler'
  Jeweler::Tasks.new do |gem|
    # gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
    gem.name = "treevisitor"
    gem.summary = "Implementation of visitor design pattern"
    gem.description = <<-EOF
      Implementation of visitor design pattern. It contains a 'tree.rb'
      command line clone of the tree unix tool.
    EOF

    gem.authors = ["Tokiro"]
    gem.email = "tokiro.oyama@gmail.com"
    gem.homepage = "http://github.com/tokiro/treevisitor"

    #
    # dependecies
    #
    gem.add_development_dependency "rspec"

    #
    # bin
    #
    gem.executables = %w{ tree.rb }

    #
    # files
    #
    gem.files  = %w{LICENSE README.rdoc Rakefile VERSION.yml dircat.gemspec}
    gem.files.concat Dir['lib/**/*.rb']
    gem.files.concat Dir['tasks/**/*.rake']
    gem.files.concat Dir['examples/*.rb']


    #
    # test files
    #
    gem.test_files = Dir['spec/**/*.rb']
    gem.test_files.concat Dir['spec/fixtures/**/*']
    gem.test_files.concat Dir['spec/fixtures/**/.dir_with_dot/*']

    #
    # rubyforge
    #
    # gem.rubyforge_project = 'treevisitor'
  end
  Jeweler::GemcutterTasks.new
rescue LoadError
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
treevisitor-0.1.5 tasks/jeweler.rake
treevisitor-0.1.4 tasks/jeweler.rake