Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: octopus
Fetching contributors…

Cannot retrieve contributors at this time

file 49 lines (43 sloc) 1.227 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 44 45 46 47 48 49
require 'rubygems'
gem 'require'
require 'require'

Require do
  gem(:activerecord, '~> 3.0') { require 'active_record' }
  gem :require, '=0.2.1'
  gem(:rake, '=0.8.7') { require 'rake' }
  gem :rspec, '=1.3.0'
  
  gemspec do
    author 'Winton Welsh'
    dependencies do
      gem :require
    end
    email 'mail@wintoni.us'
    name 'acts_as_archive'
    homepage "http://github.com/winton/#{name}"
    summary "Don't delete your records, move them to a different table"
    version '0.2.5'
  end
  
  lib do
    require "lib/acts_as_archive/base"
    require "lib/acts_as_archive/base/adapters/mysql"
    require "lib/acts_as_archive/base/adapters/postgresql"
    require "lib/acts_as_archive/base/destroy"
    require "lib/acts_as_archive/base/restore"
    require "lib/acts_as_archive/base/table"
    require "lib/acts_as_archive/migration"
  end
  
  rails_init { require 'lib/acts_as_archive' }
  
  rakefile do
    gem(:rake) { require 'rake/gempackagetask' }
    gem(:rspec) { require 'spec/rake/spectask' }
    require 'require/tasks'
  end
  
  spec_helper do
    require 'require/spec_helper'
    gem :activerecord
    require 'logger'
    require 'yaml'
    require 'pp'
    require 'acts_as_archive'
  end
end
Something went wrong with that request. Please try again.