forked from whitesmith/rubycritic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrubycritic.gemspec
35 lines (31 loc) · 1.37 KB
/
rubycritic.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
# coding: utf-8
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "rubycritic/version"
Gem::Specification.new do |spec|
spec.name = "rubycritic"
spec.version = Rubycritic::VERSION
spec.authors = ["Guilherme Simoes"]
spec.email = ["guilherme.rdems@gmail.com"]
spec.description = <<-EOF
Ruby Critic is a tool that detects and reports smells in Ruby classes, modules and methods.
EOF
spec.summary = "Ruby code smell detector"
spec.homepage = "https://github.com/whitesmith/rubycritic"
spec.license = "MIT"
spec.required_ruby_version = ">= 1.9.3"
spec.files = `git ls-files`.split("\n")
spec.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
spec.test_files = `git ls-files -- test/*`.split("\n")
spec.require_path = "lib"
spec.add_runtime_dependency "virtus", "~> 1.0"
spec.add_runtime_dependency "flay", "2.4.0"
spec.add_runtime_dependency "flog", "4.2.1"
spec.add_runtime_dependency "reek", "1.3.8"
spec.add_runtime_dependency "parser", "~> 2.1"
spec.add_runtime_dependency "ruby2ruby", ">= 2.1.1", "< 3.0"
spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake"
spec.add_development_dependency "minitest", "~> 5.3"
spec.add_development_dependency "mocha", "~> 1.0"
end