-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathoutlaw.gemspec
More file actions
43 lines (35 loc) · 1.59 KB
/
Copy pathoutlaw.gemspec
File metadata and controls
43 lines (35 loc) · 1.59 KB
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
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)
require "outlaw/version"
module ::Gem
post_install {|gem_installer| puts 'in hook'; Outlaw.post_install(gem_installer) }
end
Gem::Specification.new do |s|
s.name = "outlaw"
s.version = Outlaw::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ["Brian Glusman"]
s.email = ["brian@neomindlabs.com"]
s.homepage = "https://github.com/bglusman/Outlaw"
s.summary = "Outlaw helps you enforce your opinions to keep bad code out your projects."
s.rubyforge_project = "outlaw"
s.extensions = ["Rakefile"]
s.description = <<-DESC
Keep bad code out of your projects. Your idea of bad code, no one elses.
Outlaw defines an example based DSL for demonstrating anti-patterns and
builds a rule for each anti-pattern that it alerts the user to violations
when encountered in a project's codebase during scanning.
Outlaw is a work in progress and contributions, suggestions and forks are welcome.
Outlaw was a personal project for Mendicant University, Session 10 in Jan '12
DESC
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
s.require_paths = ["lib"]
s.add_runtime_dependency "pre-commit", "~> 0.10.0"
s.add_runtime_dependency "pry"
s.add_development_dependency "debt_ceiling", "~> 0.0.6"
s.add_development_dependency "rake", "~> 0.9.0"
s.add_development_dependency "minitest"
end