-
Notifications
You must be signed in to change notification settings - Fork 3
/
foo.gemspec
28 lines (23 loc) · 1.03 KB
/
foo.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
# frozen_string_literal: true
lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'foo/version'
Gem::Specification.new do |gem|
gem.name = 'foo'
gem.version = Foo::VERSION
gem.authors = ['Neil Slater']
gem.email = ['slobo.777@gmail.com']
gem.description = 'Native extension starter gem combining Ruby and C'
gem.summary = 'Native extension in C'
gem.homepage = 'https://github.com/neilslater/ruby_nex_c'
gem.license = 'MIT'
gem.required_ruby_version = '>= 2.7.1'
gem.add_development_dependency 'rake', '>= 1.9.1'
gem.add_development_dependency 'rake-compiler', '>= 0.8.3'
gem.add_development_dependency 'rspec', '>= 2.13.0'
gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.extensions = gem.files.grep(%r{/extconf\.rb$})
gem.require_paths = ['lib']
end