forked from pivotal/LicenseFinder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
license_finder.gemspec
68 lines (57 loc) · 2.2 KB
/
license_finder.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
57
58
59
60
61
62
63
64
65
66
67
68
lib = File.expand_path('../lib/', __FILE__)
$:.unshift lib unless $:.include?(lib)
require 'license_finder/platform'
require 'license_finder/version'
Gem::Specification.new do |s|
s.required_ruby_version = '>= 1.9.3'
s.name = "license_finder"
s.version = LicenseFinder::VERSION
s.authors = [
"Jacob Maine",
"Matthew Kane Parker",
"Ian Lesperance",
"David Edwards",
"Paul Meskers",
"Brent Wheeldon",
"Trevor John",
"David Tengdin",
"William Ramsey",
"David Dening",
"Geoff Pleiss",
"Mike Chinigo",
"Mike Dalessio"
]
s.email = ["[email protected]"]
s.homepage = "https://github.com/pivotal/LicenseFinder"
s.summary = "Audit the OSS licenses of your application's dependencies."
s.description = <<-DESCRIPTION
LicenseFinder works with your package managers to find
dependencies, detect the licenses of the packages in them, compare
those licenses against a user-defined whitelist, and give you an
actionable exception report.
DESCRIPTION
s.license = "MIT"
s.add_dependency "bundler"
s.add_dependency "thor"
s.add_dependency "httparty"
s.add_dependency "xml-simple"
s.add_dependency "rubyzip"
# to preserve ruby 1.9.3 support
s.add_dependency 'with_env', ((RUBY_VERSION <= '1.9.3') ? '1.0.0' : '> 1.0')
s.add_development_dependency "capybara", "~> 2.0.0"
s.add_development_dependency "cocoapods", "0.34.0" if LicenseFinder::Platform.darwin?
s.add_development_dependency "fakefs", "~> 0.6.7"
s.add_development_dependency "pry"
s.add_development_dependency "rake"
s.add_development_dependency "rspec", "~> 3"
s.add_development_dependency "rspec-its"
s.add_development_dependency "webmock", "~> 1.13"
# to preserve ruby < 2.2.2 support.
s.add_development_dependency 'rack', ((RUBY_VERSION < '2.2.2') ? '1.6.0' : '> 1.6')
# temporary to preserve ruby 1.9.3 support.
s.add_development_dependency "mime-types", "< 3.0"
s.add_development_dependency "addressable", "< 2.5.0"
s.files = `git ls-files`.split("\n")
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
end