Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 147038b8a5
Fetching contributors…

Cannot retrieve contributors at this time

executable file 43 lines (31 sloc) 1.127 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43
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
Something went wrong with that request. Please try again.