-
Notifications
You must be signed in to change notification settings - Fork 42
/
wongi-engine.gemspec
42 lines (34 loc) · 1.3 KB
/
wongi-engine.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
require 'English'
require File.expand_path('lib/wongi-engine/version', __dir__)
module GemHelper
def self.git?
File.exist?('.git')
end
end
Gem::Specification.new do |gem|
gem.authors = ['Valeri Sokolov']
gem.email = ['[email protected]']
gem.description = 'A forward-chaining rule engine in pure Ruby.'
gem.summary = 'A forward-chaining rule engine in pure Ruby.'
gem.required_ruby_version = '>= 2.7.0'
gem.licenses = %w[MIT]
gem.homepage = 'https://github.com/ulfurinn/wongi-engine'
gem.metadata = {
"documentation_uri" => 'https://ulfurinn.github.io/wongi-engine/',
"rubygems_mfa_required" => 'true',
}
gem.files = if GemHelper.git?
`git ls-files`.split($OUTPUT_RECORD_SEPARATOR)
else
raise 'cannot enumerate files: not a git repository'
end
gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
gem.name = 'wongi-engine'
gem.require_paths = ['lib']
gem.version = Wongi::Engine::VERSION
gem.add_development_dependency 'pry', '~> 0.10'
gem.add_development_dependency 'rake', '~> 12.3'
# gem.add_development_dependency 'pry-byebug', '~> 2.0'
gem.add_development_dependency 'rspec', '~> 3.1'
gem.add_development_dependency 'rspec-collection_matchers', '~> 1.1'
end