forked from licensee/licensee
-
Notifications
You must be signed in to change notification settings - Fork 0
/
licensee.gemspec
47 lines (38 loc) · 1.62 KB
/
licensee.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
# frozen_string_literal: true
require File.expand_path('lib/licensee/version', __dir__)
Gem::Specification.new do |gem|
gem.name = 'licensee'
gem.version = Licensee::VERSION
gem.summary = 'A Ruby Gem to detect open source project licenses'
gem.description = <<-DESC
Licensee automates the process of reading LICENSE files and
compares their contents to known licenses using a fancy maths.
DESC
gem.authors = ['Ben Balter']
gem.email = 'ben.balter@github.com'
gem.homepage = 'https://github.com/benbalter/licensee'
gem.license = 'MIT'
gem.metadata['rubygems_mfa_required'] = 'true'
gem.bindir = 'bin'
gem.executables << 'licensee'
gem.add_dependency('dotenv', '~> 2.0')
gem.add_dependency('octokit', '>= 4.20', '< 9.0')
gem.add_dependency('reverse_markdown', '>= 1', '< 3')
gem.add_dependency('rugged', '>= 0.24', '<2.0')
gem.add_dependency('thor', '>= 0.19', '< 2.0')
gem.add_development_dependency('gem-release', '~> 2.0')
gem.add_development_dependency('mustache', '>= 0.9', '< 2.0')
gem.add_development_dependency('pry', '~> 0.9')
gem.add_development_dependency('rspec', '~> 3.5')
gem.add_development_dependency('rubocop', '~> 1.0')
gem.add_development_dependency('rubocop-performance', '~> 1.5')
gem.add_development_dependency('rubocop-rspec', '~> 2.0')
gem.add_development_dependency('simplecov', '~> 0.16')
gem.add_development_dependency('webmock', '~> 3.1')
gem.required_ruby_version = '>= 3.0'
# ensure the gem is built out of versioned files
gem.files = Dir[
'{bin,lib,man,test,vendor,spec}/**/*',
'README*', 'LICENSE*'
] & `git ls-files -z`.split("\0")
end