forked from nay/never_wastes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
never_wastes.gemspec
33 lines (29 loc) · 1.26 KB
/
never_wastes.gemspec
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
# -*- encoding: utf-8 -*-
$:.push File.expand_path("../lib", __FILE__)
require "never_wastes/version"
Gem::Specification.new do |s|
s.name = "never_wastes"
s.version = NeverWastes::VERSION
s.authors = ["nay3"]
s.email = ["[email protected]"]
s.homepage = ""
s.summary = %q{simple soft delete for ActiveRecord}
s.description = %q{It changes ActiveRecord::Base#destroy to support soft delete. Kind of simple acts_as_paranoid.}
s.rubyforge_project = "never_wastes"
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
%w{ activesupport actionpack railties }.each do |gem|
s.add_dependency gem, ['>= 3.0.0']
end
s.add_development_dependency 'bundler', ['>= 1.0.0']
s.add_development_dependency 'sqlite3', ['>= 0']
%w{ activerecord activemodel }.each do |gem|
s.add_development_dependency gem, ['>= 3.0.0']
end
s.add_development_dependency 'rspec', ['>= 0']
s.add_development_dependency 'rspec-rails', ['>= 0']
s.add_development_dependency 'factory_girl_rails', ['>= 0']
s.add_development_dependency 'database_cleaner', ['>= 0']
end