Sha256: be8bca0cda44fc4239816f1aa749d74bf54bc9c8543df2ba6db03ebc972d6cd5

Contents?: true

Size: 940 Bytes

Versions: 6

Compression:

Stored size: 940 Bytes

Contents

require 'pathname'
require 'rubygems'
require 'hoe'

ROOT    = Pathname(__FILE__).dirname.expand_path
JRUBY   = RUBY_PLATFORM =~ /java/
WINDOWS = Gem.win_platform?
SUDO    = (WINDOWS || JRUBY) ? '' : ('sudo' unless ENV['SUDOLESS'])

require ROOT + 'lib/<%= gem_name %>/is/version'

# define some constants to help with task files
GEM_NAME    = '<%= gem_name %>'
GEM_VERSION = DataMapper::Is::<%= class_name %>::VERSION

Hoe.new(GEM_NAME, GEM_VERSION) do |p|
  p.developer('John Doe', 'john [a] doe [d] com')

  p.description = 'A DataMapper plugin that ...'
  p.summary = 'A DataMapper plugin that ...'
  p.url = 'http://github.com/USERNAME/<%= gem_name %>'

  p.clean_globs |= %w[ log pkg coverage ]
  p.spec_extras = { :has_rdoc => true, :extra_rdoc_files => %w[ README.txt LICENSE TODO History.txt ] }

  p.extra_deps << ['dm-core', "~> <%= DMGen::DM_VERSION"]

end

Pathname.glob(ROOT.join('tasks/**/*.rb').to_s).each { |f| require f }

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
namelessjon-dm-gen-0.2.5 lib/templates/is/Rakefile
namelessjon-dm-gen-0.3.0 lib/templates/is/Rakefile
namelessjon-dm-gen-0.3.1 lib/templates/is/Rakefile
namelessjon-dm-gen-0.4.0 lib/dm-gen/templates/is/Rakefile
dm-gen-0.4.2 lib/dm-gen/templates/is/Rakefile
dm-gen-0.4.1 lib/dm-gen/templates/is/Rakefile