forked from Foodcritic/foodcritic
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfoodcritic.gemspec
33 lines (30 loc) · 1.13 KB
/
foodcritic.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
lib = File.expand_path("../lib/", __FILE__)
$:.unshift lib unless $:.include?(lib)
require "foodcritic/version"
Gem::Specification.new do |s|
s.name = "foodcritic"
s.version = FoodCritic::VERSION
s.description = "Lint tool for Chef cookbooks."
s.summary = "foodcritic-#{s.version}"
s.authors = ["Andrew Crump"]
s.homepage = "http://foodcritic.io"
s.license = "MIT"
s.executables << "foodcritic"
s.required_ruby_version = ">= 2.3"
s.files = Dir["chef_dsl_metadata/*.json"] +
Dir["lib/**/*.rb"] +
Dir["misc/**/*"]
s.files += Dir["Rakefile"] + Dir["Gemfile"] + Dir["*.gemspec"]
s.files += Dir["spec/**/*"] + Dir["features/**/*"]
s.files += Dir["*.md"] + Dir["LICENSE"] + Dir["man/*"]
s.add_dependency("cucumber-core", ">= 1.3")
s.add_dependency("nokogiri", ">= 1.5", "< 2.0")
s.add_dependency("rake")
s.add_dependency("treetop", "~> 1.4")
s.add_dependency("ffi-yajl", "~> 2.0")
s.add_dependency("erubis")
s.add_dependency("rufus-lru", "~> 1.0")
s.add_development_dependency "rspec", "~> 3.5"
s.add_development_dependency "fuubar", "~> 2.0"
s.add_development_dependency "rspec-command", "~> 1.0"
end