-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathdry_crud.gemspec
41 lines (34 loc) · 1.21 KB
/
dry_crud.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
34
35
36
37
38
39
40
41
# encoding: UTF-8
require 'rubygems'
require 'rake'
require 'date'
DRY_CRUD_GEMSPEC = Gem::Specification.new do |spec|
spec.name = 'dry_crud'
spec.version = File.read('VERSION').strip
spec.date = Date.today.to_s
spec.author = 'Pascal Zumkehr'
spec.email = '[email protected]'
spec.homepage = 'http://github.com/codez/dry_crud'
spec.summary = <<-END
Generates DRY and specifically extendable CRUD controller, views and helpers
for Rails applications.
END
spec.description = <<-END
Generates simple and extendable controller, views and helpers that support you
to DRY up the CRUD code in your Rails project. Start with these elements and
build a clean base to efficiently develop your application upon.
END
spec.add_dependency 'rails', '>= 7.1'
readmes = FileList.new('*') do |list|
list.exclude(/(^|[^.a-z])[a-z]+/)
list.exclude('TODO')
end.to_a
spec.files = FileList['app/**/*'].to_a +
FileList['config/**/*'].to_a +
FileList['lib/**/*'].to_a +
readmes
spec.extra_rdoc_files = readmes
spec.rdoc_options << '--title' << '"Dry Crud"' <<
'--main' << 'README.rdoc' <<
'--line-numbers'
end