-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnurby.gemspec
60 lines (51 loc) · 2.4 KB
/
nurby.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
# encoding: utf-8
# frozen_string_literal: true
###
# This file is part of nurby.
# Copyright (c) 2017 Jonathan Bradley Whited (@esotericpig)
#
# nurby is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# nurby is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with nurby. If not, see <http://www.gnu.org/licenses/>.
###
lib = File.expand_path('../lib',__FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'nurby/version'
Gem::Specification.new do |spec|
spec.name = 'nurby'
spec.version = Nurby::VERSION
spec.authors = ['Jonathan Bradley Whited (@esotericpig)']
spec.email = ['']
spec.license = 'LGPL-3.0'
spec.summary = 'Not cURl w/ ruBY'
spec.description = <<~EOD
A curl-like Ruby app that adds missing features and allows Ruby injection
(not meant as a curl replacement).
EOD
spec.homepage = 'https://github.com/esotericpig/nurby'
# Even though it is an app, don't add "Gemfile.lock" so that ExpParser can be used as a library
spec.files = Dir.glob("{bin,lib}/**/*") + %w(
Gemfile
LICENSE
nurby.gemspec
README.md
)
spec.require_paths = ['lib']
spec.bindir = 'bin'
spec.executables = ['nurby']
spec.post_install_message = 'You can now use "nurby" on the command-line.'
spec.required_ruby_version = '>= 2.4.0'
# TODO: too restricted and a lot of dependencies
# TODO: try 1: ukutaht/safe_ruby, duckinator/sicuro, Veraticus/Sandrbox, QaDeS/sandboxed ($SAFE)
#spec.add_runtime_dependency 'shikashi','~> 0.6.0'
spec.add_development_dependency 'bundler','>= 1.15'
end