Skip to content
This repository
tree: e9cd7b6b8d
Fetching contributors…

Cannot retrieve contributors at this time

file 29 lines (24 sloc) 1.001 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
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)

require 'acts_as_archive/gems'
require 'acts_as_archive/version'

Gem::Specification.new do |s|
  s.name = "acts_as_archive"
  s.version = ActsAsArchive::VERSION
  s.platform = Gem::Platform::RUBY
  s.authors = ["Winton Welsh"]
  s.email = ["mail@wintoni.us"]
  s.homepage = "http://github.com/winton/acts_as_archive"
  s.summary = "Don't delete your records, move them to a different table"
  s.description = "Don't delete your records, move them to a different table"

  ActsAsArchive::Gems::TYPES[:gemspec].each do |g|
    s.add_dependency g.to_s, ActsAsArchive::Gems::VERSIONS[g]
  end
  
  ActsAsArchive::Gems::TYPES[:gemspec_dev].each do |g|
    s.add_development_dependency g.to_s, ActsAsArchive::Gems::VERSIONS[g]
  end

  s.files = Dir.glob("{bin,lib}/**/*") + %w(LICENSE README.md)
  s.executables = Dir.glob("{bin}/*").collect { |f| File.basename(f) }
  s.require_path = 'lib'
end
Something went wrong with that request. Please try again.