-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
cross_entropy.gemspec
34 lines (28 loc) · 1.21 KB
/
cross_entropy.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
# -*- encoding: utf-8 -*-
# frozen_string_literal: true
lib = File.expand_path('../lib/', __FILE__)
$LOAD_PATH.unshift lib unless $LOAD_PATH.include?(lib)
require 'cross_entropy/version'
Gem::Specification.new do |s|
s.name = 'cross_entropy'
s.version = CrossEntropy::VERSION
s.platform = Gem::Platform::RUBY
s.authors = ['John Lees-Miller']
s.email = ['jdleesmiller@gmail.com']
s.homepage = 'https://github.com/jdleesmiller/cross_entropy'
s.summary = 'Solve optimisation problems with the Cross Entropy Method.'
s.description = 'Includes solvers for continuous and discrete multivariate' \
' optimisation problems.'
s.add_runtime_dependency 'narray', '~> 0.6'
s.add_development_dependency 'gemma', '~> 5.0'
s.add_development_dependency 'rubocop', '~> 0.48.0'
s.add_development_dependency 'simplecov', '~> 0.14.1'
s.files = Dir.glob('{lib,bin}/**/*.rb') + %w[README.md]
s.test_files = Dir.glob('test/cross_entropy/*_test.rb')
s.executables = Dir.glob('bin/*').map { |f| File.basename(f) }
s.rdoc_options = [
'--main', 'README.md',
'--title', "#{s.full_name} Documentation"
]
s.extra_rdoc_files << 'README.md'
end