-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbundler-stats.gemspec
46 lines (34 loc) · 1.65 KB
/
bundler-stats.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
# encoding: utf-8
lib_dir = File.join(File.dirname(__FILE__),'lib')
$LOAD_PATH << lib_dir unless $LOAD_PATH.include?(lib_dir)
require 'bundler/stats/version'
Gem::Specification.new do |gem|
gem.name = "bundler-stats"
gem.version = Bundler::Stats::VERSION
gem.summary = "Dependency investigation for Bundler"
gem.description = "Looks through your lockfile and tries to identify problematic use of dependencies"
gem.licenses = "MIT"
gem.authors = "Joseph Mastey"
gem.email = "[email protected]"
gem.homepage = "http://github.com/jmmastey/bundler-stats"
gem.metadata = {
"homepage_uri" => "http://github.com/jmmastey/bundler-stats",
"changelog_uri" => "https://github.com/jmmastey/bundler-stats/blob/master/CHANGELOG.md",
"source_code_uri" => "http://github.com/jmmastey/bundler-stats",
}
glob = lambda { |patterns| gem.files & Dir[*patterns] }
gem.files = `git ls-files`.split($/)
gem.executables = glob['bin/*'].map { |path| File.basename(path) }
gem.default_executable = gem.executables.first if Gem::VERSION < '1.7.'
gem.extensions = glob['ext/**/extconf.rb']
gem.test_files = glob['{spec/{**/}*_spec.rb']
gem.extra_rdoc_files = glob['*.{txt,md}']
gem.require_paths = %w[ext lib].select { |dir| File.directory?(dir) }
gem.add_dependency "bundler", ">= 1.9", "< 3"
gem.add_dependency "thor", ">= 0.19.0", "< 2.0"
gem.add_development_dependency "rspec", "~> 3.4"
gem.add_development_dependency "guard", "~> 2.13"
gem.add_development_dependency "guard-rspec", "< 5"
gem.add_development_dependency "pry", "~> 0.10"
gem.add_development_dependency "rb-readline", "< 1"
end