Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 44 lines (31 sloc) 1.1 KB
begin
# Just in case the bundle was locked
# This shouldn't happen in a dev environment but lets be safe
require File.expand_path('../../.bundle/environment', __FILE__)
rescue LoadError
require 'rubygems'
require 'bundler'
Bundler.setup
end
Bundler.require(:default, :development)
begin
require 'rake'
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = 'dm-is-commentable'
gem.summary = 'Commenting plugin for datamapper'
gem.description = 'Manage comments in your datamapper applications'
gem.email = 'gamsnjaga@gmail.com'
gem.homepage = 'http://github.com/datamapper/dm-is-commentable'
gem.authors = [ 'Martin Gamsjaeger (snusnu)' ]
gem.add_dependency 'dm-core', '~> 0.10.2'
gem.add_dependency 'dm-is-remixable', '~> 0.10.2'
gem.add_development_dependency 'yard', '~> 0.5'
end
Jeweler::GemcutterTasks.new
FileList['tasks/**/*.rake'].each { |task| import task }
rescue LoadError => e
puts 'Jeweler (or a dependency) not available. Install it with: gem install jeweler'
puts e.message
puts e.backtrace
end