Sha256: 244af3adb14f5475e479e1646a5154c1af307bec35c5d4c0778239bc0b18da4e
Contents?: true
Size: 924 Bytes
Versions: 5
Compression:
Stored size: 924 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/<%= adapter_file %>/version' # define some constants to help with task files GEM_NAME = '<%= gem_name %>' GEM_VERSION = DataMapper::<%= class_name %>::VERSION Hoe.new(GEM_NAME, GEM_VERSION) do |p| p.developer('John Doe', 'john [a] doe [d] com') p.description = 'A DataMapper Adapter for ...' p.summary = 'A DataMapper Adapter for ...' 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', "~> 0.9.10"]] end Pathname.glob(ROOT.join('tasks/**/*.rb').to_s).each { |f| require f }
Version data entries
5 entries across 5 versions & 1 rubygems