forked from winton/acts_as_archive
-
Notifications
You must be signed in to change notification settings - Fork 2
/
require.rb
49 lines (43 loc) · 1.19 KB
/
require.rb
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) { 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 'gravis-acts_as_archive'
homepage "http://github.com/gravis/#{name}"
summary "Don't delete your records, move them to a different table"
version '0.2.10'
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 'rails/init'
end
end