forked from flyerhzm/rails_best_practices
-
Notifications
You must be signed in to change notification settings - Fork 0
/
rails_best_practices.gemspec
54 lines (40 loc) · 1.6 KB
/
rails_best_practices.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
42
43
44
45
46
47
48
49
50
51
52
53
54
# -*- encoding: utf-8 -*-
require File.expand_path("../lib/rails_best_practices/version", __FILE__)
Gem::Specification.new do |s|
s.name = "rails_best_practices"
s.version = RailsBestPractices::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Richard Huang"]
s.email = ["flyerhzm@gmail.com"]
s.homepage = "http://rails-bestpractices.com"
s.summary = "a code metric tool for rails codes."
s.description = "a code metric tool for rails codes, written in Ruby."
s.required_rubygems_version = ">= 1.3.6"
s.add_dependency("code_analyzer")
s.add_dependency("progressbar")
s.add_dependency("colored")
s.add_dependency("erubis")
s.add_dependency("i18n")
s.add_dependency("activesupport")
s.add_dependency("awesome_print")
s.add_development_dependency("rake")
s.add_development_dependency("rspec")
s.add_development_dependency("haml")
s.add_development_dependency("slim")
s.add_development_dependency("bundler")
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", "assets"]
s.post_install_message = <<-POST_INSTALL_MESSAGE
#{"*" * 80}
rails_best_practices is a code metric tool to check the quality of rails codes.
I highly recommend you browse the Rails Best Practices website first.
http://rails-bestpractices.com
Please also try our online service
http://railsbp.com
Enjoy!
Richard Huang (flyerhzm@gmail.com)
#{"*" * 80}
POST_INSTALL_MESSAGE
end