-
Notifications
You must be signed in to change notification settings - Fork 276
/
Copy pathrails_best_practices.gemspec
56 lines (43 loc) · 1.88 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
55
56
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'rails_best_practices/version'
Gem::Specification.new do |spec|
spec.name = 'rails_best_practices'
spec.version = RailsBestPractices::VERSION
spec.platform = Gem::Platform::RUBY
spec.authors = ['Richard Huang']
spec.email = ['[email protected]']
spec.homepage = 'http://rails-bestpractices.com'
spec.summary = 'a code metric tool for rails codes.'
spec.description = 'a code metric tool for rails codes, written in Ruby.'
spec.license = 'MIT'
spec.required_ruby_version = '>= 2.3.0'
spec.required_rubygems_version = '>= 1.3.6'
spec.add_runtime_dependency('activesupport')
spec.add_runtime_dependency('code_analyzer', '~> 0.5.5')
spec.add_runtime_dependency('erubis')
spec.add_runtime_dependency('i18n')
spec.add_runtime_dependency('json')
spec.add_runtime_dependency('require_all', '~> 3.0')
spec.add_runtime_dependency('ruby-progressbar')
spec.add_development_dependency('awesome_print')
spec.add_development_dependency('bundler')
spec.add_development_dependency('haml')
spec.add_development_dependency('rake')
spec.add_development_dependency('rspec')
spec.add_development_dependency('slim')
spec.files = `git ls-files`.split($/)
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = %w[lib assets]
spec.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
Enjoy!
Richard Huang ([email protected])
#{'*' * 80}
POST_INSTALL_MESSAGE
end