-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathunit.gemspec
More file actions
30 lines (24 loc) · 1.01 KB
/
Copy pathunit.gemspec
File metadata and controls
30 lines (24 loc) · 1.01 KB
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
require_relative 'lib/unit/version'
Gem::Specification.new do |s|
s.name = 'unit'
s.version = Unit::VERSION
s.summary = 'Scientific unit support for ruby for calculations'
s.description = 'Unit introduces computational units to Ruby, with built-in ' \
'support for binary, mathematical, SI, imperial, scientific and temporal ' \
'units, unit-aware arithmetic and conversions, and a simple interface for ' \
'defining your own custom units.'
s.homepage = 'https://github.com/minad/unit'
s.license = 'MIT'
s.authors = ['Daniel Mendler', 'Chris Cashwell']
s.email = ['mail@daniel-mendler.de']
s.required_ruby_version = '>= 3.3'
s.metadata = {
'source_code_uri' => s.homepage,
'bug_tracker_uri' => "#{s.homepage}/issues",
'rubygems_mfa_required' => 'true',
}
s.files = Dir['lib/**/*.{rb,yml}'] + %w[README.markdown LICENSE]
s.require_paths = ['lib']
s.add_development_dependency('rake', ['~> 13.0'])
s.add_development_dependency('rspec', ['~> 3.0'])
end