-
Notifications
You must be signed in to change notification settings - Fork 2
/
degit.gemspec
57 lines (54 loc) · 2.5 KB
/
degit.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
# frozen_string_literal: true
# Copyright (c) 2020 Yegor Bugayenko
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the 'Software'), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
require 'English'
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require_relative 'lib/degit/version'
Gem::Specification.new do |s|
s.specification_version = 2 if s.respond_to? :specification_version=
if s.respond_to? :required_rubygems_version=
s.required_rubygems_version = Gem::Requirement.new('>= 0')
end
s.rubygems_version = '2.2'
s.required_ruby_version = '>= 2.3'
s.name = 'degit'
s.version = Degit::VERSION
s.license = 'MIT'
s.summary = 'Decentralized GitHub'
s.description = 'This is a simple prototype of a decentralized GitHub'
s.authors = ['Yegor Bugayenko']
s.email = '[email protected]'
s.homepage = 'http://github.com/yegor256/degit'
s.files = `git ls-files`.split($RS)
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
s.test_files = s.files.grep(%r{^(test|spec|features)/})
s.rdoc_options = ['--charset=UTF-8']
s.extra_rdoc_files = ['README.md', 'LICENSE.txt']
s.add_runtime_dependency 'backtrace', '~> 0.3'
s.add_runtime_dependency 'loog', '0.2.1'
s.add_runtime_dependency 'slop', '~> 4.6'
s.add_development_dependency 'codecov', '0.1.10'
s.add_development_dependency 'cucumber', '~> 1.3.17'
s.add_development_dependency 'minitest', '5.5.0'
s.add_development_dependency 'rake', '12.0.0'
s.add_development_dependency 'rubocop', '0.61.0'
s.add_development_dependency 'rubocop-rspec', '1.31.0'
end