-
Notifications
You must be signed in to change notification settings - Fork 0
/
nekonote.gemspec
49 lines (42 loc) · 1.33 KB
/
nekonote.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
# Nekonote Framwork
#
# Simple and lightweight Rack-based web framework
# Copyright (c) 2017, Kazuya Hotta
require File.expand_path '../lib/nekonote/spec', __FILE__
Gem::Specification.new do |s|
s.name = Nekonote::LIBS_NAME
s.version = Nekonote::VERSION
s.homepage = Nekonote::HOMEPAGE
s.summary = Nekonote::SUMMARY
s.description = Nekonote::DESCRIPTION
s.authors = ['khotta']
s.email = ['khotta116@gmail.com']
s.license = 'MIT'
s.post_install_message = Nekonote::INSTALL_MESSAGE
# include files to this gem package.
s.files = Dir['LICENSE']
s.files << Dir['README.md']
s.files += Dir['bin/nekonote']
Dir['data/**/*'].each do |file|
s.files << file
end
Dir['lib/**/*'].each do |file|
s.files << file
end
Dir['lib/**/.gitkeep'].each do |file|
s.files << file
end
Dir['data/**/.gitkeep'].each do |file|
s.files << file
end
# required path
s.require_paths = ['lib']
# executable command
s.executables = s.files.grep(%r{^bin/}) do |f|
File.basename f
end
# required ruby version
s.required_ruby_version = '>= 2.3.0'
# dependent library
s.add_dependency 'color_echo', '~> 3.1', '>= 3.1.1'
end